@appartmint/mint 0.9.0 → 0.9.2

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
@@ -1,6 +1,7 @@
1
1
  /*!**********************************************************************************************************************************************************************************************!*\
2
2
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/webpack-shebang-plugin/loader.js?{"shebangRegExp":{},"chmod":493}!./src/scss/mint.scss ***!
3
3
  \**********************************************************************************************************************************************************************************************/
4
+ @charset "UTF-8";
4
5
  .mint-bg {
5
6
  display: block;
6
7
  opacity: 0;
@@ -10,14 +11,24 @@
10
11
  }
11
12
 
12
13
  .mint-pill {
13
- display: inline-flex;
14
+ display: inline-block;
14
15
  align-items: center;
16
+ min-width: 5rem;
15
17
  padding: 0 0.75rem;
16
18
  border-radius: 1rem;
17
19
  color: var(--mint-fore);
18
20
  background: var(--mint-brand-5);
21
+ line-height: 2;
22
+ text-align: center;
19
23
  text-decoration: none;
24
+ text-overflow: ellipsis;
20
25
  white-space: nowrap;
26
+ overflow: hidden;
27
+ }
28
+ @media (min-width: 480px) {
29
+ .mint-pill {
30
+ width: auto;
31
+ }
21
32
  }
22
33
  .mint-pill:hover {
23
34
  color: var(--mint-back);
@@ -54,6 +65,46 @@
54
65
  outline-color: var(--mint-accent-2);
55
66
  }
56
67
 
68
+ .mint-buttons {
69
+ display: flex;
70
+ align-items: center;
71
+ justify-content: flex-start;
72
+ flex-wrap: wrap;
73
+ }
74
+ .mint-buttons.mint-center {
75
+ justify-content: center;
76
+ }
77
+ .mint-buttons.mint-end {
78
+ justify-content: flex-end;
79
+ }
80
+ .mint-buttons.mint-between {
81
+ justify-content: space-between;
82
+ }
83
+ .mint-buttons.mint-around {
84
+ justify-content: space-around;
85
+ }
86
+ .mint-buttons.mint-even {
87
+ justify-content: space-evenly;
88
+ }
89
+ .mint-buttons > * {
90
+ width: 100%;
91
+ margin: 0.5rem 0;
92
+ }
93
+ @media (min-width: 480px) {
94
+ .mint-buttons > * {
95
+ width: auto;
96
+ margin: 0.5rem;
97
+ }
98
+ }
99
+ .mint-buttons .mint-buttons .mint-pill {
100
+ width: 100%;
101
+ }
102
+
103
+ p .mint-pill {
104
+ line-height: 1.5rem;
105
+ vertical-align: middle;
106
+ }
107
+
57
108
  .mint-card {
58
109
  display: flex;
59
110
  flex-direction: column;
@@ -80,7 +131,7 @@
80
131
  box-shadow: none;
81
132
  overflow: visible;
82
133
  }
