blob: d62d49208f0554188b675d2ebca2f5cb1b05a14e (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
.toc {
position: -webkit-sticky;
position: sticky;
top: $grid-nav-height;
padding: 0.5rem;
margin: 0 0.5rem;
margin-top: 0;
padding-top: 1.25rem;
height: calc(100vh - $grid-nav-height);
overflow: auto;
font-size: 0.85rem;
z-index: z('toc');
max-height: 100vh;
@include no-select;
@include themify($themes) {
@include webkit-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
@include moz-scrollbars(themed('custom-scrollbar-foreground-color'), themed('custom-scrollbar-background-color'));
}
#TableOfContents {
position: relative;
}
&__label {
font-family: $title-font;
font-size: 1rem;
margin-top: 0.65rem;
margin-bottom: 1rem;
margin-left: 1.25rem;
padding-bottom: 0.5rem;
@include themify($themes) {
color: themed('toc-label-color');
}
}
@include themify($themes) {
a {
color: themed('toc-color');
position: relative;
@include on-event {
color: themed('link-hover');
}
&.active {
color: themed('active-font-color');
&::before {
background-color: themed('active-font-color');
content: '';
height: 11px;
left: -8px;
margin: 0.25rem 0;
position: absolute;
width: 2px;
&:last-child {
background-color: transparent;
}
}
}
}
}
ul {
li {
li {
margin-left: 0.5rem;
}
}
}
}
.expand__content {
#TableOfContents {
ul {
list-style-type: circle;
}
}
}
|