-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_LabelledRadio.scss
33 lines (30 loc) · 1.01 KB
/
_LabelledRadio.scss
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
33
@import 'Radio';
@mixin LabelledRadio(
$size: $default-radio-size,
$thickness: $default-radio-thickness,
$color: $default-radio-color,
$border-thickness: $default-radio-border-thickness,
$desaturate-percentage: $default-desaturate-percentage,
$type: $default-radio-type) {
input[type=radio] {
@include Radio(
$size: $size, $thickness: $thickness, $color: $color,
$border-thickness: $border-thickness,
$desaturate-percentage: $desaturate-percentage, $type: $type);
}
&:hover {
cursor: pointer;
input[type=radio] + * {
@include RadioHover(
$size: $size, $thickness: $thickness, $color: $color,
$border-thickness: $border-thickness,
$desaturate-percentage: $desaturate-percentage, $type: $type);
}
input[type=radio]:checked {
@include Radio(
$size: $size, $thickness: $thickness, $color: $color,
$border-thickness: $border-thickness,
$desaturate-percentage: $desaturate-percentage, $type: $type);
}
}
}