9ea745bcd4
- split _common.scss into widgets - improve _drawing functions - minify SVG assets https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/904
18 lines
602 B
SCSS
18 lines
602 B
SCSS
/* Check Boxes */
|
|
|
|
// these are equal to the size of the SVG assets
|
|
$check_height: 22px;
|
|
$check_width: 24px;
|
|
|
|
|
|
.check-box {
|
|
StBoxLayout { spacing: .8em; }
|
|
StBin {
|
|
width: $check_width;
|
|
height: $check_height;
|
|
background-image: url("resource:///org/gnome/shell/theme/checkbox-off.svg");
|
|
}
|
|
&:focus StBin { background-image: 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"); }
|
|
} |