[gnome-themes-standard/gtk-style-context] Set transparent background for default toolbar button state.



commit 388533617e14752c3770a81e6c7e087d581f9b3d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Nov 30 03:27:19 2010 +0100

    Set transparent background for default toolbar button state.

 themes/Adwaita/gtk-3.0/gtk.css |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 8533fe9..6613733 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -309,7 +309,19 @@ column-header {
     border-radius: 0;
 }
 
-.toolbar .button {
+GtkToolbar .button {
+    border-style: none;
+    border-width: 0;
+
+    background-image: -gtk-gradient (linear,
+				     left top, left bottom,
+				     from (alpha (shade (@bg_color, 0.75), 0.0)),
+				     color-stop (0.3, alpha (shade (@bg_color, 0.9), 0.0)),
+				     color-stop (0.6, alpha (shade (@bg_color, 0.9), 0.0)),
+				     to (alpha (shade (@bg_color, 0.85), 0.0)));
+}
+
+GtkToolbar .button:hover {
     background-image: -gtk-gradient (linear,
 				     left top, left bottom,
 				     from (shade (@bg_color, 0.75)),



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