[gtk+/gtk-3-20] Adwaita: progressbar style fix
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-20] Adwaita: progressbar style fix
- Date: Sat, 3 Dec 2016 17:22:28 +0000 (UTC)
commit 6db39715d9feb6dc56cd31dd3ad678e2049ddeda
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Nov 23 16:00:57 2016 +0100
Adwaita: progressbar style fix
Reset styling on the progress node when trough node has the `empty'
styleclass.
See https://bugzilla.gnome.org/show_bug.cgi?id=774695
gtk/theme/Adwaita/_common.scss | 2 ++
gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 34cfd52..7f4158f 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3219,6 +3219,8 @@ progressbar {
border-radius: 0;
}
}
+
+ trough.empty progress { all: unset; } // makes the progress indicator disappear, when the fraction is 0
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 05ace12..c0c4626 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -3583,6 +3583,8 @@ progressbar {
progressbar.osd progress {
border-style: none;
border-radius: 0; }
+ progressbar trough.empty progress {
+ all: unset; }
/*************
* Level Bar *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index 2ea9624..3135793 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -3612,6 +3612,8 @@ progressbar {
progressbar.osd progress {
border-style: none;
border-radius: 0; }
+ progressbar trough.empty progress {
+ all: unset; }
/*************
* Level Bar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]