Skip to content

Commit

Permalink
Fix progressbar in unfocused windows (Fixes #284)
Browse files Browse the repository at this point in the history
  • Loading branch information
ochosi committed Nov 30, 2020
1 parent 454f139 commit 5549b87
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions light/gtk-3.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3342,6 +3342,7 @@ progressbar {
// FIXME: insensitive state missing and some other state should be set probably
font-size: smaller;
color: transparentize($fg_color, 0.6);
font-feature-settings: "tnum";

&:backdrop {
box-shadow: none;
Expand All @@ -3350,12 +3351,10 @@ progressbar {

trough { @extend %scale_trough; }

&:backdrop trough { @extend %scale_trough:backdrop; } // looks like states are not passed to the trough component here

progress {
@extend %scale_highlight;
border: 1px solid shade($selected_bg_color, 0.7);

border: 1px solid shade($selected_bg_color, 0.7);
border-radius: 3px;

&.left {
Expand All @@ -3379,11 +3378,6 @@ progressbar {
}
}

&:backdrop progress { // states not passed here as well
@extend %scale_highlight:backdrop;
box-shadow: none;
}

&.osd { // progressbar.osd used for epiphany page loading progress
min-width: 3px;
min-height: 3px;
Expand Down

0 comments on commit 5549b87

Please sign in to comment.