[gtk+/gtk-style-context: 446/540] GtkCssProvider: do not use selected fg/bg in sliders or spinbutton buttons.



commit 13b4ec6f36181b11424b260dbfdc0cb560c79fcf
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 22 21:46:12 2010 +0100

    GtkCssProvider: do not use selected fg/bg in sliders or spinbutton buttons.

 gtk/gtkcssprovider.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index f601032..5fbdd04 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3576,6 +3576,12 @@ gtk_css_provider_get_default (void)
         "GtkSpinButton.button {\n"
         "  border-width: 1;\n"
         "}\n"
+        "\n"
+        ".scale.slider:hover,\n"
+        "GtkSpinButton.button:hover {\n"
+        "  background-color: shade (@bg_color, 1.05);\n"
+        "  border-color: shade (@bg_color, 0.8);\n"
+        "}\n"
         "\n";
 
       provider = gtk_css_provider_new ();



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