83
- .mint-card.mint-stagger .mint-image {
134
+ .mint-card.mint-stagger > .mint-image, .mint-card.mint-stagger > mint-image .mint-image {
84
135
  position: absolute;
85
136
  top: 0;
86
137
  left: 0;
@@ -89,11 +140,11 @@
89
140
  border-radius: 1rem;
90
141
  box-shadow: 0 0 2rem -0.5rem var(--mint-glow-2);
91
142
  }
92
- .mint-card.mint-stagger .mint-image img {
143
+ .mint-card.mint-stagger > .mint-image img, .mint-card.mint-stagger > mint-image .mint-image img {
93
144
  height: 100%;
94
145
  object-fit: cover;
95
146
  }
96
- .mint-card.mint-stagger .mint-content {
147
+ .mint-card.mint-stagger > .mint-content {
97
148
  width: calc(50% + 3rem);
98
149
  margin-top: 3rem;
99
150
  border-radius: 1rem;
@@ -104,7 +155,7 @@
104
155
  .mint-card.mint-stagger.mint-reverse {
105
156
  flex-direction: row;
106
157
  }
107
- .mint-card.mint-stagger.mint-reverse .mint-image {
158
+ .mint-card.mint-stagger.mint-reverse > .mint-image, .mint-card.mint-stagger.mint-reverse > mint-image .mint-image {
108
159
  left: auto;
109
160
  right: 0;
110
161
  }
@@ -112,17 +163,14 @@
112
163
  .mint-card > .mint-image:only-child, .mint-card > mint-image:only-child .mint-image {
113
164
  width: 100%;
114
165
  }
115
- .mint-card .mint-image {
166
+ .mint-card > .mint-image, .mint-card > mint-image .mint-image {
116
167
  overflow: hidden;
117
168
  }
118
169
  @media (min-width: 768px) {
119
- .mint-card .mint-image {
170
+ .mint-card > .mint-image, .mint-card > mint-image .mint-image {
120
171
  width: 50%;
121
172
  }
122
173
  }
123
- .mint-card .mint-image img {
124
- display: block;
125
- }
126
174
  .mint-card .mint-content {
127
175
  padding: 1.5rem;
128
176
  background: var(--mint-black-2);
@@ -138,35 +186,34 @@
138
186
  .mint-card .mint-content :last-child {
139
187
  margin-bottom: 0;
140
188
  }
141
- .mint-card .mint-content .mint-buttons {
189
+ .mint-card .mint-content .mint-title {
142
190
  display: flex;
143
191
  align-items: center;
192
+ justify-content: flex-start;
144
193
  }
145
- .mint-card .mint-content .mint-buttons > * {
146
- margin-right: 0.5rem;
194
+ .mint-card .mint-content .mint-title > .mint-image, .mint-card .mint-content .mint-title > mint-image {
195
+ width: 100%;
196
+ height: 100%;
197
+ max-width: 4rem;
198
+ max-height: 4rem;
199
+ margin-right: 1rem;
147
200
  }
148
- .mint-card .mint-content .mint-buttons :last-child {
149
- margin-right: 0;
201
+ .mint-card .mint-content .mint-title > .mint-image img, .mint-card .mint-content .mint-title > mint-image img {
202
+ display: block;
203
+ width: 100%;
204
+ height: 100%;
150
205
  }
151
-
152
- :root {
153
- --mint-delay-instant: 0ms;
154
- --mint-delay-fast: 100ms;
155
- --mint-delay-med-fast: 200ms;
156
- --mint-delay-default: 300ms;
157
- --mint-delay-med-slow: 400ms;
158
- --mint-delay-slow: 500ms;
206
+ .mint-card .mint-content .mint-title div {
207
+ width: 100%;
208
+ }
209
+ .mint-card .mint-content .mint-title div > * {
210
+ margin: 0;
159
211
  }
160
212
 
161
- .mint-sr-only {
162
- position: absolute !important;
163
- width: 1px !important;
164
- height: 1px !important;
165
- padding: 0 !important;
166
- margin: -1px !important;
167
- overflow: hidden !important;
168
- clip: rect(0, 0, 0, 0) !important;
169
- border: 0 !important;
213
+ :root {
214
+ --mint-header-height: 4rem;
215
+ --mint-header-bg: var(--mint-brand-4);
216
+ --mint-header-fg: var(--mint-back);
170
217
  }
171
218
 
172
219
  #mint-header {
@@ -174,15 +221,15 @@
174
221
  flex-direction: column;
175
222
  position: relative;
176
223
  width: 100%;
177
- color: var(--mint-fg);
224
+ color: var(--mint-header-fg);
178
225
  background-color: var(--mint-header-bg);
179
226
  z-index: 1000;
180
227
  }
181
228
  #mint-header.mint-js {
182
229
  align-items: center;
183
230
  flex-direction: row;
184
- height: var(--mint-height);
185
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
231
+ height: var(--mint-header-height);
232
+ padding: calc(var(--mint-header-height) / 2);
186
233
  }
187
234
  #mint-header.mint-js [aria-controls=mint-wrapper] {
188
235
  display: inline-block;
@@ -209,7 +256,7 @@
209
256
  overflow: auto;
210
257
  }
211
258
  #mint-header.mint-right #mint-wrapper {
212
- top: var(--mint-height);
259
+ top: var(--mint-header-height);
213
260
  right: -100%;
214
261
  left: unset;
215
262
  }
@@ -224,7 +271,7 @@
224
271
  bottom: 0;
225
272
  }
226
273
  #mint-header.mint-left #mint-wrapper {
227
- top: var(--mint-height);
274
+ top: var(--mint-header-height);
228
275
  left: -100%;
229
276
  }
230
277
  #mint-header.mint-left #mint-wrapper.mint-open {
@@ -236,7 +283,7 @@
236
283
  top: 0;
237
284
  left: 0;
238
285
  width: 100%;
239
- height: var(--mint-height);
286
+ height: var(--mint-header-height);
240
287
  background: var(--mint-header-bg);
241
288
  z-index: -1;
242
289
  }
@@ -253,15 +300,26 @@
253
300
  #mint-header a, #mint-header button {
254
301
  display: flex;
255
302
  align-items: center;
256
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
303
+ width: 100%;
304
+ margin: 0;
305
+ border: 0;
306
+ color: var(--mint-header-fg);
307
+ background: var(--mint-trans);
308
+ }
309
+ #mint-header h1 {
310
+ display: flex;
311
+ white-space: nowrap;
312
+ margin: 0;
313
+ }
314
+ #mint-header .mint-logo {
315
+ text-decoration: none;
316
+ }
317
+ #mint-header .mint-logo img {
318
+ max-width: var(--mint-header-height);
257
319
  }
258
320
  #mint-header [aria-controls=mint-wrapper] {
259
321
  display: none;
260
322
  }
261
- #mint-header #mint-logo {
262
- margin: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
263
- padding: 0;
264
- }
265
323
  #mint-header #mint-wrapper {
