add transitions

This commit is contained in:
piensaenpixel 2016-06-20 11:50:42 +02:00
parent 43a21b5d28
commit 8d4dfaa378
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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;