@appartmint/mint 2.1.2 → 2.1.4

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
@@ -89,18 +89,25 @@
89
89
  .mint-pill:focus-visible i {
90
90
  color: inherit !important;
91
91
  }
92
- .mint-btn:active, :root:root [amplify-button]:active, .mint-select:active, .mint-btn.mint-active, :root:root .mint-active[amplify-button], .mint-active.mint-select,
92
+ .mint-btn:active, :root:root [amplify-button]:active, .mint-select:active,
93
93
  .mint-btn-group:active,
94
+ .mint-pill:active {
95
+ color: var(--mint-back);
96
+ background: var(--mint-brand-4);
97
+ }
98
+ .mint-btn:active i, :root:root [amplify-button]:active i, .mint-select:active i,
99
+ .mint-btn-group:active i,
100
+ .mint-pill:active i {
101
+ color: inherit !important;
102
+ }
103
+ .mint-btn.mint-active, :root:root .mint-active[amplify-button], .mint-active.mint-select,
94
104
  .mint-btn-group.mint-active,
95
- .mint-pill:active,
96
105
  .mint-pill.mint-active {
97
106
  color: var(--mint-back);
98
107
  background: var(--mint-brand-4);
99
108
  }
100
- .mint-btn:active i, :root:root [amplify-button]:active i, .mint-select:active i, .mint-btn.mint-active i, :root:root .mint-active[amplify-button] i, .mint-active.mint-select i,
101
- .mint-btn-group:active i,
109
+ .mint-btn.mint-active i, :root:root .mint-active[amplify-button] i, .mint-active.mint-select i,
102
110
  .mint-btn-group.mint-active i,
103
- .mint-pill:active i,
104
111
  .mint-pill.mint-active i {
105
112
  color: inherit !important;
106
113
  }
@@ -122,10 +129,14 @@
122
129
  color: var(--mint-fore);
123
130
  background: var(--mint-brand-2);
124
131
  }
125
- .mint-btn.mint-reverse:active, :root:root .mint-reverse[amplify-button]:active, .mint-reverse.mint-select:active, .mint-btn.mint-reverse.mint-active, :root:root .mint-reverse.mint-active[amplify-button], .mint-reverse.mint-active.mint-select,
132
+ .mint-btn.mint-reverse:active, :root:root .mint-reverse[amplify-button]:active, .mint-reverse.mint-select:active,
126
133
  .mint-btn-group.mint-reverse:active,
134
+ .mint-pill.mint-reverse:active {
135
+ color: var(--mint-fore);
136
+ background: var(--mint-brand-2);
137
+ }
138
+ .mint-btn.mint-reverse.mint-active, :root:root .mint-reverse.mint-active[amplify-button], .mint-reverse.mint-active.mint-select,
127
139
  .mint-btn-group.mint-reverse.mint-active,
128
- .mint-pill.mint-reverse:active,
129
140
  .mint-pill.mint-reverse.mint-active {
130
141
  color: var(--mint-fore);
131
142
  background: var(--mint-brand-2);
@@ -150,10 +161,15 @@
150
161
  background: var(--mint-accent-2);
151
162
  border-color: var(--mint-accent-2);
152
163
  }
153
- .mint-btn.mint-alt:active, :root:root .mint-alt[amplify-button]:active, .mint-alt.mint-select:active, .mint-btn.mint-alt.mint-active, :root:root .mint-alt.mint-active[amplify-button], .mint-alt.mint-active.mint-select,
164
+ .mint-btn.mint-alt:active, :root:root .mint-alt[amplify-button]:active, .mint-alt.mint-select:active,
154
165
  .mint-btn-group.mint-alt:active,
166
+ .mint-pill.mint-alt:active {
167
+ color: var(--mint-back);
168
+ background: var(--mint-accent-2);
169
+ border-color: var(--mint-accent-2);
170
+ }
171
+ .mint-btn.mint-alt.mint-active, :root:root .mint-alt.mint-active[amplify-button], .mint-alt.mint-active.mint-select,
155
172
  .mint-btn-group.mint-alt.mint-active,
156
- .mint-pill.mint-alt:active,
157
173
  .mint-pill.mint-alt.mint-active {
158
174
  color: var(--mint-back);
159
175
  background: var(--mint-accent-2);
@@ -180,10 +196,15 @@
180
196
  background: var(--mint-trans);
181
197
  border-color: var(--mint-trans);
182
198
  }
