[gtk+] HC: progressbar style fix
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HC: progressbar style fix
- Date: Wed, 23 Nov 2016 16:26:23 +0000 (UTC)
commit cb1a349d17031beb766fd053c663f1c9d32cd2ef
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 e5507fa..4875399 100644
--- a/gtk/theme/HighContrast/_common.scss
+++ b/gtk/theme/HighContrast/_common.scss
@@ -2484,6 +2484,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 4972fbc..f2fdf19 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 168fd04..364a7fb 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]