Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=artwork.git;a=commitdiff;h=54159dde02c76421e595dbeaa10d41fddc6d1685

commit 54159dde02c76421e595dbeaa10d41fddc6d1685
Author: Devil505 <devil505li...@gmail.com>
Date:   Fri Apr 29 22:32:00 2011 +0200

* updated gtk3 theme

diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css
index 658d7a2..cba80ad 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/button.css
@@ -1,27 +1,33 @@
/***********
* Buttons *
***********/
-.button {
-    padding: 1;

-    -adwaita-focus-fill-color: alpha (@theme_base_color, 0.35);
-    -adwaita-focus-border-gradient: -gtk-gradient (linear,
-                                                   left top, left bottom,
-                                                   from (alpha 
(@keyboard_focus_border_a, 0.62)),
-                                                   to (alpha 
(@keyboard_focus_border_b, 0.62)));
-    -adwaita-focus-border-radius: 1;
-    -adwaita-focus-border-dashes: 0;
-    -GtkWidget-focus-line-width: 2;
+.button {

border-radius: 2;
border-width: 1;
-    border-color: @button_border;
border-style: solid;
+    -adwaita-focus-border-radius: 2;
+    -adwaita-focus-border-dashes: 0;
+    -GtkWidget-focus-line-width: 1;

background-image: -gtk-gradient (linear,
-                                    left top, left bottom,
-                                     from (@button_gradient_color_a),
-                                     to (@button_gradient_color_b));
+                    left top,
+                    left bottom,
+                    from (@base_color),
+                    to (shade (@base_color, 0.88)));
+
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                    left top, left bottom,
+                    from (shade (@bg_color, 0.78)),
+                    to (shade (@bg_color, 0.60)));
+
+    -adwaita-focus-border-gradient: -gtk-gradient (linear,
+                    left top, left bottom,
+                    from (alpha (@keyboard_focus_border_a, 0.62)),
+                    to (alpha (@keyboard_focus_border_b, 0.62)));
+
+
}

.button:hover,
@@ -37,11 +43,17 @@
.toolbar .button:active,
.button:hover:active,
.toolbar.button:hover:active {
+
background-image: -gtk-gradient (linear,
-                                    left top, left bottom,
-                                     from (@button_active_gradient_color_a),
-                                    to (alpha 
(@button_active_gradient_color_b, 0.13)));
-    border-color: @highlighted_border;
+                                    left top,
+                                    left bottom,
+                                    from (shade (@base_color, 0.54)),
+                                    to (shade (@base_color, 0.76)));
+
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                     left top, left bottom,
+                     from (shade (@bg_color, 0.48)),
+                     to (shade (@bg_color, 0.60)));
}

.button:insensitive {
@@ -51,7 +63,7 @@
}

.button.default {
-    border-width: 2;
+    border-width: 1;
border-color: shade (@button_border, 1.10);
}

diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css
index b1b8f0a..1d30cc9 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk-widgets.css
@@ -37,7 +37,7 @@
-WnckTasklist-fade-overlay-rect: 0;

-GtkEntry-inner-border: 2;
-    -GtkButton-inner-border: 2;
+    -GtkButton-inner-border: 0;
-GtkEntry-progress-border: 0;

/* Style */
@@ -134,116 +134,6 @@ GtkProgressBar.trough {
border-color: shade (@inactive_frame_color, 0.925);
}

