[gnome-software/wip/william/cherry-pick-4: 8/23] Override button theming to show progress meter



commit 25af7c3273551b598b44427f5d370c7496de1dd1
Author: William Hua <william hua canonical com>
Date:   Mon Apr 18 19:06:48 2016 -0400

    Override button theming to show progress meter

 src/gtk-style-hc.css |    8 +++++++-
 src/gtk-style.css    |    8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/src/gtk-style-hc.css b/src/gtk-style-hc.css
index dfc0b87..5869d5b 100644
--- a/src/gtk-style-hc.css
+++ b/src/gtk-style-hc.css
@@ -113,9 +113,15 @@
 }
 
 .install-progress {
-       background-image: linear-gradient(to top, @theme_selected_bg_color 2px, 
alpha(@theme_selected_bg_color, 0) 2px);
+       background-image: linear-gradient(to top, @theme_selected_bg_color 4px, 
alpha(@theme_selected_bg_color, 0) 4px);
        background-repeat: no-repeat;
        background-position: 0 bottom;
+       border: 1px solid;
+       border-radius: 3px;
+       border-image-source: none;
+       border-image-width: 1;
+       border-image-slice: 100%;
+       border-image-repeat: stretch;
        transition: none;
 }
 
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 42c3d1b..425c51c 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -144,9 +144,15 @@
 }
 
 .install-progress {
-       background-image: linear-gradient(to top, @theme_selected_bg_color 2px, 
alpha(@theme_selected_bg_color, 0) 2px);
+       background-image: linear-gradient(to top, @theme_selected_bg_color 4px, 
alpha(@theme_selected_bg_color, 0) 4px);
        background-repeat: no-repeat;
        background-position: 0 bottom;
+       border: 1px solid;
+       border-radius: 3px;
+       border-image-source: none;
+       border-image-width: 1;
+       border-image-slice: 100%;
+       border-image-repeat: stretch;
        transition: none;
 }
 


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