266
324
  display: flex;
267
325
  flex-direction: column;
@@ -269,18 +327,18 @@
269
327
  top: -100%;
270
328
  left: 0;
271
329
  width: 100%;
272
- height: calc(100vh - var(--mint-height));
330
+ height: calc(100vh - var(--mint-header-height));
273
331
  transition: none;
274
332
  z-index: -2;
275
333
  }
276
334
  #mint-header #mint-wrapper.mint-open {
277
- top: var(--mint-height);
335
+ top: var(--mint-header-height);
278
336
  }
279
337
  #mint-header #mint-widgets {
280
338
  position: absolute;
281
339
  top: 0;
282
340
  right: 0;
283
- height: var(--mint-height);
341
+ height: var(--mint-header-height);
284
342
  }
285
343
  #mint-header .mint-dropdown {
286
344
  background: var(--mint-header-bg);
@@ -289,16 +347,31 @@
289
347
  display: flex;
290
348
  align-items: center;
291
349
  justify-content: center;
292
- min-width: var(--mint-height);
293
- height: var(--mint-height);
294
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
350
+ min-width: var(--mint-header-height);
351
+ height: var(--mint-header-height);
352
+ padding: calc(var(--mint-header-height) / 2);
295
353
  }
296
354
  #mint-header .mint-dropdown li {
297
- padding: calc((var(--mint-height) - var(--mint-btn-height)) / 2);
355
+ padding: calc(var(--mint-header-height) / 2);
298
356
  line-height: 1;
299
357
  cursor: pointer;
300
358
  }
301
359
 
