[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 273/331] Override button theming to show progress meter



commit 463624c62e1f634abdb927ac98131d29c0324425
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 |    6 ++++++
 src/gtk-style.css    |    8 +++++++-
 2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/src/gtk-style-hc.css b/src/gtk-style-hc.css
index a5fe5f2..3f0400e 100644
--- a/src/gtk-style-hc.css
+++ b/src/gtk-style-hc.css
@@ -116,6 +116,12 @@
        background-image: linear-gradient(to top, @theme_selected_bg_color 2px, 
alpha(@theme_selected_bg_color, 0) 2px);
        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 c915295..ea24de7 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -134,9 +134,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]