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
| #docs-sidebar {
| margin-bottom: 30px;
| margin-top: 50px;
|
| ul.nav.docs-sidenav {
| display: block;
| padding-bottom: 15px;
|
| li {
| a {
| color: $sidebar-link-color;
| font-size: $sidebar-font-size;
| padding: 10px 0 10px 15px;
|
| &:before {
| color: $sidebar-link-color-active;
| content: '\203A';
| font-size: $font-size;
| left: 0;
| line-height: 100%;
| opacity: 0.4;
| position: absolute;
|
| height: 100%;
| width: 8px
| }
|
| &:focus,
| &:hover {
| background-color: transparent;
| color: $sidebar-link-color-hover;
|
| &:before {
| opacity: 1;
| }
| }
| }
|
| // For forcing sub-navs to appear - in the long term, this should not
| // be a thing anymore...
| > ul.nav-visible {
| display: block;
| }
| }
|
| li.active {
| > a {
| color: $sidebar-link-color-active;
|
| &:before {
| opacity: 1;
| }
| }
|
| // Open nested navigations
| > ul.nav {
| display: block;
| }
| }
|
| // subnav
| ul.nav {
| display: none;
| margin: 10px;
|
| li {
| margin-left: 10px;
|
| a {
| padding: 6px 15px;
| }
| }
| }
| }
| }
|
|