@appartmint/css-mint 0.0.40 → 1.0.0
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/amplify.css +634 -0
- package/dist/amplify.css.map +1 -0
- package/dist/amplify.min.css +1 -0
- package/dist/amplify.min.css.map +1 -0
- package/dist/angular.css +49 -0
- package/dist/angular.css.map +1 -0
- package/dist/angular.min.css +1 -0
- package/dist/angular.min.css.map +1 -0
- package/dist/full-calendar.css +43 -0
- package/dist/full-calendar.css.map +1 -0
- package/dist/full-calendar.min.css +1 -0
- package/dist/full-calendar.min.css.map +1 -0
- package/dist/index.css +3845 -0
- package/dist/index.css.map +1 -0
- package/dist/index.min.css +1 -0
- package/dist/index.min.css.map +1 -0
- package/dist/noscript.css +5 -0
- package/dist/noscript.css.map +1 -0
- package/dist/noscript.min.css +1 -0
- package/dist/noscript.min.css.map +1 -0
- package/dist/recaptcha.css +5 -0
- package/dist/recaptcha.css.map +1 -0
- package/dist/recaptcha.min.css +1 -0
- package/dist/recaptcha.min.css.map +1 -0
- package/dist/swiper.css +35 -0
- package/dist/swiper.css.map +1 -0
- package/dist/swiper.min.css +1 -0
- package/dist/swiper.min.css.map +1 -0
- package/package.json +11 -4
- package/src/components/form/edit-info.scss +27 -0
- package/src/components/form/index.scss +1 -0
- package/src/components/form/input/array.scss +24 -0
- package/src/components/form/input/checkbox.scss +0 -0
- package/src/components/form/input/dropdown.scss +20 -0
- package/src/components/form/input/global.scss +18 -0
- package/src/components/form/input/index.scss +8 -0
- package/src/components/form/input/input.scss +13 -0
- package/src/components/form/input/label.scss +31 -0
- package/src/components/form/input/select.scss +15 -0
- package/src/components/form/input/textarea.scss +10 -0
- package/src/components/form/input/toggle.scss +21 -13
- package/src/components/index.scss +1 -0
- package/src/components/partial/background.scss +43 -0
- package/src/components/partial/chat.scss +130 -0
- package/src/components/partial/footer.scss +169 -0
- package/src/components/partial/header.scss +484 -0
- package/src/components/partial/index.scss +4 -0
- package/src/components/section/flex.scss +64 -0
- package/src/components/section/full.scss +40 -0
- package/src/components/section/grid.scss +130 -2
- package/src/components/section/index.scss +3 -0
- package/src/components/section/landing.scss +52 -0
- package/src/components/ui/icon.scss +73 -0
- package/src/components/ui/index.scss +4 -1
- package/src/components/ui/link.scss +33 -0
- package/src/components/ui/list.scss +32 -0
- package/src/components/ui/media/embed.scss +9 -0
- package/src/components/ui/media/global.scss +13 -0
- package/src/components/ui/{image.scss → media/image.scss} +2 -2
- package/src/components/ui/media/index.scss +3 -0
- package/src/components/widget/index.scss +2 -0
- package/src/components/widget/{_panel.scss → panel.scss} +16 -16
- package/src/components/widget/{_table.scss → table.scss} +5 -7
- package/src/global/animations.scss +214 -0
- package/src/global/global.scss +75 -0
- package/src/global/index.scss +7 -1
- package/src/global/mask.scss +11 -1
- package/src/global/shadow.scss +20 -0
- package/src/global/structure.scss +101 -0
- package/src/global/text.scss +93 -0
- package/src/global/texture.scss +154 -0
- package/src/global/themes.scss +26 -0
- package/src/modules/amplify.scss +44 -0
- package/src/modules/angular.scss +67 -0
- package/src/modules/full-calendar.scss +60 -0
- package/src/modules/noscript.scss +12 -0
- package/src/modules/recaptcha.scss +15 -0
- package/src/modules/swiper.scss +59 -0
- package/src/themes/colors.scss +19 -1
- package/src/themes/index.scss +0 -1
- package/src/themes/structure.scss +1 -2
- package/src/util/break.scss +6 -6
- package/src/util/color.scss +3 -1
- package/src/util/text.scss +1 -0
- package/src/components/widget/_tooltip.scss +0 -106
- package/src/global/size.scss +0 -15
- package/src/themes/fonts.scss +0 -18
|
@@ -0,0 +1,484 @@
|
|
|
1
|
+
/// header.scss - Header styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Section
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../../util/break' as *;
|
|
9
|
+
@use '../../util/selector' as *;
|
|
10
|
+
@use '../../util/time' as *;
|
|
11
|
+
|
|
12
|
+
$header-break: sm;
|
|
13
|
+
|
|
14
|
+
:root {
|
|
15
|
+
@include css-var(header-h, 4rem);
|
|
16
|
+
@include css-var-ref(header-bg, c-brand-2);
|
|
17
|
+
@include css-var-ref(header-fg, c-fg);
|
|
18
|
+
@include css-var-ref(header-link-br, br);
|
|
19
|
+
@include css-var-ref(header-link-fg, c-fg);
|
|
20
|
+
@include css-var-ref(header-link-fg-hover, c-bg);
|
|
21
|
+
@include css-var-ref(header-link-bg-hover, c-shadow-5);
|
|
22
|
+
|
|
23
|
+
@include css-var(menu-bar-h, 0.4rem);
|
|
24
|
+
@include css-var(menu-bar-w, calc(css-var(menu-bar-h) * 8));
|
|
25
|
+
@include css-var(menu-btn-br, br);
|
|
26
|
+
@include css-var(menu-btn-p, calc(css-var(menu-bar-h) * 1.5));
|
|
27
|
+
@include css-var(menu-btn-fg, c-fg);
|
|
28
|
+
@include css-var(menu-btn-fg-hover, header-link-fg-hover);
|
|
29
|
+
@include css-var(menu-btn-bg, c-shadow-6);
|
|
30
|
+
@include css-var(menu-btn-bg-hover, header-link-bg-hover);
|
|
31
|
+
@include css-var(menu-btn-shadow-c, c-shadow-c);
|
|
32
|
+
@include css-var(menu-btn-shadow-s, c-shadow-s);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#{class(theme)} {
|
|
36
|
+
&-dark {
|
|
37
|
+
@include css-var-ref(header-bg, c-brand-4);
|
|
38
|
+
@include css-var-ref(header-link-bg-hover, c-glow-5);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
body {
|
|
43
|
+
&#{class(fixed)} {
|
|
44
|
+
#{id(header)} {
|
|
45
|
+
position: fixed;
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
#{id(header)} {
|
|
53
|
+
position: relative;
|
|
54
|
+
width: 100%;
|
|
55
|
+
color: css-var(header-fg);
|
|
56
|
+
background-color: css-var(header-bg);
|
|
57
|
+
z-index: 1000;
|
|
58
|
+
height: css-var(header-h);
|
|
59
|
+
|
|
60
|
+
&#{class(expand)} {
|
|
61
|
+
@include break($header-break) {
|
|
62
|
+
#{class(buttons)} {
|
|
63
|
+
width: auto;
|
|
64
|
+
|
|
65
|
+
#{controls(wrapper)} {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#{id(wrapper)} {
|
|
71
|
+
position: static;
|
|
72
|
+
display: flex !important;
|
|
73
|
+
height: 100%;
|
|
74
|
+
max-width: unset !important;
|
|
75
|
+
padding: 0;
|
|
76
|
+
z-index: 0;
|
|
77
|
+
|
|
78
|
+
&,
|
|
79
|
+
& nav {
|
|
80
|
+
height: css-var(header-h);
|
|
81
|
+
background: css-var(glow-0) !important;
|
|
82
|
+
overflow: visible;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
nav {
|
|
86
|
+
border: none;
|
|
87
|
+
|
|
88
|
+
&::before {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&>ul {
|
|
93
|
+
flex-direction: row !important;
|
|
94
|
+
justify-content: flex-end;
|
|
95
|
+
flex-wrap: nowrap;
|
|
96
|
+
overflow: visible;
|
|
97
|
+
|
|
98
|
+
&>li {
|
|
99
|
+
position: relative;
|
|
100
|
+
display: flex;
|
|
101
|
+
width: 100%;
|
|
102
|
+
max-width: 200px;
|
|
103
|
+
text-align: center;
|
|
104
|
+
|
|
105
|
+
button,
|
|
106
|
+
ul {
|
|
107
|
+
width: 100%;
|
|
108
|
+
max-width: 200px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
button {
|
|
112
|
+
font-size: 1.5rem;
|
|
113
|
+
|
|
114
|
+
$arrow-size: 1rem;
|
|
115
|
+
$arrow-margin: 1rem;
|
|
116
|
+
padding-right: $arrow-margin + $arrow-size;
|
|
117
|
+
|
|
118
|
+
&::after {
|
|
119
|
+
content: '\f054';
|
|
120
|
+
font-family: 'Font Awesome 6 Pro';
|
|
121
|
+
font-weight: 900;
|
|
122
|
+
font-size: $arrow-size;
|
|
123
|
+
position: absolute;
|
|
124
|
+
top: 50%;
|
|
125
|
+
transform: translateY(-50%);
|
|
126
|
+
margin-left: $arrow-margin;
|
|
127
|
+
transition: transform time(default);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@include states(hover, focus, expanded) {
|
|
131
|
+
&::after {
|
|
132
|
+
transform: translateY(-50%) rotate(90deg);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
ul {
|
|
138
|
+
position: absolute;
|
|
139
|
+
top: 100%;
|
|
140
|
+
left: 50%;
|
|
141
|
+
transform: translateX(-50%);
|
|
142
|
+
background-color: css-var(header-bg);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
a {
|
|
149
|
+
font-size: 1.25rem;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
a, button {
|
|
153
|
+
margin: 0.25rem 0;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&#{class(spread)} {
|
|
160
|
+
@include break-max($header-break) {
|
|
161
|
+
#{id(wrapper)} {
|
|
162
|
+
#{$has-controls} {
|
|
163
|
+
display: none;
|
|
164
|
+
|
|
165
|
+
&+ul {
|
|
166
|
+
display: flex !important;
|
|
167
|
+
height: auto !important;
|
|
168
|
+
margin-bottom: 3rem;
|
|
169
|
+
|
|
170
|
+
&>li:first-child {
|
|
171
|
+
font-size: 1.5em;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&:not(#{class(expand)}) {
|
|
179
|
+
#{id(wrapper)} {
|
|
180
|
+
#{$has-controls} {
|
|
181
|
+
display: none;
|
|
182
|
+
|
|
183
|
+
&+ul {
|
|
184
|
+
display: flex !important;
|
|
185
|
+
height: auto !important;
|
|
186
|
+
margin-bottom: 3rem;
|
|
187
|
+
overflow: visible;
|
|
188
|
+
|
|
189
|
+
&>li:first-child {
|
|
190
|
+
font-size: 1.5em;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
#{class(tray)} {
|
|
199
|
+
#{id(wrapper)} {
|
|
200
|
+
|
|
201
|
+
a, button {
|
|
202
|
+
padding: 0.75rem;
|
|
203
|
+
margin: 0.25rem 0;
|
|
204
|
+
line-height: 1;
|
|
205
|
+
font-size: 2em;
|
|
206
|
+
width: 100%;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
button {
|
|
210
|
+
font-size: 3em;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
nav {
|
|
214
|
+
&>ul {
|
|
215
|
+
flex-direction: column;
|
|
216
|
+
flex-wrap: nowrap;
|
|
217
|
+
justify-content: flex-start;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
li {
|
|
221
|
+
width: 100%;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
&:not(#{class(border)}) {
|
|
228
|
+
&::before {
|
|
229
|
+
content: '';
|
|
230
|
+
position: absolute;
|
|
231
|
+
top: 0;
|
|
232
|
+
left: 0;
|
|
233
|
+
width: 100%;
|
|
234
|
+
background: css-var(header-bg);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&::before {
|
|
239
|
+
height: css-var(header-h);
|
|
240
|
+
z-index: -1;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
#{id(navbar)} {
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
justify-content: flex-end;
|
|
247
|
+
height: 100%;
|
|
248
|
+
|
|
249
|
+
& > :not(#{class(buttons)}) {
|
|
250
|
+
a {
|
|
251
|
+
color: css-var(header-link-fg);
|
|
252
|
+
text-decoration: none;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
#{class(logo)} {
|
|
258
|
+
display: flex;
|
|
259
|
+
align-items: center;
|
|
260
|
+
gap: 1rem;
|
|
261
|
+
width: auto;
|
|
262
|
+
height: css-var(header-h);
|
|
263
|
+
padding: 0.25rem;
|
|
264
|
+
text-decoration: none;
|
|
265
|
+
white-space: nowrap;
|
|
266
|
+
|
|
267
|
+
span {
|
|
268
|
+
display: none;
|
|
269
|
+
margin: 0;
|
|
270
|
+
|
|
271
|
+
@include break(xs) {
|
|
272
|
+
display: inline;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
img {
|
|
277
|
+
width: auto;
|
|
278
|
+
height: 100%;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
#{controls(wrapper)} {
|
|
283
|
+
display: inline-block;
|
|
284
|
+
position: relative;
|
|
285
|
+
padding: css-var(menu-btn-p);
|
|
286
|
+
width: calc(css-var(menu-bar-w) + css-var(menu-btn-p) * 2);
|
|
287
|
+
height: calc(css-var(menu-btn-h) + css-var(menu-btn-p) * 2);
|
|
288
|
+
border-radius: css-var(menu-btn-br);
|
|
289
|
+
background: css-var(menu-btn-bg);
|
|
290
|
+
box-shadow: css-var(menu-btn-shadow-s) css-var(menu-btn-shadow-c);
|
|
291
|
+
z-index: 1000;
|
|
292
|
+
|
|
293
|
+
@include states(hover) {
|
|
294
|
+
background: css-var(menu-btn-bg-hover);
|
|
295
|
+
|
|
296
|
+
#{class(menu-icon)} {
|
|
297
|
+
|
|
298
|
+
&,
|
|
299
|
+
&::before,
|
|
300
|
+
&::after {
|
|
301
|
+
background-color: css-var(menu-btn-fg-hover);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
#{class(menu-icon)} {
|
|
307
|
+
top: 50%;
|
|
308
|
+
left: 50%;
|
|
309
|
+
transform: translate(-50%, -50%);
|
|
310
|
+
|
|
311
|
+
&,
|
|
312
|
+
&::before,
|
|
313
|
+
&::after {
|
|
314
|
+
content: '';
|
|
315
|
+
display: block;
|
|
316
|
+
position: absolute;
|
|
317
|
+
left: 50%;
|
|
318
|
+
height: css-var(menu-bar-h);
|
|
319
|
+
width: css-var(menu-bar-w);
|
|
320
|
+
background-color: css-var(menu-bar-fg);
|
|
321
|
+
transition: time(default);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
&::before {
|
|
325
|
+
transform: translate(-50%, -200%);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
&::after {
|
|
329
|
+
transform: translate(-50%, 200%);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
&#{expanded(true)} {
|
|
334
|
+
#{class(menu-icon)} {
|
|
335
|
+
background: transparent;
|
|
336
|
+
|
|
337
|
+
&::before {
|
|
338
|
+
transform: translate(-50%, 0) rotate(45deg);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
&::after {
|
|
342
|
+
transform: translate(-50%, 0) rotate(-45deg);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
#{id(wrapper)} {
|
|
349
|
+
nav {
|
|
350
|
+
flex-grow: 1;
|
|
351
|
+
height: auto;
|
|
352
|
+
overflow: visible;
|
|
353
|
+
background: css-var(bg);
|
|
354
|
+
|
|
355
|
+
@include break(xl) {
|
|
356
|
+
display: flex;
|
|
357
|
+
align-items: center;
|
|
358
|
+
justify-content: center;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
&> :last-child {
|
|
362
|
+
margin-bottom: 0;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
&>ul {
|
|
366
|
+
display: flex;
|
|
367
|
+
flex-direction: column;
|
|
368
|
+
height: 100%;
|
|
369
|
+
overflow: visible;
|
|
370
|
+
|
|
371
|
+
@include break(md) {
|
|
372
|
+
display: flex;
|
|
373
|
+
flex-direction: row;
|
|
374
|
+
flex-wrap: wrap;
|
|
375
|
+
align-items: center;
|
|
376
|
+
justify-content: space-evenly;
|
|
377
|
+
width: 100%;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
a {
|
|
383
|
+
display: flex;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
button {
|
|
387
|
+
border: none;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
a,
|
|
391
|
+
button {
|
|
392
|
+
align-items: center;
|
|
393
|
+
justify-content: center;
|
|
394
|
+
width: 100%;
|
|
395
|
+
padding: 0.5rem;
|
|
396
|
+
margin: 0.5rem 0;
|
|
397
|
+
border-radius: css-var(header-link-br);
|
|
398
|
+
font-family: css-var(font-text), css-var(font-backups) !important;
|
|
399
|
+
font-size: 3em;
|
|
400
|
+
text-align: center;
|
|
401
|
+
color: css-var(header-link-fg);
|
|
402
|
+
background: css-var(glow-0);
|
|
403
|
+
transition-property: color, background;
|
|
404
|
+
transition-duration: time(default);
|
|
405
|
+
|
|
406
|
+
@include break(xs) {
|
|
407
|
+
padding: 1rem 1.5rem;
|
|
408
|
+
|
|
409
|
+
i {
|
|
410
|
+
font-size: 0.5em;
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
@include states(hover, focus) {
|
|
415
|
+
background-color: css-var(header-link-bg-hover);
|
|
416
|
+
color: css-var(header-link-fg-hover);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
@include states(mint-active) {
|
|
420
|
+
text-decoration: underline;
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
ul {
|
|
425
|
+
list-style: none;
|
|
426
|
+
margin-top: 0;
|
|
427
|
+
margin-bottom: 1rem;
|
|
428
|
+
padding-left: 0;
|
|
429
|
+
|
|
430
|
+
li {
|
|
431
|
+
&:last-child {
|
|
432
|
+
margin-bottom: 0;
|
|
433
|
+
|
|
434
|
+
ul {
|
|
435
|
+
margin-bottom: 0 !important;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
#{class(buttons)} {
|
|
443
|
+
flex-wrap: nowrap;
|
|
444
|
+
flex-shrink: 0;
|
|
445
|
+
justify-content: flex-end;
|
|
446
|
+
margin-left: auto;
|
|
447
|
+
overflow: visible;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
#{class(dropdown)} {
|
|
451
|
+
background: css-var(header-bg);
|
|
452
|
+
|
|
453
|
+
button {
|
|
454
|
+
display: flex;
|
|
455
|
+
align-items: center;
|
|
456
|
+
justify-content: center;
|
|
457
|
+
min-width: css-var(header-h);
|
|
458
|
+
height: css-var(header-h);
|
|
459
|
+
padding: calc(css-var(header-h) / 2);
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
li {
|
|
463
|
+
padding: calc(css-var(header-h) / 2);
|
|
464
|
+
line-height: 1;
|
|
465
|
+
cursor: pointer;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
#{$has-controls}:not(#{controls(wrapper)}) {
|
|
470
|
+
&+ul {
|
|
471
|
+
display: flex;
|
|
472
|
+
flex-direction: column;
|
|
473
|
+
height: 0;
|
|
474
|
+
overflow: hidden;
|
|
475
|
+
transition: height time(default), margin time(default);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
&#{$has-expanded}:not(#{expanded(true)}) {
|
|
479
|
+
&+ul {
|
|
480
|
+
margin: 0;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/// grid.scss - Grid styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Section
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../../util/selector' as *;
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
@include css-var(flex-gap, calc(css-var(gap) * 2));
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
#{class(flex)} {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: flex-start;
|
|
19
|
+
gap: css-var(flex-gap);
|
|
20
|
+
|
|
21
|
+
&#{class(row)} {
|
|
22
|
+
&-reverse {
|
|
23
|
+
flex-direction: row-reverse;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&#{class(column)} {
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
|
|
30
|
+
&-reverse {
|
|
31
|
+
flex-direction: column-reverse;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&#{class(wrap)} {
|
|
36
|
+
flex-wrap: wrap;
|
|
37
|
+
|
|
38
|
+
&-reverse {
|
|
39
|
+
flex-wrap: wrap-reverse;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&#{class(center)} {
|
|
44
|
+
justify-content: center;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&#{class(end)} {
|
|
48
|
+
justify-content: flex-end;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@each $justify in between, around, evenly {
|
|
52
|
+
&#{class($justify)} {
|
|
53
|
+
justify-content: space-#{$justify};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&#{class(align)} {
|
|
58
|
+
@each $align in start, end {
|
|
59
|
+
&-#{$align} {
|
|
60
|
+
align-items: flex-#{$align};
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// full.scss - Full section styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Section
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
@use '../../util/selector' as *;
|
|
7
|
+
|
|
8
|
+
#{class(section-full)} {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: flex-end;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
gap: 2rem;
|
|
15
|
+
position: relative;
|
|
16
|
+
top: css-var(p-exit);
|
|
17
|
+
left: css-var(p-exit);
|
|
18
|
+
width: css-var(p-exit-w);
|
|
19
|
+
min-height: calc(100vh - css-var(header-h) + 10rem);
|
|
20
|
+
padding: css-var(p-clamp);
|
|
21
|
+
|
|
22
|
+
iframe, video, #{class(image)}, #{class(embed)} {
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 0;
|
|
25
|
+
padding: 0;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: calc(100vh - css-var(header-h));
|
|
28
|
+
border: none;
|
|
29
|
+
object-fit: cover;
|
|
30
|
+
pointer-events: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#{class(image)} {
|
|
34
|
+
img {
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
object-fit: cover;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -5,14 +5,142 @@
|
|
|
5
5
|
@charset 'utf-8';
|
|
6
6
|
|
|
7
7
|
/// Imports
|
|
8
|
-
@use '../../util' as *;
|
|
8
|
+
@use '../../util/break' as *;
|
|
9
|
+
@use '../../util/selector' as *;
|
|
9
10
|
|
|
10
11
|
:root {
|
|
11
|
-
@include css-var
|
|
12
|
+
@include css-var(grid-gap, calc(css-var(gap) * 2));
|
|
12
13
|
@include css-var-ref(grid-fit-w, xs);
|
|
13
14
|
}
|
|
14
15
|
|
|
16
|
+
@mixin grid-2 {
|
|
17
|
+
@include break(sm) {
|
|
18
|
+
grid-template-columns: repeat(12, 1fr);
|
|
19
|
+
|
|
20
|
+
& > * {
|
|
21
|
+
grid-column: span 6;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
& > :last-child:nth-child(odd) {
|
|
25
|
+
grid-column: span 12;
|
|
26
|
+
width: 50%;
|
|
27
|
+
margin-left: auto;
|
|
28
|
+
margin-right: auto;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@mixin grid-3 {
|
|
34
|
+
@include break(lg) {
|
|
35
|
+
grid-template-columns: repeat(12, 1fr);
|
|
36
|
+
|
|
37
|
+
& > * {
|
|
38
|
+
grid-column: span 4;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& > :last-child:nth-child(odd) {
|
|
42
|
+
grid-column: span 4;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
& > :last-child:nth-child(#{'3n+1'}) {
|
|
47
|
+
grid-column: 4 / span 6;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
& > :last-child:nth-child(#{'3n+2'}) {
|
|
51
|
+
grid-column: 7 / span 6;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& > :nth-last-child(2):nth-child(#{'3n+1'}) {
|
|
55
|
+
grid-column: 1 / span 6;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin grid-4 {
|
|
61
|
+
@include break(xl) {
|
|
62
|
+
grid-template-columns: repeat(12, 1fr);
|
|
63
|
+
|
|
64
|
+
& > * {
|
|
65
|
+
grid-column: span 3;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& > :last-child:nth-child(odd),
|
|
69
|
+
& > :last-child:nth-child(#{'3n+1'}),
|
|
70
|
+
& > :last-child:nth-child(#{'3n+2'}),
|
|
71
|
+
& > :nth-last-child(2):nth-child(#{'3n+1'}) {
|
|
72
|
+
grid-column: span 3;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
& > :last-child:nth-child(#{'4n+1'}) {
|
|
77
|
+
grid-column: 4 / span 6;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
& > :last-child:nth-child(#{'4n+2'}) {
|
|
81
|
+
grid-column: 7 / span 6;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
& > :nth-last-child(2):nth-child(#{'4n+1'}) {
|
|
85
|
+
grid-column: 1 / span 6;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
& > :last-child:nth-child(#{'4n+3'}) {
|
|
89
|
+
grid-column: 9 / span 4;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
& > :nth-last-child(2):nth-child(#{'4n+2'}) {
|
|
93
|
+
grid-column: 5 / span 4;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
& > :nth-last-child(3):nth-child(#{'4n+1'}) {
|
|
97
|
+
grid-column: 1 / span 4;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/// Grid styles
|
|
15
103
|
#{class(grid)} {
|
|
104
|
+
display: grid;
|
|
105
|
+
grid-template-columns: 1fr;
|
|
106
|
+
gap: css-var(grid-gap);
|
|
107
|
+
width: 100%;
|
|
108
|
+
margin-top: css-var(grid-gap);
|
|
109
|
+
margin-bottom: css-var(grid-gap);
|
|
110
|
+
|
|
111
|
+
&#{class('1')} {
|
|
112
|
+
& > * {
|
|
113
|
+
grid-column: span 1 !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&#{class('2')} {
|
|
118
|
+
@include grid-2;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&#{class('3')} {
|
|
122
|
+
@include grid-2;
|
|
123
|
+
@include grid-3;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&#{class('4')} {
|
|
127
|
+
@include grid-2;
|
|
128
|
+
@include grid-3;
|
|
129
|
+
@include grid-4;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
#{class(portrait)},
|
|
133
|
+
& > :has(#{class(portrait)}) {
|
|
134
|
+
grid-row: span 2;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
#{class(landscape)},
|
|
138
|
+
& > :has(#{class(landscape)}) {
|
|
139
|
+
@include break(sm) {
|
|
140
|
+
grid-column: span 12;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
16
144
|
&-fit {
|
|
17
145
|
display: grid;
|
|
18
146
|
grid-template-columns: repeat(minmax(min(css-var(grid-fit-w), 100%), 1fr));
|