[gnome-software] css: Style progress button so that it starts with 0% of progress filled
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] css: Style progress button so that it starts with 0% of progress filled
- Date: Wed, 24 Oct 2018 09:59:21 +0000 (UTC)
commit d761d3b15479f4f52b94eaf107b8054c5ea9855d
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 ffe60b22..ef7168dd 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]