File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 19
19
}
20
20
}
21
21
22
+ .checkbox-variant-indeterminate (@parent , @color ) {
23
+ .@{parent} input [type= " checkbox" ]:indeterminate + label ,
24
+ .@{parent} input [type= " radio" ]:indeterminate + label {
25
+ & ::before {
26
+ background-color : @color ;
27
+ border-color : @color ;
28
+ }
29
+ & ::after {
30
+ background-color : #fff ;
31
+ }
32
+ }
33
+ }
34
+
22
35
23
36
.checkbox {
24
37
padding-left : 20px ;
72
85
content : @check-icon ;
73
86
}
74
87
88
+ & :indeterminate + label ::after {
89
+ display : block ;
90
+ content : " " ;
91
+ width : 10px ;
92
+ height : 3px ;
93
+ background-color : #555555 ;
94
+ border-radius : 2px ;
95
+ margin-left : -16.5px ;
96
+ margin-top : 7px ;
97
+ }
98
+
75
99
& :disabled + label {
76
100
opacity : 0.65 ;
77
101
98
122
.checkbox-variant (checkbox- warning, @brand-warning );
99
123
.checkbox-variant (checkbox- success, @brand-success );
100
124
125
+ .checkbox-variant-indeterminate (checkbox- primary, @brand-primary );
126
+ .checkbox-variant-indeterminate (checkbox- danger, @brand-danger );
127
+ .checkbox-variant-indeterminate (checkbox- info, @brand-info );
128
+ .checkbox-variant-indeterminate (checkbox- warning, @brand-warning );
129
+ .checkbox-variant-indeterminate (checkbox- success, @brand-success );
130
+
101
131
//
102
132
// Radios
103
133
// --------------------------------------------------
You can’t perform that action at this time.
0 commit comments