Skip to content

Commit

Permalink
Fix hover state on gnome-shell checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
EliverLara committed Jan 2, 2019
1 parent 6ea5b16 commit c15b44d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gnome-shell/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ StScrollBar {
height: 22px;
background-image: url("assets/checkbox-off.svg");
}
&:focus StBin { background-image: url("assets/checkbox-off-focused.svg"); }
&:focus, &:hover StBin { background-image: url("assets/checkbox-off-focused.svg"); }
&:checked StBin { background-image: url("assets/checkbox.svg"); }
&:focus:checked StBin { background-image: url("assets/checkbox-focused.svg"); }
}
Expand Down
2 changes: 1 addition & 1 deletion gnome-shell/gnome-shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ StScrollBar {
height: 22px;
background-image: url("assets/checkbox-off.svg"); }

.check-box:focus StBin {
.check-box:focus, .check-box:hover StBin {
background-image: url("assets/checkbox-off-focused.svg"); }

.check-box:checked StBin {
Expand Down

0 comments on commit c15b44d

Please sign in to comment.