-/************
- * GtkScale *
- ************/
-GtkScale {
-    -GtkScale-slider-length: 16;
-    -GtkRange-slider-width: 22;
-    -GtkRange-trough-border: 0;
-}
-
-GtkScale.slider {
-    border-width: 1;
-    border-radius: 3;
-
-    background-image: -gtk-gradient (linear,
-                                     left top, left bottom,
-                                     from (@theme_base_color),
-                                     to (@switch_slider_color));
-
-    -adwaita-border-gradient: -gtk-gradient (linear,
-                                             left top, left bottom,
-                                             from (shade 
(@internal_element_color, 0.90)),
-                                             to (shade 
(@internal_element_color, 1.35)));
-}
-
-GtkScale.slider:insensitive {
-    background-image: none;
-    -adwaita-border-gradient: none;
-}
-
-GtkScale.scale-has-marks-below.slider.horizontal {
-    -adwaita-border-gradient: -gtk-gradient (linear,
-                                             left top, left bottom,
-                                             from (shade 
(@internal_element_color, 0.90)),
-                                             to (shade 
(@internal_element_color, 1.35)));
-}
-
-GtkScale.scale-has-marks-below.slider.vertical {
-    -adwaita-border-gradient: -gtk-gradient (linear,
-                                             left top, right top,
-                                             from (shade 
(@internal_element_color, 0.90)),
-                                             to (shade 
(@internal_element_color, 1.35)));
-}
-
-GtkScale.scale-has-marks-above.slider.horizontal {
-    -adwaita-border-gradient: -gtk-gradient (linear,
-                                             left bottom, left top,
-                                             from (shade 
(@internal_element_color, 0.90)),
-                                             to (shade 
(@internal_element_color, 1.35)));
-}
-
-GtkScale.scale-has-marks-above.slider.vertical {
-    -adwaita-border-gradient: -gtk-gradient (linear,
-                                             right top, left top,
-                                             from (shade 
(@internal_element_color, 0.90)),
-                                             to (shade 
(@internal_element_color, 1.35)));
-}
-
-GtkScale.trough {
-    border-width: 1;
-    border-radius: 2;
-    border-style: solid;
-    border-color: @internal_element_color;
-}
-
-GtkScale.trough:insensitive {
-    background-color: shade (@theme_bg_color, 1.20);
-    border-color: shade (@inactive_frame_color, 0.845);
-}
-
-GtkScale.trough.horizontal {
-    background-image: -gtk-gradient (linear,
-                                     left top, left bottom,
-                                     from (@trough_bg_color_a),
-                                     to (shade (@trough_bg_color_b, 1.20)));
-}
-
-GtkScale.trough.vertical {
-    background-image: -gtk-gradient (linear,
-                                     left top, right top,
-                                     from (@trough_bg_color_a),
-                                     to (shade (@trough_bg_color_b, 1.20)));
-}
-
-GtkScale.progressbar {
-    background-image: -gtk-gradient (linear,
-                                     left top, left bottom,
-                                     from (@scale_fill_a),
-                                     to (@scale_fill_b));
-
-    border-color: #1864b2;
-    border-width: 1;
-    border-radius: 3;
-    border-style: solid;
-}
-
-GtkScale.mark {
-    background-color: shade (@theme_bg_color, 0.56);
-}
-
-GtkFrame,
-GtkCalendar {
-    padding: 2;
-}
-
-.frame {
-    color: lighter (@theme_fg_color);
-    border-style: none;
-    border-width: 0;
-}
-
/*****************
* Notebooks and *
* tabs          *
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css
index 1593876..8708860 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/gtk.css
@@ -102,5 +102,6 @@
@import url("entry.css");
@import url("grip.css");
@import url("menu.css");
+@import url("scale.css");
@import url("scrollbar.css");
@import url("toolbar.css");
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/scale.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/scale.css
new file mode 100644
index 0000000..0e8aacd
--- /dev/null
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/scale.css
@@ -0,0 +1,119 @@
+/************
+ * GtkScale *
+ ************/
+GtkScale {
+    -GtkScale-slider-length: 16;
+    -GtkRange-slider-width: 14;
+    -GtkRange-trough-border: 0;
+}
+
+GtkScale.slider {
+    border-width: 1;
+    border-radius: 3;
+
+    background-image: -gtk-gradient (linear,
+                                    left top,
+                                    left bottom,
+                                    from (@base_color),
+                                    to (shade (@base_color, 0.88)));
+
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                     left top, left bottom,
+                     from (shade (@bg_color, 0.78)),
+                     to (shade (@bg_color, 0.60)));
+}
+
+GtkScale.slider:insensitive {
+    background-image: none;
+    -adwaita-border-gradient: none;
+}
+
+GtkScale.scale-has-marks-below.slider.horizontal {
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                                             left top, left bottom,
+                                             from (shade 
(@internal_element_color, 0.90)),
+                                             to (shade 
(@internal_element_color, 1.35)));
+}
+
+GtkScale.scale-has-marks-below.slider.vertical {
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                                             left top, right top,
+                                             from (shade 
(@internal_element_color, 0.90)),
+                                             to (shade 
(@internal_element_color, 1.35)));
+}
+
+GtkScale.scale-has-marks-above.slider.horizontal {
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                                             left bottom, left top,
+                                             from (shade 
(@internal_element_color, 0.90)),
+                                             to (shade 
(@internal_element_color, 1.35)));
+}
+
+GtkScale.scale-has-marks-above.slider.vertical {
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                                             right top, left top,
+                                             from (shade 
(@internal_element_color, 0.90)),
+                                             to (shade 
(@internal_element_color, 1.35)));
+}
+
+GtkScale.trough {
+    border-width: 1;
+    border-radius: 2;
+    background-image: -gtk-gradient (linear,
+                                    left top,
+                                    left bottom,
+                                    from (shade (@base_color, 0.54)),
+                                    to (shade (@base_color, 0.76)));
+
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                     left top, left bottom,
+                     from (shade (@bg_color, 0.48)),
+                     to (shade (@bg_color, 0.60)));
+}
+
+GtkScale.trough:insensitive {
+    background-color: shade (@theme_bg_color, 1.20);
+    border-color: shade (@inactive_frame_color, 0.845);
+}
+
+GtkScale.trough.horizontal {
+    background-image: -gtk-gradient (linear,
+                                     left top, left bottom,
+                                     from (@trough_bg_color_a),
+                                     to (shade (@trough_bg_color_b, 1.20)));
+}
+
+GtkScale.trough.vertical {
+    background-image: -gtk-gradient (linear,
+                                     left top, right top,
+                                     from (@trough_bg_color_a),
+                                     to (shade (@trough_bg_color_b, 1.20)));
+}
+
+GtkScale.progressbar {
+    background-image: -gtk-gradient (linear,
+                                     left top, left bottom,
+                                     from (@scale_fill_a),
+                                     to (@scale_fill_b));
+
+    border-color: #1864b2;
+    border-width: 1;
+    border-radius: 3;
+    border-style: solid;
+}
+
+GtkScale.mark {
+    background-color: shade (@theme_bg_color, 0.56);
+}
+
+GtkFrame,
+GtkCalendar {
+    padding: 2;
+}
+
+.frame {
+    color: lighter (@theme_fg_color);
+    border-style: none;
+    border-width: 0;
+}
+
diff --git a/gnome-frugalware/theme/Frugalware/gtk-3.0/toolbar.css 
b/gnome-frugalware/theme/Frugalware/gtk-3.0/toolbar.css
index 8a1a676..2197c15 100644
--- a/gnome-frugalware/theme/Frugalware/gtk-3.0/toolbar.css
+++ b/gnome-frugalware/theme/Frugalware/gtk-3.0/toolbar.css
@@ -125,17 +125,24 @@
/* primary toolbar raised buttons */
.primary-toolbar.toolbar.raised.button,
.primary-toolbar.toolbar.raised.button:insensitive {
+
border-radius: 2;
border-width: 1;
-    border-color: @button_border;
border-style: solid;
+    -adwaita-focus-border-radius: 2;
+    -adwaita-focus-border-dashes: 0;
+    -GtkWidget-focus-line-width: 1;

background-image: -gtk-gradient (linear,
-                                    left top, left bottom,
-                                     from (@button_gradient_color_a),
-                                     to (@button_gradient_color_b));
+                    left top,
+                    left bottom,
+                    from (@base_color),
+                    to (shade (@base_color, 0.88)));

-    -GtkWidget-focus-line-width: 2;
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                    left top, left bottom,
+                    from (shade (@bg_color, 0.78)),
+                    to (shade (@bg_color, 0.60)));
}

.primary-toolbar.toolbar.raised.button:hover {
@@ -150,15 +157,17 @@

.primary-toolbar.toolbar.raised.button:hover:active,
.primary-toolbar.toolbar.raised.button:active {
+
background-image: -gtk-gradient (linear,
-                                    left top, left bottom,
-                                     from (@button_active_gradient_color_a),
-                                    to (alpha 
(@button_active_gradient_color_b, 0.13)));
-    background-color: @theme_base_color;
+                                    left top,
+                                    left bottom,
+                                    from (shade (@base_color, 0.54)),
+                                    to (shade (@base_color, 0.76)));

-    border-color: @highlighted_border;
-    border-width: 1;
-    border-style: solid;
+    -adwaita-border-gradient: -gtk-gradient (linear,
+                     left top, left bottom,
+                     from (shade (@bg_color, 0.48)),
+                     to (shade (@bg_color, 0.60)));
}

/* progressbars on primary toolbar entries are special */
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to