File tree 3 files changed +7
-14
lines changed
3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ label.sf-switch input[type='checkbox'] ~ *
76
76
.sf-switch .multiple .sf-switch-toggle span {
77
77
display : block;
78
78
79
- font-size : var (--sf-txt -small );
79
+ font-size : var (--sf-fz -small );
80
80
text-align : center;
81
81
82
82
min-width : 2rem ;
@@ -112,6 +112,6 @@ label.sf-switch input[type='checkbox'] ~ *
112
112
.sf-switch .multiple .vert .sf-switch-toggle { flex-flow : column }
113
113
114
114
.sf-switch .multiple .sf-switch-description {
115
- font-size : var (--sf-txt -small );
115
+ font-size : var (--sf-fz -small );
116
116
margin : 0 ;
117
117
}
Original file line number Diff line number Diff line change 1
- .sf-description ,
2
- .sf-invalid ,
3
- .sf-valid
4
- {
1
+ : where (.sf-description , .sf-invalid , .sf-valid ) {
5
2
display : none;
6
3
color : hsl (var (--sf-form-c-txt ) / 40% );
7
4
8
- font-size : var (--sf-txt -small );
5
+ font-size : var (--sf-fz -small );
9
6
font-family : inherit;
10
7
font-weight : 400 ;
11
8
line-height : 1 ;
15
12
margin : 0 0 var (--sf-gap );
16
13
}
17
14
18
- .validates + .sf-description ,
19
- .validates + .sf-invalid ,
20
- .validates + .sf-valid
21
- {
22
- margin : 0 0 var (--sf-gap );
23
- }
15
+ .validates + : where (.sf-description , .sf-invalid , .sf-valid ) { margin : 0 0 var (--sf-gap ) }
24
16
25
17
.sf-description { display : block }
26
18
Original file line number Diff line number Diff line change 2
2
--sf-gap : 0.5em ;
3
3
4
4
--sf-disabled : 0.4 ;
5
- --sf-txt-small : 0.75rem ;
5
+
6
+ --sf-fz-small : 0.75rem ;
6
7
7
8
--sf-form-radius : 0.5em ;
8
9
You can’t perform that action at this time.
0 commit comments