[gnome-themes-standard] Focus ring for buttons.
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] Focus ring for buttons.
- Date: Mon, 8 Nov 2010 15:51:05 +0000 (UTC)
commit 468b5abfc404950d5912a26809c9446f61cd55d7
Author: Jakub Steiner <jimmac gmail com>
Date: Mon Nov 8 16:50:17 2010 +0100
Focus ring for buttons.
- toolbar buttons' focus ring seems to be ignored.
themes/Adwaita/gtk-3.0/gtkrc | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtkrc b/themes/Adwaita/gtk-3.0/gtkrc
index 718f4b2..b6b5f71 100644
--- a/themes/Adwaita/gtk-3.0/gtkrc
+++ b/themes/Adwaita/gtk-3.0/gtkrc
@@ -222,6 +222,13 @@ style "button" {
# bg[NORMAL] = shade (1.04, @bg_color)
# bg[PRELIGHT] = shade (1.06, @bg_color)
# bg[ACTIVE] = shade (0.85, @bg_color)
+
+ engine "clearlooks" {
+ focus_color = shade (0.6, @selected_bg_color)
+ focus_fill_color = @selected_bg_color
+ focus_fill_alpha = 0.1
+ }
+
}
# The color is changed by the notebook_bg style, this style
@@ -392,6 +399,7 @@ style "toolbarbutton" = "button" {
stop 0.6 shade (0.9, @bg_color)
stop 1.0 shade (0.85, @bg_color)
}
+ focus_color = shade (0.9, @bg_color)
}
}
widget_class "*.GtkToolbar.*Button" style "toolbarbutton"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]