@appartmint/mint 2.7.3 → 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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "2.7.3",
4
+ "version": "2.7.5",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -16,6 +16,16 @@
16
16
  }
17
17
 
18
18
  /// Header Styles
19
+ body {
20
+ &#{class(fixed)} {
21
+ #{id(header)} {
22
+ position: fixed;
23
+ top: 0;
24
+ left: 0;
25
+ }
26
+ }
27
+ }
28
+
19
29
  #{id(header)} {
20
30
  position: relative;
21
31
  width: 100%;
@@ -212,6 +222,13 @@
212
222
  align-items: center;
213
223
  justify-content: flex-end;
214
224
  height: 100%;
225
+
226
+ & > :not(#{class(buttons)}) {
227
+ a {
228
+ color: css-var(header-link-fore);
229
+ text-decoration: none;
230
+ }
231
+ }
215
232
  }
216
233
 
217
234
  #{class(logo)} {
@@ -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
- min-height: 100vh;
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
- app-root {
56
- display: block;
36
+ main {
37
+ @include fluid-padding;
38
+ display: flex;
39
+ flex-direction: column;
57
40
  position: relative;
58
- opacity: 0;
59
- transition: opacity 750ms ease-in;
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
+ }
@@ -1,4 +1,5 @@
1
1
  /// Forward all global styles
2
+ @use './angular';
2
3
  @use './animations';
3
4
  @use './aspect';
4
5
  @use './flex';