183
- .mint-btn.mint-alt.mint-reverse:active, :root:root .mint-alt.mint-reverse[amplify-button]:active, .mint-alt.mint-reverse.mint-select:active, .mint-btn.mint-alt.mint-reverse.mint-active, :root:root .mint-alt.mint-reverse.mint-active[amplify-button], .mint-alt.mint-reverse.mint-active.mint-select,
199
+ .mint-btn.mint-alt.mint-reverse:active, :root:root .mint-alt.mint-reverse[amplify-button]:active, .mint-alt.mint-reverse.mint-select:active,
184
200
  .mint-btn-group.mint-alt.mint-reverse:active,
201
+ .mint-pill.mint-alt.mint-reverse:active {
202
+ color: var(--mint-brand-4);
203
+ background: var(--mint-trans);
204
+ border-color: var(--mint-trans);
205
+ }
206
+ .mint-btn.mint-alt.mint-reverse.mint-active, :root:root .mint-alt.mint-reverse.mint-active[amplify-button], .mint-alt.mint-reverse.mint-active.mint-select,
185
207
  .mint-btn-group.mint-alt.mint-reverse.mint-active,
186
- .mint-pill.mint-alt.mint-reverse:active,
187
208
  .mint-pill.mint-alt.mint-reverse.mint-active {
188
209
  color: var(--mint-brand-4);
189
210
  background: var(--mint-trans);
@@ -220,7 +241,10 @@
220
241
  .mint-btn-icon:focus-visible i {
221
242
  color: var(--mint-accent-2);
222
243
  }
223
- .mint-btn-icon:active i, .mint-btn-icon.mint-active i {
244
+ .mint-btn-icon:active i {
245
+ color: var(--mint-accent-2);
246
+ }
247
+ .mint-btn-icon.mint-active i {
224
248
  color: var(--mint-accent-2);
225
249
  }
226
250
  @media (min-width: 480px) {
@@ -271,7 +295,10 @@
271
295
  .mint-btn-group button:focus-visible {
272
296
  background: var(--mint-brand-5);
273
297
  }
274
- .mint-btn-group button:active, .mint-btn-group button.mint-active {
298
+ .mint-btn-group button:active {
299
+ background: var(--mint-brand-5);
300
+ }
301
+ .mint-btn-group button.mint-active {
275
302
  background: var(--mint-brand-5);
276
303
  }
277
304
 
@@ -726,6 +753,7 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
726
753
  position: static;
727
754
  display: flex !important;
728
755
  height: 100%;
756
+ max-width: unset !important;
729
757
  padding: 0;
730
758
  z-index: 0;
731
759
  }
@@ -741,7 +769,7 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
741
769
  display: none;
742
770
  }
743
771
  #mint-header.mint-expand #mint-wrapper nav > ul {
744
- flex-direction: row;
772
+ flex-direction: row !important;
745
773
  justify-content: flex-end;
746
774
  flex-wrap: nowrap;
747
775
  overflow: visible;
@@ -834,6 +862,10 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
834
862
  margin: 0.25rem 0;
835
863
  line-height: 1;
836
864
  font-size: 4em;
865
+ width: 100%;
866
+ }
867
+ #mint-header.mint-tray #mint-wrapper button {
868
+ font-size: 6em;
837
869
  }
838
870
  #mint-header.mint-tray #mint-wrapper nav > ul {
839
871
  flex-direction: column;
@@ -965,9 +997,9 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
965
997
  top: var(--mint-header-height);
966
998
  }
967
999
  #mint-header #mint-wrapper nav {
968
- height: calc(100vh - var(--mint-header-height));
969
- height: calc(100dvh - var(--mint-header-height));
970
- overflow: auto;
1000
+ flex-grow: 1;
1001
+ height: auto;
1002
+ overflow: visible;
971
1003
  background: var(--mint-back);
972
1004
  }
973
1005
  @media (min-width: 1440px) {
@@ -982,7 +1014,7 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
982
1014
  }
983
1015
  #mint-header #mint-wrapper nav > ul {
984
1016
  height: 100%;
985
- overflow: auto;
1017
+ overflow: visible;
986
1018
  }
987
1019
  @media (min-width: 1024px) {
988
1020
  #mint-header #mint-wrapper nav > ul {
@@ -1028,8 +1060,7 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1028
1060
  background-color: var(--mint-shadow-5);
1029
1061
  color: var(--mint-back);
1030
1062
  }
