[gnome-themes-standard] view: add some missing selectors for :selected state



commit e20d7b2525816cf29d74ba54e33c18b6e56e3a30
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sun Dec 23 20:16:37 2012 +0100

    view: add some missing selectors for :selected state

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 7ecdd99..2f74ccd 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -3221,6 +3221,16 @@ GtkIconView.cell:selected:focus {
     color: @theme_unfocused_text_color;
 }
 
+.view:selected {
+    background-color: @theme_selected_bg_color;
+    color: @theme_selected_fg_color;
+}
+
+.view:backdrop:selected {
+    background-color: @theme_unfocused_selected_bg_color;
+    color: @theme_unfocused_selected_fg_color;
+}
+
 .cell {
     color: @theme_text_color;
     padding: 2px;
@@ -3370,6 +3380,16 @@ EggListBox:selected {
     background-image: none;
 }
 
+.content-view.view:selected {
+    background-color: @theme_selected_bg_color;
+    background-image: none;
+}
+
+.content-view.view:selected:backdrop {
+    background-color: @theme_unfocused_selected_bg_color;
+    background-image: none;
+}
+
 /* FIXME: EggListBox should set the .cell style class on
  * the background it renders for the children, like
  * GtkIconView and GtkTreeView do */



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