summaryrefslogtreecommitdiff
path: root/openstack_dashboard/themes/material/static/horizon/components/_radiobuttons.scss
blob: b1ea3e79d1f66f79fd653346edaa90943c6310f1 (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
29
30
31
32
//
// Custom Material Radio Buttons
// --------------------------------------------------

.themable-radio {

  input[type=radio] {

    // Radio button - Unchecked
    & + label {
      @extend .mdi-radiobox-blank;

      &:before {
        @extend .mdi;
        font-size: $font-size-h5;
        line-height: $font-size-h5;
        vertical-align: middle;
        content: "\F43D";
      }
    }

    // Radio button - Checked
    &:checked + label {
      @extend .mdi-radiobox-marked;

      &:before {
        color: $brand-primary;
        content: "\F43E";
      }
    }
  }
}