[gnome-themes-standard] treeview: set bright focus color only for selected:focused state
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-themes-standard] treeview: set bright focus color only for selected:focused state
- Date: Tue, 14 Feb 2012 03:53:07 +0000 (UTC)
commit b6e51b7cd2a9e89a838f5d44bd4e039d31de5f45
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Feb 13 22:12:13 2012 -0500
treeview: set bright focus color only for selected:focused state
Otherwise the bright focus is lost when the focused row is outside of
the selection.
themes/Adwaita/gtk-3.0/gtk-widgets.css | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index f21c1fd..604a656 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -1877,7 +1877,7 @@ GtkTreeView {
-GtkWidget-focus-padding: 1;
-adwaita-focus-border-radius: 2;
-adwaita-focus-border-dashes: 1;
- -adwaita-focus-border-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);
+ -adwaita-focus-border-color: alpha(@theme_text_color, 0.6);
background-color: @theme_base_color;
}
@@ -1902,6 +1902,10 @@ GtkTreeView.view:backdrop:selected {
color: @theme_unfocused_selected_fg_color;
}
+GtkTreeView:selected:focus {
+ -adwaita-focus-border-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);
+}
+
/*column-header {
padding: 0 4px;
}*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]