Improved Modal

This commit is contained in:
Grzegorz Leoniec 2019-01-17 20:55:37 +01:00
parent 57c106ab13
commit 6a58746702
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -88,11 +88,9 @@
background: rgba(0, 0, 0, 0.7);
}
$easeOut: cubic-bezier(0.19, 1, 0.22, 1);
.ds-transition-modal-appear-enter-active {
opacity: 1;
transition: all 180ms $easeOut;
transition: all 200ms $ease-out-bounce ;
transition-delay: 0;
transform: translate3d(-50%, -50%, 0) scale(1);
}
@ -100,5 +98,5 @@ $easeOut: cubic-bezier(0.19, 1, 0.22, 1);
.ds-transition-modal-appear-leave-active {
opacity: 0;
transition-delay: 0;
transform: translate3d(-50%, -50%, 0) scale(0.9);
transform: translate3d(-50%, -50%, 0) scale(0.8);
}