-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path_base.scss
58 lines (47 loc) · 998 Bytes
/
_base.scss
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
56
57
58
// Copyright (C) 2018 The Trustees of Indiana University
// SPDX-License-Identifier: BSD-3-Clause
@use '../core' as *;
.#{$prefix}-list,
.#{$prefix}-list-inline,
.#{$prefix}-list-plain {
display: flex;
gap: $spacing-xs $spacing-sm;
margin: $spacing-xs 0 0 0;
}
.#{$prefix}-list,
.#{$prefix}-list-plain {
flex-direction: column;
}
.#{$prefix}-list-inline,
.#{$prefix}-list-plain {
// Equivalent to `list-style: none`, but retains list semantics in VoiceOver.
list-style: '';
padding-left: 0;
}
.#{$prefix}-list,
.#{$prefix}-list-plain .#{$prefix}-list-plain {
padding-left: $spacing-lg;
}
.#{$prefix}-list-inline {
flex-direction: row;
flex-wrap: wrap;
}
.#{$prefix}-list-reset {
list-style: '';
margin-top: 0;
margin-bottom: 0;
padding-left: 0;
}
.#{$prefix}-list-description {
margin: 0;
:where(dt) {
font-weight: $font-weight-bold;
margin-top: $spacing-sm;
}
:where(dt + dt) {
margin-top: 0;
}
:where(dd) {
margin-left: 0;
}
}