[gnome-themes-standard/parser: 12/20] adwaita: move general color definitions to GtkWindow



commit 6e022bac2c0d447985c790046b490bebf96c3760
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 16 19:40:56 2011 -0400

    adwaita: move general color definitions to GtkWindow
    
    So that inherit could work properly by getting that as a fallback. By
    keeping it in * {}, it would always trigger an exact match for any
    widget, so it would have a higher priority of an inherited value.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index bcca428..dd2da4e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -39,10 +39,6 @@
     -GtkEntry-inner-border: 2;
     -GtkEntry-progress-border: 0;
 
-    /* Style */
-    background-color: @theme_bg_color;
-    color: @theme_fg_color;
-
     -GtkWidget-focus-padding: 2;
     -GtkWidget-focus-line-width: 1;
     -adwaita-focus-border-color: alpha (@theme_text_color, 0.4);
@@ -57,6 +53,12 @@
     -adwaita-inset-bottom: none;
 }
 
+GtkWindow {
+    /* Style */
+    background-color: @theme_bg_color;
+    color: @theme_fg_color;
+}
+
 /***************
  * Base States *
  ***************/



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