summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLapo Calamandrei <calamandrei@gmail.com>2011-12-18 10:15:31 +0100
committerLapo Calamandrei <calamandrei@gmail.com>2011-12-18 10:15:31 +0100
commit02d5606f73ac099088281d1d21fd9ccf18537f0d (patch)
tree85dabdf2dc995c40507cff234e9f55891d1c8201
parentd886ea35a3a4e9f750e13f6aa6cb49520dc97c7c (diff)
downloadgnome-themes-standard-02d5606f73ac099088281d1d21fd9ccf18537f0d.tar.gz
Widget theme: slightly darker pushed button background for primary and inline toolbars.
-rw-r--r--themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css29
1 files changed, 25 insertions, 4 deletions
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
index 83766501..e51eb7a3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css
@@ -20,7 +20,7 @@
.button:hover:active,
.toolbar .button:active,
.toolbar .button:hover:active,
-.primary-toolbar .button:active:focus,
+/*.primary-toolbar .button:active:focus, */
.trough,
.trough.highlight,
.trough row,
@@ -28,24 +28,45 @@
background-image: -gtk-gradient (linear,
left top, left bottom,
from (@button_border),
- to (alpha(@button_border, 0)));
+ to (shade(@theme_bg_color, 0.95)));
background-color: none;
}
+/* Primary and inline toolbars pushed button background */
+.primary-toolbar .button:active,
+.primary-toolbar .button:active:hover,
+.primary-toolbar .button:active:focus,
+.primary-toolbar .button:active:focus:hover,
+.inline-toolbar .button:active,
+.inline-toolbar .button:active:hover,
+.inline-toolbar .button:active:focus,
+.inline-toolbar .button:active:focus:hover {
+ background-image: -gtk-gradient (linear,
+ left top, left bottom,
+ from (shade(@button_border, 0.95)),
+ to (shade(@theme_bg_color, 0.88)));
+ background-color: none;
+}
+
/* Flipped pushed button background for vertical progressbar through and the like */
.trough.vertical {
background-image: -gtk-gradient (linear,
left top, right top,
from (@button_border),
- to (alpha(@button_border, 0)));
+ to (shade(@theme_bg_color, 0.95)));
}
/* Prelit button background */
.button:hover,
+.button:hover:focus,
.toolbar .button:hover,
+.toolbar .button:hover:focus,
.primary-toolbar .button.raised:hover,
+.primary-toolbar .button.raised:hover:focus,
.primary-toolbar .raised .button:hover,
-.primary-toolbar GtkComboBox .button:hover {
+.primary-toolbar .raised .button:hover:focus,
+.primary-toolbar GtkComboBox .button:hover,
+.primary-toolbar GtkComboBox .button:hover:focus {
background-color: none;
background-image: -gtk-gradient (linear,
left top, left bottom,