@appartmint/mint 0.12.14 → 0.12.16
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 +119 -60
- 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/dist/js/imports/components/header.d.ts +5 -0
- package/dist/js/imports/components/header.d.ts.map +1 -1
- package/dist/js/index.js +36 -3
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.min.js +1 -1
- package/dist/js/index.min.js.map +1 -1
- package/package.json +1 -1
- package/src/scss/imports/components/_buttons.scss +8 -5
- package/src/scss/imports/components/_cards.scss +3 -3
- package/src/scss/imports/components/_header.scss +95 -4
- package/src/scss/imports/util/_util.scss +7 -5
package/dist/css/mint.css
CHANGED
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
.mint-pill:hover i {
|
|
51
51
|
color: inherit !important;
|
|
52
52
|
}
|
|
53
|
-
.mint-btn:focus,
|
|
54
|
-
.mint-btn-group:focus,
|
|
55
|
-
.mint-pill:focus {
|
|
53
|
+
.mint-btn:focus-visible,
|
|
54
|
+
.mint-btn-group:focus-visible,
|
|
55
|
+
.mint-pill:focus-visible {
|
|
56
56
|
color: var(--mint-back);
|
|
57
57
|
background: var(--mint-brand-4);
|
|
58
58
|
}
|
|
59
|
-
.mint-btn:focus i,
|
|
60
|
-
.mint-btn-group:focus i,
|
|
61
|
-
.mint-pill:focus i {
|
|
59
|
+
.mint-btn:focus-visible i,
|
|
60
|
+
.mint-btn-group:focus-visible i,
|
|
61
|
+
.mint-pill:focus-visible i {
|
|
62
62
|
color: inherit !important;
|
|
63
63
|
}
|
|
64
64
|
.mint-btn:active, .mint-btn.mint-active,
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
color: var(--mint-fore);
|
|
89
89
|
background: var(--mint-brand-2);
|
|
90
90
|
}
|
|
91
|
-
.mint-btn.mint-reverse:focus,
|
|
92
|
-
.mint-btn-group.mint-reverse:focus,
|
|
93
|
-
.mint-pill.mint-reverse:focus {
|
|
91
|
+
.mint-btn.mint-reverse:focus-visible,
|
|
92
|
+
.mint-btn-group.mint-reverse:focus-visible,
|
|
93
|
+
.mint-pill.mint-reverse:focus-visible {
|
|
94
94
|
color: var(--mint-fore);
|
|
95
95
|
background: var(--mint-brand-2);
|
|
96
96
|
}
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
background: var(--mint-accent-2);
|
|
116
116
|
border-color: var(--mint-accent-2);
|
|
117
117
|
}
|
|
118
|
-
.mint-btn.mint-alt:focus,
|
|
119
|
-
.mint-btn-group.mint-alt:focus,
|
|
120
|
-
.mint-pill.mint-alt:focus {
|
|
118
|
+
.mint-btn.mint-alt:focus-visible,
|
|
119
|
+
.mint-btn-group.mint-alt:focus-visible,
|
|
120
|
+
.mint-pill.mint-alt:focus-visible {
|
|
121
121
|
color: var(--mint-back);
|
|
122
122
|
background: var(--mint-accent-2);
|
|
123
123
|
border-color: var(--mint-accent-2);
|
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
background: var(--mint-trans);
|
|
146
146
|
border-color: var(--mint-trans);
|
|
147
147
|
}
|
|
148
|
-
.mint-btn.mint-alt.mint-reverse:focus,
|
|
149
|
-
.mint-btn-group.mint-alt.mint-reverse:focus,
|
|
150
|
-
.mint-pill.mint-alt.mint-reverse:focus {
|
|
148
|
+
.mint-btn.mint-alt.mint-reverse:focus-visible,
|
|
149
|
+
.mint-btn-group.mint-alt.mint-reverse:focus-visible,
|
|
150
|
+
.mint-pill.mint-alt.mint-reverse:focus-visible {
|
|
151
151
|
color: var(--mint-brand-4);
|
|
152
152
|
background: var(--mint-trans);
|
|
153
153
|
border-color: var(--mint-trans);
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
.mint-btn-icon:hover i {
|
|
188
188
|
color: var(--mint-accent-2);
|
|
189
189
|
}
|
|
190
|
-
.mint-btn-icon:focus i {
|
|
190
|
+
.mint-btn-icon:focus-visible i {
|
|
191
191
|
color: var(--mint-accent-2);
|
|
192
192
|
}
|
|
193
193
|
.mint-btn-icon:active i, .mint-btn-icon.mint-active i {
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
.mint-btn-group button:hover {
|
|
234
234
|
background: var(--mint-brand-5);
|
|
235
235
|
}
|
|
236
|
-
.mint-btn-group button:focus {
|
|
236
|
+
.mint-btn-group button:focus-visible {
|
|
237
237
|
background: var(--mint-brand-5);
|
|
238
238
|
}
|
|
239
239
|
.mint-btn-group button:active, .mint-btn-group button.mint-active {
|
|
@@ -254,29 +254,17 @@ p .mint-pill, p .mint-btn {
|
|
|
254
254
|
vertical-align: middle;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
.mint-buttons {
|
|
258
|
-
gap: 1rem;
|
|
259
|
-
}
|
|
260
257
|
.mint-buttons {
|
|
261
258
|
display: flex;
|
|
262
259
|
align-items: center;
|
|
263
|
-
justify-content: flex-start;
|
|
264
|
-
flex-wrap: wrap;
|
|
265
|
-
}
|
|
266
|
-
.mint-buttons.mint-center {
|
|
267
260
|
justify-content: center;
|
|
261
|
+
flex-wrap: wrap;
|
|
262
|
+
gap: 1rem;
|
|
268
263
|
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
justify-content: space-between;
|
|
274
|
-
}
|
|
275
|
-
.mint-buttons.mint-around {
|
|
276
|
-
justify-content: space-around;
|
|
277
|
-
}
|
|
278
|
-
.mint-buttons.mint-even {
|
|
279
|
-
justify-content: space-evenly;
|
|
264
|
+
@media (min-width: 480px) {
|
|
265
|
+
.mint-buttons {
|
|
266
|
+
justify-content: flex-start;
|
|
267
|
+
}
|
|
280
268
|
}
|
|
281
269
|
.mint-buttons > * {
|
|
282
270
|
width: 100%;
|
|
@@ -289,9 +277,6 @@ p .mint-pill, p .mint-btn {
|
|
|
289
277
|
width: auto;
|
|
290
278
|
}
|
|
291
279
|
}
|
|
292
|
-
.mint-buttons.mint-even {
|
|
293
|
-
justify-content: space-evenly;
|
|
294
|
-
}
|
|
295
280
|
.mint-buttons .mint-buttons .mint-pill {
|
|
296
281
|
width: 100%;
|
|
297
282
|
}
|
|
@@ -341,7 +326,7 @@ p .mint-pill, p .mint-btn {
|
|
|
341
326
|
overflow: visible;
|
|
342
327
|
}
|
|
343
328
|
.mint-card.mint-stagger > .mint-image, .mint-card.mint-stagger > mint-image .mint-image {
|
|
344
|
-
width: 50
|
|
329
|
+
width: calc(50% + 1.5rem);
|
|
345
330
|
height: fit-content;
|
|
346
331
|
margin-right: -3rem;
|
|
347
332
|
border-radius: 1rem;
|
|
@@ -352,7 +337,7 @@ p .mint-pill, p .mint-btn {
|
|
|
352
337
|
object-fit: cover;
|
|
353
338
|
}
|
|
354
339
|
.mint-card.mint-stagger > .mint-content {
|
|
355
|
-
width: 50
|
|
340
|
+
width: calc(50% + 1.5rem);
|
|
356
341
|
height: fit-content;
|
|
357
342
|
margin-top: 3rem;
|
|
358
343
|
border-radius: 1rem;
|
|
@@ -364,7 +349,7 @@ p .mint-pill, p .mint-btn {
|
|
|
364
349
|
flex-direction: row-reverse;
|
|
365
350
|
}
|
|
366
351
|
.mint-card.mint-stagger.mint-reverse > .mint-image, .mint-card.mint-stagger.mint-reverse > mint-image .mint-image {
|
|
367
|
-
margin-right:
|
|
352
|
+
margin-right: 0;
|
|
368
353
|
margin-left: -3rem;
|
|
369
354
|
}
|
|
370
355
|
}
|
|
@@ -584,6 +569,78 @@ app-footer::before {
|
|
|
584
569
|
#mint-header.mint-left #mint-wrapper.mint-open {
|
|
585
570
|
left: 0;
|
|
586
571
|
}
|
|
572
|
+
@media (min-width: 768px) {
|
|
573
|
+
#mint-header.mint-expand .mint-buttons {
|
|
574
|
+
width: auto;
|
|
575
|
+
}
|
|
576
|
+
#mint-header.mint-expand .mint-buttons [aria-controls=mint-wrapper] {
|
|
577
|
+
display: none;
|
|
578
|
+
}
|
|
579
|
+
#mint-header.mint-expand #mint-wrapper {
|
|
580
|
+
position: static;
|
|
581
|
+
display: flex !important;
|
|
582
|
+
height: 100%;
|
|
583
|
+
padding: 0;
|
|
584
|
+
z-index: 0;
|
|
585
|
+
}
|
|
586
|
+
#mint-header.mint-expand #mint-wrapper, #mint-header.mint-expand #mint-wrapper nav {
|
|
587
|
+
background: var(--mint-glow-0) !important;
|
|
588
|
+
overflow: visible;
|
|
589
|
+
}
|
|
590
|
+
#mint-header.mint-expand #mint-wrapper nav {
|
|
591
|
+
border: none;
|
|
592
|
+
}
|
|
593
|
+
#mint-header.mint-expand #mint-wrapper nav > ul {
|
|
594
|
+
flex-direction: row;
|
|
595
|
+
justify-content: flex-end;
|
|
596
|
+
flex-wrap: nowrap;
|
|
597
|
+
}
|
|
598
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li {
|
|
599
|
+
position: relative;
|
|
600
|
+
width: 100%;
|
|
601
|
+
max-width: 200px;
|
|
602
|
+
text-align: center;
|
|
603
|
+
}
|
|
604
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li button,
|
|
605
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li ul {
|
|
606
|
+
width: 100%;
|
|
607
|
+
max-width: 200px;
|
|
608
|
+
}
|
|
609
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li button {
|
|
610
|
+
font-size: 1.5rem;
|
|
611
|
+
padding-right: 2rem;
|
|
612
|
+
}
|
|
613
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li button::after {
|
|
614
|
+
content: "\f054";
|
|
615
|
+
font-family: "Font Awesome 6 Pro";
|
|
616
|
+
font-weight: 900;
|
|
617
|
+
font-size: 1rem;
|
|
618
|
+
position: absolute;
|
|
619
|
+
top: 50%;
|
|
620
|
+
transform: translateY(-50%);
|
|
621
|
+
margin-left: 1rem;
|
|
622
|
+
transition: transform var(--mint-delay-default);
|
|
623
|
+
}
|
|
624
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li button:hover::after {
|
|
625
|
+
transform: translateY(-50%) rotate(90deg);
|
|
626
|
+
}
|
|
627
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li button:focus-visible::after {
|
|
628
|
+
transform: translateY(-50%) rotate(90deg);
|
|
629
|
+
}
|
|
630
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li button[aria-expanded=true]::after {
|
|
631
|
+
transform: translateY(-50%) rotate(90deg);
|
|
632
|
+
}
|
|
633
|
+
#mint-header.mint-expand #mint-wrapper nav > ul > li ul {
|
|
634
|
+
position: absolute;
|
|
635
|
+
top: 100%;
|
|
636
|
+
left: 50%;
|
|
637
|
+
transform: translateX(-50%);
|
|
638
|
+
background-color: var(--mint-brand-2);
|
|
639
|
+
}
|
|
640
|
+
#mint-header.mint-expand #mint-wrapper a {
|
|
641
|
+
font-size: 1.25rem;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
587
644
|
#mint-header::before {
|
|
588
645
|
content: "";
|
|
589
646
|
position: absolute;
|
|
@@ -625,7 +682,6 @@ app-footer::before {
|
|
|
625
682
|
}
|
|
626
683
|
#mint-header #mint-navbar {
|
|
627
684
|
display: flex;
|
|
628
|
-
flex-direction: column;
|
|
629
685
|
align-items: center;
|
|
630
686
|
flex-direction: row;
|
|
631
687
|
height: 100%;
|
|
@@ -740,10 +796,12 @@ app-footer::before {
|
|
|
740
796
|
#mint-header #mint-wrapper a:hover,
|
|
741
797
|
#mint-header #mint-wrapper button:hover {
|
|
742
798
|
background-color: var(--mint-shadow-5);
|
|
799
|
+
color: var(--mint-back);
|
|
743
800
|
}
|
|
744
|
-
#mint-header #mint-wrapper a:focus,
|
|
745
|
-
#mint-header #mint-wrapper button:focus {
|
|
801
|
+
#mint-header #mint-wrapper a:focus-visible,
|
|
802
|
+
#mint-header #mint-wrapper button:focus-visible {
|
|
746
803
|
background-color: var(--mint-shadow-5);
|
|
804
|
+
color: var(--mint-back);
|
|
747
805
|
}
|
|
748
806
|
#mint-header #mint-wrapper a:active, #mint-header #mint-wrapper a.mint-active,
|
|
749
807
|
#mint-header #mint-wrapper button:active,
|
|
@@ -761,7 +819,8 @@ app-footer::before {
|
|
|
761
819
|
justify-content: flex-end;
|
|
762
820
|
width: 100%;
|
|
763
821
|
}
|
|
764
|
-
#mint-header .mint-buttons a:not([aria-controls=mint-wrapper]),
|
|
822
|
+
#mint-header .mint-buttons a:not([aria-controls=mint-wrapper]),
|
|
823
|
+
#mint-header .mint-buttons button:not([aria-controls=mint-wrapper]) {
|
|
765
824
|
display: flex;
|
|
766
825
|
width: auto;
|
|
767
826
|
padding: 0.5rem;
|
|
@@ -871,7 +930,7 @@ app-footer::before {
|
|
|
871
930
|
transition-duration: 300ms;
|
|
872
931
|
transform: translate(100%, -100%);
|
|
873
932
|
}
|
|
874
|
-
.mint-shine:focus::after {
|
|
933
|
+
.mint-shine:focus-visible::after {
|
|
875
934
|
transition-duration: 300ms;
|
|
876
935
|
transform: translate(100%, -100%);
|
|
877
936
|
}
|
|
@@ -2447,44 +2506,44 @@ a:hover .fa-ethereum {
|
|
|
2447
2506
|
a:hover .fa-vimeo {
|
|
2448
2507
|
color: var(--mint-venmo);
|
|
2449
2508
|
}
|
|
2450
|
-
a:focus {
|
|
2509
|
+
a:focus-visible {
|
|
2451
2510
|
color: var(--mint-accent-2);
|
|
2452
2511
|
}
|
|
2453
|
-
a:focus .fa-facebook,
|
|
2454
|
-
a:focus .fa-square-facebook {
|
|
2512
|
+
a:focus-visible .fa-facebook,
|
|
2513
|
+
a:focus-visible .fa-square-facebook {
|
|
2455
2514
|
color: var(--mint-facebook);
|
|
2456
2515
|
}
|
|
2457
|
-
a:focus .fa-instagram::after {
|
|
2516
|
+
a:focus-visible .fa-instagram::after {
|
|
2458
2517
|
opacity: 1;
|
|
2459
2518
|
}
|
|
2460
|
-
a:focus .fa-twitter {
|
|
2519
|
+
a:focus-visible .fa-twitter {
|
|
2461
2520
|
color: var(--mint-twitter);
|
|
2462
2521
|
}
|
|
2463
|
-
a:focus .fa-youtube {
|
|
2522
|
+
a:focus-visible .fa-youtube {
|
|
2464
2523
|
color: var(--mint-youtube);
|
|
2465
2524
|
}
|
|
2466
|
-
a:focus .fa-spotify {
|
|
2525
|
+
a:focus-visible .fa-spotify {
|
|
2467
2526
|
color: var(--mint-spotify);
|
|
2468
2527
|
}
|
|
2469
|
-
a:focus .fa-apple {
|
|
2528
|
+
a:focus-visible .fa-apple {
|
|
2470
2529
|
color: var(--mint-apple-music);
|
|
2471
2530
|
}
|
|
2472
|
-
a:focus .fa-soundcloud {
|
|
2531
|
+
a:focus-visible .fa-soundcloud {
|
|
2473
2532
|
color: var(--mint-soundcloud);
|
|
2474
2533
|
}
|
|
2475
|
-
a:focus .fa-bandcamp {
|
|
2534
|
+
a:focus-visible .fa-bandcamp {
|
|
2476
2535
|
color: var(--mint-bandcamp);
|
|
2477
2536
|
}
|
|
2478
|
-
a:focus .fa-github {
|
|
2537
|
+
a:focus-visible .fa-github {
|
|
2479
2538
|
color: var(--mint-white-1);
|
|
2480
2539
|
}
|
|
2481
|
-
a:focus .fa-bitcoin {
|
|
2540
|
+
a:focus-visible .fa-bitcoin {
|
|
2482
2541
|
color: var(--mint-bitcoin);
|
|
2483
2542
|
}
|
|
2484
|
-
a:focus .fa-ethereum {
|
|
2543
|
+
a:focus-visible .fa-ethereum {
|
|
2485
2544
|
color: var(--mint-ethereum);
|
|
2486
2545
|
}
|
|
2487
|
-
a:focus .fa-vimeo {
|
|
2546
|
+
a:focus-visible .fa-vimeo {
|
|
2488
2547
|
color: var(--mint-venmo);
|
|
2489
2548
|
}
|
|
2490
2549
|
a:active, a.mint-active {
|