[gnome-themes-standard] Widget theme: unfocused window notebook.



commit 18e15a52d2f64d971508ac07f1ac4e859fad9a6b
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Dec 16 01:33:12 2011 +0100

    Widget theme: unfocused window notebook.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   28 ++++++++++++++++------------
 1 files changed, 16 insertions(+), 12 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 4ce8d33..7e9c0b3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -865,9 +865,9 @@ GtkLinkButton * {
 }
 
 .notebook:window-unfocused,
-.notebook GtkViewport:window-unfocused { /* not working */
-    background-color: red;
-    border-color: red;
+.notebook GtkViewport:window-unfocused {
+    background-color: @theme_unfocused_base_color;
+    border-color: @notebook_border;
 }
 
 .notebook tab {
@@ -880,9 +880,9 @@ GtkLinkButton * {
     -adwaita-focus-border-radius: 2;
 }
 
-.notebook tab:window-unfocused { /* not working */
+.notebook tab:window-unfocused {
     background-image: none;
-    background-color: red;
+    background-color: @theme_unfocused_bg_color;
 }
 
 .notebook tab:active {
@@ -899,14 +899,18 @@ GtkLinkButton * {
 }
 
 .notebook tab:active:window-unfocused { /* not working */
-    background-image: none;
-    background-color: red;
-    -adwaita-border-gradient: -gtk-gradient (linear,
+    /* FIXME I need to set a background image here, background color is ignored */
+    background-image: -gtk-gradient (linear, 
                                              left top, left bottom,
-                                             from (red),
-                                             to (red));
-
-    -adwaita-selected-tab-color: red;
+                                             from (@theme_unfocused_base_color),
+                                             to (@theme_unfocused_base_color));
+    background-color:  @theme_unfocused_base_color;
+    /* FIXME This should work with just a color now it wants an image*/
+    -adwaita-border-gradient: -gtk-gradient (linear, 
+                                             left top, left bottom,
+                                             from (@notebook_border),
+                                             to (@notebook_border));
+    -adwaita-selected-tab-color: @notebook_border;
 }
 
 .notebook tab.top {



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