[gnome-themes-standard] osd: add theming support for an overlay progressbar



commit 0982a342478ac8045ac034f98723857c86947274
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed May 23 12:31:56 2012 -0400

    osd: add theming support for an overlay progressbar
    
    As used in Web and the Online Accounts panel.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   29 +++++++++++++++++++++++++++--
 1 files changed, 27 insertions(+), 2 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index 861e5e8..80397f8 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -2124,10 +2124,15 @@ GtkOverlay.osd {
                                     to(@osd_button_bg_active_c));
 }
 
+/* used by gnome-settings-daemon's media-keys OSD */
 .osd.trough {
     background-color: @osd_trough_bg;
 }
 
+.osd.progressbar {
+    background-color: @osd_fg;
+}
+
 .osd GtkScale.trough {
     border-color: @osd_button_border;
     background-image: -gtk-gradient(linear, left top, left bottom,
@@ -2136,8 +2141,28 @@ GtkOverlay.osd {
     background-color: transparent;
 }
 
-.osd.progressbar {
-    background-color: @osd_fg;
+.osd GtkProgressBar {
+    padding: 0;
+    -GtkProgressBar-xspacing: 0;
+    -GtkProgressBar-yspacing: 3px;
+    -GtkProgressBar-min-horizontal-bar-height: 3px;
+}
+
+.osd GtkProgressBar.trough {
+    padding: 0;
+    border-image: none;
+    border-style: none;
+    border-width: 0;
+    background-image: none;
+    background-color: transparent;
+    border-radius: 0;
+}
+
+.osd GtkProgressBar.progressbar {
+    border-style: none;
+    background-color: @theme_selected_bg_color;
+    background-image: none;
+    border-radius: 0;    
 }
 
 /****************



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