summaryrefslogtreecommitdiff
path: root/openstack_dashboard/themes/material/static/horizon/components/_checkboxes.scss
blob: 585bc4a21563c06942441ab365a978daed1aac4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// Custom Material Checkboxes
// --------------------------------------------------

.themable-checkbox {

  input[type=checkbox] {

    // The checkbox - Unchecked
    & + label {
      @extend .mdi-checkbox-blank-outline;

      &:before {
        @extend .mdi;
        font-size: $font-size-h5;
      }
    }

    // The checkbox - Checked
    &:checked + label {
      @extend .mdi-checkbox-marked;

      &:before {
        color: $brand-primary;
      }
    }
  }
}