[gnome-themes-standard] inline-toolbar: set the correct border radius for inline toolbars



commit f28bb11840c7afc696cf5ae33d4ca659ad32069a
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Jun 1 22:54:11 2011 -0400

    inline-toolbar: set the correct border radius for inline toolbars
    
    Using nth-child we can easily special case the case when inline toolbars
    are first/last in the parent box.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 5d5ce72..b723ac8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -929,7 +929,7 @@ GtkTreeMenu .menuitem * {
 
 .inline-toolbar.toolbar {
     border-width: 1;
-    border-radius: 3;
+    border-radius: 0;
     border-style: solid;
 
     padding: 4;
@@ -945,6 +945,10 @@ GtkTreeMenu .menuitem * {
 				     to (shade (@theme_bg_color, 0.83)));
 }
 
+.inline-toolbar.toolbar:nth-child(last) {
+    border-width: 0 1 1 1;
+    border-radius: 0 0 3 3;
+}
 
 /***********
  * Sidebar *



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