Skip to content

Commit

Permalink
Fix empty progressbars showing content
Browse files Browse the repository at this point in the history
This was fixed by me upstream both in Gtk+ as well as in Adwaita.
Somehow I must have forgotten to push this to Greybird...

See https://bugzilla.gnome.org/show_bug.cgi?id=774695
  • Loading branch information
ochosi committed Dec 30, 2017
1 parent 10929b1 commit eb000cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3220,6 +3220,8 @@ progressbar {
border-radius: 0;
}
}

trough.empty progress { all: unset; } // makes the progress indicator disappear, when the fraction is 0
}


Expand Down
2 changes: 2 additions & 0 deletions gtk-3.0/gtk-contained-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -3266,6 +3266,8 @@ progressbar {
progressbar.osd progress {
border-style: none;
border-radius: 0; }
progressbar trough.empty progress {
all: unset; }

/*************
* Level Bar *
Expand Down
2 changes: 2 additions & 0 deletions gtk-3.0/gtk-contained.css
Original file line number Diff line number Diff line change
Expand Up @@ -3296,6 +3296,8 @@ progressbar {
progressbar.osd progress {
border-style: none;
border-radius: 0; }
progressbar trough.empty progress {
all: unset; }

/*************
* Level Bar *
Expand Down

0 comments on commit eb000cd

Please sign in to comment.