bklLiudl
2025-04-08 a82e815f97b789dc4ca208df09dd96534a023f4a
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
26
27
28
29
30
31
32
.motion-common(@time) {
    animation-duration: @time;
    animation-fill-mode: both;
}
 
.make-motion(@className, @keyframeName, @time: @animation-time) {
    .@{className}-enter-active, .@{className}-appear {
        .motion-common(@time);
        animation-play-state: paused;
    }
    .@{className}-leave-active {
        .motion-common(@time);
        animation-play-state: paused;
    }
    .@{className}-enter-active, .@{className}-appear {
        animation-name: ~"@{keyframeName}In";
        animation-play-state: running;
    }
    .@{className}-leave-active {
        animation-name: ~"@{keyframeName}Out";
        animation-play-state: running;
    }
}
 
@import "fade";
@import "move";
@import "ease";
@import "slide";
 
.collapse-transition {
    transition: @transition-time height ease-in-out, @transition-time padding-top ease-in-out, @transition-time padding-bottom ease-in-out;
}