[gnome-disk-utility] Make volume grid look right (grey, not blue) when selected and unfocused



commit 1c23ac9f0db99f86bac8e83aeaaac2607c9ea04a
Author: David Zeuthen <zeuthen gmail com>
Date:   Sat Jun 23 17:55:24 2012 -0400

    Make volume grid look right (grey, not blue) when selected and unfocused
    
    Thanks to Cosimo Cecchi for the help with this.
    
    Signed-off-by: David Zeuthen <zeuthen gmail com>

 src/disks/gduwindow.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/disks/gduwindow.c b/src/disks/gduwindow.c
index 932e265..e67bfde 100644
--- a/src/disks/gduwindow.c
+++ b/src/disks/gduwindow.c
@@ -838,6 +838,15 @@ init_css (GduWindow *window)
 "                                  to(shade (@theme_selected_bg_color, 0.80)));\n"
 "  -adwaita-focus-border-color: mix(@theme_selected_fg_color, @theme_selected_bg_color, 0.30);\n"
 "}\n"
+"\n"
+".gnome-disk-utility-grid:selected:backdrop {\n"
+"  background-image: -gtk-gradient(radial,\n"
+"                                  center center, 0,\n"
+"                                  center center, 1,\n"
+"                                  from(@theme_unfocused_selected_bg_color),\n"
+"                                  to(shade (@theme_unfocused_selected_bg_color, 0.80)));\n"
+"  -adwaita-focus-border-color: mix(@theme_unfocused_selected_fg_color, @theme_unfocused_selected_bg_color, 0.30);\n"
+"}\n"
 ;
 
   provider = gtk_css_provider_new ();



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