[gtk+/gtk-3-22] HC: progressbar style fix
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] HC: progressbar style fix
- Date: Sat, 3 Dec 2016 16:33:04 +0000 (UTC)
commit 155dbaaa1454afa2836b6dea67f46293d1d8ba05
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Wed Nov 23 17:25:18 2016 +0100
HC: 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/HighContrast/_common.scss | 1 +
gtk/theme/HighContrast/gtk-contained-inverse.css | 2 ++
gtk/theme/HighContrast/gtk-contained.css | 2 ++
3 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss
index 145d257..5cfa168 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2500,6 +2500,7 @@ progressbar {
border-radius: 0;
}
}
+ trough.empty progress { all: unset; } // make the progress indicator disappear when the fraction is 0
}
/*************
diff --git a/gtk/theme/HighContrast/gtk-contained-inverse.css
b/gtk/theme/HighContrast/gtk-contained-inverse.css
index 9d821bb..3274206 100644
--- a/gtk/theme/HighContrast/gtk-contained-inverse.css
+++ b/gtk/theme/HighContrast/gtk-contained-inverse.css
@@ -2529,6 +2529,8 @@ progressbar progress {
progressbar progress.osd {
border-width: 0;
border-radius: 0; }
+progressbar trough.empty progress {
+ all: unset; }
/*************
* Level Bar *
diff --git a/gtk/theme/HighContrast/gtk-contained.css b/gtk/theme/HighContrast/gtk-contained.css
index 6e416d8..93c7bfc 100644
--- a/gtk/theme/HighContrast/gtk-contained.css
+++ b/gtk/theme/HighContrast/gtk-contained.css
@@ -2536,6 +2536,8 @@ progressbar progress {
progressbar progress.osd {
border-width: 0;
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]