diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-03-31 21:19:27 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-03-31 21:19:27 -0400 |
commit | d2c4fbbd8819b5c7db1b5b1be529d5deab858855 (patch) | |
tree | 776243658741b1c47c58e44d43300fb361fe1179 | |
parent | 7283721c8cfe19ab9a26288758ecf364a56f01fe (diff) | |
download | gnome-themes-standard-d2c4fbbd8819b5c7db1b5b1be529d5deab858855.tar.gz |
csd: List :hover rule before :backdrop rule for csd buttons
This way the :backdrop rule overrides the :hover rule and we don't highlight
buttens in :backdrop mode.
-rw-r--r-- | themes/Adwaita/gtk-3.0/gtk-widgets.css | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css index ea6f748d..cef7c57a 100644 --- a/themes/Adwaita/gtk-3.0/gtk-widgets.css +++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css @@ -3988,16 +3988,19 @@ GtkBubbleWindow .toolbar { text-shadow: none; } -.titlebar GtkButton:backdrop { - border-image: none; - background-image: none; -} - .titlebar .button { icon-shadow: 0px 1px darker (darker (@theme_bg_color)); } +.titlebar .button:hover { + background-image: linear-gradient(to bottom, + shade(@theme_bg_color, 1.35), + shade(@theme_bg_color, 0.88) 55%, + shade(@theme_bg_color, 0.94)); +} + .titlebar .button:backdrop { + background-image: none; color: darker (@theme_bg_color); icon-shadow: none; } @@ -4013,13 +4016,6 @@ GtkBubbleWindow .toolbar { shade(@theme_bg_color, 0.90)); } -.titlebar .button:hover { - background-image: linear-gradient(to bottom, - shade(@theme_bg_color, 1.35), - shade(@theme_bg_color, 0.88) 55%, - shade(@theme_bg_color, 0.94)); -} - .titlebar .button:first-child { border-radius: 10px 0px 0px 0px; border-width: 0px 1px 0px 0px; |