@appartmint/mint 2.0.2 → 2.1.0

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 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;
@@ -1158,6 +1100,43 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1158
1100
  width: 100%;
1159
1101
  }
1160
1102
 
1103
+ :root .mint-landing.swiper {
1104
+ width: 100vw;
1105
+ max-width: 100vw;
1106
+ }
1107
+ :root .mint-landing.swiper {
1108
+ top: -4px;
1109
+ }
1110
+ @media (min-width: 480px) {
1111
+ :root .mint-landing.swiper {
1112
+ top: calc(-4px + -12 * (100vw - 480px) / 288);
1113
+ }
1114
+ }
1115
+ @media (min-width: 768px) {
1116
+ :root .mint-landing.swiper {
1117
+ top: -16px;
1118
+ }
1119
+ }
1120
+ :root .mint-landing.swiper {
1121
+ left: -4px;
1122
+ }
1123
+ @media (min-width: 480px) {
1124
+ :root .mint-landing.swiper {
1125
+ left: calc(-4px + -12 * (100vw - 480px) / 288);
1126
+ }
1127
+ }
1128
+ @media (min-width: 768px) {
1129
+ :root .mint-landing.swiper {
1130
+ left: -16px;
1131
+ }
1132
+ }
1133
+ :root .mint-landing.swiper .swiper-slide {
1134
+ padding: 0;
1135
+ }
1136
+ :root .mint-landing .mint-video-bg {
1137
+ margin: 0;
1138
+ }
1139
+
1161
1140
  .grecaptcha-badge {
1162
1141
  visibility: hidden;
1163
1142
  }
@@ -1176,27 +1155,87 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1176
1155
  gap: 1rem;
1177
1156
  }
1178
1157
 
1179
- @keyframes instafade {
1180
- 0% {
1181
- color: var(--mint-instagram-0);
1158
+ .mint-video-bg {
1159
+ display: flex;
1160
+ flex-direction: column;
1161
+ align-items: flex-end;
1162
+ justify-content: center;
1163
+ gap: 2rem;
1164
+ position: relative;
1165
+ }
1166
+ @media (min-width: 1200px) {
1167
+ .mint-video-bg {
1168
+ flex-direction: row;
1169
+ min-height: calc(100vh - var(--mint-header-height));
1170
+ margin-bottom: 15%;
1182
1171
  }
1183
- 16.6666666667% {
1184
- color: var(--mint-instagram-1);
1172
+ }
1173
+ @media (min-width: 1200px) {
1174
+ .mint-video-bg > section {
1175
+ margin-bottom: -15%;
1185
1176
  }
1186
- 33.3333333333% {
1187
- color: var(--mint-instagram-2);
1177
+ }
1178
+ .mint-video-bg iframe, .mint-video-bg video {
1179
+ width: 100%;
1180
+ height: 100%;
1181
+ object-fit: cover;
1182
+ pointer-events: none;
1183
+ }
1184
+ @media (min-width: 1200px) {
1185
+ .mint-video-bg iframe, .mint-video-bg video {
1186
+ position: absolute;
1187
+ width: 100vw;
1188
+ border: none;
1189
+ padding: 0;
1190
+ }
1191
+ }
1192
+ @media (min-width: 1200px) {
1193
+ .mint-video-bg iframe + * .mint-grid, .mint-video-bg video + * .mint-grid {
1194
+ margin-bottom: -15%;
1195
+ }
1196
+ }
1197
+ .mint-video-bg.mint-overflow {
1198
+ overflow: hidden;
1199
+ margin-bottom: 0;
1200
+ }
1201
+ @media (min-width: 1200px) {
1202
+ .mint-video-bg.mint-overflow > section {
1203
+ margin-bottom: 0;
1204
+ }
1205
+ }
1206
+ .mint-video-bg.mint-overflow iframe, .mint-video-bg.mint-overflow video {
1207
+ top: -10%;
1208
+ left: -10%;
1209
+ width: 120%;
1210
+ height: 120%;
1211
+ }
1212
+
1213
+ @keyframes mint-stretch-in {
1214
+ 0% {
1215
+ transform: scale(1);
1188
1216
  }
1189
1217
  50% {
1190
- color: var(--mint-instagram-3);
1218
+ transform: scale(1.25);
1219
+ }
1220
+ 70% {
1221
+ transform: scale(1.15);
1191
1222
  }
1192
- 66.6666666667% {
1193
- color: var(--mint-instagram-4);
1223
+ 100% {
1224
+ transform: scale(1.2);
1225
+ }
1226
+ }
1227
+ @keyframes mint-stretch-out {
1228
+ 0% {
1229
+ transform: scale(1.2);
1194
1230
  }
1195
- 83.3333333333% {
1196
- color: var(--mint-instagram-5);
1231
+ 25% {
1232
+ transform: scale(0.9);
1233
+ }
1234
+ 50% {
1235
+ transform: scale(1.05);
1197
1236
  }
1198
1237
  100% {
1199
- color: var(--mint-instagram-6);
1238
+ transform: scale(1);
1200
1239
  }
1201
1240
  }
1202
1241
  :root {
@@ -1256,6 +1295,34 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1256
1295
  transition: transform 200ms ease-out;
1257
1296
  }
1258
1297
 
1298
+ .mint-stretch {
1299
+ animation: mint-stretch-out 0.5s ease forwards;
1300
+ }
1301
+ .mint-stretch:hover {
1302
+ animation: mint-stretch-in 0.75s ease forwards;
1303
+ }
1304
+ .mint-stretch:focus-visible {
1305
+ animation: mint-stretch-in 0.75s ease forwards;
1306
+ }
1307
+ .mint-stretch-img img {
1308
+ animation: mint-stretch-out 0.5s ease forwards;
1309
+ }
1310
+ .mint-stretch-img:hover img {
1311
+ animation: mint-stretch-in 0.75s ease forwards;
1312
+ }
1313
+ .mint-stretch-img:focus-visible img {
1314
+ animation: mint-stretch-in 0.75s ease forwards;
1315
+ }
1316
+ .mint-stretch-icon i {
1317
+ animation: mint-stretch-out 0.5s ease forwards;
1318
+ }
1319
+ .mint-stretch-icon:hover i {
1320
+ animation: mint-stretch-in 0.75s ease forwards;
1321
+ }
1322
+ .mint-stretch-icon:focus-visible i {
1323
+ animation: mint-stretch-in 0.75s ease forwards;
1324
+ }
1325
+
1259
1326
  .mint-aspect, .mint-16-9 {
1260
1327
  position: relative;
1261
1328
  height: 0;