22
33.@{triggerPrefixCls} {
44 position : absolute ;
5- left : -9999px ;
65 top : -9999px ;
6+ left : -9999px ;
77 z-index : 1050 ;
88
99 &-hidden {
1010 display : none ;
1111 }
12-
12+
1313 .effect () {
1414 animation-duration : 0.3s ;
1515 animation-fill-mode : both ;
1616 }
1717
18- &-zoom-enter ,&-zoom-appear {
18+ &-zoom-enter ,
19+ &-zoom-appear {
1920 opacity : 0 ;
20- .effect ();
21- animation-timing-function : cubic-bezier (0.18 , 0.89 , 0.32 , 1.28 );
2221 animation-play-state : paused ;
22+ animation-timing-function : cubic-bezier (0.18 , 0.89 , 0.32 , 1.28 );
23+ .effect ();
2324 }
2425
2526 &-zoom-leave {
2627 .effect ();
27- animation-timing-function : cubic-bezier (0.6 , -0.3 , 0.74 , 0.05 );
2828 animation-play-state : paused ;
29+ animation-timing-function : cubic-bezier (0.6 , -0.3 , 0.74 , 0.05 );
2930 }
3031
31- &-zoom-enter&-zoom-enter-active , &-zoom-appear&-zoom-appear-active {
32+ &-zoom-enter&-zoom-enter-active ,
33+ &-zoom-appear&-zoom-appear-active {
3234 animation-name : rcTriggerZoomIn;
3335 animation-play-state : running ;
3436 }
3840 animation-play-state : running ;
3941 }
4042
43+ &-arrow {
44+ width : 0px ;
45+ height : 0px ;
46+ background : #000 ;
47+ border-radius : 100vw ;
48+ box-shadow : 0 0 0 3px black ;
49+ z-index : 1 ;
50+ }
51+
4152 @keyframes rcTriggerZoomIn {
4253 0% {
43- opacity : 0 ;
44- transform-origin : 50% 50% ;
4554 transform : scale (0 , 0 );
55+ transform-origin : 50% 50% ;
56+ opacity : 0 ;
4657 }
4758 100% {
48- opacity : 1 ;
49- transform-origin : 50% 50% ;
5059 transform : scale (1 , 1 );
60+ transform-origin : 50% 50% ;
61+ opacity : 1 ;
5162 }
5263 }
5364 @keyframes rcTriggerZoomOut {
5465 0% {
55- opacity : 1 ;
56- transform-origin : 50% 50% ;
5766 transform : scale (1 , 1 );
67+ transform-origin : 50% 50% ;
68+ opacity : 1 ;
5869 }
5970 100% {
60- opacity : 0 ;
61- transform-origin : 50% 50% ;
6271 transform : scale (0 , 0 );
72+ transform-origin : 50% 50% ;
73+ opacity : 0 ;
6374 }
6475 }
6576}
6677
67- @import " ./index/Mask" ;
68- @import " ./index/Mobile" ;
78+ @import ' ./index/Mask' ;
79+ @import ' ./index/Mobile' ;
0 commit comments