@appartmint/mint 0.9.2 → 0.9.7
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 +172 -33
- 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/_buttons.scss +32 -16
- package/src/scss/imports/components/_cards.scss +53 -39
- package/src/scss/imports/components/_footer.scss +19 -0
- package/src/scss/imports/components/_header.scss +49 -2
- package/src/scss/imports/components/_index.scss +1 -0
- package/src/scss/imports/global/_global.scss +23 -4
- package/src/scss/imports/global/_icons.scss +6 -0
- package/src/scss/imports/global/_index.scss +1 -0
- package/src/scss/imports/global/_structure.scss +37 -0
- package/src/scss/imports/util/_vars.scss +40 -3
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// _footer.scss - Header styles
|
|
2
|
+
/// @author App/Art Mint
|
|
3
|
+
///
|
|
4
|
+
/// @group Components
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Footer Styles
|
|
8
|
+
app-footer {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
|
|
12
|
+
&::before {
|
|
13
|
+
content: '';
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-grow: 1;
|
|
16
|
+
height: 100%;
|
|
17
|
+
background: css-var(trans);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
@charset 'utf-8';
|
|
6
6
|
|
|
7
7
|
/// Imports
|
|
8
|
+
@use 'sass:math';
|
|
8
9
|
@use '../util' as *;
|
|
9
10
|
|
|
10
11
|
/// CSS Variables
|
|
@@ -22,13 +23,13 @@
|
|
|
22
23
|
width: 100%;
|
|
23
24
|
color: css-var(header-fg);
|
|
24
25
|
background-color: css-var(header-bg);
|
|
25
|
-
z-index:
|
|
26
|
+
z-index: 10000;
|
|
26
27
|
|
|
27
28
|
&#{class(js)} {
|
|
28
29
|
align-items: center;
|
|
29
30
|
flex-direction: row;
|
|
30
31
|
height: css-var(header-height);
|
|
31
|
-
padding: calc(css-var(header-height) / 2);
|
|
32
|
+
padding: 0 calc(css-var(header-height) / 2);
|
|
32
33
|
|
|
33
34
|
#{controls(wrapper)} {
|
|
34
35
|
display: inline-block;
|
|
@@ -149,6 +150,52 @@
|
|
|
149
150
|
|
|
150
151
|
#{controls(wrapper)} {
|
|
151
152
|
display: none;
|
|
153
|
+
position: relative;
|
|
154
|
+
padding: $menu-btn-padding;
|
|
155
|
+
width: $menu-bar-width + $menu-btn-padding * 2;
|
|
156
|
+
height: $menu-btn-height + $menu-btn-padding * 2;
|
|
157
|
+
margin-left: auto;
|
|
158
|
+
border-radius: $border-radius;
|
|
159
|
+
background: css-var($menu-btn-color);
|
|
160
|
+
box-shadow: $menu-btn-shadow-size css-var($menu-btn-shadow-color);
|
|
161
|
+
|
|
162
|
+
#{class(menu-icon)} {
|
|
163
|
+
top: 50%;
|
|
164
|
+
left: 50%;
|
|
165
|
+
transform: translate(-50%, -50%);
|
|
166
|
+
|
|
167
|
+
&, &::before, &::after {
|
|
168
|
+
content: '';
|
|
169
|
+
display: block;
|
|
170
|
+
position: absolute;
|
|
171
|
+
left: 50%;
|
|
172
|
+
height: $menu-bar-height;
|
|
173
|
+
width: $menu-bar-width;
|
|
174
|
+
background-color: css-var($menu-bar-color);
|
|
175
|
+
transition: delay(default);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&::before {
|
|
179
|
+
transform: translate(-50%, -200%);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&::after {
|
|
183
|
+
transform: translate(-50%, 200%);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&#{expanded(true)} {
|
|
188
|
+
#{class(menu-icon)} {
|
|
189
|
+
background: transparent;
|
|
190
|
+
&::before {
|
|
191
|
+
transform: translate(-50%, 0) rotate(45deg);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&::after {
|
|
195
|
+
transform: translate(-50%, 0) rotate(-45deg);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
152
199
|
}
|
|
153
200
|
|
|
154
201
|
#{id(wrapper)} {
|
|
@@ -12,10 +12,6 @@ html, body {
|
|
|
12
12
|
color: css-var(fore);
|
|
13
13
|
background-color: css-var(back);
|
|
14
14
|
overflow-x: hidden;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
html, body, main {
|
|
18
|
-
width: 100%;
|
|
19
15
|
min-height: 100vh;
|
|
20
16
|
margin: 0;
|
|
21
17
|
padding: 0;
|
|
@@ -25,7 +21,24 @@ main {
|
|
|
25
21
|
display: flex;
|
|
26
22
|
flex-direction: column;
|
|
27
23
|
position: relative;
|
|
24
|
+
width: 100%;
|
|
25
|
+
min-height: calc(100vh - css-var(header-height));
|
|
28
26
|
z-index: 1000;
|
|
27
|
+
|
|
28
|
+
& > router-outlet {
|
|
29
|
+
& + * {
|
|
30
|
+
width: 100%;
|
|
31
|
+
flex-grow: 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
router-outlet {
|
|
36
|
+
flex-grow: 0;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
app-root {
|
|
41
|
+
display: block;
|
|
29
42
|
}
|
|
30
43
|
|
|
31
44
|
nav {
|
|
@@ -86,3 +99,9 @@ img {
|
|
|
86
99
|
clip: rect(0, 0, 0, 0) !important;
|
|
87
100
|
border: 0 !important;
|
|
88
101
|
}
|
|
102
|
+
|
|
103
|
+
#{class(list)} {
|
|
104
|
+
list-style: none;
|
|
105
|
+
margin: 0;
|
|
106
|
+
padding: 0;
|
|
107
|
+
}
|
|
@@ -82,3 +82,40 @@ section {
|
|
|
82
82
|
justify-content: center;
|
|
83
83
|
text-align: center;
|
|
84
84
|
}
|
|
85
|
+
|
|
86
|
+
#{class(grid)} {
|
|
87
|
+
display: grid;
|
|
88
|
+
grid-template-columns: 1fr;
|
|
89
|
+
gap: $grid-gap;
|
|
90
|
+
margin: $grid-gap 0;
|
|
91
|
+
|
|
92
|
+
&#{class('2')} {
|
|
93
|
+
@include break(sm) {
|
|
94
|
+
grid-template-columns: repeat(2, 1fr);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&#{class('3')} {
|
|
99
|
+
@include break(sm) {
|
|
100
|
+
grid-template-columns: repeat(2, 1fr);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include break(lg) {
|
|
104
|
+
grid-template-columns: repeat(3, 1fr);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&#{class('4')} {
|
|
109
|
+
@include break(sm) {
|
|
110
|
+
grid-template-columns: repeat(2, 1fr);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
@include break(lg) {
|
|
114
|
+
grid-template-columns: repeat(3, 1fr);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
@include break(xl) {
|
|
118
|
+
grid-template-columns: repeat(4, 1fr);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -74,11 +74,48 @@ $font-size-desktop: (
|
|
|
74
74
|
) !default;
|
|
75
75
|
|
|
76
76
|
/// Structure
|
|
77
|
-
$
|
|
77
|
+
$grid-gap: 2rem !default;
|
|
78
78
|
|
|
79
79
|
/// Default theme
|
|
80
80
|
$theme-default: light !default;
|
|
81
81
|
|
|
82
82
|
/// Outline width
|
|
83
|
-
$
|
|
84
|
-
$border-radius:
|
|
83
|
+
$border-width: 0.125rem !default;
|
|
84
|
+
$border-radius: 1rem !default;
|
|
85
|
+
|
|
86
|
+
/// Header
|
|
87
|
+
$header-height: 4rem !default;
|
|
88
|
+
|
|
89
|
+
/// Default Shadows
|
|
90
|
+
$shadow-color: glow-2 !default;
|
|
91
|
+
$shadow-size: 0 0 2rem -0.5rem !default;
|
|
92
|
+
|
|
93
|
+
/// Buttons
|
|
94
|
+
$menu-bar-height: 0.4rem !default;
|
|
95
|
+
$menu-bar-width: $menu-bar-height * 8 !default;
|
|
96
|
+
$menu-btn-height: $menu-bar-height * 8 !default;
|
|
97
|
+
$menu-btn-padding: $menu-bar-height * 1.5 !default;
|
|
98
|
+
$menu-bar-color: fore !default;
|
|
99
|
+
$menu-btn-color: shadow-6 !default;
|
|
100
|
+
$menu-btn-shadow-color: $shadow-color !default;
|
|
101
|
+
$menu-btn-shadow-size: $shadow-size !default;
|
|
102
|
+
|
|
103
|
+
$btn-radius: $border-radius !default;
|
|
104
|
+
$btn-fore: fore !default;
|
|
105
|
+
$btn-fore-hover: back !default;
|
|
106
|
+
$btn-back: brand-5 !default;
|
|
107
|
+
$btn-back-alt: trans !default;
|
|
108
|
+
$btn-back-alt-hover: accent-2 !default;
|
|
109
|
+
$btn-border: brand-3 !default;
|
|
110
|
+
$btn-padding-v: 0.5rem !default;
|
|
111
|
+
$btn-padding-h: 1rem !default;
|
|
112
|
+
$btn-padding-adjust: 0.75rem !default;
|
|
113
|
+
|
|
114
|
+
$pill-radius: $border-radius !default;
|
|
115
|
+
|
|
116
|
+
/// Cards
|
|
117
|
+
$card-padding: 1.5rem !default;
|
|
118
|
+
$card-radius: $border-radius !default;
|
|
119
|
+
$card-shadow-color: $shadow-color !default;
|
|
120
|
+
$card-shadow-size: $shadow-size !default;
|
|
121
|
+
$card-logo-size: 4rem !default;
|