@appartmint/mint 1.3.0 → 1.3.1
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/package.json +2 -2
- package/src/scss/imports/_index.scss +10 -0
- package/src/scss/imports/components/_backgrounds.scss +38 -0
- package/src/scss/imports/components/_buttons.scss +243 -0
- package/src/scss/imports/components/_cards.scss +259 -0
- package/src/scss/imports/components/_embed.scss +75 -0
- package/src/scss/imports/components/_footer.scss +134 -0
- package/src/scss/imports/components/_header.scss +512 -0
- package/src/scss/imports/components/_image.scss +37 -0
- package/src/scss/imports/components/_index.scss +16 -0
- package/src/scss/imports/components/_recaptcha.scss +17 -0
- package/src/scss/imports/components/_tables.scss +29 -0
- package/src/scss/imports/global/_animations.scss +79 -0
- package/src/scss/imports/global/_aspect.scss +54 -0
- package/src/scss/imports/global/_flex.scss +7 -0
- package/src/scss/imports/global/_global.scss +208 -0
- package/src/scss/imports/global/_grid.scss +153 -0
- package/src/scss/imports/global/_icons.scss +6 -0
- package/src/scss/imports/global/_index.scss +12 -0
- package/src/scss/imports/global/_inputs.scss +135 -0
- package/src/scss/imports/global/_structure.scss +89 -0
- package/src/scss/imports/global/_text.scss +62 -0
- package/src/scss/imports/global/_texture.scss +124 -0
- package/src/scss/imports/global/_themes.scss +174 -0
- package/src/scss/imports/overrides/_amplify.scss +48 -0
- package/src/scss/imports/overrides/_full-calendar.scss +46 -0
- package/src/scss/imports/overrides/_index.scss +11 -0
- package/src/scss/imports/overrides/_material.scss +24 -0
- package/src/scss/imports/overrides/_swiper.scss +55 -0
- package/src/scss/imports/util/_index.scss +9 -0
- package/src/scss/imports/util/_util.scss +1034 -0
- package/src/scss/imports/util/_vars.scss +262 -0
- package/src/scss/mint.scss +7 -0
- package/src/scss/noscript.scss +14 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appartmint/mint",
|
|
3
3
|
"author": "App Art Mint LLC",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "The front-end TS/SCSS framework of App Art Mint",
|
|
7
7
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"types": "dist/js/index.d.ts",
|
|
24
24
|
"type": "module",
|
|
25
25
|
"files": [
|
|
26
|
-
"src/**/*.
|
|
26
|
+
"src/**/*.scss",
|
|
27
27
|
"dist/**/*.{css,js,d.ts,map}"
|
|
28
28
|
],
|
|
29
29
|
"directories": {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/// background.scss - Static background styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Background
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Background Styles
|
|
11
|
+
#{class(bg)} {
|
|
12
|
+
display: block;
|
|
13
|
+
opacity: 0;
|
|
14
|
+
height: 0;
|
|
15
|
+
width: 0;
|
|
16
|
+
z-index: -1;
|
|
17
|
+
transform: none !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
#{class(background)} {
|
|
21
|
+
position: fixed;
|
|
22
|
+
left: 0;
|
|
23
|
+
top: 0;
|
|
24
|
+
width: 100vw;
|
|
25
|
+
height: 100vh;
|
|
26
|
+
object-fit: cover;
|
|
27
|
+
background-size: cover;
|
|
28
|
+
background-position: center;
|
|
29
|
+
background-repeat: no-repeat;
|
|
30
|
+
z-index: 0;
|
|
31
|
+
filter: opacity(0) blur(10vw);
|
|
32
|
+
transition: filter 1000ms ease-out;
|
|
33
|
+
|
|
34
|
+
&.active {
|
|
35
|
+
opacity: 1;
|
|
36
|
+
filter: opacity(1) blur($back-bg-blur);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
/// buttons.scss - Button styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Buttons
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// All buttons
|
|
11
|
+
#{class(btn)},
|
|
12
|
+
#{class(btn-group)},
|
|
13
|
+
#{class(btn-icon)},
|
|
14
|
+
#{class(pill)} {
|
|
15
|
+
flex-shrink: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
#{class(btn)},
|
|
19
|
+
#{class(btn-icon)},
|
|
20
|
+
#{class(pill)} {
|
|
21
|
+
width: fit-content;
|
|
22
|
+
max-width: 100%;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
user-select: none;
|
|
28
|
+
transition: color css-var(delay-default),
|
|
29
|
+
background-color css-var(delay-default),
|
|
30
|
+
border-color css-var(delay-default);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#{class(btn)},
|
|
34
|
+
#{class(btn-group)},
|
|
35
|
+
#{class(pill)} {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
border-radius: $pill-radius;
|
|
38
|
+
color: css-var($btn-fore);
|
|
39
|
+
background: css-var($btn-back);
|
|
40
|
+
border: $border-width solid css-var($btn-border);
|
|
41
|
+
text-align: center;
|
|
42
|
+
|
|
43
|
+
@include break(xs) {
|
|
44
|
+
width: fit-content;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@include states(hover, focus, active) {
|
|
48
|
+
color: css-var($btn-fore-hover);
|
|
49
|
+
background: css-var($btn-border);
|
|
50
|
+
|
|
51
|
+
i {
|
|
52
|
+
color: inherit !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&#{class(reverse)} {
|
|
57
|
+
color: css-var($btn-fore-hover);
|
|
58
|
+
background: css-var($btn-border);
|
|
59
|
+
|
|
60
|
+
@include states(hover, focus, active) {
|
|
61
|
+
color: css-var($btn-fore);
|
|
62
|
+
background: css-var($btn-back);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&#{class(alt)} {
|
|
67
|
+
color: css-var($btn-border);
|
|
68
|
+
background: css-var($btn-back-alt);
|
|
69
|
+
|
|
70
|
+
@include states(hover, focus, active) {
|
|
71
|
+
color: css-var($btn-fore-alt-hover);
|
|
72
|
+
background: css-var($btn-back-alt-hover);
|
|
73
|
+
border-color: css-var($btn-back-alt-hover);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&#{class(reverse)} {
|
|
77
|
+
color: css-var($btn-fore-alt-hover);
|
|
78
|
+
background: css-var($btn-back-alt-hover);
|
|
79
|
+
border-color: css-var($btn-back-alt-hover);
|
|
80
|
+
|
|
81
|
+
@include states(hover, focus, active) {
|
|
82
|
+
color: css-var($btn-border);
|
|
83
|
+
background: css-var($btn-back-alt);
|
|
84
|
+
border-color: css-var($btn-back-alt);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/// Fix for browsers injecting their own tel links
|
|
90
|
+
a {
|
|
91
|
+
color: inherit;
|
|
92
|
+
|
|
93
|
+
&:hover {
|
|
94
|
+
color: inherit;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
i {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/// Default buttons
|
|
104
|
+
#{class(btn)} {
|
|
105
|
+
padding: $btn-padding-v $btn-padding-h + $btn-padding-adjust;
|
|
106
|
+
|
|
107
|
+
/// Icon buttons
|
|
108
|
+
&-icon {
|
|
109
|
+
display: block;
|
|
110
|
+
text-align: center;
|
|
111
|
+
background: none;
|
|
112
|
+
border: none;
|
|
113
|
+
|
|
114
|
+
@include states(hover, focus, active) {
|
|
115
|
+
i {
|
|
116
|
+
color: css-var($btn-back-alt-hover);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@include break(xs) {
|
|
121
|
+
display: inline-block;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&#{class(lg)} {
|
|
125
|
+
i {
|
|
126
|
+
font-size: 4rem;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
i {
|
|
131
|
+
margin: 0 !important;
|
|
132
|
+
color: css-var($btn-border);
|
|
133
|
+
font-size: 1.5rem;
|
|
134
|
+
|
|
135
|
+
&::before {
|
|
136
|
+
transition: color css-var(delay-default);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/// Button groups
|
|
142
|
+
&-group {
|
|
143
|
+
display: flex;
|
|
144
|
+
width: fit-content;
|
|
145
|
+
margin: auto;
|
|
146
|
+
padding: 0;
|
|
147
|
+
transition: all css-var(delay-default);
|
|
148
|
+
|
|
149
|
+
button {
|
|
150
|
+
width: 100%;
|
|
151
|
+
border: none;
|
|
152
|
+
color: inherit;
|
|
153
|
+
background: transparent;
|
|
154
|
+
|
|
155
|
+
&:first-child {
|
|
156
|
+
padding: $btn-padding-v 0 $btn-padding-v $btn-padding-h;
|
|
157
|
+
border-top-left-radius: $pill-radius;
|
|
158
|
+
border-bottom-left-radius: $pill-radius;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&:last-child {
|
|
162
|
+
padding: $btn-padding-v $btn-padding-h $btn-padding-v 0;
|
|
163
|
+
border-top-right-radius: $pill-radius;
|
|
164
|
+
border-bottom-right-radius: $pill-radius;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&[disabled] {
|
|
168
|
+
pointer-events: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
@include states(hover, focus, active) {
|
|
172
|
+
background: css-var(brand-5);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/// Select button
|
|
179
|
+
#{class(select)} {
|
|
180
|
+
@extend #{class(btn)};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/// Pill buttons
|
|
184
|
+
#{class(pill)} {
|
|
185
|
+
padding: 0 $btn-padding-adjust;
|
|
186
|
+
line-height: 2;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
a, button {
|
|
190
|
+
&#{class(pill)} {
|
|
191
|
+
min-width: 5rem;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
p {
|
|
196
|
+
#{class(pill)}, #{class(btn)} {
|
|
197
|
+
line-height: 1.5rem;
|
|
198
|
+
vertical-align: middle;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/// A list of buttons
|
|
203
|
+
#{class(buttons)} {
|
|
204
|
+
display: flex;
|
|
205
|
+
align-items: center;
|
|
206
|
+
justify-content: center;
|
|
207
|
+
flex-wrap: wrap;
|
|
208
|
+
gap: 1rem;
|
|
209
|
+
|
|
210
|
+
@include break(xs) {
|
|
211
|
+
justify-content: flex-start;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
& > * {
|
|
215
|
+
width: 100%;
|
|
216
|
+
|
|
217
|
+
#{class(btn)}, #{class(pill)} {
|
|
218
|
+
display: block;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@include break(xs) {
|
|
222
|
+
width: auto;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
#{class(buttons)} {
|
|
227
|
+
#{class(pill)} {
|
|
228
|
+
width: 100%;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
#{class(grid)}#{class('3')},
|
|
234
|
+
#{class(grid)}#{class('4')} {
|
|
235
|
+
#{class(buttons)} {
|
|
236
|
+
& > * {
|
|
237
|
+
@include break(xs) {
|
|
238
|
+
width: 100%;
|
|
239
|
+
margin: 0.5rem 0;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/// cards.scss - Card styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Cards
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use 'sass:math';
|
|
9
|
+
@use '../util' as *;
|
|
10
|
+
|
|
11
|
+
/// Card Styles
|
|
12
|
+
#{class(card)} {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
height: 100%;
|
|
16
|
+
max-width: 100%;
|
|
17
|
+
margin: 0;
|
|
18
|
+
border-radius: $card-radius;
|
|
19
|
+
box-shadow: $card-shadow-size #{css-var($card-shadow-color)};
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
|
|
22
|
+
@include break(sm) {
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
|
|
25
|
+
&#{class(reverse)} {
|
|
26
|
+
flex-direction: row-reverse;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&#{class(center)} {
|
|
31
|
+
|
|
32
|
+
@mixin title {
|
|
33
|
+
#{class(title)} {
|
|
34
|
+
justify-content: center;
|
|
35
|
+
text-align: center;
|
|
36
|
+
|
|
37
|
+
& > div {
|
|
38
|
+
width: auto;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin content {
|
|
44
|
+
#{class(content)} {
|
|
45
|
+
& > * {
|
|
46
|
+
text-align: center;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@mixin buttons {
|
|
52
|
+
#{class(buttons)} {
|
|
53
|
+
justify-content: center;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@include title;
|
|
58
|
+
@include content;
|
|
59
|
+
@include buttons;
|
|
60
|
+
|
|
61
|
+
&-title {
|
|
62
|
+
@include title;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-content {
|
|
66
|
+
@include content;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&-btns {
|
|
70
|
+
@include buttons;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&#{class(stagger)} {
|
|
75
|
+
position: relative;
|
|
76
|
+
width: 100%;
|
|
77
|
+
|
|
78
|
+
@include break(sm) {
|
|
79
|
+
flex-direction: row;
|
|
80
|
+
border-radius: 0;
|
|
81
|
+
box-shadow: none;
|
|
82
|
+
overflow: visible;
|
|
83
|
+
|
|
84
|
+
& > #{class(image)},
|
|
85
|
+
& > #{prefix(widget-image)} #{class(image)} {
|
|
86
|
+
width: calc(50% + $card-padding);
|
|
87
|
+
height: fit-content;
|
|
88
|
+
margin-right: $card-padding * -2;
|
|
89
|
+
border-radius: $card-radius;
|
|
90
|
+
box-shadow: $card-shadow-size #{css-var($card-shadow-color)};
|
|
91
|
+
|
|
92
|
+
img {
|
|
93
|
+
height: 100%;
|
|
94
|
+
object-fit: cover;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
& > #{class(content)} {
|
|
99
|
+
width: calc(50% + $card-padding);
|
|
100
|
+
height: fit-content;
|
|
101
|
+
margin-top: $card-padding * 2;
|
|
102
|
+
border-radius: $card-radius;
|
|
103
|
+
box-shadow: $card-shadow-size #{css-var($card-shadow-color)};
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&#{class(reverse)} {
|
|
108
|
+
@include break(sm) {
|
|
109
|
+
flex-direction: row-reverse;
|
|
110
|
+
|
|
111
|
+
& > #{class(image)},
|
|
112
|
+
& > #{prefix(widget-image)} #{class(image)} {
|
|
113
|
+
margin-right: 0;
|
|
114
|
+
margin-left: $card-padding * -2;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
& > #{class(image)}:only-child,
|
|
121
|
+
& > #{prefix(widget-image)}:only-child #{class(image)} {
|
|
122
|
+
width: 100%;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
& > #{class(image)},
|
|
126
|
+
& > #{prefix(widget-image)} #{class(image)} {
|
|
127
|
+
overflow: hidden;
|
|
128
|
+
|
|
129
|
+
@include break(sm) {
|
|
130
|
+
width: 50%;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&+#{class(content)} {
|
|
134
|
+
@include break(sm) {
|
|
135
|
+
width: 50%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
#{class(content)} {
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-direction: column;
|
|
143
|
+
gap: math.div($grid-gap, 2);
|
|
144
|
+
position: relative;
|
|
145
|
+
padding: $card-padding;
|
|
146
|
+
background: css-var($card-bg-color);
|
|
147
|
+
width: 100%;
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
|
|
150
|
+
& > * {
|
|
151
|
+
margin-top: 0;
|
|
152
|
+
margin-bottom: 0;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
#{class(title)} {
|
|
157
|
+
display: flex;
|
|
158
|
+
flex-direction: column;
|
|
159
|
+
align-items: center;
|
|
160
|
+
height: fit-content;
|
|
161
|
+
gap: $card-padding;
|
|
162
|
+
text-align: center;
|
|
163
|
+
|
|
164
|
+
@include break(xs) {
|
|
165
|
+
flex-direction: row;
|
|
166
|
+
text-align: left;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&:only-child {
|
|
170
|
+
height: 100%;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
& > #{class(image)},
|
|
174
|
+
& > #{prefix(widget-image)} #{class(image)} {
|
|
175
|
+
width: 100%;
|
|
176
|
+
height: 100%;
|
|
177
|
+
max-width: $card-logo-size;
|
|
178
|
+
max-height: $card-logo-size;
|
|
179
|
+
|
|
180
|
+
&#{class(large)} {
|
|
181
|
+
max-width: $card-logo-size * 2;
|
|
182
|
+
max-height: $card-logo-size * 2;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
img {
|
|
186
|
+
display: block;
|
|
187
|
+
width: 100%;
|
|
188
|
+
height: 100%;
|
|
189
|
+
object-fit: contain;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
i {
|
|
194
|
+
display: flex;
|
|
195
|
+
align-items: center;
|
|
196
|
+
justify-content: center;
|
|
197
|
+
min-width: $card-logo-size;
|
|
198
|
+
max-width: $card-logo-size;
|
|
199
|
+
margin: 0;
|
|
200
|
+
font-size: calc($card-logo-size - 1rem);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
& > div {
|
|
204
|
+
width: 100%;
|
|
205
|
+
|
|
206
|
+
& > * {
|
|
207
|
+
margin: 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
#{class(date)} {
|
|
213
|
+
text-align: center;
|
|
214
|
+
|
|
215
|
+
@include break(xs) {
|
|
216
|
+
text-align: left;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
#{class(grid)}#{class('3')},
|
|
222
|
+
#{class(grid)}#{class('4')} {
|
|
223
|
+
#{class(card)} {
|
|
224
|
+
flex-direction: column !important;
|
|
225
|
+
|
|
226
|
+
& > #{class(image)},
|
|
227
|
+
& > #{prefix(widget-image)} #{class(image)} {
|
|
228
|
+
overflow: hidden;
|
|
229
|
+
|
|
230
|
+
@include break(sm) {
|
|
231
|
+
width: 100%;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
& + #{class(content)} {
|
|
235
|
+
@include break(sm) {
|
|
236
|
+
width: 100%;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
#{class(content)} {
|
|
242
|
+
flex-grow: 1;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
#{class(title)} {
|
|
246
|
+
@include break(xs) {
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
#{class(buttons)} {
|
|
252
|
+
margin-top: auto;
|
|
253
|
+
|
|
254
|
+
#{class(btn)} {
|
|
255
|
+
width: 100%;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/// _embed.scss - Embed styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Embed
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Embed Styles
|
|
11
|
+
#{class(embed)} {
|
|
12
|
+
&-bg {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
align-items: flex-end;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
gap: 2rem;
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
@include break(lg) {
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
min-height: 100vh;
|
|
23
|
+
margin-bottom: 15%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
& > section {
|
|
27
|
+
@include break(lg) {
|
|
28
|
+
margin-bottom: -15%;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
iframe, video {
|
|
33
|
+
top: 0;
|
|
34
|
+
left: 0;
|
|
35
|
+
width: 100%;
|
|
36
|
+
height: 100%;
|
|
37
|
+
object-fit: cover;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
|
|
40
|
+
@include break(lg) {
|
|
41
|
+
position: absolute;
|
|
42
|
+
left: -1rem;
|
|
43
|
+
width: 100vw;
|
|
44
|
+
border: none;
|
|
45
|
+
padding: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
& + * {
|
|
49
|
+
#{class(grid)} {
|
|
50
|
+
@include break(lg) {
|
|
51
|
+
margin-bottom: -15%;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&#{class(overflow)} {
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
margin-bottom: 0;
|
|
60
|
+
|
|
61
|
+
& > section {
|
|
62
|
+
@include break(lg) {
|
|
63
|
+
margin-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
iframe, video {
|
|
68
|
+
top: -10%;
|
|
69
|
+
left: -10%;
|
|
70
|
+
width: 120%;
|
|
71
|
+
height: 120%;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|