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 1919 }
2020}
2121
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+
2235
2336.checkbox {
2437 padding-left : 20px ;
7285 content : @check-icon ;
7386 }
7487
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+
7599 & :disabled + label {
76100 opacity : 0.65 ;
77101
98122.checkbox-variant (checkbox- warning, @brand-warning );
99123.checkbox-variant (checkbox- success, @brand-success );
100124
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+
101131//
102132// Radios
103133// --------------------------------------------------
You can’t perform that action at this time.
0 commit comments