mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-07 14:12:31 +00:00
Signed-off-by: tfuxu <73042332+tfuxu@users.noreply.github.com> Co-authored-by: 0xMRTT <0xMRTT@evta.fr> Co-authored-by: 0xMRTT <0xMRTT@proton.me> Co-authored-by: daudix-UFO <ddaudix@gmail.com>
18 lines
804 B
Text
18 lines
804 B
Text
/* 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"); }
|
|
}
|