ant-design-vue/components/vc-dialog/assets/bootstrap/effect.less

43 lines
903 B
Plaintext
Raw Normal View History

2018-03-05 11:05:23 +00:00
.@{prefixCls} {
&-slide-fade-enter,
&-slide-fade-appear {
transform: translate(0, -25%);
}
&-slide-fade-enter,
&-slide-fade-appear,
&-slide-fade-leave {
animation-duration: .3s;
animation-fill-mode: both;
animation-timing-function: ease-out;
animation-play-state: paused;
}
&-slide-fade-enter&-slide-fade-enter-active, &-slide-fade-appear&-slide-fade-appear-active {
animation-name: rcDialogSlideFadeIn;
animation-play-state: running;
}
&-slide-fade-leave&-slide-fade-leave-active {
animation-name: rcDialogSlideFadeOut;
animation-play-state: running;
}
@keyframes rcDialogSlideFadeIn {
0% {
transform: translate(0, -25%);
}
100% {
transform: translate(0, 0);
}
}
@keyframes rcDialogSlideFadeOut {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(0, -25%);
}
}
}