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

44 lines
906 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 {
2019-01-12 03:33:27 +00:00
animation-duration: 0.3s;
2018-03-05 11:05:23 +00:00
animation-fill-mode: both;
animation-timing-function: ease-out;
animation-play-state: paused;
}
2019-01-12 03:33:27 +00:00
&-slide-fade-enter&-slide-fade-enter-active,
&-slide-fade-appear&-slide-fade-appear-active {
2018-03-05 11:05:23 +00:00
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%);
}
}
}