add transitions
This commit is contained in:
parent
43a21b5d28
commit
8d4dfaa378
@ -22,6 +22,8 @@
|
||||
|
||||
@import '../../cdb-variables/sizes';
|
||||
@import '../../cdb-variables/colors';
|
||||
@import '../../cdb-utilities/mixins';
|
||||
|
||||
|
||||
.CDB-Checkbox {
|
||||
position: absolute;
|
||||
@ -67,6 +69,7 @@
|
||||
}
|
||||
|
||||
.CDB-Checkbox:checked + .CDB-Checkbox-face {
|
||||
@include transition(background, 300ms);
|
||||
border: 1px solid $cBlue;
|
||||
background: $cBlue;
|
||||
|
||||
|
@ -23,6 +23,8 @@
|
||||
|
||||
@import '../../cdb-variables/sizes';
|
||||
@import '../../cdb-variables/colors';
|
||||
@import '../../cdb-utilities/mixins';
|
||||
|
||||
|
||||
.CDB-Radio {
|
||||
position: absolute;
|
||||
@ -59,6 +61,7 @@
|
||||
}
|
||||
|
||||
.CDB-Radio:checked + .CDB-Radio-face {
|
||||
@include transition(background, 300ms);
|
||||
border: 1px solid $cBlue;
|
||||
background: $cBlue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user