[gnome-themes-standard/wip/toolbars-rework] toolbars: rework paddings and borders for menubar toolbars



commit 068766fdf3ccf69f5dcfb2e421b21424a7b152ba
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sun Nov 25 13:54:22 2012 -0500

    toolbars: rework paddings and borders for menubar toolbars
    
    This is a start to remove special cases in applications' CSS and unify
    GNOME 3 style in a single set of selectors.

 themes/Adwaita/gtk-3.0/gnome-applications.css |    2 +-
 themes/Adwaita/gtk-3.0/gtk-widgets.css        |    9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index e6b85a6..3b2f421 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -273,7 +273,7 @@ GeditStatusComboBox .button:backdrop:hover {
 }
 
 .documents-scrolledwin.frame {
-    border-width: 1px 0;
+    border-width: 0;
     border-radius: 0;
 }
 
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index a3979b5..d7af17f 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2454,7 +2454,7 @@ GtkCheckButton:selected:focus {
 .toolbar {
     border-style: none;
     border-color: darker (@theme_bg_color);
-    padding: 6px;
+    padding: 6px 6px 5px 6px;
     background-color: @theme_bg_color;
 }
 
@@ -2473,9 +2473,10 @@ GtkCheckButton:selected:focus {
 .toolbar.menubar {
     -GtkToolbar-button-relief: normal;
     
-    padding: 6px 6px 4px 6px; /* weird padding to compensate border-images 
-                                 and eventual top border presence, 
-                                 see selection mode toolbars */
+    padding-bottom: 4px; /* weird padding to compensate border-images 
+                            and eventual top border presence, 
+                            see selection mode toolbars */
+    border-bottom: 1px solid @borders;
 
 }
 



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