forked from canonical/vanilla-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_base_lists.scss
More file actions
51 lines (42 loc) · 775 Bytes
/
_base_lists.scss
File metadata and controls
51 lines (42 loc) · 775 Bytes
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
@import 'settings';
@mixin vf-b-lists {
// stylelint-disable selector-max-type -- base styles can use type selectors
ol,
ul {
margin-bottom: $spv--x-large;
margin-left: $sph--large;
margin-top: 0;
padding-left: $sph--large;
nav & {
list-style: none;
list-style-image: none;
}
}
li {
margin: 0;
padding: 0;
}
li > ul,
li > ol {
margin-bottom: 0;
padding-top: 0;
}
li > ul > li:last-of-type,
li > ol > li:last-of-type {
padding-bottom: 0;
}
dl {
margin-bottom: $spv--x-large;
margin-top: 0;
padding: 0;
}
dd {
@extend %default-text;
margin-left: $sph--large;
}
dt {
@extend %default-text;
@extend %bold;
}
// stylelint-enable selector-max-type
}