@appartmint/mint 0.12.7 → 0.12.9
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 +81 -27
- 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/_header.scss +262 -229
- package/src/scss/imports/global/_global.scss +102 -77
- package/src/scss/imports/global/_themes.scss +75 -71
|
@@ -3,96 +3,121 @@
|
|
|
3
3
|
|
|
4
4
|
/// Global styles
|
|
5
5
|
* {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
&,
|
|
8
|
+
&::before,
|
|
9
|
+
&::after {
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
html,
|
|
15
|
+
body {
|
|
16
|
+
color: css-var(fore);
|
|
17
|
+
background-color: css-var(back);
|
|
18
|
+
overflow-x: hidden;
|
|
19
|
+
min-height: 100vh;
|
|
20
|
+
margin: 0;
|
|
21
|
+
padding: 0;
|
|
22
|
+
word-break: break-word;
|
|
23
|
+
|
|
24
|
+
@include break(xs) {
|
|
25
|
+
word-break: initial;
|
|
26
|
+
}
|
|
9
27
|
}
|
|
10
28
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
body {
|
|
30
|
+
&#{class(fixed)} {
|
|
31
|
+
#{id(header)} {
|
|
32
|
+
position: fixed;
|
|
33
|
+
top: 0;
|
|
34
|
+
left: 0;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
main {
|
|
38
|
+
min-height: 100vh;
|
|
39
|
+
padding-top: css-var(header-height);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
23
42
|
}
|
|
24
43
|
|
|
25
44
|
main {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
position: relative;
|
|
48
|
+
width: 100%;
|
|
49
|
+
min-height: calc(100vh - css-var(header-height));
|
|
50
|
+
z-index: 1000;
|
|
51
|
+
|
|
52
|
+
&>router-outlet {
|
|
53
|
+
&+* {
|
|
54
|
+
width: 100%;
|
|
55
|
+
flex-grow: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
router-outlet {
|
|
60
|
+
flex-grow: 0;
|
|
61
|
+
}
|
|
43
62
|
}
|
|
44
63
|
|
|
45
64
|
app-root {
|
|
46
|
-
|
|
65
|
+
display: block;
|
|
47
66
|
}
|
|
48
67
|
|
|
49
68
|
nav {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
a {
|
|
70
|
+
display: block;
|
|
71
|
+
text-decoration: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
ul {
|
|
75
|
+
display: flex;
|
|
76
|
+
margin: 0;
|
|
77
|
+
padding: 0;
|
|
78
|
+
list-style: none;
|
|
79
|
+
|
|
80
|
+
&>li>ul {
|
|
81
|
+
flex-direction: column;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
65
84
|
}
|
|
66
85
|
|
|
67
86
|
a {
|
|
68
|
-
&[href^='mailto:'], &[href^='tel:'], &[href^='sms:'] {
|
|
69
|
-
@include break (xs) {
|
|
70
|
-
white-space: nowrap;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
87
|
|
|
74
|
-
|
|
88
|
+
&[href^='mailto:'],
|
|
89
|
+
&[href^='tel:'],
|
|
90
|
+
&[href^='sms:'] {
|
|
91
|
+
@include break (xs) {
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
i {
|
|
75
97
|
&:first-child {
|
|
76
98
|
margin-right: 0.25rem;
|
|
77
99
|
}
|
|
78
100
|
|
|
79
101
|
&:last-child {
|
|
80
|
-
|
|
102
|
+
margin-left: 0.25rem;
|
|
81
103
|
}
|
|
82
|
-
|
|
104
|
+
}
|
|
83
105
|
}
|
|
84
106
|
|
|
85
|
-
button,
|
|
86
|
-
|
|
107
|
+
button,
|
|
108
|
+
a[routerLink] {
|
|
109
|
+
cursor: pointer;
|
|
87
110
|
}
|
|
88
111
|
|
|
89
|
-
a,
|
|
90
|
-
|
|
112
|
+
a,
|
|
113
|
+
button {
|
|
114
|
+
font-size: inherit;
|
|
91
115
|
}
|
|
92
116
|
|
|
93
|
-
img,
|
|
94
|
-
|
|
95
|
-
|
|
117
|
+
img,
|
|
118
|
+
video {
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: auto;
|
|
96
121
|
}
|
|
97
122
|
|
|
98
123
|
iframe {
|
|
@@ -100,26 +125,26 @@ iframe {
|
|
|
100
125
|
}
|
|
101
126
|
|
|
102
127
|
#{class(glow)} {
|
|
103
|
-
|
|
128
|
+
box-shadow: 0 0 2rem -0.5rem css-var(glow-2);
|
|
104
129
|
}
|
|
105
130
|
|
|
106
131
|
#{class(noglow)} {
|
|
107
|
-
|
|
132
|
+
box-shadow: none !important;
|
|
108
133
|
}
|
|
109
134
|
|
|
110
135
|
#{class(sr-only)} {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
136
|
+
position: absolute !important;
|
|
137
|
+
width: 1px !important;
|
|
138
|
+
height: 1px !important;
|
|
139
|
+
padding: 0 !important;
|
|
140
|
+
margin: -1px !important;
|
|
141
|
+
overflow: hidden !important;
|
|
142
|
+
clip: rect(0, 0, 0, 0) !important;
|
|
143
|
+
border: 0 !important;
|
|
119
144
|
}
|
|
120
145
|
|
|
121
146
|
#{class(list)} {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
147
|
+
list-style: none;
|
|
148
|
+
margin: 0;
|
|
149
|
+
padding: 0;
|
|
150
|
+
}
|
|
@@ -9,77 +9,79 @@
|
|
|
9
9
|
|
|
10
10
|
/// Global theme
|
|
11
11
|
:root {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
/// Global Colors
|
|
13
|
+
/// Brands
|
|
14
|
+
@include css-var(bitcoin, $bitcoin);
|
|
15
|
+
@include css-var(ethereum, $ethereum);
|
|
16
|
+
@include css-var(venmo, $venmo);
|
|
17
|
+
@include css-var(facebook, $facebook);
|
|
18
18
|
@include css-var(twitter, $twitter);
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
@include css-var(youtube, $youtube);
|
|
20
|
+
@include css-var(apple, $apple);
|
|
21
21
|
@include css-var(apple-music, $apple-music);
|
|
22
|
-
|
|
22
|
+
@include css-var(spotify, $spotify);
|
|
23
23
|
@include css-var(soundcloud, $soundcloud);
|
|
24
24
|
@include css-var(bandcamp, $bandcamp);
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
25
|
+
@include css-var(amazon-0, $amazon-0);
|
|
26
|
+
@include css-var(amazon-1, $amazon-1);
|
|
27
|
+
@include css-var(napster-0, $napster-0);
|
|
28
|
+
@include css-var(napster-1, $napster-1);
|
|
29
|
+
@include css-var(google-play-0, $google-play-0);
|
|
30
|
+
@include css-var(google-play-1, $google-play-1);
|
|
31
|
+
@include css-var(google-play-2, $google-play-2);
|
|
32
|
+
@include css-var(instagram-0, $instagram-0);
|
|
33
|
+
@include css-var(instagram-1, $instagram-1);
|
|
34
|
+
@include css-var(instagram-2, $instagram-2);
|
|
35
|
+
@include css-var(instagram-3, $instagram-3);
|
|
36
|
+
@include css-var(instagram-4, $instagram-4);
|
|
37
|
+
@include css-var(instagram-5, $instagram-5);
|
|
38
|
+
@include css-var(instagram-6, $instagram-6);
|
|
39
|
+
|
|
40
|
+
/// Application Colors
|
|
41
|
+
@include shades('black', $black, lighten);
|
|
42
|
+
@include shades('white', $white, darken);
|
|
43
|
+
@include shades(glow, $trans-light, darken, 7, 10%, true);
|
|
44
|
+
@include shades(shadow, $trans-dark, darken, 7, 10%, true);
|
|
45
|
+
|
|
46
|
+
@include shades(brand, $brand);
|
|
47
|
+
@include shades(accent, $accent);
|
|
48
|
+
@include shades(success, $success);
|
|
49
|
+
@include shades(danger, $danger);
|
|
50
|
+
@include shades(warning, $warning);
|
|
51
|
+
@include shades(info, $info);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/// Light theme
|
|
55
55
|
@mixin light-theme {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
@include css-var(fore, $fore);
|
|
57
|
+
@include css-var(back, $back);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/// Dark theme
|
|
61
61
|
@mixin dark-theme {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
@include css-var(fore, $back);
|
|
63
|
+
@include css-var(back, $fore);
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
/// Apply themes
|
|
67
67
|
:root {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
@if ($theme-default ==light) {
|
|
69
|
+
@include light-theme;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@else {
|
|
73
|
+
@include dark-theme;
|
|
74
|
+
}
|
|
73
75
|
}
|
|
74
76
|
|
|
75
77
|
#{class(dark)} {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
+
@include dark-theme;
|
|
79
|
+
color: css-var(fore);
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
#{class(light)} {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
+
@include light-theme;
|
|
84
|
+
color: css-var(fore);
|
|
83
85
|
}
|
|
84
86
|
|
|
85
87
|
#{class(success)} {
|
|
@@ -88,8 +90,9 @@
|
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
a {
|
|
91
|
-
|
|
92
|
-
transition:
|
|
93
|
+
color: css-var($link-color);
|
|
94
|
+
transition-duration: css-var(delay-default);
|
|
95
|
+
transition-property: color, background-color;
|
|
93
96
|
|
|
94
97
|
.fa-instagram {
|
|
95
98
|
position: relative;
|
|
@@ -99,7 +102,7 @@ a {
|
|
|
99
102
|
position: absolute;
|
|
100
103
|
top: 50%;
|
|
101
104
|
left: 50%;
|
|
102
|
-
|
|
105
|
+
transform: translate(-50%, -50%);
|
|
103
106
|
opacity: 0;
|
|
104
107
|
transition: opacity css-var(delay-default);
|
|
105
108
|
|
|
@@ -110,14 +113,15 @@ a {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
|
|
114
|
-
|
|
116
|
+
@include states(hover, focus, active) {
|
|
117
|
+
color: css-var($link-color-hover);
|
|
115
118
|
|
|
116
|
-
.fa-facebook,
|
|
119
|
+
.fa-facebook,
|
|
120
|
+
.fa-square-facebook {
|
|
117
121
|
color: css-var(facebook);
|
|
118
122
|
}
|
|
119
123
|
|
|
120
|
-
|
|
124
|
+
.fa-instagram {
|
|
121
125
|
&::after {
|
|
122
126
|
opacity: 1;
|
|
123
127
|
}
|
|
@@ -128,8 +132,8 @@ a {
|
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
.fa-youtube {
|
|
131
|
-
|
|
132
|
-
|
|
135
|
+
color: css-var(youtube);
|
|
136
|
+
}
|
|
133
137
|
|
|
134
138
|
.fa-spotify {
|
|
135
139
|
color: css-var(spotify);
|
|
@@ -148,19 +152,19 @@ a {
|
|
|
148
152
|
}
|
|
149
153
|
|
|
150
154
|
.fa-github {
|
|
151
|
-
|
|
152
|
-
|
|
155
|
+
color: css-var(white-1);
|
|
156
|
+
}
|
|
153
157
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
158
|
+
.fa-bitcoin {
|
|
159
|
+
color: css-var(bitcoin);
|
|
160
|
+
}
|
|
157
161
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
.fa-ethereum {
|
|
163
|
+
color: css-var(ethereum);
|
|
164
|
+
}
|
|
161
165
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
166
|
+
.fa-vimeo {
|
|
167
|
+
color: css-var(venmo);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|