File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 6
6
& :not (&-not-a-wrapper ) &-count ,
7
7
& :not (&-not-a-wrapper ) &-dot ,
8
8
& :not (&-not-a-wrapper ) .@{number-prefix-cls} -custom-component {
9
- .@{badge-prefix-cls} -rtl & {
9
+ .@{badge-prefix-cls} -rtl & {
10
10
right : auto ;
11
11
left : 0 ;
12
12
direction : ltr ;
30
30
}
31
31
}
32
32
}
33
+
34
+ & :not (&-not-a-wrapper ).@{badge-prefix-cls} -rtl {
35
+ .@{badge-prefix-cls} -zoom-appear ,
36
+ .@{badge-prefix-cls} -zoom-enter {
37
+ animation-name : antZoomBadgeInRtl;
38
+ }
39
+
40
+ .@{badge-prefix-cls} -zoom-leave {
41
+ animation-name : antZoomBadgeOutRtl;
42
+ }
43
+ }
33
44
}
34
45
35
46
.@{ribbon-prefix-cls} -rtl {
65
76
}
66
77
}
67
78
}
79
+
80
+ @keyframes antZoomBadgeInRtl {
81
+ 0% {
82
+ transform : scale (0 ) translate (-50% , -50% );
83
+ opacity : 0 ;
84
+ }
85
+
86
+ 100% {
87
+ transform : scale (1 ) translate (-50% , -50% );
88
+ }
89
+ }
90
+
91
+ @keyframes antZoomBadgeOutRtl {
92
+ 0% {
93
+ transform : scale (1 ) translate (-50% , -50% );
94
+ }
95
+
96
+ 100% {
97
+ transform : scale (0 ) translate (-50% , -50% );
98
+ opacity : 0 ;
99
+ }
100
+ }
You can’t perform that action at this time.
0 commit comments