pallote-css 0.3.9 → 0.3.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/pallote.min.css +1 -1
- package/dist/pallote.min.css.map +1 -1
- package/package.json +9 -7
- package/dist/pallote.scss +0 -36
- package/dist/scripts/accordion.js +0 -42
- package/dist/scripts/button.js +0 -5
- package/dist/scripts/cookie.js +0 -15
- package/dist/scripts/input.js +0 -18
- package/dist/scripts/nav.js +0 -22
- package/dist/scripts/navbar.js +0 -28
- package/dist/scripts/switch.js +0 -3
- package/dist/scripts/tabs.js +0 -30
- package/dist/styles/common/_editor.scss +0 -177
- package/dist/styles/common/_fontface.scss +0 -28
- package/dist/styles/common/_functions.scss +0 -11
- package/dist/styles/common/_global.scss +0 -154
- package/dist/styles/common/_mixins.scss +0 -162
- package/dist/styles/common/_reset.scss +0 -143
- package/dist/styles/common/_variables.scss +0 -249
- package/dist/styles/components/_accordion.scss +0 -130
- package/dist/styles/components/_alert.scss +0 -194
- package/dist/styles/components/_breadcrumbs.scss +0 -47
- package/dist/styles/components/_button.scss +0 -174
- package/dist/styles/components/_buttons.scss +0 -50
- package/dist/styles/components/_card.scss +0 -265
- package/dist/styles/components/_divider.scss +0 -50
- package/dist/styles/components/_form.scss +0 -55
- package/dist/styles/components/_grid.scss +0 -187
- package/dist/styles/components/_input.scss +0 -294
- package/dist/styles/components/_link.scss +0 -43
- package/dist/styles/components/_list.scss +0 -58
- package/dist/styles/components/_nav.scss +0 -270
- package/dist/styles/components/_navbar.scss +0 -189
- package/dist/styles/components/_page.scss +0 -33
- package/dist/styles/components/_section.scss +0 -189
- package/dist/styles/components/_sidebar.scss +0 -57
- package/dist/styles/components/_snippet.scss +0 -82
- package/dist/styles/components/_status.scss +0 -57
- package/dist/styles/components/_switch.scss +0 -81
- package/dist/styles/components/_tabs.scss +0 -115
- package/dist/styles/components/_tag.scss +0 -75
- package/dist/styles/modules/_cookie.scss +0 -38
- package/dist/styles/utilities/_color.scss +0 -116
- package/dist/styles/utilities/_global.scss +0 -208
- package/dist/styles/utilities/_text.scss +0 -203
|
@@ -1,294 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements / default
|
|
3
|
-
// elements / select
|
|
4
|
-
// elements / textarea
|
|
5
|
-
// elements / checkbox & radio
|
|
6
|
-
// error
|
|
7
|
-
// disabled
|
|
8
|
-
// optional
|
|
9
|
-
// icon
|
|
10
|
-
// —————————————————————————————————————————————————————————————————
|
|
11
|
-
|
|
12
|
-
// —————————————————————————————————————————————————————————————————
|
|
13
|
-
// elements / default
|
|
14
|
-
// —————————————————————————————————————————————————————————————————
|
|
15
|
-
|
|
16
|
-
.input {
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
text-align: left;
|
|
20
|
-
position: relative;
|
|
21
|
-
width: 100%;
|
|
22
|
-
max-width: $max-width-form;
|
|
23
|
-
|
|
24
|
-
&:not(:last-child) {
|
|
25
|
-
margin-bottom: 1rem;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&_label {
|
|
29
|
-
@include transition($transition-md, color);
|
|
30
|
-
font-weight: $font-bold;
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
display: block;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
white-space: nowrap;
|
|
35
|
-
position: relative;
|
|
36
|
-
margin-bottom: .25rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&_hint {
|
|
40
|
-
@extend %caption;
|
|
41
|
-
margin-top: -.125rem;
|
|
42
|
-
margin-bottom: .5rem;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&_control {
|
|
46
|
-
@include transition($transition-md, border-color);
|
|
47
|
-
font-size: 1rem;
|
|
48
|
-
font-family: $font, $font-fallback;
|
|
49
|
-
width: 100%;
|
|
50
|
-
border-radius: $border-radius-md !important;
|
|
51
|
-
padding: .325rem .5rem;
|
|
52
|
-
background-color: $input-background;
|
|
53
|
-
border: $border;
|
|
54
|
-
|
|
55
|
-
@include responsive(down, mobile) {
|
|
56
|
-
background-color: $input-background;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&:not(textarea):not(.checkboxes):not(.radios) {
|
|
60
|
-
display: inline-block;
|
|
61
|
-
align-items: center;
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
text-overflow: ellipsis;
|
|
64
|
-
line-height: 1.2;
|
|
65
|
-
white-space: nowrap;
|
|
66
|
-
text-overflow: ellipsis;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:not(textarea) {
|
|
70
|
-
height: $input-height;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@include placeholder {
|
|
76
|
-
color: $text-alt;
|
|
77
|
-
opacity: 1;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
// —————————————————————————————————————————————————————————————————
|
|
81
|
-
// elements / select
|
|
82
|
-
// —————————————————————————————————————————————————————————————————
|
|
83
|
-
|
|
84
|
-
.select {
|
|
85
|
-
|
|
86
|
-
&:after {
|
|
87
|
-
content: '';
|
|
88
|
-
border: solid $text;
|
|
89
|
-
border-width: 0 .125rem .125rem 0;
|
|
90
|
-
padding: .2rem;
|
|
91
|
-
transform: rotate(45deg);
|
|
92
|
-
margin-left: $nav-item*0.5;
|
|
93
|
-
position: absolute;
|
|
94
|
-
bottom: $input-height*.45;
|
|
95
|
-
right: 1rem;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.input_control {
|
|
99
|
-
display: flex;
|
|
100
|
-
align-items: center;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// —————————————————————————————————————————————————————————————————
|
|
105
|
-
// elements / textarea
|
|
106
|
-
// —————————————————————————————————————————————————————————————————
|
|
107
|
-
|
|
108
|
-
textarea {
|
|
109
|
-
resize: vertical;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// —————————————————————————————————————————————————————————————————
|
|
113
|
-
// elements / checkbox & radio
|
|
114
|
-
// —————————————————————————————————————————————————————————————————
|
|
115
|
-
|
|
116
|
-
.checkboxes,
|
|
117
|
-
.radios {
|
|
118
|
-
display: flex;
|
|
119
|
-
background-color: transparent;
|
|
120
|
-
border: 0;
|
|
121
|
-
padding-right: 0;
|
|
122
|
-
padding-left: 0;
|
|
123
|
-
|
|
124
|
-
&:not(&-landscape) {
|
|
125
|
-
flex-direction: column;
|
|
126
|
-
align-items: flex-start !important;
|
|
127
|
-
height: auto !important;
|
|
128
|
-
|
|
129
|
-
.checkbox + .checkbox,
|
|
130
|
-
.radio + .radio {
|
|
131
|
-
margin-top: 0.75rem;
|
|
132
|
-
margin-left: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&-landscape {
|
|
137
|
-
|
|
138
|
-
.checkbox + .checkbox,
|
|
139
|
-
.radio + .radio {
|
|
140
|
-
margin-left: 1rem;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.checkbox,
|
|
146
|
-
.radio {
|
|
147
|
-
display: flex;
|
|
148
|
-
align-items: center;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
input[type="checkbox"],
|
|
152
|
-
input[type='radio'] {
|
|
153
|
-
display: flex;
|
|
154
|
-
align-items: center;
|
|
155
|
-
justify-content: center;
|
|
156
|
-
height: $checkbox-width;
|
|
157
|
-
width: $checkbox-width;
|
|
158
|
-
background-color: $input-background;
|
|
159
|
-
border: $border;
|
|
160
|
-
margin-right: .5rem;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
input[type='checkbox'] { border-radius: $border-radius-sm; }
|
|
164
|
-
input[type='radio'] { border-radius: 50%; }
|
|
165
|
-
|
|
166
|
-
input[type='checkbox']:checked {
|
|
167
|
-
background-color: $primary;
|
|
168
|
-
|
|
169
|
-
&:after {
|
|
170
|
-
content: "✔";
|
|
171
|
-
font-size: 1rem;
|
|
172
|
-
color: $text-contrast;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
input[type='radio']:checked {
|
|
177
|
-
|
|
178
|
-
&:after {
|
|
179
|
-
content: "";
|
|
180
|
-
height: $checkbox-width*.5;
|
|
181
|
-
width: $checkbox-width*.5;
|
|
182
|
-
background-color: $primary;
|
|
183
|
-
border-radius: 50%;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// —————————————————————————————————————————————————————————————————
|
|
188
|
-
// error
|
|
189
|
-
// —————————————————————————————————————————————————————————————————
|
|
190
|
-
|
|
191
|
-
.input.js-error {
|
|
192
|
-
|
|
193
|
-
.input {
|
|
194
|
-
|
|
195
|
-
&_label { color: $error; }
|
|
196
|
-
|
|
197
|
-
&_control {
|
|
198
|
-
border: 1px solid $error;
|
|
199
|
-
|
|
200
|
-
&.checkboxes,
|
|
201
|
-
&.radios {
|
|
202
|
-
border: 0;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
// —————————————————————————————————————————————————————————————————
|
|
209
|
-
// disabled
|
|
210
|
-
// —————————————————————————————————————————————————————————————————
|
|
211
|
-
|
|
212
|
-
.input-disabled,
|
|
213
|
-
.input:disabled {
|
|
214
|
-
opacity: 0.5;
|
|
215
|
-
|
|
216
|
-
.input {
|
|
217
|
-
|
|
218
|
-
&_label,
|
|
219
|
-
&_control {
|
|
220
|
-
cursor: not-allowed;
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
&.select:after {
|
|
225
|
-
opacity: 0.5;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
.checkbox,
|
|
229
|
-
.radio {
|
|
230
|
-
|
|
231
|
-
&_control,
|
|
232
|
-
&_label {
|
|
233
|
-
pointer-events: none;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.checkbox-disabled,
|
|
239
|
-
.radio-disabled {
|
|
240
|
-
cursor: not-allowed;
|
|
241
|
-
opacity: 0.5;
|
|
242
|
-
|
|
243
|
-
> * {
|
|
244
|
-
pointer-events: none;
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// —————————————————————————————————————————————————————————————————
|
|
249
|
-
// optional
|
|
250
|
-
// —————————————————————————————————————————————————————————————————
|
|
251
|
-
|
|
252
|
-
.input-optional {
|
|
253
|
-
|
|
254
|
-
.input_label:after {
|
|
255
|
-
content: " (optional)";
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// —————————————————————————————————————————————————————————————————
|
|
260
|
-
// icon
|
|
261
|
-
// —————————————————————————————————————————————————————————————————
|
|
262
|
-
|
|
263
|
-
.input-withIcon {
|
|
264
|
-
|
|
265
|
-
.input_control {
|
|
266
|
-
padding-right: $input-height*1.25;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
// remove right padding to allow native input trigger
|
|
271
|
-
input[type="date"],
|
|
272
|
-
input[type="time"],
|
|
273
|
-
input[type="number"] {
|
|
274
|
-
appearance: initial;
|
|
275
|
-
padding-right: 0;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
.input_icon {
|
|
279
|
-
display: flex;
|
|
280
|
-
align-items: center;
|
|
281
|
-
justify-content: center;
|
|
282
|
-
position: absolute;
|
|
283
|
-
bottom: 0;
|
|
284
|
-
right: 0;
|
|
285
|
-
width: $input-height;
|
|
286
|
-
height: $input-height;
|
|
287
|
-
pointer-events: none;
|
|
288
|
-
border-left: $border;
|
|
289
|
-
|
|
290
|
-
svg {
|
|
291
|
-
width: 50%;
|
|
292
|
-
height: 50%;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements
|
|
3
|
-
// color
|
|
4
|
-
// —————————————————————————————————————————————————————————————————
|
|
5
|
-
|
|
6
|
-
// —————————————————————————————————————————————————————————————————
|
|
7
|
-
// elements
|
|
8
|
-
// —————————————————————————————————————————————————————————————————
|
|
9
|
-
|
|
10
|
-
.link {
|
|
11
|
-
display: inline-flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
font-weight: $font-regular;
|
|
14
|
-
text-decoration: underline;
|
|
15
|
-
text-underline-offset: 0.1em;
|
|
16
|
-
white-space: nowrap;
|
|
17
|
-
|
|
18
|
-
&__icon {
|
|
19
|
-
display: flex;
|
|
20
|
-
margin-top: 0.1em;
|
|
21
|
-
margin-left: 0.25em;
|
|
22
|
-
|
|
23
|
-
svg {
|
|
24
|
-
height: 1em;
|
|
25
|
-
width: 1em;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// —————————————————————————————————————————————————————————————————
|
|
31
|
-
// color
|
|
32
|
-
// —————————————————————————————————————————————————————————————————
|
|
33
|
-
|
|
34
|
-
// links color is handled by the color mixins in utilities/_text.scss
|
|
35
|
-
|
|
36
|
-
.link {
|
|
37
|
-
color: $primary;
|
|
38
|
-
text-decoration: underline rgba($primary, 0.5);
|
|
39
|
-
|
|
40
|
-
@include hover {
|
|
41
|
-
text-decoration: underline 0.125em;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements
|
|
3
|
-
// dense
|
|
4
|
-
// list item - bold
|
|
5
|
-
// —————————————————————————————————————————————————————————————————
|
|
6
|
-
|
|
7
|
-
// —————————————————————————————————————————————————————————————————
|
|
8
|
-
// elements
|
|
9
|
-
// —————————————————————————————————————————————————————————————————
|
|
10
|
-
|
|
11
|
-
.list {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
align-items: flex-start; // so that children don't take 100% width (for focus style)
|
|
15
|
-
|
|
16
|
-
&_item {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
|
|
20
|
-
&:not(:last-child) {
|
|
21
|
-
margin-bottom: .5rem;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&Icon {
|
|
25
|
-
display: flex;
|
|
26
|
-
height: 1em;
|
|
27
|
-
width: 1em;
|
|
28
|
-
margin-right: .5em;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// —————————————————————————————————————————————————————————————————
|
|
34
|
-
// dense
|
|
35
|
-
// —————————————————————————————————————————————————————————————————
|
|
36
|
-
|
|
37
|
-
.list-dense .list_item,
|
|
38
|
-
.list_item-dense {
|
|
39
|
-
@extend %caption;
|
|
40
|
-
margin-top: 0 !important;
|
|
41
|
-
|
|
42
|
-
&:not(:last-child) {
|
|
43
|
-
margin-bottom: .25rem;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// —————————————————————————————————————————————————————————————————
|
|
48
|
-
// list item - bold
|
|
49
|
-
// —————————————————————————————————————————————————————————————————
|
|
50
|
-
|
|
51
|
-
.list_item-bold {
|
|
52
|
-
@extend %text-bold;
|
|
53
|
-
|
|
54
|
-
.list_itemIcon * {
|
|
55
|
-
stroke: currentColor;
|
|
56
|
-
stroke-width: 0.5rem;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
// —————————————————————————————————————————————————————————————————
|
|
2
|
-
// elements
|
|
3
|
-
// active
|
|
4
|
-
// show
|
|
5
|
-
// direction
|
|
6
|
-
// dense
|
|
7
|
-
// navbar
|
|
8
|
-
// —————————————————————————————————————————————————————————————————
|
|
9
|
-
|
|
10
|
-
// —————————————————————————————————————————————————————————————————
|
|
11
|
-
// elements
|
|
12
|
-
// —————————————————————————————————————————————————————————————————
|
|
13
|
-
|
|
14
|
-
.nav ul,
|
|
15
|
-
.nav__group,
|
|
16
|
-
.nav__target {
|
|
17
|
-
list-style: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.nav {
|
|
21
|
-
width: fit-content;
|
|
22
|
-
|
|
23
|
-
&__container,
|
|
24
|
-
&__group {
|
|
25
|
-
display: flex;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&__item,
|
|
29
|
-
&__trigger {
|
|
30
|
-
border-radius: $border-radius-md;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__item {
|
|
34
|
-
margin: 0;
|
|
35
|
-
position: relative;
|
|
36
|
-
|
|
37
|
-
&:not(:first-child) {
|
|
38
|
-
margin-left: $spacing-xs;
|
|
39
|
-
padding-top: 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&--dropdown {
|
|
43
|
-
display: flex;
|
|
44
|
-
flex-direction: column;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&__trigger {
|
|
49
|
-
@extend %caption;
|
|
50
|
-
font-weight: $font-bold;
|
|
51
|
-
white-space: nowrap;
|
|
52
|
-
cursor: pointer;
|
|
53
|
-
height: $nav-item*2;
|
|
54
|
-
padding: $nav-item*0.5 $nav-item;
|
|
55
|
-
display: flex;
|
|
56
|
-
align-items: center;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
|
|
59
|
-
&:hover {
|
|
60
|
-
background-color: $hover;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.nav__item--dropdown > & {
|
|
64
|
-
|
|
65
|
-
&:after {
|
|
66
|
-
content: '';
|
|
67
|
-
border: solid $text;
|
|
68
|
-
border-width: 0 $spacing-xxs $spacing-xxs 0;
|
|
69
|
-
padding: $spacing-xxs;
|
|
70
|
-
transform: rotate(45deg);
|
|
71
|
-
margin-left: $nav-item*0.5;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&__icon {
|
|
77
|
-
display: flex;
|
|
78
|
-
width: 1rem;
|
|
79
|
-
height: 1rem;
|
|
80
|
-
align-items: center;
|
|
81
|
-
justify-content: center;
|
|
82
|
-
margin-right: 0.25rem;
|
|
83
|
-
margin-left: -0.25rem;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&__target {
|
|
87
|
-
display: none;
|
|
88
|
-
flex-direction: column;
|
|
89
|
-
padding: $nav-item*0.25 $nav-item*0.5 $nav-item*0.5 $nav-item*0.5;
|
|
90
|
-
|
|
91
|
-
.nav {
|
|
92
|
-
|
|
93
|
-
&__item {
|
|
94
|
-
|
|
95
|
-
&:not(:first-child) {
|
|
96
|
-
margin-top: $spacing-xs;
|
|
97
|
-
margin-left: 0;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&__trigger {
|
|
102
|
-
padding-right: $nav-item*0.5;
|
|
103
|
-
padding-left: $nav-item*0.5;
|
|
104
|
-
border-radius: $border-radius-sm;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// —————————————————————————————————————————————————————————————————
|
|
111
|
-
// active
|
|
112
|
-
// —————————————————————————————————————————————————————————————————
|
|
113
|
-
|
|
114
|
-
.nav__trigger--active {
|
|
115
|
-
color: $primary;
|
|
116
|
-
background-color: $hover;
|
|
117
|
-
|
|
118
|
-
.nav__item--dropdown &:after {
|
|
119
|
-
border-color: $primary;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
// —————————————————————————————————————————————————————————————————
|
|
124
|
-
// show
|
|
125
|
-
// —————————————————————————————————————————————————————————————————
|
|
126
|
-
|
|
127
|
-
.nav__item--dropdown.js-show {
|
|
128
|
-
height: auto;
|
|
129
|
-
background-color: $hover;
|
|
130
|
-
|
|
131
|
-
> .nav {
|
|
132
|
-
|
|
133
|
-
&__trigger--active,
|
|
134
|
-
&__trigger:hover {
|
|
135
|
-
background-color: transparent;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
&__target {
|
|
139
|
-
display: flex;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// —————————————————————————————————————————————————————————————————
|
|
145
|
-
// direction
|
|
146
|
-
// —————————————————————————————————————————————————————————————————
|
|
147
|
-
|
|
148
|
-
.nav--portrait {
|
|
149
|
-
width: 100%;
|
|
150
|
-
flex-direction: column;
|
|
151
|
-
|
|
152
|
-
.nav {
|
|
153
|
-
|
|
154
|
-
&__item:not(:first-child) {
|
|
155
|
-
margin-left: 0;
|
|
156
|
-
margin-top: $spacing-xs;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&__group {
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-direction: column;
|
|
162
|
-
align-items: stretch;
|
|
163
|
-
|
|
164
|
-
&:not(:first-child) {
|
|
165
|
-
margin-top: $nav-item;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
// —————————————————————————————————————————————————————————————————
|
|
172
|
-
// dense
|
|
173
|
-
// —————————————————————————————————————————————————————————————————
|
|
174
|
-
|
|
175
|
-
.nav--dense {
|
|
176
|
-
|
|
177
|
-
&.nav--portrait .nav__item:not(:first-child) {
|
|
178
|
-
margin-top: $spacing-xxs;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.nav {
|
|
182
|
-
|
|
183
|
-
&__item,
|
|
184
|
-
&__trigger {
|
|
185
|
-
border-radius: $border-radius-sm;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&__trigger {
|
|
189
|
-
padding: $nav-item*0.25 $nav-item*0.5;
|
|
190
|
-
height: $nav-item*1.5;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&__item--dropdown {
|
|
194
|
-
|
|
195
|
-
.nav__target {
|
|
196
|
-
padding: 0 $nav-item*0.25 $nav-item*0.25 $nav-item*0.25;
|
|
197
|
-
|
|
198
|
-
.nav__trigger {
|
|
199
|
-
padding-right: $nav-item*0.25;
|
|
200
|
-
padding-left: $nav-item*0.25;
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
// —————————————————————————————————————————————————————————————————
|
|
208
|
-
// navbar
|
|
209
|
-
// —————————————————————————————————————————————————————————————————
|
|
210
|
-
|
|
211
|
-
.navbar {
|
|
212
|
-
|
|
213
|
-
.nav {
|
|
214
|
-
|
|
215
|
-
@include responsive(up, tablet) { height: 100%; }
|
|
216
|
-
@include responsive(down, tablet) { width: 100%; }
|
|
217
|
-
|
|
218
|
-
&__container {
|
|
219
|
-
|
|
220
|
-
@include responsive(up, tablet) {
|
|
221
|
-
height: 100%;
|
|
222
|
-
align-items: center;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
@include responsive(down, tablet) {
|
|
226
|
-
@include calc(max-height, '100vh - '$spacing-xl*3);
|
|
227
|
-
align-items: stretch;
|
|
228
|
-
overflow: scroll;
|
|
229
|
-
width: 100%;
|
|
230
|
-
margin-top: $nav-item;
|
|
231
|
-
margin-bottom: $nav-item;
|
|
232
|
-
flex-direction: column;
|
|
233
|
-
width: 100%;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
&__item:not(:first-child) {
|
|
238
|
-
|
|
239
|
-
@include responsive(down, tablet) {
|
|
240
|
-
margin-top: $spacing-xs;
|
|
241
|
-
margin-left: 0;
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&__item--dropdown {
|
|
246
|
-
|
|
247
|
-
@include responsive(up, tablet) {
|
|
248
|
-
|
|
249
|
-
.nav__target {
|
|
250
|
-
@include calc(top, '100% +' $nav-item*0.5);
|
|
251
|
-
position: absolute;
|
|
252
|
-
left: 0;
|
|
253
|
-
width: $spacing-xl*2.5;
|
|
254
|
-
padding: $nav-item*0.5;
|
|
255
|
-
border-radius: $border-radius-md;
|
|
256
|
-
border: $border;
|
|
257
|
-
z-index: 1;
|
|
258
|
-
background-color: $background-paper;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
&__trigger {
|
|
264
|
-
|
|
265
|
-
@include responsive(down, tablet) {
|
|
266
|
-
height: auto;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
}
|