[gnome-themes-standard] Set transparent background for default toolbar button state.



commit 8380740c437b167c477b2d213b2522522891d79d
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]