360
+ .mint-image.mint-error::after {
361
+ content: "❌ Image failed to load. This is a placeholder.";
362
+ position: absolute;
363
+ bottom: 0;
364
+ left: 0;
365
+ width: 100%;
366
+ padding: 0 0.5rem 0.5rem 0.5rem;
367
+ background: rgba(0, 0, 0, 0.4);
368
+ box-shadow: 0 0 0.5rem 0.5rem rgba(0, 0, 0, 0.4);
369
+ text-align: center;
370
+ }
371
+ .mint-image img {
372
+ display: block;
373
+ }
374
+
302
375
  @keyframes instafade {
303
376
  0% {
304
377
  color: var(--mint-instagram-0);
@@ -334,7 +407,7 @@
334
407
  .mint-fall-in {
335
408
  opacity: 0;
336
409
  transform: translateY(-100px);
337
- transition: all 500ms, box-shadow 500ms 400ms !important;
410
+ transition: all 500ms ease-out, box-shadow 500ms 400ms ease-out !important;
338
411
  pointer-events: none;
339
412
  }
340
413
  .mint-fall-in.mint-show:not(.mint-loading) {
@@ -374,7 +447,7 @@
374
447
  height: 100%;
375
448
  transform: translate(-100%, 100%);
376
449
  background: linear-gradient(45deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
377
- transition: transform 200ms ease-in;
450
+ transition: transform 200ms ease-out;
378
451
  }
379
452
 
380
453
  *, *::before, *::after {
@@ -418,7 +491,7 @@ nav ul > li > ul {
418
491
  a[href^="mailto:"], a[href^="tel:"], a[href^="sms:"] {
419
492
  white-space: nowrap;
420
493
  }
421
- a i {
494
+ a i:last-child {
422
495
  margin-left: 0.25rem;
423
496
  }
424
497
 
@@ -442,6 +515,17 @@ img {
442
515
  box-shadow: none !important;
443
516
  }
444
517
 
518
+ .mint-sr-only {
519
+ position: absolute !important;
520
+ width: 1px !important;
521
+ height: 1px !important;
522
+ padding: 0 !important;
523
+ margin: -1px !important;
524
+ overflow: hidden !important;
525
+ clip: rect(0, 0, 0, 0) !important;
526
+ border: 0 !important;
527
+ }
528
+
445
529
  .mint-pad {
446
530
  padding: 1rem;
447
531
  }
@@ -719,7 +803,7 @@ section.mint-bigger {
719
803
  }
720
804
 
721
805
  html, body {
722
- 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";
806
+ 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";
723
807
  font-size: 1rem;
724
808
  }
725
809
  @media (min-width: 1024px) {
@@ -728,28 +812,38 @@ html, body {
728
812
  }
729
813
  }
730
814
 
815
+ p {
816
+ line-height: 1.75;
817
+ }
818
+
731
819
  h1, .mint-h1 {
732
- 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";
820
+ 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";
821
+ line-height: 1;
733
822
  }
734
823
 
735
824
  h2, .mint-h2 {
736
- 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";
825
+ 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";
826
+ line-height: 1;
737
827
  }
738
828
 
739
829
  h3, .mint-h3 {
740
- 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";
830
+ 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";
831
+ line-height: 1;
741
832
  }
742
833
 
743
834
  h4, .mint-h4 {
744
- 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";
835
+ 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";
836
+ line-height: 1;
745
837
  }
746
838
 
747
839
  h5, .mint-h5 {
748
- 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";
840
+ 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";
841
+ line-height: 1;
749
842
  }
750
843
 
751
844
  h6, .mint-h6 {
752
- 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";
845
+ 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";
846
+ line-height: 1;
753
847
  }
754
848
 
755
849
  h1, .mint-h1 {
@@ -876,14 +970,14 @@ p, .mint-p {
876
970
  --mint-shadow-4: rgba(0, 0, 0, 0.4);
877
971
  --mint-shadow-5: rgba(0, 0, 0, 0.5);
878
972
  --mint-shadow-6: rgba(0, 0, 0, 0.6);
879
- --mint-brand: #4682b4;
880
- --mint-brand-0: #b2cce1;
881
- --mint-brand-1: #8db3d3;
882
- --mint-brand-2: #699bc4;
883
- --mint-brand-3: #4682b4;
884
- --mint-brand-4: #38678f;
885
- --mint-brand-5: #294d6b;
886
- --mint-brand-6: #1b3246;
973
+ --mint-brand: #bada55;
974
+ --mint-brand-0: #edf5d3;
975
+ --mint-brand-1: #dceca9;
976
+ --mint-brand-2: #cbe37f;
977
+ --mint-brand-3: #bada55;
978
+ --mint-brand-4: #a8cf2d;
979
+ --mint-brand-5: #86a524;
980
+ --mint-brand-6: #647b1b;
887
981
  --mint-accent: #483d8b;
888
982
  --mint-accent-0: #9b92cf;
889
983
  --mint-accent-1: #7a6ec0;
@@ -916,14 +1010,14 @@ p, .mint-p {
916
1010
  --mint-warning-4: #ee9200;
917
1011
  --mint-warning-5: #bb7300;
918
1012
  --mint-warning-6: #885400;
919
- --mint-info: #4682b4;
920
- --mint-info-0: #b2cce1;
921
- --mint-info-1: #8db3d3;
922
- --mint-info-2: #699bc4;
923
- --mint-info-3: #4682b4;
924
- --mint-info-4: #38678f;
925
- --mint-info-5: #294d6b;
926
- --mint-info-6: #1b3246;
1013
+ --mint-info: #bada55;
1014
+ --mint-info-0: #edf5d3;
1015
+ --mint-info-1: #dceca9;
1016
+ --mint-info-2: #cbe37f;
1017
+ --mint-info-3: #bada55;
1018
+ --mint-info-4: #a8cf2d;
1019
+ --mint-info-5: #86a524;
1020
+ --mint-info-6: #647b1b;
927
1021
  }
928
1022
 
929
1023
  :root {
@@ -1009,8 +1103,5 @@ a:active .fa-ethereum, a.mint-active .fa-ethereum {
1009
1103
  a:active .fa-vimeo, a.mint-active .fa-vimeo {
1010
1104
  color: var(--mint-venmo);
1011
1105
  }
1012
- a i {
1013
- transition: color 500ms;
1014
- }
1015
1106
 
1016
1107
  /*# sourceMappingURL=mint.css.map*/