summaryrefslogtreecommitdiffstats
path: root/data/theme/gnome-shell-sass/widgets/_check-box.scss
blob: fc71467d439622f45fc93eaf9026983aedc34109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* 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"); }
}