unika-components 1.0.113 → 1.0.114

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.
@@ -1,4 +1,8 @@
1
1
 
2
+ .uni-image-component {
3
+ max-width: 100%;
4
+ }
5
+
2
6
  h2.uni-text-component, p.uni-text-component {
3
7
  margin-bottom: 0;
4
8
  }
@@ -91,18 +95,27 @@ button.uni-text-component {
91
95
  -webkit-transform: rotate(360deg);
92
96
  }
93
97
  }
94
-
95
- .uni-image-component {
96
- max-width: 100%;
97
- }
98
98
 
99
- .slot-number {
100
- position: absolute;
101
- bottom: 2px;
102
- left: 7px;
103
- font-size: 12px;
104
- color: #666
105
- }
99
+ .uni-video-component {
100
+ position: relative;
101
+ text-align: center;
102
+ }
103
+ .play-pause-button {
104
+ position: absolute;
105
+ top: 50%;
106
+ left: 50%;
107
+ transform: translate(-50%, -50%);
108
+ cursor: pointer;
109
+ font-size: 2rem;
110
+ color: #fff;
111
+ background: rgba(0, 0, 0, 0.6);
112
+ border-radius: 50%;
113
+ padding: 10px;
114
+ transition: background 0.3s;
115
+ }
116
+ .play-pause-button:hover {
117
+ background: rgba(0, 0, 0, 0.8);
118
+ }
106
119
 
