[gnome-software/wip/kalev/download-step: 2/3] css: Style progress button so that it starts with 0% of progress filled



commit 6b68087b761702b4d567bfb53a028913476647d1
Author: Kalev Lember <klember redhat com>
Date:   Tue Oct 23 23:14:11 2018 +0200

    css: Style progress button so that it starts with 0% of progress filled

 src/gtk-style-hc.css | 1 +
 src/gtk-style.css    | 1 +
 2 files changed, 2 insertions(+)
---
diff --git a/src/gtk-style-hc.css b/src/gtk-style-hc.css
index 7b1679bc..a51c05e7 100644
--- a/src/gtk-style-hc.css
+++ b/src/gtk-style-hc.css
@@ -115,6 +115,7 @@
        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;
+       background-size: 0;
        transition: none;
 }
 
diff --git a/src/gtk-style.css b/src/gtk-style.css
index c9bcbb01..e37447a8 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -306,6 +306,7 @@
        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;
+       background-size: 0;
        transition: none;
 }
 


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