2015-09-15 16:15:07 +08:00
|
|
|
.fade-motion(@className, @keyframeName) {
|
|
|
|
.make-motion(@className, @keyframeName);
|
2015-11-26 19:32:55 +08:00
|
|
|
.@{className}-enter,
|
|
|
|
.@{className}-appear {
|
2015-09-15 16:15:07 +08:00
|
|
|
opacity: 0;
|
|
|
|
animation-timing-function: linear;
|
|
|
|
}
|
|
|
|
.@{className}-leave {
|
|
|
|
animation-timing-function: linear;
|
|
|
|
}
|
2015-07-01 17:25:16 +08:00
|
|
|
}
|
|
|
|
|
2015-09-15 16:15:07 +08:00
|
|
|
.fade-motion(fade, antFade);
|
|
|
|
.fade-motion(ant-modal-fade, antFade);
|
2015-07-01 17:25:16 +08:00
|
|
|
|
2015-09-15 15:00:23 +08:00
|
|
|
@keyframes antFadeIn {
|
2015-07-01 17:25:16 +08:00
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-15 15:00:23 +08:00
|
|
|
@keyframes antFadeOut {
|
2015-07-01 17:25:16 +08:00
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2015-07-09 11:04:45 +08:00
|
|
|
}
|