[gnome-themes-standard] Only use inset style on toolbars at the top of windows



commit 38bc9d908bbaf00daa8e54e3c25aab0756e7c7f8
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Jan 26 14:06:54 2011 -0500

    Only use inset style on toolbars at the top of windows

 themes/Adwaita/gtk-3.0/gtk.css |   16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 5c9ea56..da40037 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -412,7 +412,9 @@ column-header {
 
 /* Toolbars */
 
-.toolbar {
+GtkWindow > GtkTable > .toolbar, /* nautilus */
+GtkWindow > GtkVBox > EggEditableToolbar > GtkHBox > .toolbar, /* eog etc */
+GtkWindow > GtkVBox > .toolbar {
     background-image: -gtk-gradient (linear,
 				     left top,
 				     left bottom,
@@ -431,7 +433,8 @@ column-header {
     border-width: 0;
 }
 
-  GtkToolbar .button {
+GtkWindow > GtkVBox > EggEditableToolbar > GtkHBox > GtkToolbar .button,
+GtkWindow > GtkVBox > GtkToolbar .button {
       border-style: none;
       border-width: 0;
 
@@ -448,7 +451,8 @@ column-header {
       background-color: red;
   } this pseudo-class doesn't work */ 
 
-  GtkToolbar .button:hover { /* needs correct colors */
+GtkWindow > GtkVBox > EggEditableToolbar > GtkHBox > GtkToolbar .button:hover,
+GtkWindow > GtkVBox > GtkToolbar .button:hover { /* needs correct colors */
       background-image: -gtk-gradient (linear,
 				       left top, left bottom,
 				       from (shade (@bg_color, 0.75)),
@@ -457,7 +461,8 @@ column-header {
 				       to (shade (@bg_color, 0.85)));
   }
 
-  GtkToolbar .button:active, GtkToolbar .button:active:prelight { /* needs correct colors */
+GtkWindow > GtkVBox > EggEditableToolbar > GtkHBox > GtkToolbar .button:active, GtkToolbar .button:active:prelight,
+GtkWindow > GtkVBox > GtkToolbar .button:active, GtkToolbar .button:active:prelight { /* needs correct colors */
       border-style: none;
       border-width: 0;
       background-image: -gtk-gradient (linear,
@@ -468,7 +473,8 @@ column-header {
 				       to (shade (@bg_color, 0.85)));
   }
 
-  .toolbar.separator {
+GtkWindow > GtkVBox > EggEditableToolbar > GtkHBox > .toolbar.separator,
+GtkWindow > GtkVBox > .toolbar.separator {
       padding: 1 0;
       background-color: shade (@bg_color, 0.8);
       -GtkVSeparator-vertical-padding: 0;



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