Browse Source

Merge branch 'master' of github.com:benjycui/ant-design

pull/35/head
Benjy Cui 10 years ago
parent
commit
c83160e2e3
  1. 4
      style/core/motion.less
  2. 2
      style/core/motion/fade.less
  3. 6
      style/core/motion/zoom.less

4
style/core/motion.less

@ -1,5 +1,5 @@
.motion-common() {
animation-duration: .22s;
animation-duration: .35s;
animation-fill-mode: both;
display: block !important;
}
@ -28,4 +28,4 @@
@import "motion/other";
@import "motion/slide";
@import "motion/swing";
@import "motion/zoom";
@import "motion/zoom";

2
style/core/motion/fade.less

@ -1,7 +1,7 @@
.fade-enter {
opacity: 0;
.motion-common();
animation-timing-function: @ease-in;
animation-timing-function: @ease-out;
animation-play-state: paused;
}

6
style/core/motion/zoom.less

@ -2,11 +2,11 @@
.make-motion(@className, @keyframeName);
.@{className}-enter {
opacity: 0;
transform: scale(0, 0);
animation-timing-function: @ease-out-back;
animation-timing-function: @ease-out-circ;
}
.@{className}-leave {
animation-timing-function: @ease-in-back;
animation-timing-function: @ease-in-circ;
transform: scale(0, 0);
}
}

Loading…
Cancel
Save