@appartmint/mint 0.9.1 → 0.9.6

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
@@ -108,7 +108,8 @@ p .mint-pill {
108
108
  .mint-card {
109
109
  display: flex;
110
110
  flex-direction: column;
111
- margin: 3rem 0;
111
+ height: 100%;
112
+ margin: 0;
112
113
  border-radius: 1rem;
113
114
  box-shadow: 0 0 2rem -0.5rem var(--mint-glow-2);
114
115
  overflow: hidden;
@@ -171,63 +172,72 @@ p .mint-pill {
171
172
  width: 50%;
172
173
  }
173
174
  }
174
- .mint-card .mint-content {
175
- padding: 1.5rem;
176
- background: var(--mint-black-2);
177
- }
178
175
  @media (min-width: 768px) {
179
- .mint-card .mint-content {
176
+ .mint-card > .mint-image + .mint-content, .mint-card > mint-image .mint-image + .mint-content {
180
177
  width: 50%;
181
178
  }
182
179
  }
180
+ .mint-card .mint-content {
181
+ padding: 1.5rem;
182
+ background: var(--mint-black-2);
183
+ width: 100%;
184
+ }
183
185
  .mint-card .mint-content :first-child {
184
186
  margin-top: 0;
185
187
  }
186
188
  .mint-card .mint-content :last-child {
187
189
  margin-bottom: 0;
188
190
  }
189
- .mint-card .mint-content .mint-title {
191
+ .mint-card .mint-title {
190
192
  display: flex;
191
193
  align-items: center;
192
194
  justify-content: flex-start;
195
+ height: 100%;
193
196
  }
194
- .mint-card .mint-content .mint-title > .mint-image, .mint-card .mint-content .mint-title > mint-image {
197
+ .mint-card .mint-title > .mint-image, .mint-card .mint-title > mint-image {
195
198
  width: 100%;
196
199
  height: 100%;
197
200
  max-width: 4rem;
198
201
  max-height: 4rem;
199
- margin-right: 1rem;
202
+ margin-right: 1.5rem;
200
203
  }
201
- .mint-card .mint-content .mint-title > .mint-image img, .mint-card .mint-content .mint-title > mint-image img {
204
+ .mint-card .mint-title > .mint-image img, .mint-card .mint-title > mint-image img {
202
205
  display: block;
203
206
  width: 100%;
204
207
  height: 100%;
205
208
  }
206
- .mint-card .mint-content .mint-title div {
209
+ .mint-card .mint-title i {
210
+ display: flex;
211
+ align-items: center;
212
+ justify-content: center;
213
+ min-width: 4rem;
214
+ max-width: 4rem;
215
+ margin-right: 1.5rem;
216
+ font-size: 3rem;
217
+ }
218
+ .mint-card .mint-title > div {
207
219
  width: 100%;
208
220
  }
209
- .mint-card .mint-content .mint-title div > * {
221
+ .mint-card .mint-title > div > * {
210
222
  margin: 0;
211
223
  }
212
224
 
213
- :root {
214
- --mint-delay-instant: 0ms;
215
- --mint-delay-fast: 100ms;
216
- --mint-delay-med-fast: 200ms;
217
- --mint-delay-default: 300ms;
218
- --mint-delay-med-slow: 400ms;
219
- --mint-delay-slow: 500ms;
225
+ app-footer {
226
+ display: flex;
227
+ flex-direction: column;
228
+ }
229
+ app-footer::before {
230
+ content: "";
231
+ display: flex;
232
+ flex-grow: 1;
233
+ height: 100%;
234
+ background: css-var(trans);
220
235
  }
221
236
 
222
- .mint-sr-only {
223
- position: absolute !important;
224
- width: 1px !important;
225
- height: 1px !important;
226
- padding: 0 !important;
227
- margin: -1px !important;
228
- overflow: hidden !important;
229
- clip: rect(0, 0, 0, 0) !important;
230
- border: 0 !important;
237
+ :root {
238
+ --mint-header-height: 4rem;
239
+ --mint-header-bg: var(--mint-brand-4);
240
+ --mint-header-fg: var(--mint-back);
231
241
  }
232
242
 
233
243
  #mint-header {
@@ -235,15 +245,15 @@ p .mint-pill {
235
245
  flex-direction: column;
236
246
  position: relative;
237
247
  width: 100%;
238
- color: var(--mint-fg);
248
+ color: var(--mint-header-fg);
239
249
  background-color: var(--mint-header-bg);
240
- z-index: 1000;
250
+ z-index: 10000;
241
251
  }
242
252
  #mint-header.mint-js {
243
253
  align-items: center;
244
254
  flex-direction: row;
245
- height: var(--mint-height);
246
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
255
+ height: var(--mint-header-height);
256
+ padding: calc(var(--mint-header-height) / 2);
247
257
  }
248
258
  #mint-header.mint-js [aria-controls=mint-wrapper] {
249
259
  display: inline-block;
@@ -270,7 +280,7 @@ p .mint-pill {
270
280
  overflow: auto;
271
281
  }
272
282
  #mint-header.mint-right #mint-wrapper {
273
- top: var(--mint-height);
283
+ top: var(--mint-header-height);
274
284
  right: -100%;
275
285
  left: unset;
276
286
  }
@@ -285,7 +295,7 @@ p .mint-pill {
285
295
  bottom: 0;
286
296
  }
287
297
  #mint-header.mint-left #mint-wrapper {
288
- top: var(--mint-height);
298
+ top: var(--mint-header-height);
289
299
  left: -100%;
290
300
  }
291
301
  #mint-header.mint-left #mint-wrapper.mint-open {
@@ -297,7 +307,7 @@ p .mint-pill {
297
307
  top: 0;
298
308
  left: 0;
299
309
  width: 100%;
300
- height: var(--mint-height);
310
+ height: var(--mint-header-height);
301
311
  background: var(--mint-header-bg);
302
312
  z-index: -1;
303
313
  }
@@ -314,15 +324,26 @@ p .mint-pill {
314
324
  #mint-header a, #mint-header button {
315
325
  display: flex;
316
326
  align-items: center;
317
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
327
+ width: 100%;
328
+ margin: 0;
329
+ border: 0;
330
+ color: var(--mint-header-fg);
331
+ background: var(--mint-trans);
332
+ }
333
+ #mint-header h1 {
334
+ display: flex;
335
+ white-space: nowrap;
336
+ margin: 0;
337
+ }
338
+ #mint-header .mint-logo {
339
+ text-decoration: none;
340
+ }
341
+ #mint-header .mint-logo img {
342
+ max-width: var(--mint-header-height);
318
343
  }
319
344
  #mint-header [aria-controls=mint-wrapper] {
320
345
  display: none;
321
346
  }
322
- #mint-header #mint-logo {
323
- margin: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
324
- padding: 0;
325
- }
326
347
  #mint-header #mint-wrapper {
327
348
  display: flex;
328
349
  flex-direction: column;
@@ -330,18 +351,18 @@ p .mint-pill {
330
351
  top: -100%;
331
352
  left: 0;
332
353
  width: 100%;
333
- height: calc(100vh - var(--mint-height));
354
+ height: calc(100vh - var(--mint-header-height));
334
355
  transition: none;
335
356
  z-index: -2;
336
357
  }
337
358
  #mint-header #mint-wrapper.mint-open {
338
- top: var(--mint-height);
359
+ top: var(--mint-header-height);
339
360
  }
