[gnome-themes-standard: 8/26] adwaita: make sure to use the asset image for cell renderers



commit 640242bae1c1ad1cafd62602d475f066ec6d2c92
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Mar 2 14:35:03 2011 -0500

    adwaita: make sure to use the asset image for cell renderers

 themes/Adwaita/gtk-3.0/gtk.css |   41 ++++++++++++++++++++++++++++++---------
 1 files changed, 31 insertions(+), 10 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index 13d5a57..ac8c043 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -434,43 +434,64 @@ GtkScrollbar.button:insensitive {
  *************************/
 
 /* draw regular check and radio items using our SVG assets */
-.check {
+.check,
+.check row:selected,
+.check row:selected:focused {
     background-image: url ("assets/checkbox-unchecked.svg");
 }
 
-.check:insensitive {
+.check:insensitive,
+.check row:selected:insensitive,
+.check row:selected:focused:insensitive {
     background-image: url ("assets/checkbox-unchecked-insensitive.svg");
 }
 
-.check:active {
+.check:active,
+.check row:selected:active,
+.check row:selected:focused:active {
     background-image: url ("assets/checkbox-checked.svg");
 }
 
-.check:active:insensitive {
+.check:active:insensitive,
+.check row:selected:active:insensitive,
+.check row:selected:focused:active:insensitive
+{
     background-image: url ("assets/checkbox-checked-insensitive.svg");
 }
 
-.check:inconsistent {
+.check:inconsistent,
+.check row:selected:inconsistent,
+.check row:selected:focused:inconsistent {
     background-image: url ("assets/checkbox-mixed.svg");
 }
 
-.radio {
+.radio,
+.radio row:selected,
+.radio row:selected:focused {
     background-image: url ("assets/radio-unselected.svg");
 }
 
-.radio:insensitive {
+.radio:insensitive,
+.radio row:selected:insensitive,
+.radio row:selected:focused:insensitive {
     background-image: url ("assets/radio-unselected-insensitive.svg");
 }
 
-.radio:active {
+.radio:active,
+.radio row:selected:active,
+.radio row:selected:focused:active {
     background-image: url ("assets/radio-selected.svg");
 }
 
-.radio:active:insensitive {
+.radio:active:insensitive,
+.radio row:selected:active:insensitive,
+.radio row:selected:focused:active:insensitive {
     background-image: url ("assets/radio-selected-insensitive.svg");
 }
 
-.radio:inconsistent {
+.radio:inconsistent,
+.radio row:selected:inconsistent,
+.radio row:selected:focused:inconsistent {
     /* FIXME: need an asset for this */
     background-image: none;
     color: shade (@theme_selected_bg_color, 0.84);



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