[gnome-themes-standard] csd: No border for buttons in :backdrop mode



commit 59dd45fddbfa5618c9239f3ba58945e51b160182
Author: Kristian Høgsberg <krh bitplanet net>
Date:   Sun Mar 31 21:42:09 2013 -0400

    csd: No border for buttons in :backdrop mode
    
    Also rearrange sections to make sure :backdrop always wins.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index c3e52f9..7e8308f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3992,19 +3992,6 @@ GtkBubbleWindow .toolbar {
     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;
-}
-
 .titlebar .button {
     border-style: none none solid;
     border-color: darker(@theme_bg_color);
@@ -4018,6 +4005,13 @@ 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-style: none none solid solid;
     border-bottom-left-radius: 10px;
@@ -4027,6 +4021,13 @@ GtkBubbleWindow .toolbar {
     border-top-right-radius: 10px;
 }
 
+.titlebar .button:backdrop {
+    background-image: none;
+    color: darker (@theme_bg_color);
+    icon-shadow: none;
+    border-style: none;
+}
+
 .titlebar {
     background-image: linear-gradient(to bottom,
                                       shade(@theme_bg_color, 1.20),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]