340
361
  #mint-header #mint-widgets {
341
362
  position: absolute;
342
363
  top: 0;
343
364
  right: 0;
344
- height: var(--mint-height);
365
+ height: var(--mint-header-height);
345
366
  }
346
367
  #mint-header .mint-dropdown {
347
368
  background: var(--mint-header-bg);
@@ -350,12 +371,12 @@ p .mint-pill {
350
371
  display: flex;
351
372
  align-items: center;
352
373
  justify-content: center;
353
- min-width: var(--mint-height);
354
- height: var(--mint-height);
355
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
374
+ min-width: var(--mint-header-height);
375
+ height: var(--mint-header-height);
376
+ padding: calc(var(--mint-header-height) / 2);
356
377
  }
357
378
  #mint-header .mint-dropdown li {
358
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
379
+ padding: calc(var(--mint-header-height) / 2);
359
380
  line-height: 1;
360
381
  cursor: pointer;
361
382
  }
@@ -461,10 +482,6 @@ html, body {
461
482
  color: var(--mint-fore);
462
483
  background-color: var(--mint-back);
463
484
  overflow-x: hidden;
464
- }
465
-
466
- html, body, main {
467
- width: 100%;
468
485
  min-height: 100vh;
469
486
  margin: 0;
470
487
  padding: 0;
@@ -474,8 +491,21 @@ main {
474
491
  display: flex;
475
492
  flex-direction: column;
476
493
  position: relative;
494
+ width: 100%;
495
+ min-height: calc(100vh - var(--mint-header-height));
477
496
  z-index: 1000;
478
497
  }
498
+ main > router-outlet + * {
499
+ width: 100%;
500
+ flex-grow: 1;
501
+ }
502
+ main router-outlet {
503
+ flex-grow: 0;
504
+ }
505
+
506
+ app-root {
507
+ display: block;
508
+ }
479
509
 
480
510
  nav a {
481
511
  display: block;
@@ -518,6 +548,23 @@ img {
518
548
  box-shadow: none !important;
519
549
  }
520
550
 
551
+ .mint-sr-only {
552
+ position: absolute !important;
553
+ width: 1px !important;
554
+ height: 1px !important;
555
+ padding: 0 !important;
556
+ margin: -1px !important;
557
+ overflow: hidden !important;
558
+ clip: rect(0, 0, 0, 0) !important;
559
+ border: 0 !important;
560
+ }
561
+
562
+ .mint-list {
563
+ list-style: none;
564
+ margin: 0;
565
+ padding: 0;
566
+ }
567
+
521
568
  .mint-pad {
522
569
  padding: 1rem;
523
570
  }
@@ -794,8 +841,45 @@ section.mint-bigger {
794
841
  text-align: center;
795
842
  }
796
843
 
844
+ .mint-grid {
845
+ display: grid;
846
+ grid-template-columns: 1fr;
847
+ gap: 2rem;
848
+ margin: 2rem 0;
849
+ }
850
+ @media (min-width: 768px) {
851
+ .mint-grid.mint-2 {
852
+ grid-template-columns: repeat(2, 1fr);
853
+ }
854
+ }
855
+ @media (min-width: 768px) {
856
+ .mint-grid.mint-3 {
857
+ grid-template-columns: repeat(2, 1fr);
858
+ }
859
+ }
860
+ @media (min-width: 1200px) {
861
+ .mint-grid.mint-3 {
862
+ grid-template-columns: repeat(3, 1fr);
863
+ }
864
+ }
865
+ @media (min-width: 768px) {
866
+ .mint-grid.mint-4 {
867
+ grid-template-columns: repeat(2, 1fr);
868
+ }
869
+ }
870
+ @media (min-width: 1200px) {
871
+ .mint-grid.mint-4 {
872
+ grid-template-columns: repeat(3, 1fr);
873
+ }
874
+ }
875
+ @media (min-width: 1440px) {
876
+ .mint-grid.mint-4 {
877
+ grid-template-columns: repeat(4, 1fr);
878
+ }
879
+ }
880
+
797
881
  html, body {
798
- font-family: "Palanquin", -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";
882
+ 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";
799
883
  font-size: 1rem;
800
884
  }
801
885
  @media (min-width: 1024px) {
@@ -809,32 +893,32 @@ p {
809
893
  }
810
894
 
811
895
  h1, .mint-h1 {
812
- font-family: "JosefinSans", -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";
896
+ font-family: 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";
813
897
  line-height: 1;
814
898
  }
815
899
 
816
900
  h2, .mint-h2 {
817
- font-family: "JosefinSans", -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";
901
+ font-family: 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";
818
902
  line-height: 1;
819
903
  }
820
904
 
821
905
  h3, .mint-h3 {
822
- font-family: "JosefinSans", -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";
906
+ font-family: 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";
823
907
  line-height: 1;
824
908
  }
825
909
 
826
910
  h4, .mint-h4 {
827
- font-family: "JosefinSans", -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";
911
+ font-family: 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";
828
912
  line-height: 1;
829
913
  }
830
914
 
831
915
  h5, .mint-h5 {
832
- font-family: "JosefinSans", -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";
916
+ font-family: 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";
833
917
  line-height: 1;
834
918
  }
835
919
 
836
920
  h6, .mint-h6 {
837
- font-family: "JosefinSans", -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";
921
+ font-family: 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";
838
922
  line-height: 1;
839
923
  }
840
924
 
@@ -962,14 +1046,14 @@ p, .mint-p {
962
1046
  --mint-shadow-4: rgba(0, 0, 0, 0.4);
963
1047
  --mint-shadow-5: rgba(0, 0, 0, 0.5);
964
1048
  --mint-shadow-6: rgba(0, 0, 0, 0.6);
965
- --mint-brand: #4682b4;
966
- --mint-brand-0: #b2cce1;
967
- --mint-brand-1: #8db3d3;
968
- --mint-brand-2: #699bc4;
969
- --mint-brand-3: #4682b4;
970
- --mint-brand-4: #38678f;
971
- --mint-brand-5: #294d6b;
972
- --mint-brand-6: #1b3246;
1049
+ --mint-brand: #bada55;
1050
+ --mint-brand-0: #edf5d3;
1051
+ --mint-brand-1: #dceca9;
1052
+ --mint-brand-2: #cbe37f;
1053
+ --mint-brand-3: #bada55;
1054
+ --mint-brand-4: #a8cf2d;
1055
+ --mint-brand-5: #86a524;
1056
+ --mint-brand-6: #647b1b;
973
1057
  --mint-accent: #483d8b;
974
1058
  --mint-accent-0: #9b92cf;
975
1059
  --mint-accent-1: #7a6ec0;
@@ -1002,14 +1086,14 @@ p, .mint-p {
1002
1086
  --mint-warning-4: #ee9200;
1003
1087
  --mint-warning-5: #bb7300;
1004
1088
  --mint-warning-6: #885400;
1005
- --mint-info: #4682b4;
1006
- --mint-info-0: #b2cce1;
1007
- --mint-info-1: #8db3d3;
1008
- --mint-info-2: #699bc4;
1009
- --mint-info-3: #4682b4;
1010
- --mint-info-4: #38678f;
1011
- --mint-info-5: #294d6b;
1012
- --mint-info-6: #1b3246;
1089
+ --mint-info: #bada55;
1090
+ --mint-info-0: #edf5d3;
1091
+ --mint-info-1: #dceca9;
1092
+ --mint-info-2: #cbe37f;
1093
+ --mint-info-3: #bada55;
1094
+ --mint-info-4: #a8cf2d;
1095
+ --mint-info-5: #86a524;
1096
+ --mint-info-6: #647b1b;
1013
1097
  }
1014
1098
 
1015
1099
  :root {
@@ -1095,8 +1179,5 @@ a:active .fa-ethereum, a.mint-active .fa-ethereum {
1095
1179
  a:active .fa-vimeo, a.mint-active .fa-vimeo {
1096
1180
  color: var(--mint-venmo);
1097
1181
  }
1098
- a i {
1099
- transition: color 500ms;
1100
- }
1101
1182
 
1102
1183
  /*# sourceMappingURL=mint.css.map*/