[gnome-themes-standard] infobars: fix infobar theming of previous commit



commit 0c0948fb40f1dde1343bb4712d4b61780679a5a5
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Jan 13 17:23:47 2012 -0500

    infobars: fix infobar theming of previous commit
    
    Some selectors were using the wrong color definition; also some
    selectors were not necessary.

 themes/Adwaita/gtk-3.0/gnome-applications.css |   47 +-----------------------
 themes/Adwaita/gtk-3.0/gtk-widgets.css        |   13 ++-----
 2 files changed, 6 insertions(+), 54 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gnome-applications.css b/themes/Adwaita/gtk-3.0/gnome-applications.css
index adb2a0d..4a0de4b 100644
--- a/themes/Adwaita/gtk-3.0/gnome-applications.css
+++ b/themes/Adwaita/gtk-3.0/gnome-applications.css
@@ -70,29 +70,10 @@ NautilusQueryEditor.info {
     background-color: @nautilus_cluebar_color;
     color: @theme_base_color;
 
-/*    border-width: 0;
-    border-style: solid; */
     border-color: shade(@nautilus_cluebar_color, 0.85);
 }
 
-NautilusTrashBar.info:backdrop,
-NautilusXContentBar.info:backdrop,
-NautilusSearchBar.info:backdrop,
-NautilusQueryEditor.info:backdrop {
-    border-color: @unfocused_theme_fg_color;
-/*    border-style: solid; */
-}
-
-/*NautilusTrashBar.info:backdrop:last-child,
-NautilusXContentBar.info:backdrop:last-child,
-NautilusSearchBar.info:backdrop:last-child,
-NautilusQueryEditor.info:backdrop:last-child {
-    border-bottom-width: 1;
-    border-style: solid;
-}*/
-
-/* Something broken here, need to investigate with Cosimo */
-/*.nautilus-cluebar-label {
+.nautilus-cluebar-label {
     font: bold;
     color: @theme_base_color;
     text-shadow: 0 1 alpha(black, 0.15);
@@ -100,31 +81,9 @@ NautilusQueryEditor.info:backdrop:last-child {
 
 .nautilus-cluebar-label:backdrop {
     font: bold;
-    color: @unfocused_theme_fg_color;
+    color: @theme_unfocused_fg_color;
     text-shadow: none;
-}*/
-
-/*
-NautilusTrashBar.info,
-NautilusXContentBar.info,
-NautilusSearchBar.info,
-NautilusQueryEditor.info {
-    background-color: @nautilus_cluebar_color;
-    border-color: darker (@nautilus_cluebar_color);
-
-    border-radius: 0;
-    border-width: 0 0 1 0;
-    border-style: solid;
 }
-*/
-
-/*
-NautilusTrashBar.info:first-child,
-NautilusXContentBar.info:first-child,
-NautilusSearchBar.info:first-child,
-NautilusQueryEditor.info:first-child {
-    border-width: 1 0;
-}*/
 
 /* This will make the location entry tall as buttons.
    Buttons are too tall btw, then it's ugly */
@@ -132,8 +91,6 @@ NautilusQueryEditor.info:first-child {
     -GtkEntry-inner-border: 9;
 }*/
 
-
-
 NautilusLocationEntry.entry {
     padding-left: 4;
     padding-right: 4;
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 326ac62..44906b1 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2024,22 +2024,17 @@ GtkInfoBar:backdrop,
 .error:backdrop {
     text-shadow: none;
     background-color: @theme_base_color;
-    color: @unfocused_theme_fg_color;
+    color: @theme_unfocused_fg_color;
+    border-color: @theme_unfocused_fg_color;
 }
 
-/* GtkInfoBar:first-child,
-.info:first-child,
-.warning:first-child,
-.question:first-child,
-.error:first-child {
-    border-top: 1 solid black;
-} */
-
 GtkInfoBar:last-child,
 .info:last-child,
 .warning:last-child,
 .question:last-child,
 .error:last-child {
+    /* only apply a border on the last infobar if
+     * there's more than one packed in */
     border-bottom-width: 1;
     border-style: solid;
 }



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