[gnome-themes-standard] Widgets: tab close button styling.



commit 89c5f41310772febe4f1816577539e53e395e029
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Tue Jan 24 10:12:03 2012 +0100

    Widgets: tab close button styling.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   31 +++++++++++++++++++++----------
 1 files changed, 21 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 9e0a013..a702929 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1033,22 +1033,33 @@ GtkLinkButton * {
     background-color: transparent;
 }
 
-
-.notebook tab .button {
-    color: @internal_element_color;
-    border-style: none;
-    border-image: none;
+.notebook tab .button GtkImage {
+    border-radius: 3;
+    color: mix(@theme_fg_color, @theme_base_color, 0.7); /* FIXME*/
+    border-style: solid;
+    border-color: transparent;
+    border-width: 1;
+    padding: 0;
+    icon-shadow: 0 1 alpha(white, 0.5); /* FIXME*/
 }
 
-.notebook tab .button *:hover {
-    color:  @theme_text_color;
+.notebook tab .button GtkImage:hover {
+    color: @theme_fg_color; /* FIXME*/
+    border-color: alpha(black, 0.1); /* FIXME*/
 }
 
-.notebook tab .button *:active {
-    color: @theme_selected_bg_color;
+.notebook tab .button GtkImage:active,
+.notebook tab .button GtkImage:active:hover {
+    background-color: alpha(black, 0.08); /* FIXME*/
+    box-shadow: 0 1 inset alpha(black, 0.05); /* FIXME*/
+    color:  @theme_base_color; /* FIXME*/
+    icon-shadow: 0 1 alpha(black, 0.25); /* FIXME*/
+    border-color: alpha(black, 0.2) 
+                  alpha(black, 0.1) 
+                  alpha(black, 0.1) 
+                  alpha(black, 0.1); /* FIXME*/
 }
 
-
 /**************
  * ComboBoxes *
  **************/



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