Merge pull request #134 from CartoDB/add-transitions

add transitions
This commit is contained in:
piensaenpixel 2016-06-20 11:58:30 +02:00 committed by GitHub
commit 0d7c032e44
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;