[gnome-themes-standard] progressbar: theme GtkCellRendererProgress correctly



commit 756f2ea3229aeab10fcb5b318a44b19f33dd39bb
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri May 6 15:19:53 2011 -0400

    progressbar: theme GtkCellRendererProgress correctly

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index a470a9a..21244fc 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -192,7 +192,11 @@
 /****************
  * Progress bar *
  ****************/
-GtkProgressBar.progressbar {
+.progressbar,
+.progressbar row,
+.progressbar row:hover,
+.progressbar row:selected,
+.progressbar row:selected:focused {
     background-image: -gtk-gradient (linear,
                                      left top, left bottom,
                                      from (@progressbar_background_a),
@@ -212,7 +216,9 @@ GtkProgressBar.progressbar {
                                                  to (alpha (@progressbar_pattern, 0.10)));
 }
 
-GtkProgressBar.trough {
+GtkProgressBar.trough,
+.trough row,
+.trough row:hover {
     background-image: -gtk-gradient (linear,
                                      left top, left bottom,
                                      from (@trough_bg_color_a),
@@ -224,6 +230,14 @@ GtkProgressBar.trough {
     border-color: shade (@inactive_frame_color, 0.925);
 }
 
+.trough row:selected,
+.trough row:selected:focused {
+    background-image: -gtk-gradient (linear,
+                                     left top, left bottom,
+                                     from (mix (@trough_bg_color_a, @theme_selected_bg_color, 0.25)),
+                                     to (mix (@trough_bg_color_b, @theme_selected_bg_color, 0.25)));
+}
+
 /************
  * GtkScale *
  ************/



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