[gnome-themes-standard] Entry progressbar styling.



commit 7236743fed210e9a8014fffbe1a4dc6d4581ed21
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Fri Sep 7 00:06:02 2012 +0200

    Entry progressbar styling.

 themes/Adwaita/gtk-3.0/gtk-widgets.css |   46 +++++++++++++++++++++++++++++---
 1 files changed, 42 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-widgets.css b/themes/Adwaita/gtk-3.0/gtk-widgets.css
index d10f7f2..46117a3 100644
--- a/themes/Adwaita/gtk-3.0/gtk-widgets.css
+++ b/themes/Adwaita/gtk-3.0/gtk-widgets.css
@@ -310,11 +310,49 @@ GtkTreeView.separator:backdrop,
                 inset -1px -1px alpha(@theme_selected_bg_color, 0.2);
 }
 
-.entry.progressbar {
-    background-color: @theme_selected_bg_color;
-    color: @theme_selected_fg_color;
+.entry.progressbar,
+.entry.progressbar:focus {
+    margin-left: 2px;
+    margin-right: 2px;
+    border-image: none;
+    border-style: none;
+    background-color: transparent;
+    background-image: linear-gradient(to top, 
+                                      transparent 2px,
+                                      white 2px,
+                                      white 3px,
+                                      shade(@theme_selected_bg_color, 0.9) 3px,
+                                      shade(@theme_selected_bg_color, 0.9) 5px,
+                                      transparent 5px);
+    background-size: auto;
+    box-shadow: none;
+}
 
-    /* border-image defined in -assets variant */
+.entry.progressbar.pulse,
+.entry.progressbar.pulse:focus {
+    background-image: linear-gradient(to top, 
+                                      transparent 2px,
+                                      white 2px,
+                                      white 3px,
+                                      @borders 3px,
+                                      @borders 5px,
+                                      transparent 5px);
+}
+
+.entry.progressbar:backdrop {
+    margin-left: 2px;
+    margin-right: 2px;
+    border-image: none;
+    border-style: none;
+    background-color: transparent;
+    background-image: linear-gradient(to top, 
+                                      transparent 2px,
+                                      white 2px,
+                                      white 3px,
+                                      @theme_unfocused_selected_bg_color 3px,
+                                      @theme_unfocused_selected_bg_color 5px,
+                                      transparent 5px);
+    box-shadow: none;
 }
 
 .entry:selected {



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