[gnome-themes-standard] Widget theme: slightly darker pushed button background for primary and inline toolbars.
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Widget theme: slightly darker pushed button background for primary and inline toolbars.
- Date: Sun, 18 Dec 2011 09:15:51 +0000 (UTC)
commit 02d5606f73ac099088281d1d21fd9ccf18537f0d
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Sun Dec 18 10:15:31 2011 +0100
Widget theme: slightly darker pushed button background for primary and inline toolbars.
themes/Adwaita/gtk-3.0/gtk-widgets-backgrounds.css | 29 +++++++++++++++++---
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 8376650..e51eb7a 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]