unika-components 1.0.100 → 1.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/SwiperPage/index.d.ts +0 -2
- package/dist/src/index.d.ts +1 -2
- package/dist/unika-components.css +221 -294
- package/dist/unika-components.esm.js +61512 -61818
- package/dist/unika-components.umd.js +61511 -61818
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import UniText from './components/UniText';
|
|
|
3
3
|
import UniImage from './components/UniImage';
|
|
4
4
|
import UniShape from './components/UniShape';
|
|
5
5
|
import LongPage from './components/LongPage';
|
|
6
|
-
import SwiperPage from './components/SwiperPage';
|
|
7
6
|
import UniBackground from './components/UniBackground';
|
|
8
7
|
import UniVideo from './components/UniVideo';
|
|
9
8
|
import UniCalendar from './components/UniCalendar';
|
|
@@ -18,7 +17,7 @@ import UniSwiper from './components/UniSwiper';
|
|
|
18
17
|
import UniButton from './components/UniButton';
|
|
19
18
|
import UniTest from './components/UniTest';
|
|
20
19
|
declare const install: (app: App) => void;
|
|
21
|
-
export { UniText, UniImage, UniShape, LongPage,
|
|
20
|
+
export { UniText, UniImage, UniShape, LongPage, UniBackground, UniVideo, UniCalendar, UniCountdown, UniMap, UniCall, UniLike, UniEffect, UniRegisterForm, UniLotties, UniSwiper, UniButton, UniTest, install };
|
|
22
21
|
declare const _default: {
|
|
23
22
|
install: (app: App<any>) => void;
|
|
24
23
|
};
|
|
@@ -11,117 +11,10 @@ button.uni-text-component {
|
|
|
11
11
|
white-space: pre-wrap;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.slide-guide {
|
|
15
|
-
position: absolute;
|
|
16
|
-
bottom: 90px;
|
|
17
|
-
left: 50%;
|
|
18
|
-
transform: translateX(-50%);
|
|
19
|
-
}
|
|
20
|
-
.slide-guide img {
|
|
21
|
-
animation: flowing 2s ease-in-out infinite;
|
|
22
|
-
width: 33px;
|
|
23
|
-
vertical-align: middle;
|
|
24
|
-
border-style: none;
|
|
25
|
-
}
|
|
26
|
-
body, html {
|
|
27
|
-
position: relative;
|
|
28
|
-
width: 100%;
|
|
29
|
-
height: 100%;
|
|
30
|
-
margin: 0px;
|
|
31
|
-
}
|
|
32
|
-
.swiper-container {
|
|
33
|
-
width: 100%;
|
|
34
|
-
height: 100%;
|
|
35
|
-
}
|
|
36
|
-
.swiper-slide {
|
|
37
|
-
width: 100%;
|
|
38
|
-
height: 100%;
|
|
39
|
-
overflow: hidden;
|
|
40
|
-
background-size: cover;
|
|
41
|
-
background-position: center;
|
|
42
|
-
background-repeat: no-repeat;
|
|
43
|
-
}
|
|
44
|
-
.up-arrow {
|
|
45
|
-
width: 2rem;
|
|
46
|
-
height: 2rem;
|
|
47
|
-
position: fixed;
|
|
48
|
-
bottom: 2rem;
|
|
49
|
-
left: 50%;
|
|
50
|
-
transform: translate3d(-50%, 0, 0);
|
|
51
|
-
z-index: 999;
|
|
52
|
-
background: none;
|
|
53
|
-
border: none;
|
|
54
|
-
padding: 0;
|
|
55
|
-
animation: upArrowAni 2s infinite linear;
|
|
56
|
-
}
|
|
57
|
-
.up-arrow img {
|
|
58
|
-
width: 2rem;
|
|
59
|
-
height: 2rem;
|
|
60
|
-
text-align: center;
|
|
61
|
-
line-height: 2rem;
|
|
62
|
-
color: #fff;
|
|
63
|
-
font-size: 1.5rem;
|
|
64
|
-
}
|
|
65
|
-
@keyframes upArrowAni {
|
|
66
|
-
0% {
|
|
67
|
-
opacity: 0;
|
|
68
|
-
transform: translate3d(-50%, 30%, 0);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
30% {
|
|
72
|
-
opacity: 1;
|
|
73
|
-
transform: translate3d(-50%, -20%, 0);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
60% {
|
|
77
|
-
opacity: 0;
|
|
78
|
-
transform: translate3d(-50%, -35%, 0);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
100% {
|
|
82
|
-
opacity: 0;
|
|
83
|
-
transform: translate3d(-50%, -50%, 0);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
14
|
.uni-image-component {
|
|
88
15
|
max-width: 100%;
|
|
89
16
|
}
|
|
90
17
|
|
|
91
|
-
.slot-number {
|
|
92
|
-
position: absolute;
|
|
93
|
-
bottom: 2px;
|
|
94
|
-
left: 7px;
|
|
95
|
-
font-size: 12px;
|
|
96
|
-
color: #666
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.effect {
|
|
100
|
-
width: 100%;
|
|
101
|
-
height: 100%;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.uni-video-component {
|
|
105
|
-
position: relative;
|
|
106
|
-
text-align: center;
|
|
107
|
-
}
|
|
108
|
-
.play-pause-button {
|
|
109
|
-
position: absolute;
|
|
110
|
-
top: 50%;
|
|
111
|
-
left: 50%;
|
|
112
|
-
transform: translate(-50%, -50%);
|
|
113
|
-
cursor: pointer;
|
|
114
|
-
font-size: 2rem;
|
|
115
|
-
color: #fff;
|
|
116
|
-
background: rgba(0, 0, 0, 0.6);
|
|
117
|
-
border-radius: 50%;
|
|
118
|
-
padding: 10px;
|
|
119
|
-
transition: background 0.3s;
|
|
120
|
-
}
|
|
121
|
-
.play-pause-button:hover {
|
|
122
|
-
background: rgba(0, 0, 0, 0.8);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
18
|
.like-button {
|
|
126
19
|
display: flex;
|
|
127
20
|
flex-direction: column;
|
|
@@ -144,6 +37,14 @@ body, html {
|
|
|
144
37
|
color: #333;
|
|
145
38
|
}
|
|
146
39
|
|
|
40
|
+
.slot-number {
|
|
41
|
+
position: absolute;
|
|
42
|
+
bottom: 2px;
|
|
43
|
+
left: 7px;
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
color: #666
|
|
46
|
+
}
|
|
47
|
+
|
|
147
48
|
.swiper-warp {
|
|
148
49
|
width: 100%;
|
|
149
50
|
height: 100%;
|
|
@@ -158,6 +59,27 @@ body, html {
|
|
|
158
59
|
max-height: 100%;
|
|
159
60
|
}
|
|
160
61
|
|
|
62
|
+
.uni-video-component {
|
|
63
|
+
position: relative;
|
|
64
|
+
text-align: center;
|
|
65
|
+
}
|
|
66
|
+
.play-pause-button {
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: 50%;
|
|
69
|
+
left: 50%;
|
|
70
|
+
transform: translate(-50%, -50%);
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
font-size: 2rem;
|
|
73
|
+
color: #fff;
|
|
74
|
+
background: rgba(0, 0, 0, 0.6);
|
|
75
|
+
border-radius: 50%;
|
|
76
|
+
padding: 10px;
|
|
77
|
+
transition: background 0.3s;
|
|
78
|
+
}
|
|
79
|
+
.play-pause-button:hover {
|
|
80
|
+
background: rgba(0, 0, 0, 0.8);
|
|
81
|
+
}
|
|
82
|
+
|
|
161
83
|
.ant-input-number {
|
|
162
84
|
box-sizing: border-box;
|
|
163
85
|
margin: 0;
|
|
@@ -192,6 +114,11 @@ body, html {
|
|
|
192
114
|
margin-bottom: 0px;
|
|
193
115
|
vertical-align: top;
|
|
194
116
|
}
|
|
117
|
+
|
|
118
|
+
.effect {
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: 100%;
|
|
121
|
+
}
|
|
195
122
|
/**
|
|
196
123
|
* Swiper 6.8.4
|
|
197
124
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
|
@@ -740,193 +667,6 @@ button.swiper-pagination-bullet {
|
|
|
740
667
|
backface-visibility: hidden;
|
|
741
668
|
}
|
|
742
669
|
|
|
743
|
-
|
|
744
|
-
.no-animation__card {
|
|
745
|
-
font-weight: 500;
|
|
746
|
-
font-size: var(--countdown-size, 2rem);
|
|
747
|
-
line-height: 1.5;
|
|
748
|
-
display: block;
|
|
749
|
-
color: var(--main-color, #EC685C);
|
|
750
|
-
}
|
|
751
|
-
|
|
752
|
-
.flip-clock {
|
|
753
|
-
text-align: center;
|
|
754
|
-
perspective: 600px;
|
|
755
|
-
margin: 0 auto;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
.flip-clock *,
|
|
759
|
-
.flip-clock *:before,
|
|
760
|
-
.flip-clock *:after {
|
|
761
|
-
box-sizing: border-box;
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
.flip-clock__piece {
|
|
765
|
-
display: inline-block;
|
|
766
|
-
margin: 0 0.2vw;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
@media (min-width: 1000px) {
|
|
770
|
-
.flip-clock__piece {
|
|
771
|
-
margin: 0 5px;
|
|
772
|
-
}
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
.flip-clock__slot {
|
|
776
|
-
font-size: var(--label-size, 1rem);
|
|
777
|
-
line-height: 1.5;
|
|
778
|
-
display: block;
|
|
779
|
-
color: var(--label-color, #222222);
|
|
780
|
-
}
|
|
781
|
-
|
|
782
|
-
.flip-card {
|
|
783
|
-
display: block;
|
|
784
|
-
position: relative;
|
|
785
|
-
padding-bottom: 0.72em; /* halfHeight */
|
|
786
|
-
font-size: var(--countdown-size, 2.25rem);
|
|
787
|
-
line-height: 0.95;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
@media (min-width: 1000px) {
|
|
791
|
-
.flip-clock__slot {
|
|
792
|
-
font-size: 1.2rem;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
.flip-card {
|
|
796
|
-
font-size: 3rem;
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
|
|
800
|
-
.flip-card__top,
|
|
801
|
-
.flip-card__bottom,
|
|
802
|
-
.flip-card__back-bottom,
|
|
803
|
-
.flip-card__back::before,
|
|
804
|
-
.flip-card__back::after{
|
|
805
|
-
display: block;
|
|
806
|
-
height: 0.72em; /* halfHeight */
|
|
807
|
-
color: var(--main-color, #EC685C);
|
|
808
|
-
background: var(--main-flip-background-color, #222222);
|
|
809
|
-
padding: 0.23em 0.15em 0.4em;
|
|
810
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
811
|
-
backface-visibility: hidden;
|
|
812
|
-
-webkit-backface-visibility: hidden;
|
|
813
|
-
transform-style: preserve-3d;
|
|
814
|
-
width: 2.1em;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
.flip-card__top-4digits,
|
|
818
|
-
.flip-card__bottom-4digits,
|
|
819
|
-
.flip-card__back-bottom-4digits,
|
|
820
|
-
.flip-card__back-4digits::before,
|
|
821
|
-
.flip-card__back-4digits::after {
|
|
822
|
-
display: block;
|
|
823
|
-
height: 0.72em; /* halfHeight */
|
|
824
|
-
color: var(--main-color, #EC685C);
|
|
825
|
-
background: var(--main-flip-background-color, #222222);
|
|
826
|
-
padding: 0.23em 0.15em 0.4em;
|
|
827
|
-
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
828
|
-
backface-visibility: hidden;
|
|
829
|
-
-webkit-backface-visibility: hidden;
|
|
830
|
-
transform-style: preserve-3d;
|
|
831
|
-
width: 2.65em;
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
.flip-card__bottom,
|
|
835
|
-
.flip-card__back-bottom,
|
|
836
|
-
.flip-card__bottom-4digits,
|
|
837
|
-
.flip-card__back-bottom-4digits {
|
|
838
|
-
color: var(--second-flip-color, #EC685C);
|
|
839
|
-
position: absolute;
|
|
840
|
-
top: 50%;
|
|
841
|
-
left: 0;
|
|
842
|
-
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
843
|
-
background: var(--second-flip-background-color, #393939);
|
|
844
|
-
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
845
|
-
pointer-events: none;
|
|
846
|
-
overflow: hidden;
|
|
847
|
-
z-index: 2;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
.flip-card__back-bottom,
|
|
851
|
-
.flip-card__back-bottom-4digits {
|
|
852
|
-
z-index: 1;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
.flip-card__bottom::after,
|
|
856
|
-
.flip-card__back-bottom::after,
|
|
857
|
-
.flip-card__bottom-4digits::after,
|
|
858
|
-
.flip-card__back-bottom-4digits::after {
|
|
859
|
-
display: block;
|
|
860
|
-
margin-top: -0.72em; /* Negative halfHeight */
|
|
861
|
-
}
|
|
862
|
-
.flip-card__back::before,
|
|
863
|
-
.flip-card__bottom::after,
|
|
864
|
-
.flip-card__back-bottom::after,
|
|
865
|
-
.flip-card__back-4digits::before,
|
|
866
|
-
.flip-card__bottom-4digits::after,
|
|
867
|
-
.flip-card__back-bottom-4digits::after {
|
|
868
|
-
content: attr(data-value);
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
.flip-card__back,
|
|
872
|
-
.flip-card__back-4digits {
|
|
873
|
-
position: absolute;
|
|
874
|
-
top: 0;
|
|
875
|
-
height: 100%;
|
|
876
|
-
left: 0%;
|
|
877
|
-
pointer-events: none;
|
|
878
|
-
}
|
|
879
|
-
.flip-card__back::before,
|
|
880
|
-
.flip-card__back-4digits::before {
|
|
881
|
-
position: relative;
|
|
882
|
-
overflow: hidden;
|
|
883
|
-
z-index: -1;
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
.flip .flip-card__back::before,
|
|
887
|
-
.flip .flip-card__back-4digits::before {
|
|
888
|
-
z-index: 1;
|
|
889
|
-
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
890
|
-
animation-fill-mode: both;
|
|
891
|
-
transform-origin: center bottom;
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
.flip .flip-card__bottom,
|
|
895
|
-
.flip .flip-card__bottom-4digits {
|
|
896
|
-
transform-origin: center top;
|
|
897
|
-
animation-fill-mode: both;
|
|
898
|
-
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
899
|
-
}
|
|
900
|
-
@keyframes flipTop {
|
|
901
|
-
0% {
|
|
902
|
-
transform: rotateX(0deg);
|
|
903
|
-
z-index: 2;
|
|
904
|
-
}
|
|
905
|
-
0%, 99% {
|
|
906
|
-
opacity: 1;
|
|
907
|
-
}
|
|
908
|
-
100% {
|
|
909
|
-
transform: rotateX(-90deg);
|
|
910
|
-
opacity: 0;
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
@keyframes flipBottom {
|
|
915
|
-
0%, 50% {
|
|
916
|
-
z-index: -1;
|
|
917
|
-
transform: rotateX(90deg);
|
|
918
|
-
opacity: 0;
|
|
919
|
-
}
|
|
920
|
-
51% {
|
|
921
|
-
opacity: 1;
|
|
922
|
-
}
|
|
923
|
-
100% {
|
|
924
|
-
opacity: 1;
|
|
925
|
-
transform: rotateX(0deg);
|
|
926
|
-
z-index: 5;
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
|
|
930
670
|
.unika-calendar-title {
|
|
931
671
|
font-size: 25px;
|
|
932
672
|
padding-bottom: 4px;
|
|
@@ -1178,3 +918,190 @@ button.swiper-pagination-bullet {
|
|
|
1178
918
|
padding: 0 0px;
|
|
1179
919
|
border-bottom: 1px solid
|
|
1180
920
|
}
|
|
921
|
+
|
|
922
|
+
|
|
923
|
+
.no-animation__card {
|
|
924
|
+
font-weight: 500;
|
|
925
|
+
font-size: var(--countdown-size, 2rem);
|
|
926
|
+
line-height: 1.5;
|
|
927
|
+
display: block;
|
|
928
|
+
color: var(--main-color, #EC685C);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.flip-clock {
|
|
932
|
+
text-align: center;
|
|
933
|
+
perspective: 600px;
|
|
934
|
+
margin: 0 auto;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
.flip-clock *,
|
|
938
|
+
.flip-clock *:before,
|
|
939
|
+
.flip-clock *:after {
|
|
940
|
+
box-sizing: border-box;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.flip-clock__piece {
|
|
944
|
+
display: inline-block;
|
|
945
|
+
margin: 0 0.2vw;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
@media (min-width: 1000px) {
|
|
949
|
+
.flip-clock__piece {
|
|
950
|
+
margin: 0 5px;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
.flip-clock__slot {
|
|
955
|
+
font-size: var(--label-size, 1rem);
|
|
956
|
+
line-height: 1.5;
|
|
957
|
+
display: block;
|
|
958
|
+
color: var(--label-color, #222222);
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.flip-card {
|
|
962
|
+
display: block;
|
|
963
|
+
position: relative;
|
|
964
|
+
padding-bottom: 0.72em; /* halfHeight */
|
|
965
|
+
font-size: var(--countdown-size, 2.25rem);
|
|
966
|
+
line-height: 0.95;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
@media (min-width: 1000px) {
|
|
970
|
+
.flip-clock__slot {
|
|
971
|
+
font-size: 1.2rem;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.flip-card {
|
|
975
|
+
font-size: 3rem;
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.flip-card__top,
|
|
980
|
+
.flip-card__bottom,
|
|
981
|
+
.flip-card__back-bottom,
|
|
982
|
+
.flip-card__back::before,
|
|
983
|
+
.flip-card__back::after{
|
|
984
|
+
display: block;
|
|
985
|
+
height: 0.72em; /* halfHeight */
|
|
986
|
+
color: var(--main-color, #EC685C);
|
|
987
|
+
background: var(--main-flip-background-color, #222222);
|
|
988
|
+
padding: 0.23em 0.15em 0.4em;
|
|
989
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
990
|
+
backface-visibility: hidden;
|
|
991
|
+
-webkit-backface-visibility: hidden;
|
|
992
|
+
transform-style: preserve-3d;
|
|
993
|
+
width: 2.1em;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
.flip-card__top-4digits,
|
|
997
|
+
.flip-card__bottom-4digits,
|
|
998
|
+
.flip-card__back-bottom-4digits,
|
|
999
|
+
.flip-card__back-4digits::before,
|
|
1000
|
+
.flip-card__back-4digits::after {
|
|
1001
|
+
display: block;
|
|
1002
|
+
height: 0.72em; /* halfHeight */
|
|
1003
|
+
color: var(--main-color, #EC685C);
|
|
1004
|
+
background: var(--main-flip-background-color, #222222);
|
|
1005
|
+
padding: 0.23em 0.15em 0.4em;
|
|
1006
|
+
border-radius: 0.15em 0.15em 0 0; /* borderRadius */
|
|
1007
|
+
backface-visibility: hidden;
|
|
1008
|
+
-webkit-backface-visibility: hidden;
|
|
1009
|
+
transform-style: preserve-3d;
|
|
1010
|
+
width: 2.65em;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.flip-card__bottom,
|
|
1014
|
+
.flip-card__back-bottom,
|
|
1015
|
+
.flip-card__bottom-4digits,
|
|
1016
|
+
.flip-card__back-bottom-4digits {
|
|
1017
|
+
color: var(--second-flip-color, #EC685C);
|
|
1018
|
+
position: absolute;
|
|
1019
|
+
top: 50%;
|
|
1020
|
+
left: 0;
|
|
1021
|
+
border-top: solid 1px var(--second-flip-background-color, #000);
|
|
1022
|
+
background: var(--second-flip-background-color, #393939);
|
|
1023
|
+
border-radius: 0 0 0.15em 0.15em; /* borderRadius */
|
|
1024
|
+
pointer-events: none;
|
|
1025
|
+
overflow: hidden;
|
|
1026
|
+
z-index: 2;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
.flip-card__back-bottom,
|
|
1030
|
+
.flip-card__back-bottom-4digits {
|
|
1031
|
+
z-index: 1;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.flip-card__bottom::after,
|
|
1035
|
+
.flip-card__back-bottom::after,
|
|
1036
|
+
.flip-card__bottom-4digits::after,
|
|
1037
|
+
.flip-card__back-bottom-4digits::after {
|
|
1038
|
+
display: block;
|
|
1039
|
+
margin-top: -0.72em; /* Negative halfHeight */
|
|
1040
|
+
}
|
|
1041
|
+
.flip-card__back::before,
|
|
1042
|
+
.flip-card__bottom::after,
|
|
1043
|
+
.flip-card__back-bottom::after,
|
|
1044
|
+
.flip-card__back-4digits::before,
|
|
1045
|
+
.flip-card__bottom-4digits::after,
|
|
1046
|
+
.flip-card__back-bottom-4digits::after {
|
|
1047
|
+
content: attr(data-value);
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.flip-card__back,
|
|
1051
|
+
.flip-card__back-4digits {
|
|
1052
|
+
position: absolute;
|
|
1053
|
+
top: 0;
|
|
1054
|
+
height: 100%;
|
|
1055
|
+
left: 0%;
|
|
1056
|
+
pointer-events: none;
|
|
1057
|
+
}
|
|
1058
|
+
.flip-card__back::before,
|
|
1059
|
+
.flip-card__back-4digits::before {
|
|
1060
|
+
position: relative;
|
|
1061
|
+
overflow: hidden;
|
|
1062
|
+
z-index: -1;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
.flip .flip-card__back::before,
|
|
1066
|
+
.flip .flip-card__back-4digits::before {
|
|
1067
|
+
z-index: 1;
|
|
1068
|
+
animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
|
|
1069
|
+
animation-fill-mode: both;
|
|
1070
|
+
transform-origin: center bottom;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
.flip .flip-card__bottom,
|
|
1074
|
+
.flip .flip-card__bottom-4digits {
|
|
1075
|
+
transform-origin: center top;
|
|
1076
|
+
animation-fill-mode: both;
|
|
1077
|
+
animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
|
|
1078
|
+
}
|
|
1079
|
+
@keyframes flipTop {
|
|
1080
|
+
0% {
|
|
1081
|
+
transform: rotateX(0deg);
|
|
1082
|
+
z-index: 2;
|
|
1083
|
+
}
|
|
1084
|
+
0%, 99% {
|
|
1085
|
+
opacity: 1;
|
|
1086
|
+
}
|
|
1087
|
+
100% {
|
|
1088
|
+
transform: rotateX(-90deg);
|
|
1089
|
+
opacity: 0;
|
|
1090
|
+
}
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
@keyframes flipBottom {
|
|
1094
|
+
0%, 50% {
|
|
1095
|
+
z-index: -1;
|
|
1096
|
+
transform: rotateX(90deg);
|
|
1097
|
+
opacity: 0;
|
|
1098
|
+
}
|
|
1099
|
+
51% {
|
|
1100
|
+
opacity: 1;
|
|
1101
|
+
}
|
|
1102
|
+
100% {
|
|
1103
|
+
opacity: 1;
|
|
1104
|
+
transform: rotateX(0deg);
|
|
1105
|
+
z-index: 5;
|
|
1106
|
+
}
|
|
1107
|
+
}
|