[gnome-themes-standard] Widgets: set color on selected elements, add back tab top treatment for backdrop state.



commit 2cfa5d9cc1e7e92cd88959729b106ad1caaf1c9e
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Feb 7 22:17:51 2012 +0100

    Widgets: set color on selected elements, add back tab top treatment
             for backdrop state.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   25 ++++++++++++++-----------
 1 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 6ea2032..2f95215 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -217,6 +217,10 @@ GtkImage:insensitive {
     -adwaita-progressbar-pattern: none;
 }
 
+.entry:selected {
+    color: @theme_selected_fg_color;
+}
+
 .entry:backdrop {
     color: @theme_unfocused_text_color;
 }
@@ -933,16 +937,17 @@ GtkLinkButton * {
     background-image: linear-gradient(to bottom,
                                       @notebook_selected_tab_color,
                                       @notebook_selected_tab_color 2px,
-                                      @button_gradient_color_a 3px,
+                                      @button_gradient_color_a 3px, /* FIXME */
                                       @theme_base_color);
 }
 
 .notebook tab:active:backdrop {
     /* FIXME I need to set a background-image here, background-color is ignored */
-    background-image: -gtk-gradient (linear, 
-                                             left top, left bottom,
-                                             from (@theme_unfocused_base_color),
-                                             to (@theme_unfocused_base_color));
+    background-image: linear-gradient(to bottom,
+                                      @unfocused_borders,
+                                      @unfocused_borders 2px,
+                                      @theme_unfocused_base_color 3px,
+                                      @theme_unfocused_base_color);
     background-color:  @theme_unfocused_base_color;
     border-color: @unfocused_borders;
     /* FIXME - should be possible to set it to none and use border color */
@@ -953,11 +958,6 @@ GtkLinkButton * {
     -adwaita-selected-tab-color: @unfocused_borders;
 }
 
-.notebook tab.left:active:backdrop,
-.notebook tab.right:active:backdrop {
-    -adwaita-selected-tab-color: alpha(@theme_base_color, 0.0);
-}
-
 .notebook tab.top {
     padding: 4px 2px 0;
 }
@@ -1003,6 +1003,7 @@ GtkLinkButton * {
     border-radius: 0 3px 3px 0;
 }
 
+/* close button styling */
 .notebook tab .button,
 .notebook tab .button:active,
 .notebook tab .button:hover {
@@ -1014,7 +1015,7 @@ GtkLinkButton * {
 
 .notebook tab .button GtkImage {
     border-radius: 3px;
-    color: mix(@theme_fg_color, @theme_base_color, 0.7); /* FIXME*/
+    color: mix(@theme_fg_color, @theme_base_color, 0.6); /* FIXME*/
     border-style: solid;
     border-color: transparent;
     border-width: 1px;
@@ -1829,6 +1830,7 @@ GtkIconView:backdrop {
 GtkIconView.view.cell:selected,
 GtkIconView.view.cell:selected:focus {
     background-color: @theme_selected_bg_color;
+    color: @theme_selected_fg_color;
     border-radius: 4px;
 
     /* FIXME: this probably needs to be better;
@@ -1962,6 +1964,7 @@ row:selected {
 
 .cell:selected {
     background-color: @theme_selected_bg_color;
+    color: @theme_selected_fg_color;
 }
 
 .expander {



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