From cb1a349d17031beb766fd053c663f1c9d32cd2ef Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Wed, 23 Nov 2016 17:25:18 +0100 Subject: [PATCH] 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(+) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index e5507fa2cb..4875399d95 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 4972fbc307..f2fdf19fbe 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 168fd043a5..364a7fbe2c 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 *