@appartmint/mint 0.9.2 → 0.9.7
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 +172 -33
- 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/_buttons.scss +32 -16
- package/src/scss/imports/components/_cards.scss +53 -39
- package/src/scss/imports/components/_footer.scss +19 -0
- package/src/scss/imports/components/_header.scss +49 -2
- package/src/scss/imports/components/_index.scss +1 -0
- package/src/scss/imports/global/_global.scss +23 -4
- package/src/scss/imports/global/_icons.scss +6 -0
- package/src/scss/imports/global/_index.scss +1 -0
- package/src/scss/imports/global/_structure.scss +37 -0
- package/src/scss/imports/util/_vars.scss +40 -3
package/dist/css/mint.css
CHANGED
|
@@ -10,59 +10,75 @@
|
|
|
10
10
|
z-index: -1;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
.mint-btn,
|
|
13
14
|
.mint-pill {
|
|
14
15
|
display: inline-block;
|
|
15
|
-
align-items: center;
|
|
16
|
-
min-width: 5rem;
|
|
17
|
-
padding: 0 0.75rem;
|
|
18
16
|
border-radius: 1rem;
|
|
19
17
|
color: var(--mint-fore);
|
|
20
18
|
background: var(--mint-brand-5);
|
|
21
|
-
|
|
19
|
+
border: 0.125rem solid var(--mint-brand-3);
|
|
22
20
|
text-align: center;
|
|
23
21
|
text-decoration: none;
|
|
24
22
|
text-overflow: ellipsis;
|
|
25
23
|
white-space: nowrap;
|
|
26
24
|
overflow: hidden;
|
|
25
|
+
transition: color var(--mint-delay-default), background-color var(--mint-delay-default), border-color var(--mint-delay-default);
|
|
27
26
|
}
|
|
28
27
|
@media (min-width: 480px) {
|
|
28
|
+
.mint-btn,
|
|
29
29
|
.mint-pill {
|
|
30
30
|
width: auto;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
+
.mint-btn:hover,
|
|
33
34
|
.mint-pill:hover {
|
|
34
35
|
color: var(--mint-back);
|
|
35
36
|
background: var(--mint-brand-3);
|
|
36
|
-
outline-color: var(--mint-brand-0);
|
|
37
37
|
}
|
|
38
|
+
.mint-btn:focus,
|
|
38
39
|
.mint-pill:focus {
|
|
39
40
|
color: var(--mint-back);
|
|
40
41
|
background: var(--mint-brand-3);
|
|
41
|
-
outline-color: var(--mint-brand-0);
|
|
42
42
|
}
|
|
43
|
-
.mint-
|
|
43
|
+
.mint-btn:active, .mint-btn.mint-active,
|
|
44
|
+
.mint-pill:active,
|
|
45
|
+
.mint-pill.mint-active {
|
|
44
46
|
color: var(--mint-back);
|
|
45
47
|
background: var(--mint-brand-3);
|
|
46
|
-
outline-color: var(--mint-brand-0);
|
|
47
48
|
}
|
|
49
|
+
.mint-btn.mint-alt,
|
|
48
50
|
.mint-pill.mint-alt {
|
|
49
51
|
color: var(--mint-brand-3);
|
|
50
52
|
background: var(--mint-trans);
|
|
51
53
|
}
|
|
54
|
+
.mint-btn.mint-alt:hover,
|
|
52
55
|
.mint-pill.mint-alt:hover {
|
|
53
56
|
color: var(--mint-fore);
|
|
54
|
-
background: var(--mint-
|
|
55
|
-
|
|
57
|
+
background: var(--mint-accent-2);
|
|
58
|
+
border-color: var(--mint-accent-2);
|
|
56
59
|
}
|
|
60
|
+
.mint-btn.mint-alt:focus,
|
|
57
61
|
.mint-pill.mint-alt:focus {
|
|
58
62
|
color: var(--mint-fore);
|
|
59
|
-
background: var(--mint-
|
|
60
|
-
|
|
63
|
+
background: var(--mint-accent-2);
|
|
64
|
+
border-color: var(--mint-accent-2);
|
|
61
65
|
}
|
|
62
|
-
.mint-
|
|
66
|
+
.mint-btn.mint-alt:active, .mint-btn.mint-alt.mint-active,
|
|
67
|
+
.mint-pill.mint-alt:active,
|
|
68
|
+
.mint-pill.mint-alt.mint-active {
|
|
63
69
|
color: var(--mint-fore);
|
|
64
|
-
background: var(--mint-
|
|
65
|
-
|
|
70
|
+
background: var(--mint-accent-2);
|
|
71
|
+
border-color: var(--mint-accent-2);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.mint-btn {
|
|
75
|
+
padding: 0.5rem 1.75rem;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.mint-pill {
|
|
79
|
+
min-width: 5rem;
|
|
80
|
+
padding: 0 0.75rem;
|
|
81
|
+
line-height: 2;
|
|
66
82
|
}
|
|
67
83
|
|
|
68
84
|
.mint-buttons {
|
|
@@ -90,6 +106,9 @@
|
|
|
90
106
|
width: 100%;
|
|
91
107
|
margin: 0.5rem 0;
|
|
92
108
|
}
|
|
109
|
+
.mint-buttons > * .mint-btn, .mint-buttons > * .mint-pill {
|
|
110
|
+
display: block;
|
|
111
|
+
}
|
|
93
112
|
@media (min-width: 480px) {
|
|
94
113
|
.mint-buttons > * {
|
|
95
114
|
width: auto;
|
|
@@ -108,7 +127,8 @@ p .mint-pill {
|
|
|
108
127
|
.mint-card {
|
|
109
128
|
display: flex;
|
|
110
129
|
flex-direction: column;
|
|
111
|
-
|
|
130
|
+
height: 100%;
|
|
131
|
+
margin: 0;
|
|
112
132
|
border-radius: 1rem;
|
|
113
133
|
box-shadow: 0 0 2rem -0.5rem var(--mint-glow-2);
|
|
114
134
|
overflow: hidden;
|
|
@@ -171,45 +191,70 @@ p .mint-pill {
|
|
|
171
191
|
width: 50%;
|
|
172
192
|
}
|
|
173
193
|
}
|
|
174
|
-
.mint-card .mint-content {
|
|
175
|
-
padding: 1.5rem;
|
|
176
|
-
background: var(--mint-black-2);
|
|
177
|
-
}
|
|
178
194
|
@media (min-width: 768px) {
|
|
179
|
-
.mint-card .mint-content {
|
|
195
|
+
.mint-card > .mint-image + .mint-content, .mint-card > mint-image .mint-image + .mint-content {
|
|
180
196
|
width: 50%;
|
|
181
197
|
}
|
|
182
198
|
}
|
|
199
|
+
.mint-card .mint-content {
|
|
200
|
+
display: grid;
|
|
201
|
+
gap: 1rem;
|
|
202
|
+
padding: 1.5rem;
|
|
203
|
+
background: var(--mint-black-2);
|
|
204
|
+
width: 100%;
|
|
205
|
+
}
|
|
183
206
|
.mint-card .mint-content :first-child {
|
|
184
207
|
margin-top: 0;
|
|
185
208
|
}
|
|
186
209
|
.mint-card .mint-content :last-child {
|
|
187
210
|
margin-bottom: 0;
|
|
188
211
|
}
|
|
189
|
-
.mint-card .mint-
|
|
212
|
+
.mint-card .mint-title {
|
|
190
213
|
display: flex;
|
|
191
214
|
align-items: center;
|
|
192
215
|
justify-content: flex-start;
|
|
216
|
+
height: 100%;
|
|
193
217
|
}
|
|
194
|
-
.mint-card .mint-
|
|
218
|
+
.mint-card .mint-title > .mint-image, .mint-card .mint-title > mint-image {
|
|
195
219
|
width: 100%;
|
|
196
220
|
height: 100%;
|
|
197
221
|
max-width: 4rem;
|
|
198
222
|
max-height: 4rem;
|
|
199
|
-
margin-right:
|
|
223
|
+
margin-right: 1.5rem;
|
|
200
224
|
}
|
|
201
|
-
.mint-card .mint-
|
|
225
|
+
.mint-card .mint-title > .mint-image img, .mint-card .mint-title > mint-image img {
|
|
202
226
|
display: block;
|
|
203
227
|
width: 100%;
|
|
204
228
|
height: 100%;
|
|
205
229
|
}
|
|
206
|
-
.mint-card .mint-
|
|
230
|
+
.mint-card .mint-title i {
|
|
231
|
+
display: flex;
|
|
232
|
+
align-items: center;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
min-width: 4rem;
|
|
235
|
+
max-width: 4rem;
|
|
236
|
+
margin-right: 1.5rem;
|
|
237
|
+
font-size: 3rem;
|
|
238
|
+
}
|
|
239
|
+
.mint-card .mint-title > div {
|
|
207
240
|
width: 100%;
|
|
208
241
|
}
|
|
209
|
-
.mint-card .mint-
|
|
242
|
+
.mint-card .mint-title > div > * {
|
|
210
243
|
margin: 0;
|
|
211
244
|
}
|
|
212
245
|
|
|
246
|
+
app-footer {
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
}
|
|
250
|
+
app-footer::before {
|
|
251
|
+
content: "";
|
|
252
|
+
display: flex;
|
|
253
|
+
flex-grow: 1;
|
|
254
|
+
height: 100%;
|
|
255
|
+
background: css-var(trans);
|
|
256
|
+
}
|
|
257
|
+
|
|
213
258
|
:root {
|
|
214
259
|
--mint-header-height: 4rem;
|
|
215
260
|
--mint-header-bg: var(--mint-brand-4);
|
|
@@ -223,13 +268,13 @@ p .mint-pill {
|
|
|
223
268
|
width: 100%;
|
|
224
269
|
color: var(--mint-header-fg);
|
|
225
270
|
background-color: var(--mint-header-bg);
|
|
226
|
-
z-index:
|
|
271
|
+
z-index: 10000;
|
|
227
272
|
}
|
|
228
273
|
#mint-header.mint-js {
|
|
229
274
|
align-items: center;
|
|
230
275
|
flex-direction: row;
|
|
231
276
|
height: var(--mint-header-height);
|
|
232
|
-
padding: calc(var(--mint-header-height) / 2);
|
|
277
|
+
padding: 0 calc(var(--mint-header-height) / 2);
|
|
233
278
|
}
|
|
234
279
|
#mint-header.mint-js [aria-controls=mint-wrapper] {
|
|
235
280
|
display: inline-block;
|
|
@@ -319,6 +364,44 @@ p .mint-pill {
|
|
|
319
364
|
}
|
|
320
365
|
#mint-header [aria-controls=mint-wrapper] {
|
|
321
366
|
display: none;
|
|
367
|
+
position: relative;
|
|
368
|
+
padding: 0.6rem;
|
|
369
|
+
width: 4.4rem;
|
|
370
|
+
height: 4.4rem;
|
|
371
|
+
margin-left: auto;
|
|
372
|
+
border-radius: 1rem;
|
|
373
|
+
background: var(--mint-shadow-6);
|
|
374
|
+
box-shadow: 0 0 2rem -0.5rem var(--mint-glow-2);
|
|
375
|
+
}
|
|
376
|
+
#mint-header [aria-controls=mint-wrapper] .mint-menu-icon {
|
|
377
|
+
top: 50%;
|
|
378
|
+
left: 50%;
|
|
379
|
+
transform: translate(-50%, -50%);
|
|
380
|
+
}
|
|
381
|
+
#mint-header [aria-controls=mint-wrapper] .mint-menu-icon, #mint-header [aria-controls=mint-wrapper] .mint-menu-icon::before, #mint-header [aria-controls=mint-wrapper] .mint-menu-icon::after {
|
|
382
|
+
content: "";
|
|
383
|
+
display: block;
|
|
384
|
+
position: absolute;
|
|
385
|
+
left: 50%;
|
|
386
|
+
height: 0.4rem;
|
|
387
|
+
width: 3.2rem;
|
|
388
|
+
background-color: var(--mint-fore);
|
|
389
|
+
transition: 300ms;
|
|
390
|
+
}
|
|
391
|
+
#mint-header [aria-controls=mint-wrapper] .mint-menu-icon::before {
|
|
392
|
+
transform: translate(-50%, -200%);
|
|
393
|
+
}
|
|
394
|
+
#mint-header [aria-controls=mint-wrapper] .mint-menu-icon::after {
|
|
395
|
+
transform: translate(-50%, 200%);
|
|
396
|
+
}
|
|
397
|
+
#mint-header [aria-controls=mint-wrapper][aria-expanded=true] .mint-menu-icon {
|
|
398
|
+
background: transparent;
|
|
399
|
+
}
|
|
400
|
+
#mint-header [aria-controls=mint-wrapper][aria-expanded=true] .mint-menu-icon::before {
|
|
401
|
+
transform: translate(-50%, 0) rotate(45deg);
|
|
402
|
+
}
|
|
403
|
+
#mint-header [aria-controls=mint-wrapper][aria-expanded=true] .mint-menu-icon::after {
|
|
404
|
+
transform: translate(-50%, 0) rotate(-45deg);
|
|
322
405
|
}
|
|
323
406
|
#mint-header #mint-wrapper {
|
|
324
407
|
display: flex;
|
|
@@ -458,10 +541,6 @@ html, body {
|
|
|
458
541
|
color: var(--mint-fore);
|
|
459
542
|
background-color: var(--mint-back);
|
|
460
543
|
overflow-x: hidden;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
html, body, main {
|
|
464
|
-
width: 100%;
|
|
465
544
|
min-height: 100vh;
|
|
466
545
|
margin: 0;
|
|
467
546
|
padding: 0;
|
|
@@ -471,8 +550,21 @@ main {
|
|
|
471
550
|
display: flex;
|
|
472
551
|
flex-direction: column;
|
|
473
552
|
position: relative;
|
|
553
|
+
width: 100%;
|
|
554
|
+
min-height: calc(100vh - var(--mint-header-height));
|
|
474
555
|
z-index: 1000;
|
|
475
556
|
}
|
|
557
|
+
main > router-outlet + * {
|
|
558
|
+
width: 100%;
|
|
559
|
+
flex-grow: 1;
|
|
560
|
+
}
|
|
561
|
+
main router-outlet {
|
|
562
|
+
flex-grow: 0;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
app-root {
|
|
566
|
+
display: block;
|
|
567
|
+
}
|
|
476
568
|
|
|
477
569
|
nav a {
|
|
478
570
|
display: block;
|
|
@@ -526,6 +618,16 @@ img {
|
|
|
526
618
|
border: 0 !important;
|
|
527
619
|
}
|
|
528
620
|
|
|
621
|
+
.mint-list {
|
|
622
|
+
list-style: none;
|
|
623
|
+
margin: 0;
|
|
624
|
+
padding: 0;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
i.fa-envelope {
|
|
628
|
+
transform: translateY(5%);
|
|
629
|
+
}
|
|
630
|
+
|
|
529
631
|
.mint-pad {
|
|
530
632
|
padding: 1rem;
|
|
531
633
|
}
|
|
@@ -802,6 +904,43 @@ section.mint-bigger {
|
|
|
802
904
|
text-align: center;
|
|
803
905
|
}
|
|
804
906
|
|
|
907
|
+
.mint-grid {
|
|
908
|
+
display: grid;
|
|
909
|
+
grid-template-columns: 1fr;
|
|
910
|
+
gap: 2rem;
|
|
911
|
+
margin: 2rem 0;
|
|
912
|
+
}
|
|
913
|
+
@media (min-width: 768px) {
|
|
914
|
+
.mint-grid.mint-2 {
|
|
915
|
+
grid-template-columns: repeat(2, 1fr);
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
@media (min-width: 768px) {
|
|
919
|
+
.mint-grid.mint-3 {
|
|
920
|
+
grid-template-columns: repeat(2, 1fr);
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
@media (min-width: 1200px) {
|
|
924
|
+
.mint-grid.mint-3 {
|
|
925
|
+
grid-template-columns: repeat(3, 1fr);
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
@media (min-width: 768px) {
|
|
929
|
+
.mint-grid.mint-4 {
|
|
930
|
+
grid-template-columns: repeat(2, 1fr);
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
@media (min-width: 1200px) {
|
|
934
|
+
.mint-grid.mint-4 {
|
|
935
|
+
grid-template-columns: repeat(3, 1fr);
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
@media (min-width: 1440px) {
|
|
939
|
+
.mint-grid.mint-4 {
|
|
940
|
+
grid-template-columns: repeat(4, 1fr);
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
|
|
805
944
|
html, body {
|
|
806
945
|
font-family: sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
807
946
|
font-size: 1rem;
|