Blame view

src/styles/animation/index.less 674 Bytes
7c15ac9e   梁灏   add Message compo...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  .motion-common() {
      animation-duration: @animation-time;
      animation-fill-mode: both;
  }
  
  .make-motion(@className, @keyframeName) {
      .@{className}-enter, .@{className}-appear {
          .motion-common();
          animation-play-state: paused;
      }
      .@{className}-leave {
          .motion-common();
          animation-play-state: paused;
      }
      .@{className}-enter, .@{className}-appear {
          animation-name: ~"@{keyframeName}In";
          animation-play-state: running;
      }
      .@{className}-leave {
          animation-name: ~"@{keyframeName}Out";
          animation-play-state: running;
      }
  }
  
  @import "fade";
be966e9f   梁灏   add Modal component
26
  @import "move";
e355dd49   梁灏   add Select Component
27
28
  @import "ease";
  @import "slide";