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



commit 98357e025a72c89b614df528998c501c69624128
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]