1031
- #mint-header #mint-wrapper a:active, #mint-header #mint-wrapper a.mint-active,
1032
- #mint-header #mint-wrapper button:active,
1063
+ #mint-header #mint-wrapper a.mint-active,
1033
1064
  #mint-header #mint-wrapper button.mint-active {
1034
1065
  text-decoration: underline;
1035
1066
  }
@@ -1099,40 +1130,79 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1099
1130
  }
1100
1131
 
1101
1132
  :root .mint-landing.swiper {
1102
- width: 100vw;
1103
1133
  max-width: 100vw;
1104
1134
  }
1105
- :root .mint-landing.swiper {
1135
+ :root .mint-landing.swiper .swiper-slide {
1136
+ padding: 0;
1137
+ }
1138
+
1139
+ .mint-landing {
1106
1140
  top: -4px;
1107
1141
  }
1108
1142
  @media (min-width: 480px) {
1109
- :root .mint-landing.swiper {
1143
+ .mint-landing {
1110
1144
  top: calc(-4px + -12 * (100vw - 480px) / 288);
1111
1145
  }
1112
1146
  }
1113
1147
  @media (min-width: 768px) {
1114
- :root .mint-landing.swiper {
1148
+ .mint-landing {
1115
1149
  top: -16px;
1116
1150
  }
1117
1151
  }
1118
- :root .mint-landing.swiper {
1152
+ .mint-landing {
1119
1153
  left: -4px;
1120
1154
  }
1121
1155
  @media (min-width: 480px) {
1122
- :root .mint-landing.swiper {
1156
+ .mint-landing {
1123
1157
  left: calc(-4px + -12 * (100vw - 480px) / 288);
1124
1158
  }
1125
1159
  }
1126
1160
  @media (min-width: 768px) {
1127
- :root .mint-landing.swiper {
1161
+ .mint-landing {
1128
1162
  left: -16px;
1129
1163
  }
1130
1164
  }
1131
- :root .mint-landing.swiper .swiper-slide {
1132
- padding: 0;
1165
+ .mint-landing {
1166
+ width: calc(100% + 8px);
1167
+ }
1168
+ @media (min-width: 480px) {
1169
+ .mint-landing {
1170
+ width: calc(100% + 8px + 24 * (100vw - 480px) / 288);
1171
+ }
1172
+ }
1173
+ @media (min-width: 768px) {
1174
+ .mint-landing {
1175
+ width: calc(100% + 32px);
1176
+ }
1133
1177
  }
1134
- :root .mint-landing .mint-video-bg {
1178
+ .mint-landing .mint-video-bg {
1179
+ align-items: center;
1180
+ top: 0;
1181
+ left: 0;
1182
+ width: 100%;
1135
1183
  margin: 0;
1184
+ min-height: calc(100vh - var(--mint-header-height));
1185
+ }
1186
+ .mint-landing .mint-video-bg {
1187
+ padding: 16px;
1188
+ }
1189
+ @media (min-width: 480px) {
1190
+ .mint-landing .mint-video-bg {
1191
+ padding: calc(16px + 48 * (100vw - 480px) / 288);
1192
+ }
1193
+ }
1194
+ @media (min-width: 768px) {
1195
+ .mint-landing .mint-video-bg {
1196
+ padding: 64px;
1197
+ }
1198
+ }
1199
+ .mint-landing .mint-video-bg iframe, .mint-landing .mint-video-bg video {
1200
+ position: absolute;
1201
+ }
1202
+ @media (min-width: 1200px) {
1203
+ .mint-landing .mint-video-bg iframe + * .mint-grid, .mint-landing .mint-video-bg video + * .mint-grid {
1204
+ margin-bottom: 0;
1205
+ }
1136
1206
  }
1137
1207
 
1138
1208
  .grecaptcha-badge {
@@ -1158,54 +1228,72 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1158
1228
  flex-direction: column;
1159
1229
  align-items: flex-end;
1160
1230
  justify-content: center;
1231
+ flex-direction: row;
1232
+ min-height: calc(100vh - var(--mint-header-height) + 10rem);
1161
1233
  gap: 2rem;
1162
1234
  position: relative;
1163
1235
  }
1164
- @media (min-width: 1200px) {
1236
+ .mint-video-bg {
1237
+ top: -4px;
1238
+ }
1239
+ @media (min-width: 480px) {
1165
1240
  .mint-video-bg {
1166
- flex-direction: row;
1167
- min-height: calc(100vh - var(--mint-header-height));
1168
- margin-bottom: 15%;
1241
+ top: calc(-4px + -12 * (100vw - 480px) / 288);
1169
1242
  }
1170
1243
  }
1171
- @media (min-width: 1200px) {
1172
- .mint-video-bg > section {
1173
- margin-bottom: -15%;
1244
+ @media (min-width: 768px) {
1245
+ .mint-video-bg {
1246
+ top: -16px;
1174
1247
  }
1175
1248
  }
1176
- .mint-video-bg iframe, .mint-video-bg video {
1177
- width: 100%;
1178
- height: 100%;
1179
- object-fit: cover;
1180
- pointer-events: none;
1249
+ .mint-video-bg {
1250
+ left: -4px;
1181
1251
  }
1182
- @media (min-width: 1200px) {
1183
- .mint-video-bg iframe, .mint-video-bg video {
1184
- position: absolute;
1185
- width: 100vw;
1186
- border: none;
1187
- padding: 0;
1252
+ @media (min-width: 480px) {
1253
+ .mint-video-bg {
1254
+ left: calc(-4px + -12 * (100vw - 480px) / 288);
1188
1255
  }
1189
1256
  }
1190
- @media (min-width: 1200px) {
1191
- .mint-video-bg iframe + * .mint-grid, .mint-video-bg video + * .mint-grid {
1192
- margin-bottom: -15%;
1257
+ @media (min-width: 768px) {
1258
+ .mint-video-bg {
1259
+ left: -16px;
1193
1260
  }
1194
1261
  }
1195
- .mint-video-bg.mint-overflow {
1196
- overflow: hidden;
1197
- margin-bottom: 0;
1262
+ .mint-video-bg {
1263
+ width: calc(100% + 8px);
1198
1264
  }
1199
- @media (min-width: 1200px) {
1200
- .mint-video-bg.mint-overflow > section {
1201
- margin-bottom: 0;
1265
+ @media (min-width: 480px) {
1266
+ .mint-video-bg {
1267
+ width: calc(100% + 8px + 24 * (100vw - 480px) / 288);
1268
+ }
1269
+ }
1270
+ @media (min-width: 768px) {
1271
+ .mint-video-bg {
1272
+ width: calc(100% + 32px);
1273
+ }
1274
+ }
1275
+ .mint-video-bg {
1276
+ padding: 4px;
1277
+ }
1278
+ @media (min-width: 480px) {
1279
+ .mint-video-bg {
1280
+ padding: calc(4px + 12 * (100vw - 480px) / 288);
1281
+ }
1282
+ }
1283
+ @media (min-width: 768px) {
1284
+ .mint-video-bg {
1285
+ padding: 16px;
1202
1286
  }
1203
1287
  }
1204
- .mint-video-bg.mint-overflow iframe, .mint-video-bg.mint-overflow video {
1205
- top: -10%;
1206
- left: -10%;
1207
- width: 120%;
1208
- height: 120%;
1288
+ .mint-video-bg iframe, .mint-video-bg video, .mint-video-bg .mint-image, .mint-video-bg .mint-embed {
1289
+ position: absolute;
1290
+ top: 0;
1291
+ padding: 0;
1292
+ width: 100%;
1293
+ height: calc(100vh - var(--mint-header-height));
1294
+ border: none;
1295
+ object-fit: cover;
1296
+ pointer-events: none;
1209
1297
  }
1210
1298
 
1211
1299
  @keyframes mint-stretch-in {
@@ -1277,7 +1365,11 @@ p .mint-pill, p .mint-btn, :root:root p [amplify-button], p .mint-select {
1277
1365
  transition-duration: 300ms;
1278
1366
  transform: translate(100%, -100%);
1279
1367
  }
1280
- .mint-shine:active::after, .mint-shine.mint-active::after {
1368
+ .mint-shine:active::after {
1369
+ transition-duration: 300ms;
1370
+ transform: translate(100%, -100%);
1371
+ }
1372
+ .mint-shine.mint-active::after {
1281
1373
  transition-duration: 300ms;
1282
1374
  transform: translate(100%, -100%);
1283
1375
  }
@@ -3343,45 +3435,84 @@ a:focus-visible .fa-ethereum {
3343
3435
  a:focus-visible .fa-vimeo {
3344
3436
  color: var(--mint-venmo);
3345
3437
  }
3346
- a:active, a.mint-active {
3438
+ a:active {
3347
3439
  color: var(--mint-accent-2);
3348
3440
  }
3349
3441
  a:active .fa-facebook,
3350
- a:active .fa-square-facebook, a.mint-active .fa-facebook,
3442
+ a:active .fa-square-facebook {
3443
+ color: var(--mint-facebook);
3444
+ }
3445
+ a:active .fa-instagram::after {
3446
+ opacity: 1;
3447
+ }
3448
+ a:active .fa-twitter {
3449
+ color: var(--mint-twitter);
3450
+ }
3451
+ a:active .fa-youtube {
3452
+ color: var(--mint-youtube);
3453
+ }
3454
+ a:active .fa-spotify {
3455
+ color: var(--mint-spotify);
3456
+ }
3457
+ a:active .fa-apple {
3458
+ color: var(--mint-apple-music);
3459
+ }
3460
+ a:active .fa-soundcloud {
3461
+ color: var(--mint-soundcloud);
3462
+ }
3463
+ a:active .fa-bandcamp {
3464
+ color: var(--mint-bandcamp);
3465
+ }
3466
+ a:active .fa-github {
3467
+ color: var(--mint-white-1);
3468
+ }
3469
+ a:active .fa-bitcoin {
3470
+ color: var(--mint-bitcoin);
3471
+ }
3472
+ a:active .fa-ethereum {
3473
+ color: var(--mint-ethereum);
3474
+ }
3475
+ a:active .fa-vimeo {
3476
+ color: var(--mint-venmo);
3477
+ }
3478
+ a.mint-active {
3479
+ color: var(--mint-accent-2);
3480
+ }
3481
+ a.mint-active .fa-facebook,
3351
3482
  a.mint-active .fa-square-facebook {
3352
3483
  color: var(--mint-facebook);
3353
3484
  }
3354
- a:active .fa-instagram::after, a.mint-active .fa-instagram::after {
3485
+ a.mint-active .fa-instagram::after {
3355
3486
  opacity: 1;
3356
3487
  }
3357
- a:active .fa-twitter, a.mint-active .fa-twitter {
3488
+ a.mint-active .fa-twitter {
3358
3489
  color: var(--mint-twitter);
3359
3490
  }
3360
- a:active .fa-youtube, a.mint-active .fa-youtube {
3491
+ a.mint-active .fa-youtube {
3361
3492
  color: var(--mint-youtube);
3362
3493
  }
3363
- a:active .fa-spotify, a.mint-active .fa-spotify {
3494
+ a.mint-active .fa-spotify {
3364
3495
  color: var(--mint-spotify);
3365
3496
  }
3366
- a:active .fa-apple, a.mint-active .fa-apple {
3497
+ a.mint-active .fa-apple {
3367
3498
  color: var(--mint-apple-music);
3368
3499
  }
3369
- a:active .fa-soundcloud, a.mint-active .fa-soundcloud {
3500
+ a.mint-active .fa-soundcloud {
3370
3501
  color: var(--mint-soundcloud);
3371
3502
  }
3372
- a:active .fa-bandcamp, a.mint-active .fa-bandcamp {
3503
+ a.mint-active .fa-bandcamp {
3373
3504
  color: var(--mint-bandcamp);
3374
3505
  }
3375
- a:active .fa-github, a.mint-active .fa-github {
3506
+ a.mint-active .fa-github {
3376
3507
  color: var(--mint-white-1);
3377
3508
  }
3378
- a:active .fa-bitcoin, a.mint-active .fa-bitcoin {
3509
+ a.mint-active .fa-bitcoin {
3379
3510
  color: var(--mint-bitcoin);
3380
3511
  }
3381
- a:active .fa-ethereum, a.mint-active .fa-ethereum {
3512
+ a.mint-active .fa-ethereum {
3382
3513
  color: var(--mint-ethereum);
3383
3514
  }
3384
- a:active .fa-vimeo, a.mint-active .fa-vimeo {
3515
+ a.mint-active .fa-vimeo {
3385
3516
  color: var(--mint-venmo);
3386
3517
  }
3387
3518