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