2019-12-18 16:25:03 -05:00
|
|
|
/* Check Boxes */
|
|
|
|
|
|
|
|
// these are equal to the size of the SVG assets
|
2022-01-17 11:44:25 -05:00
|
|
|
$check_height: 24px;
|
2019-12-18 16:25:03 -05:00
|
|
|
$check_width: 24px;
|
|
|
|
|
|
|
|
|
|
|
|
.check-box {
|
2019-12-19 10:38:27 -05:00
|
|
|
StBoxLayout { spacing: .8em; }
|
|
|
|
StBin {
|
|
|
|
width: $check_width;
|
|
|
|
height: $check_height;
|
2022-01-17 11:44:25 -05:00
|
|
|
background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/checkbox-off-light.svg"), url("resource:///org/gnome/shell/theme/checkbox-off.svg"));
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
2022-01-17 11:44:25 -05:00
|
|
|
&:focus StBin { background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/checkbox-off-focused-light.svg"), url("resource:///org/gnome/shell/theme/checkbox-off-focused.svg"));; }
|
2019-12-19 10:38:27 -05:00
|
|
|
&:checked StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox.svg"); }
|
|
|
|
&:focus:checked StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox-focused.svg"); }
|
2022-02-02 13:17:42 -05:00
|
|
|
}
|