File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ md-checkbox {
241
241
width : $md-checkbox-size ;
242
242
243
243
[dir = " rtl" ] & {
244
- margin :{
244
+ margin : {
245
245
left : $md-checkbox-item-spacing ;
246
246
right : auto ;
247
247
}
@@ -265,9 +265,7 @@ md-checkbox {
265
265
.md-checkbox-background {
266
266
@extend %md-checkbox-outer-box ;
267
267
268
- align-items : center ;
269
- background-color : $md-checkbox-background-color ;
270
- opacity : 0 ;
268
+ align-items : center ;
271
269
display : inline-flex ;
272
270
justify-content : center ;
273
271
transition : background-color $md-checkbox-transition-duration
@@ -333,15 +331,15 @@ md-checkbox {
333
331
.md-checkbox-mixedmark {
334
332
transform : scaleX (1 ) rotate (-45deg );
335
333
}
336
-
334
+
337
335
.md-checkbox-background {
338
- opacity : 1 ;
336
+ background-color : $md-checkbox-background-color ;
339
337
}
340
338
}
341
339
342
340
.md-checkbox-indeterminate {
343
341
.md-checkbox-background {
344
- opacity : 1 ;
342
+ background-color : $md-checkbox-background-color ;
345
343
}
346
344
347
345
.md-checkbox-checkmark {
@@ -359,6 +357,13 @@ md-checkbox {
359
357
}
360
358
}
361
359
360
+
361
+ .md-checkbox-unchecked {
362
+ .md-checkbox-background {
363
+ background-color : transparent ;
364
+ }
365
+ }
366
+
362
367
.md-checkbox-disabled {
363
368
// NOTE(traviskaufman): While the spec calls for translucent blacks/whites for disabled colors,
364
369
// this does not work well with elements layered on top of one another. To get around this we
You can’t perform that action at this time.
0 commit comments