update checkbox motion

pull/76/head
jljsj 10 years ago
parent 5701436909
commit 491a9c8048

@ -19,7 +19,7 @@
&-inner { &-inner {
&:after { &:after {
transform: rotate(45deg); transform: rotate(45deg) scale(0);
position: absolute; position: absolute;
left: 4px; left: 4px;
top: 1px; top: 1px;
@ -30,9 +30,7 @@
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;
content: ' '; content: ' ';
animation-timing-function: @ease-in-out-back; transition: all .3s @ease-in-back ;
animation-duration: 0.3s;
animation-name: fadeOut;
} }
position: relative; position: relative;
@ -75,7 +73,7 @@
background-color: @primary-color; background-color: @primary-color;
&:after { &:after {
transform: rotate(45deg); transform: rotate(45deg) scale(1);
position: absolute; position: absolute;
left: 4px; left: 4px;
top: 1px; top: 1px;
@ -86,9 +84,7 @@
border-top: 0; border-top: 0;
border-left: 0; border-left: 0;
content: ' '; content: ' ';
animation-timing-function: @ease-in-out-back; transition: all .3s @ease-out-back .2s;
animation-duration: 0.3s;
animation-name: fadeOut;
} }
} }
} }

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save