-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy path_doc-sidebar.scss
More file actions
110 lines (92 loc) · 2.52 KB
/
_doc-sidebar.scss
File metadata and controls
110 lines (92 loc) · 2.52 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.sidebar {
.sidebar-inner {
padding: 120px 0 40px;
max-width: 320px;
position: relative;
z-index: 50;
h1 {
margin: 0 0 70px;
padding: 0;
border-bottom: 2px solid $light1;
height: 82px;
width: 290px;
position: fixed;
top: 0;
&:hover {
border-color: $blue;
}
a.logo {
padding: 0 0 0 0.825em;
display: block;
line-height: 78px;
background: white;
border-right: 2px solid $light1;
img {
margin-top: -10px;
}
}
}
&:hover li a {
color: darken($grey, 33.333%);
}
ul, li {
list-style: none;
padding: 0;
margin: 0;
}
li {
font-size: 1.125em;
a {
padding: 0.333em 2.5em;
display: inline-block;
width: 100%;
color: darken($grey, 17.5%);
font-size: 0.825em;
@include transition;
&[state=open],
&.current {
color: $pink;
font-weight: bold;
+ ul > li a {
font-weight: normal !important;
color: $dark1;
&:before {
content: " ";
position: absolute;
width: 8px;
height: 8px;
border-radius: 4px;
display: inline-block;
border: 4px solid lighten($lightpink, 25%);
margin: 0.5em 0 0 0;
left: 2.8em;
}
}
}
&:hover {
background: $light1;
}
}
&.toctree-l1.current {
ul {
display: block !important;
}
}
}
ul {
padding-bottom: 1.5em;
}
li li a {
padding-left: 4em;
font-size: 0.75em;
}
}
.sidebar-bg {
position: fixed;
top: 0;
bottom: 0;
width: 290px;
border-right: 2px solid $light1;
z-index: 10;
}
}