[gnome-themes-standard] content-view: add different states for the content-view class



commit a45afcee7be3451d7c014315c596cb1456fcbcca
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Aug 17 01:48:29 2012 +0200

    content-view: add different states for the content-view class
    
    So that we will be able to use this in e.g. Baobab.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 026d119..6de93fe 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2780,6 +2780,27 @@ row:selected {
     background-color: @content_view_bg;
 }
 
+.content-view.view:prelight {
+    background-color: @theme_bg_color;
+}
+
+.content-view.view:selected,
+.content-view.view:active {
+    background-color: @theme_selected_bg_color;
+}
+
+.content-view.view:insensitive {
+    background-color: @theme_unfocused_base_color;
+}
+
+.content-view.view:backdrop {
+    background-color: @theme_unfocused_base_color;
+}
+
+.content-view.view:selected:backdrop {
+    background-color: @theme_unfocused_selected_bg_color;
+}
+
 GdMainIconView.content-view {
     -GdMainIconView-icon-size: 40;
 }
@@ -2794,6 +2815,13 @@ GtkIconView.content-view.check:active {
     background-color: transparent;
 }
 
+GtkIconView.content-view.check:prelight,
+GtkIconView.content-view.check:insensitive,
+GtkIconView.content-view.check:backdrop,
+GtkIconView.content-view.check:selected {
+    background-color: transparent;
+}
+
 /*********************
  * App Notifications *
  *********************/



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