@appartmint/mint 2.0.2 → 2.1.1
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/css/mint.css +142 -78
- package/dist/css/mint.css.map +1 -1
- package/dist/css/mint.min.css +1 -1
- package/dist/css/mint.min.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/imports/components/_header.scss +5 -8
- package/src/scss/imports/components/_index.scss +2 -1
- package/src/scss/imports/components/_landing.scss +29 -0
- package/src/scss/imports/components/{_embed.scss → _video.scss} +5 -8
- package/src/scss/imports/global/_animations.scss +68 -8
package/dist/css/mint.css
CHANGED
|
@@ -572,64 +572,6 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
|
|
|
572
572
|
width: 100%;
|
|
573
573
|
}
|
|
574
574
|
|
|
575
|
-
.mint-embed-bg {
|
|
576
|
-
display: flex;
|
|
577
|
-
flex-direction: column;
|
|
578
|
-
align-items: flex-end;
|
|
579
|
-
justify-content: center;
|
|
580
|
-
gap: 2rem;
|
|
581
|
-
position: relative;
|
|
582
|
-
}
|
|
583
|
-
@media (min-width: 1200px) {
|
|
584
|
-
.mint-embed-bg {
|
|
585
|
-
flex-direction: row;
|
|
586
|
-
min-height: 100vh;
|
|
587
|
-
margin-bottom: 15%;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
@media (min-width: 1200px) {
|
|
591
|
-
.mint-embed-bg > section {
|
|
592
|
-
margin-bottom: -15%;
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
.mint-embed-bg iframe, .mint-embed-bg video {
|
|
596
|
-
top: 0;
|
|
597
|
-
left: 0;
|
|
598
|
-
width: 100%;
|
|
599
|
-
height: 100%;
|
|
600
|
-
object-fit: cover;
|
|
601
|
-
pointer-events: none;
|
|
602
|
-
}
|
|
603
|
-
@media (min-width: 1200px) {
|
|
604
|
-
.mint-embed-bg iframe, .mint-embed-bg video {
|
|
605
|
-
position: absolute;
|
|
606
|
-
left: -1rem;
|
|
607
|
-
width: 100vw;
|
|
608
|
-
border: none;
|
|
609
|
-
padding: 0;
|
|
610
|
-
}
|
|
611
|
-
}
|
|
612
|
-
@media (min-width: 1200px) {
|
|
613
|
-
.mint-embed-bg iframe + * .mint-grid, .mint-embed-bg video + * .mint-grid {
|
|
614
|
-
margin-bottom: -15%;
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
.mint-embed-bg.mint-overflow {
|
|
618
|
-
overflow: hidden;
|
|
619
|
-
margin-bottom: 0;
|
|
620
|
-
}
|
|
621
|
-
@media (min-width: 1200px) {
|
|
622
|
-
.mint-embed-bg.mint-overflow > section {
|
|
623
|
-
margin-bottom: 0;
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
.mint-embed-bg.mint-overflow iframe, .mint-embed-bg.mint-overflow video {
|
|
627
|
-
top: -10%;
|
|
628
|
-
left: -10%;
|
|
629
|
-
width: 120%;
|
|
630
|
-
height: 120%;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
575
|
.mint-footer {
|
|
634
576
|
display: flex;
|
|
635
577
|
flex-direction: column;
|
|
@@ -936,13 +878,6 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
|
|
|
936
878
|
#mint-header button:hover {
|
|
937
879
|
color: var(--mint-back);
|
|
938
880
|
}
|
|
939
|
-
#mint-header h1 {
|
|
940
|
-
display: flex;
|
|
941
|
-
white-space: nowrap;
|
|
942
|
-
align-items: center;
|
|
943
|
-
gap: 1rem;
|
|
944
|
-
margin: 0;
|
|
945
|
-
}
|
|
946
881
|
#mint-header #mint-navbar {
|
|
947
882
|
display: flex;
|
|
948
883
|
align-items: center;
|
|
@@ -952,9 +887,13 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
|
|
|
952
887
|
#mint-header .mint-logo {
|
|
953
888
|
display: flex;
|
|
954
889
|
align-items: center;
|
|
890
|
+
gap: 1rem;
|
|
955
891
|
width: auto;
|
|
956
892
|
text-decoration: none;
|
|
957
893
|
}
|
|
894
|
+
#mint-header .mint-logo span {
|
|
895
|
+
margin: 0;
|
|
896
|
+
}
|
|
958
897
|
#mint-header .mint-logo img {
|
|
959
898
|
max-height: var(--mint-header-height);
|
|
960
899
|
width: auto;
|
|
@@ -1158,6 +1097,43 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
|
|
|
1158
1097
|
width: 100%;
|
|
1159
1098
|
}
|
|
1160
1099
|
|
|
1100
|
+
:root .mint-landing.swiper {
|
|
1101
|
+
width: 100vw;
|
|
1102
|
+
max-width: 100vw;
|
|
1103
|
+
}
|
|
1104
|
+
:root .mint-landing.swiper {
|
|
1105
|
+
top: -4px;
|
|
1106
|
+
}
|
|
1107
|
+
@media (min-width: 480px) {
|
|
1108
|
+
:root .mint-landing.swiper {
|
|
1109
|
+
top: calc(-4px + -12 * (100vw - 480px) / 288);
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
@media (min-width: 768px) {
|
|
1113
|
+
:root .mint-landing.swiper {
|
|
1114
|
+
top: -16px;
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
:root .mint-landing.swiper {
|
|
1118
|
+
left: -4px;
|
|
1119
|
+
}
|
|
1120
|
+
@media (min-width: 480px) {
|
|
1121
|
+
:root .mint-landing.swiper {
|
|
1122
|
+
left: calc(-4px + -12 * (100vw - 480px) / 288);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
@media (min-width: 768px) {
|
|
1126
|
+
:root .mint-landing.swiper {
|
|
1127
|
+
left: -16px;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
:root .mint-landing.swiper .swiper-slide {
|
|
1131
|
+
padding: 0;
|
|
1132
|
+
}
|
|
1133
|
+
:root .mint-landing .mint-video-bg {
|
|
1134
|
+
margin: 0;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1161
1137
|
.grecaptcha-badge {
|
|
1162
1138
|
visibility: hidden;
|
|
1163
1139
|
}
|
|
@@ -1176,27 +1152,87 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
|
|
|
1176
1152
|
gap: 1rem;
|
|
1177
1153
|
}
|
|
1178
1154
|
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1155
|
+
.mint-video-bg {
|
|
1156
|
+
display: flex;
|
|
1157
|
+
flex-direction: column;
|
|
1158
|
+
align-items: flex-end;
|
|
1159
|
+
justify-content: center;
|
|
1160
|
+
gap: 2rem;
|
|
1161
|
+
position: relative;
|
|
1162
|
+
}
|
|
1163
|
+
@media (min-width: 1200px) {
|
|
1164
|
+
.mint-video-bg {
|
|
1165
|
+
flex-direction: row;
|
|
1166
|
+
min-height: calc(100vh - var(--mint-header-height));
|
|
1167
|
+
margin-bottom: 15%;
|
|
1182
1168
|
}
|
|
1183
|
-
|
|
1184
|
-
|
|
1169
|
+
}
|
|
1170
|
+
@media (min-width: 1200px) {
|
|
1171
|
+
.mint-video-bg > section {
|
|
1172
|
+
margin-bottom: -15%;
|
|
1185
1173
|
}
|
|
1186
|
-
|
|
1187
|
-
|
|
1174
|
+
}
|
|
1175
|
+
.mint-video-bg iframe, .mint-video-bg video {
|
|
1176
|
+
width: 100%;
|
|
1177
|
+
height: 100%;
|
|
1178
|
+
object-fit: cover;
|
|
1179
|
+
pointer-events: none;
|
|
1180
|
+
}
|
|
1181
|
+
@media (min-width: 1200px) {
|
|
1182
|
+
.mint-video-bg iframe, .mint-video-bg video {
|
|
1183
|
+
position: absolute;
|
|
1184
|
+
width: 100vw;
|
|
1185
|
+
border: none;
|
|
1186
|
+
padding: 0;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
@media (min-width: 1200px) {
|
|
1190
|
+
.mint-video-bg iframe + * .mint-grid, .mint-video-bg video + * .mint-grid {
|
|
1191
|
+
margin-bottom: -15%;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
.mint-video-bg.mint-overflow {
|
|
1195
|
+
overflow: hidden;
|
|
1196
|
+
margin-bottom: 0;
|
|
1197
|
+
}
|
|
1198
|
+
@media (min-width: 1200px) {
|
|
1199
|
+
.mint-video-bg.mint-overflow > section {
|
|
1200
|
+
margin-bottom: 0;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
.mint-video-bg.mint-overflow iframe, .mint-video-bg.mint-overflow video {
|
|
1204
|
+
top: -10%;
|
|
1205
|
+
left: -10%;
|
|
1206
|
+
width: 120%;
|
|
1207
|
+
height: 120%;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
@keyframes mint-stretch-in {
|
|
1211
|
+
0% {
|
|
1212
|
+
transform: scale(1);
|
|
1188
1213
|
}
|
|
1189
1214
|
50% {
|
|
1190
|
-
|
|
1215
|
+
transform: scale(1.25);
|
|
1191
1216
|
}
|
|
1192
|
-
|
|
1193
|
-
|
|
1217
|
+
70% {
|
|
1218
|
+
transform: scale(1.15);
|
|
1194
1219
|
}
|
|
1195
|
-
|
|
1196
|
-
|
|
1220
|
+
100% {
|
|
1221
|
+
transform: scale(1.2);
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
@keyframes mint-stretch-out {
|
|
1225
|
+
0% {
|
|
1226
|
+
transform: scale(1.2);
|
|
1227
|
+
}
|
|
1228
|
+
25% {
|
|
1229
|
+
transform: scale(0.9);
|
|
1230
|
+
}
|
|
1231
|
+
50% {
|
|
1232
|
+
transform: scale(1.05);
|
|
1197
1233
|
}
|
|
1198
1234
|
100% {
|
|
1199
|
-
|
|
1235
|
+
transform: scale(1);
|
|
1200
1236
|
}
|
|
1201
1237
|
}
|
|
1202
1238
|
:root {
|
|
@@ -1256,6 +1292,34 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
|
|
|
1256
1292
|
transition: transform 200ms ease-out;
|
|
1257
1293
|
}
|
|
1258
1294
|
|
|
1295
|
+
.mint-stretch {
|
|
1296
|
+
animation: mint-stretch-out 0.5s ease forwards;
|
|
1297
|
+
}
|
|
1298
|
+
.mint-stretch:hover {
|
|
1299
|
+
animation: mint-stretch-in 0.75s ease forwards;
|
|
1300
|
+
}
|
|
1301
|
+
.mint-stretch:focus-visible {
|
|
1302
|
+
animation: mint-stretch-in 0.75s ease forwards;
|
|
1303
|
+
}
|
|
1304
|
+
.mint-stretch-img img {
|
|
1305
|
+
animation: mint-stretch-out 0.5s ease forwards;
|
|
1306
|
+
}
|
|
1307
|
+
.mint-stretch-img:hover img {
|
|
1308
|
+
animation: mint-stretch-in 0.75s ease forwards;
|
|
1309
|
+
}
|
|
1310
|
+
.mint-stretch-img:focus-visible img {
|
|
1311
|
+
animation: mint-stretch-in 0.75s ease forwards;
|
|
1312
|
+
}
|
|
1313
|
+
.mint-stretch-icon i {
|
|
1314
|
+
animation: mint-stretch-out 0.5s ease forwards;
|
|
1315
|
+
}
|
|
1316
|
+
.mint-stretch-icon:hover i {
|
|
1317
|
+
animation: mint-stretch-in 0.75s ease forwards;
|
|
1318
|
+
}
|
|
1319
|
+
.mint-stretch-icon:focus-visible i {
|
|
1320
|
+
animation: mint-stretch-in 0.75s ease forwards;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1259
1323
|
.mint-aspect, .mint-16-9 {
|
|
1260
1324
|
position: relative;
|
|
1261
1325
|
height: 0;
|