[gnome-themes-standard] adwaita: add a focus ring for primary toolbar buttons



commit 410a9ef054f397c55cd839a76b4ace527a0a24f9
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Mar 18 11:13:13 2011 -0400

    adwaita: add a focus ring for primary toolbar buttons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645090

 themes/Adwaita/gtk-3.0/gtk.css |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 4226e09..ff6f516 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -805,9 +805,12 @@ GtkComboBox.button {
     background-image: none;
     background-color: alpha (@theme_base_color, 0.0);
 
-    -GtkWidget-focus-line-width: 0;
-    -adwaita-focus-fill-color: none;
-    -adwaita-focus-border-gradient: none;
+    -adwaita-focus-border-radius: 2;
+    -adwaita-focus-fill-color: alpha (@theme_base_color, 0.20);
+    -adwaita-focus-border-gradient: -gtk-gradient (linear,
+                                                   left top, left bottom,
+                                                   from (alpha (shade (@toolbar_active_button_color, 1.25), 0.90)),
+                                                   to (alpha (@toolbar_active_button_color, 0.62)));
 }
 
 .primary-toolbar.toolbar.button:insensitive {



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