@appartmint/mint 2.7.4 → 2.7.5
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 +59 -44
- 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/partial/_header.scss +10 -0
- package/src/scss/imports/global/_angular.scss +51 -0
- package/src/scss/imports/global/_global.scss +12 -68
- package/src/scss/imports/global/_index.scss +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/// Imports
|
|
2
|
+
@use '../util' as *;
|
|
3
|
+
|
|
4
|
+
/// Angular styles
|
|
5
|
+
body {
|
|
6
|
+
&#{class(ready)} {
|
|
7
|
+
app-root {
|
|
8
|
+
opacity: 1;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
router-outlet {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
app-root {
|
|
18
|
+
display: block;
|
|
19
|
+
position: relative;
|
|
20
|
+
opacity: 0;
|
|
21
|
+
transition: opacity 750ms ease-in;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root {
|
|
25
|
+
main {
|
|
26
|
+
& > router-outlet {
|
|
27
|
+
flex-grow: 0;
|
|
28
|
+
|
|
29
|
+
& + * {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
flex-grow: 1;
|
|
35
|
+
width: 100%;
|
|
36
|
+
padding: 0.25rem;
|
|
37
|
+
|
|
38
|
+
@include fluid-padding;
|
|
39
|
+
|
|
40
|
+
&+:not(#{prefix(partial-footer)}) {
|
|
41
|
+
height: 0;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
& + #{prefix(partial-footer)} {
|
|
47
|
+
transform: translateY(100vh);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// Imports
|
|
2
|
-
@use 'sass:map';
|
|
3
2
|
@use 'sass:meta';
|
|
4
3
|
@use '../util' as *;
|
|
5
4
|
|
|
6
5
|
/// Global styles
|
|
7
6
|
* {
|
|
8
|
-
|
|
9
7
|
&,
|
|
10
8
|
&::before,
|
|
11
9
|
&::after {
|
|
@@ -29,35 +27,23 @@ body {
|
|
|
29
27
|
|
|
30
28
|
body {
|
|
31
29
|
&#{class(fixed)} {
|
|
32
|
-
#{id(header)} {
|
|
33
|
-
position: fixed;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
30
|
main {
|
|
39
|
-
|
|
40
|
-
padding-top: css-var(header-height);
|
|
31
|
+
margin-top: css-var(header-height);
|
|
41
32
|
}
|
|
42
33
|
}
|
|
43
|
-
|
|
44
|
-
&#{class(ready)} {
|
|
45
|
-
app-root {
|
|
46
|
-
opacity: 1;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
router-outlet {
|
|
52
|
-
display: none;
|
|
53
34
|
}
|
|
54
35
|
|
|
55
|
-
|
|
56
|
-
|
|
36
|
+
main {
|
|
37
|
+
@include fluid-padding;
|
|
38
|
+
display: flex;
|
|
39
|
+
flex-direction: column;
|
|
57
40
|
position: relative;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
41
|
+
width: 100%;
|
|
42
|
+
min-height: calc(100vh - css-var(header-height));
|
|
43
|
+
min-height: calc(100dvh - css-var(header-height));
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
z-index: 999;
|
|
46
|
+
|
|
61
47
|
@if (meta.type-of($root-bg-image) == 'string') {
|
|
62
48
|
&::before {
|
|
63
49
|
content: '';
|
|
@@ -83,47 +69,6 @@ app-root {
|
|
|
83
69
|
}
|
|
84
70
|
}
|
|
85
71
|
|
|
86
|
-
main {
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-direction: column;
|
|
89
|
-
position: relative;
|
|
90
|
-
width: 100%;
|
|
91
|
-
min-height: calc(100vh - css-var(header-height));
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
z-index: 999;
|
|
94
|
-
|
|
95
|
-
&>router-outlet {
|
|
96
|
-
flex-grow: 0;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
:root {
|
|
101
|
-
main {
|
|
102
|
-
& > router-outlet {
|
|
103
|
-
& + * {
|
|
104
|
-
display: flex;
|
|
105
|
-
flex-direction: column;
|
|
106
|
-
align-items: center;
|
|
107
|
-
justify-content: center;
|
|
108
|
-
flex-grow: 1;
|
|
109
|
-
width: 100%;
|
|
110
|
-
padding: 0.25rem;
|
|
111
|
-
|
|
112
|
-
@include fluid-padding;
|
|
113
|
-
|
|
114
|
-
&+:not(#{prefix(partial-footer)}) {
|
|
115
|
-
height: 0;
|
|
116
|
-
overflow: hidden;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
& + #{prefix(partial-footer)} {
|
|
121
|
-
transform: translateY(100vh);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
72
|
nav {
|
|
128
73
|
a {
|
|
129
74
|
display: block;
|
|
@@ -143,7 +88,6 @@ nav {
|
|
|
143
88
|
}
|
|
144
89
|
|
|
145
90
|
a {
|
|
146
|
-
|
|
147
91
|
&[href^='mailto:'],
|
|
148
92
|
&[href^='tel:'],
|
|
149
93
|
&[href^='sms:'] {
|
|
@@ -215,4 +159,4 @@ iframe {
|
|
|
215
159
|
list-style: none;
|
|
216
160
|
margin: 0;
|
|
217
161
|
padding: 0;
|
|
218
|
-
}
|
|
162
|
+
}
|