[gnome-themes-standard/parser: 15/19] toolbar: use the right padding for the toolbar buttons



commit 2d52a4d4f4f4661f3e06fa69f91ceeded184f4bd
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 16 20:33:33 2011 -0400

    toolbar: use the right padding for the toolbar buttons
    
    Now that we removed the toolbar style property we only use this padding
    to control the toolbar appearance.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index a10f085..29c2795 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -697,6 +697,10 @@ GtkComboBox .button *:prelight {
     padding: 1;
 }
 
+.toolbar .button {
+    padding: 2;
+}
+
 .toolbar:insensitive {
     color: alpha (@theme_fg_color, 0.6);
 }
@@ -713,6 +717,9 @@ GtkComboBox .button *:prelight {
 				     color-stop (0.16, @toolbar_gradient_step1),
 				     color-stop (0.90, @toolbar_gradient_step2),
 				     to (@toolbar_gradient_final));
+
+    padding: 6;
+
     border-width: 1 0 1 0;
     border-radius: 0;
     border-style: solid;
@@ -721,8 +728,6 @@ GtkComboBox .button *:prelight {
                                              from (shade (@theme_bg_color, 0.56)),
                                              to (shade (@theme_bg_color, 0.83)));
 
-    padding: 2;
-
     -GtkWidget-window-dragging: true;
     -GtkToolbar-button-relief: normal;
 }
@@ -743,8 +748,6 @@ GtkComboBox .button *:prelight {
     background-image: none;
     background-color: alpha (@theme_base_color, 0.0);
 
-    padding: 2;
-
     -adwaita-focus-border-radius: 3;
     -adwaita-focus-fill-color: alpha (@theme_base_color, 0.20);
     -adwaita-focus-border-gradient: -gtk-gradient (linear,
@@ -879,6 +882,8 @@ GtkComboBox .button *:prelight {
     border-radius: 3;
     border-style: solid;
 
+    padding: 4;
+
     background-image: -gtk-gradient (linear,
 				     left top,
 				     left bottom,



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