blob: cbb391e7c7b5f5acbc08a84e2afb2fd080a73448 (
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
 | @use "../../../styles/abstracts/placeholders";
.list {
  margin: 0;
  ::marker {
    color: var(--color-primary-dark);
  }
  &--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);
  }
  &--flex {
    @extend %reset-list;
    display: flex;
    flex-flow: row wrap;
    gap: var(--spacing-sm);
  }
  &--flex &--flex {
    display: initial;
    position: relative;
    top: var(--spacing-2xs);
  }
}
 |