aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/list/list.module.scss
blob: d9d1f6462000e533ad01118596035385fefe5100 (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
@use "../../../../styles/abstracts/placeholders";

.item {
  &--no-marker {
    list-style-type: none;
  }
}

.list {
  &--hierarchical {
    @extend %hierarchical-list;
  }

  &--inline {
    @extend %inline-list;
  }

  &--stack {
    .item {
      @extend %list-item;
    }
  }

  &--no-marker {
    list-style-type: none;
  }
}

.list--ordered:where(.list--stack),
.list--unordered:where(.list--stack) {
  @extend %regular-list;
}