[gnome-themes-standard] Adwaita gtk3: .content-view backdrop fixes.



commit af878b9da5465ba228bb46db8730c4b0859d32e5
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Oct 13 18:43:05 2012 +0200

    Adwaita gtk3: .content-view backdrop fixes.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 2510a46..602d45e 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -416,7 +416,7 @@ GtkTreeView.separator:backdrop,
 .entry:focus {
     box-shadow: inset 1px 2px alpha(@theme_selected_bg_color, 0.1),
                 inset 1px 1px alpha(@theme_selected_bg_color, 0.1),
-                inset -1px -1px alpha(@theme_selected_bg_color, 0.2);
+                inset -1px -1px alpha(@theme_selected_bg_color, 0.2); 
     transition: all 200ms ease-in;
 }
 
@@ -3287,8 +3287,9 @@ row:selected {
     background-color: @content_view_bg;
 }
 
-.content-view.view:prelight {
+.content-view.view:hover {
     background-color: @theme_bg_color;
+    color: @theme_text_color;
 }
 
 .content-view.view:selected,
@@ -3300,14 +3301,20 @@ row:selected {
     background-color: @theme_unfocused_base_color;
 }
 
-.content-view.view:backdrop {
-    background-color: @theme_unfocused_base_color;
+.content-view.view:backdrop,
+.content-view.view:hover:backdrop {
+    /* FIXME: :hover:backdrop doesn't work,
+     * see: https://bugzilla.gnome.org/show_bug.cgi?id=686092
+     */
+    background-color: @sidebar_bg_unfocused;
 }
 
 .content-view.view:selected:backdrop {
     background-color: @theme_unfocused_selected_bg_color;
 }
 
+.content-view.view .separator:backdrop { color: @theme_unfocused_bg_color; }
+
 GdMainIconView.content-view {
     -GdMainIconView-icon-size: 40;
 }
@@ -3327,7 +3334,7 @@ GtkIconView.content-view.check:active {
     background-color: transparent;
 }
 
-GtkIconView.content-view.check:prelight,
+GtkIconView.content-view.check:hover,
 GtkIconView.content-view.check:insensitive,
 GtkIconView.content-view.check:backdrop,
 GtkIconView.content-view.check:selected {



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