Browse Source

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

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

2
style/core/motion.less

@ -1,5 +1,5 @@
.motion-common() { .motion-common() {
animation-duration: .22s; animation-duration: .35s;
animation-fill-mode: both; animation-fill-mode: both;
display: block !important; display: block !important;
} }

2
style/core/motion/fade.less

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

6
style/core/motion/zoom.less

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

Loading…
Cancel
Save