[gnome-software/wip/ubuntu-3-20: 19/57] Override button theming to show progress meter
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/ubuntu-3-20: 19/57] Override button theming to show progress meter
- Date: Thu, 5 Oct 2017 04:12:00 +0000 (UTC)
commit c988aa38e1d0f20eccc9ee6325ccf1b350f5544a
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 db0a98d..1e0373b 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 f2005e2..1b8c56a 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -140,9 +140,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]