@appartmint/mint 0.15.8 → 0.15.11
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 +37 -9
- 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/_backgrounds.scss +26 -6
- package/src/scss/imports/components/_footer.scss +1 -0
- package/src/scss/imports/components/_header.scss +10 -12
- package/src/scss/imports/global/_global.scss +10 -2
- package/src/scss/imports/global/_texture.scss +3 -0
- package/src/scss/imports/util/_vars.scss +5 -1
package/package.json
CHANGED
|
@@ -9,10 +9,30 @@
|
|
|
9
9
|
|
|
10
10
|
/// Background Styles
|
|
11
11
|
#{class(bg)} {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
+
}
|
|
18
38
|
}
|
|
@@ -167,7 +167,11 @@
|
|
|
167
167
|
&+ul {
|
|
168
168
|
display: flex !important;
|
|
169
169
|
height: auto !important;
|
|
170
|
-
margin-bottom:
|
|
170
|
+
margin-bottom: 3rem !important;
|
|
171
|
+
|
|
172
|
+
&>li:first-child {
|
|
173
|
+
font-size: 1.5em;
|
|
174
|
+
}
|
|
171
175
|
}
|
|
172
176
|
}
|
|
173
177
|
}
|
|
@@ -181,7 +185,11 @@
|
|
|
181
185
|
&+ul {
|
|
182
186
|
display: flex !important;
|
|
183
187
|
height: auto !important;
|
|
184
|
-
margin-bottom:
|
|
188
|
+
margin-bottom: 3rem;
|
|
189
|
+
|
|
190
|
+
&>li:first-child {
|
|
191
|
+
font-size: 1.5em;
|
|
192
|
+
}
|
|
185
193
|
}
|
|
186
194
|
}
|
|
187
195
|
}
|
|
@@ -213,16 +221,6 @@
|
|
|
213
221
|
li {
|
|
214
222
|
width: 100%;
|
|
215
223
|
}
|
|
216
|
-
|
|
217
|
-
#{$has-controls} {
|
|
218
|
-
&+ul {
|
|
219
|
-
margin-bottom: 3rem !important;
|
|
220
|
-
|
|
221
|
-
&>li:first-child {
|
|
222
|
-
font-size: 1.5em;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
224
|
}
|
|
227
225
|
}
|
|
228
226
|
}
|
|
@@ -75,13 +75,21 @@ main {
|
|
|
75
75
|
overflow: hidden;
|
|
76
76
|
z-index: 1000;
|
|
77
77
|
|
|
78
|
-
|
|
79
78
|
&>router-outlet {
|
|
80
79
|
flex-grow: 0;
|
|
81
80
|
|
|
82
81
|
&+* {
|
|
83
|
-
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
align-items: center;
|
|
85
|
+
justify-content: center;
|
|
84
86
|
flex-grow: 1;
|
|
87
|
+
width: 100%;
|
|
88
|
+
|
|
89
|
+
&+:not(mint-footer) {
|
|
90
|
+
height: 0;
|
|
91
|
+
overflow: hidden;
|
|
92
|
+
}
|
|
85
93
|
}
|
|
86
94
|
}
|
|
87
95
|
}
|
|
@@ -152,8 +152,9 @@ $texture-padding: 1rem !default;
|
|
|
152
152
|
|
|
153
153
|
$texture-bg: null !default;
|
|
154
154
|
$texture-bg-size: cover !default;
|
|
155
|
-
$texture-bg-position:
|
|
155
|
+
$texture-bg-position: top !default;
|
|
156
156
|
$texture-blend: null !default;
|
|
157
|
+
$texture-filter: null !default;
|
|
157
158
|
$texture-opacity: 1 !default;
|
|
158
159
|
|
|
159
160
|
$texture-alt-bg: null !default;
|
|
@@ -171,6 +172,9 @@ $texture-border-image: null !default;
|
|
|
171
172
|
$texture-border-slice: 42 42 !default;
|
|
172
173
|
$texture-border-repeat: round !default;
|
|
173
174
|
|
|
175
|
+
/// Backgrounds
|
|
176
|
+
$back-bg-blur: 0.15vw !default;
|
|
177
|
+
|
|
174
178
|
|
|
175
179
|
/// Themes
|
|
176
180
|
$theme-default: light !default;
|