107
120
  .like-button {
108
121
  display: flex;
@@ -126,6 +139,14 @@ button.uni-text-component {
126
139
  color: #333;
127
140
  }
128
141
 
142
+ .slot-number {
143
+ position: absolute;
144
+ bottom: 2px;
145
+ left: 7px;
146
+ font-size: 12px;
147
+ color: #666
148
+ }
149
+
129
150
  .ant-input-number {
130
151
  box-sizing: border-box;
131
152
  margin: 0;
@@ -161,27 +182,6 @@ button.uni-text-component {
161
182
  vertical-align: top;
162
183
  }
163
184
 
164
- .uni-video-component {
165
- position: relative;
166
- text-align: center;
167
- }
168
- .play-pause-button {
169
- position: absolute;
170
- top: 50%;
171
- left: 50%;
172
- transform: translate(-50%, -50%);
173
- cursor: pointer;
174
- font-size: 2rem;
175
- color: #fff;
176
- background: rgba(0, 0, 0, 0.6);
177
- border-radius: 50%;
178
- padding: 10px;
179
- transition: background 0.3s;
180
- }
181
- .play-pause-button:hover {
182
- background: rgba(0, 0, 0, 0.8);
183
- }
184
-
185
185
  .effect {
186
186
  width: 100%;
187
187
  height: 100%;
@@ -748,6 +748,193 @@ button.swiper-pagination-bullet {
748
748
  backface-visibility: hidden;
749
749
  }
750
750
 
751
+
752
+ .no-animation__card {
753
+ font-weight: 500;
754
+ font-size: var(--countdown-size, 2rem);
755
+ line-height: 1.5;
756
+ display: block;
757
+ color: var(--main-color, #EC685C);
758
+ }
759
+
760
+ .flip-clock {
761
+ text-align: center;
762
+ perspective: 600px;
763
+ margin: 0 auto;
764
+ }
765
+
766
+ .flip-clock *,
767
+ .flip-clock *:before,
768
+ .flip-clock *:after {
769
+ box-sizing: border-box;
770
+ }
771
+
772
+ .flip-clock__piece {
773
+ display: inline-block;
774
+ margin: 0 0.2vw;
775
+ }
776
+
777
+ @media (min-width: 1000px) {
778
+ .flip-clock__piece {
779
+ margin: 0 5px;
780
+ }
781
+ }
782
+
783
+ .flip-clock__slot {
784
+ font-size: var(--label-size, 1rem);
785
+ line-height: 1.5;
786
+ display: block;
787
+ color: var(--label-color, #222222);
788
+ }
789
+
790
+ .flip-card {
791
+ display: block;
792
+ position: relative;
793
+ padding-bottom: 0.72em; /* halfHeight */
794
+ font-size: var(--countdown-size, 2.25rem);
795
+ line-height: 0.95;
796
+ }
797
+
798
+ @media (min-width: 1000px) {
799
+ .flip-clock__slot {
800
+ font-size: 1.2rem;
801
+ }
802
+
803
+ .flip-card {
804
+ font-size: 3rem;
805
+ }
806
+ }
807
+
808
+ .flip-card__top,
809
+ .flip-card__bottom,
810
+ .flip-card__back-bottom,
811
+ .flip-card__back::before,
812
+ .flip-card__back::after{
813
+ display: block;
814
+ height: 0.72em; /* halfHeight */
815
+ color: var(--main-color, #EC685C);
816
+ background: var(--main-flip-background-color, #222222);
817
+ padding: 0.23em 0.15em 0.4em;
818
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
819
+ backface-visibility: hidden;
820
+ -webkit-backface-visibility: hidden;
821
+ transform-style: preserve-3d;
822
+ width: 2.1em;
823
+ }
824
+
825
+ .flip-card__top-4digits,
826
+ .flip-card__bottom-4digits,
827
+ .flip-card__back-bottom-4digits,
828
+ .flip-card__back-4digits::before,
829
+ .flip-card__back-4digits::after {
830
+ display: block;
831
+ height: 0.72em; /* halfHeight */
832
+ color: var(--main-color, #EC685C);
833
+ background: var(--main-flip-background-color, #222222);
834
+ padding: 0.23em 0.15em 0.4em;
835
+ border-radius: 0.15em 0.15em 0 0; /* borderRadius */
836
+ backface-visibility: hidden;
837
+ -webkit-backface-visibility: hidden;
838
+ transform-style: preserve-3d;
839
+ width: 2.65em;
840
+ }
841
+
842
+ .flip-card__bottom,
843
+ .flip-card__back-bottom,
844
+ .flip-card__bottom-4digits,
845
+ .flip-card__back-bottom-4digits {
846
+ color: var(--second-flip-color, #EC685C);
847
+ position: absolute;
848
+ top: 50%;
849
+ left: 0;
850
+ border-top: solid 1px var(--second-flip-background-color, #000);
851
+ background: var(--second-flip-background-color, #393939);
852
+ border-radius: 0 0 0.15em 0.15em; /* borderRadius */
853
+ pointer-events: none;
854
+ overflow: hidden;
855
+ z-index: 2;
856
+ }
857
+
858
+ .flip-card__back-bottom,
859
+ .flip-card__back-bottom-4digits {
860
+ z-index: 1;
861
+ }
862
+
863
+ .flip-card__bottom::after,
864
+ .flip-card__back-bottom::after,
865
+ .flip-card__bottom-4digits::after,
866
+ .flip-card__back-bottom-4digits::after {
867
+ display: block;
868
+ margin-top: -0.72em; /* Negative halfHeight */
869
+ }
870
+ .flip-card__back::before,
871
+ .flip-card__bottom::after,
872
+ .flip-card__back-bottom::after,
873
+ .flip-card__back-4digits::before,
874
+ .flip-card__bottom-4digits::after,
875
+ .flip-card__back-bottom-4digits::after {
876
+ content: attr(data-value);
877
+ }
878
+
879
+ .flip-card__back,
880
+ .flip-card__back-4digits {
881
+ position: absolute;
882
+ top: 0;
883
+ height: 100%;
884
+ left: 0%;
885
+ pointer-events: none;
886
+ }
887
+ .flip-card__back::before,
888
+ .flip-card__back-4digits::before {
889
+ position: relative;
890
+ overflow: hidden;
891
+ z-index: -1;
892
+ }
893
+
894
+ .flip .flip-card__back::before,
895
+ .flip .flip-card__back-4digits::before {
896
+ z-index: 1;
897
+ animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
898
+ animation-fill-mode: both;
899
+ transform-origin: center bottom;
900
+ }
901
+
902
+ .flip .flip-card__bottom,
903
+ .flip .flip-card__bottom-4digits {
904
+ transform-origin: center top;
905
+ animation-fill-mode: both;
906
+ animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
907
+ }
908
+ @keyframes flipTop {
909
+ 0% {
910
+ transform: rotateX(0deg);
911
+ z-index: 2;
912
+ }
913
+ 0%, 99% {
914
+ opacity: 1;
915
+ }
916
+ 100% {
917
+ transform: rotateX(-90deg);
918
+ opacity: 0;
919
+ }
920
+ }
921
+
922
+ @keyframes flipBottom {
923
+ 0%, 50% {
924
+ z-index: -1;
925
+ transform: rotateX(90deg);
926
+ opacity: 0;
927
+ }
928
+ 51% {
929
+ opacity: 1;
930
+ }
931
+ 100% {
932
+ opacity: 1;
933
+ transform: rotateX(0deg);
934
+ z-index: 5;
935
+ }
936
+ }
937
+
751
938
  .unika-calendar-title {
752
939
  font-size: 25px;
753
940
  padding-bottom: 4px;
@@ -999,190 +1186,3 @@ button.swiper-pagination-bullet {
999
1186
  padding: 0 0px;
1000
1187
  border-bottom: 1px solid
1001
1188
  }
1002
-
1003
-
1004
- .no-animation__card {
1005
- font-weight: 500;
1006
- font-size: var(--countdown-size, 2rem);
1007
- line-height: 1.5;
1008
- display: block;
1009
- color: var(--main-color, #EC685C);
1010
- }
1011
-
1012
- .flip-clock {
1013
- text-align: center;
1014
- perspective: 600px;
1015
- margin: 0 auto;
1016
- }
1017
-
1018
- .flip-clock *,
1019
- .flip-clock *:before,
1020
- .flip-clock *:after {
1021
- box-sizing: border-box;
1022
- }
1023
-
1024
- .flip-clock__piece {
1025
- display: inline-block;
1026
- margin: 0 0.2vw;
1027
- }
1028
-
1029
- @media (min-width: 1000px) {
1030
- .flip-clock__piece {
1031
- margin: 0 5px;
1032
- }
1033
- }
1034
-
1035
- .flip-clock__slot {
1036
- font-size: var(--label-size, 1rem);
1037
- line-height: 1.5;
1038
- display: block;
1039
- color: var(--label-color, #222222);
1040
- }
1041
-
1042
- .flip-card {
1043
- display: block;
1044
- position: relative;
1045
- padding-bottom: 0.72em; /* halfHeight */
1046
- font-size: var(--countdown-size, 2.25rem);
1047
- line-height: 0.95;
1048
- }
1049
-
1050
- @media (min-width: 1000px) {
1051
- .flip-clock__slot {
1052
- font-size: 1.2rem;
1053
- }
1054
-
1055
- .flip-card {
1056
- font-size: 3rem;
1057
- }
1058
- }
1059
-
1060
- .flip-card__top,
1061
- .flip-card__bottom,
1062
- .flip-card__back-bottom,
1063
- .flip-card__back::before,
1064
- .flip-card__back::after{
1065
- display: block;
1066
- height: 0.72em; /* halfHeight */
1067
- color: var(--main-color, #EC685C);
1068
- background: var(--main-flip-background-color, #222222);
1069
- padding: 0.23em 0.15em 0.4em;
1070
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1071
- backface-visibility: hidden;
1072
- -webkit-backface-visibility: hidden;
1073
- transform-style: preserve-3d;
1074
- width: 2.1em;
1075
- }
1076
-
1077
- .flip-card__top-4digits,
1078
- .flip-card__bottom-4digits,
1079
- .flip-card__back-bottom-4digits,
1080
- .flip-card__back-4digits::before,
1081
- .flip-card__back-4digits::after {
1082
- display: block;
1083
- height: 0.72em; /* halfHeight */
1084
- color: var(--main-color, #EC685C);
1085
- background: var(--main-flip-background-color, #222222);
1086
- padding: 0.23em 0.15em 0.4em;
1087
- border-radius: 0.15em 0.15em 0 0; /* borderRadius */
1088
- backface-visibility: hidden;
1089
- -webkit-backface-visibility: hidden;
1090
- transform-style: preserve-3d;
1091
- width: 2.65em;
1092
- }
1093
-
1094
- .flip-card__bottom,
1095
- .flip-card__back-bottom,
1096
- .flip-card__bottom-4digits,
1097
- .flip-card__back-bottom-4digits {
1098
- color: var(--second-flip-color, #EC685C);
1099
- position: absolute;
1100
- top: 50%;
1101
- left: 0;
1102
- border-top: solid 1px var(--second-flip-background-color, #000);
1103
- background: var(--second-flip-background-color, #393939);
1104
- border-radius: 0 0 0.15em 0.15em; /* borderRadius */
1105
- pointer-events: none;
1106
- overflow: hidden;
1107
- z-index: 2;
1108
- }
1109
-
1110
- .flip-card__back-bottom,
1111
- .flip-card__back-bottom-4digits {
1112
- z-index: 1;
1113
- }
1114
-
1115
- .flip-card__bottom::after,
1116
- .flip-card__back-bottom::after,
1117
- .flip-card__bottom-4digits::after,
1118
- .flip-card__back-bottom-4digits::after {
1119
- display: block;
1120
- margin-top: -0.72em; /* Negative halfHeight */
1121
- }
1122
- .flip-card__back::before,
1123
- .flip-card__bottom::after,
1124
- .flip-card__back-bottom::after,
1125
- .flip-card__back-4digits::before,
1126
- .flip-card__bottom-4digits::after,
1127
- .flip-card__back-bottom-4digits::after {
1128
- content: attr(data-value);
1129
- }
1130
-
1131
- .flip-card__back,
1132
- .flip-card__back-4digits {
1133
- position: absolute;
1134
- top: 0;
1135
- height: 100%;
1136
- left: 0%;
1137
- pointer-events: none;
1138
- }
1139
- .flip-card__back::before,
1140
- .flip-card__back-4digits::before {
1141
- position: relative;
1142
- overflow: hidden;
1143
- z-index: -1;
1144
- }
1145
-
1146
- .flip .flip-card__back::before,
1147
- .flip .flip-card__back-4digits::before {
1148
- z-index: 1;
1149
- animation: flipTop 0.3s cubic-bezier(0.37, 0.01, 0.94, 0.35);
1150
- animation-fill-mode: both;
1151
- transform-origin: center bottom;
1152
- }
1153
-
1154
- .flip .flip-card__bottom,
1155
- .flip .flip-card__bottom-4digits {
1156
- transform-origin: center top;
1157
- animation-fill-mode: both;
1158
- animation: flipBottom 0.6s cubic-bezier(0.15, 0.45, 0.28, 1);
1159
- }
1160
- @keyframes flipTop {
1161
- 0% {
1162
- transform: rotateX(0deg);
1163
- z-index: 2;
1164
- }
1165
- 0%, 99% {
1166
- opacity: 1;
1167
- }
1168
- 100% {
1169
- transform: rotateX(-90deg);
1170
- opacity: 0;
1171
- }
1172
- }
1173
-
1174
- @keyframes flipBottom {
1175
- 0%, 50% {
1176
- z-index: -1;
1177
- transform: rotateX(90deg);
1178
- opacity: 0;
1179
- }
1180
- 51% {
1181
- opacity: 1;
1182
- }
1183
- 100% {
1184
- opacity: 1;
1185
- transform: rotateX(0deg);
1186
- z-index: 5;
1187
- }
1188
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.113",
3
+ "version": "1.0.114",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",