Skip to content

Commit c15b44d

Browse files
committed
Fix hover state on gnome-shell checkboxes
1 parent 6ea5b16 commit c15b44d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gnome-shell/_common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ StScrollBar {
144144
height: 22px;
145145
background-image: url("assets/checkbox-off.svg");
146146
}
147-
&:focus StBin { background-image: url("assets/checkbox-off-focused.svg"); }
147+
&:focus, &:hover StBin { background-image: url("assets/checkbox-off-focused.svg"); }
148148
&:checked StBin { background-image: url("assets/checkbox.svg"); }
149149
&:focus:checked StBin { background-image: url("assets/checkbox-focused.svg"); }
150150
}

gnome-shell/gnome-shell.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ StScrollBar {
166166
height: 22px;
167167
background-image: url("assets/checkbox-off.svg"); }
168168

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

172172
.check-box:checked StBin {

0 commit comments

Comments
 (0)