4de96ac737
- simplified drawing functions - refactored button drawing - dropped arrow from all popovers - cleaned out some legacy css - fixed many of the issues in #4969 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2150>
19 lines
804 B
SCSS
19 lines
804 B
SCSS
/* Check Boxes */
|
|
|
|
// these are equal to the size of the SVG assets
|
|
$check_height: 24px;
|
|
$check_width: 24px;
|
|
|
|
|
|
.check-box {
|
|
StBoxLayout { spacing: .8em; }
|
|
StBin {
|
|
width: $check_width;
|
|
height: $check_height;
|
|
background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/checkbox-off-light.svg"), url("resource:///org/gnome/shell/theme/checkbox-off.svg"));
|
|
}
|
|
&: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"));; }
|
|
&: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"); }
|
|
}
|