blob: f647072a5b9f5f0e495114a8c935bb4b62e45bf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
52
53
54
55
|
@use "@styles/abstracts/placeholders";
.list {
margin: 0;
::marker {
color: var(--color-primary-dark);
}
& & {
margin-top: var(--spacing-2xs);
}
&--ordered {
padding: 0;
counter-reset: li;
list-style-type: none;
}
&--ordered &__item {
display: table;
counter-increment: li;
&::before {
content: counters(li, ".") ". ";
display: table-cell;
padding-right: var(--spacing-2xs);
color: var(--color-secondary);
}
}
&--unordered {
padding: 0 0 0 var(--spacing-sm);
}
&--has-margin &__item {
&:not(:last-child) {
margin-bottom: var(--spacing-2xs);
}
}
&--flex {
@extend %reset-list;
display: flex;
flex-flow: row wrap;
gap: var(--spacing-sm);
}
&--flex &--flex {
display: initial;
position: relative;
top: var(--spacing-2xs);
}
}
|