blob: f6745f087858dc5b0b037a9c81dfcbc0975a8874 (
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
|
$sidebar-border-color: #fff;
$sidebar-hover-border-color: #66bb6a;
.sidebar {
margin-top: 40px;
ul.sidebar-nav {
list-style-type: none;
padding: 0;
li {
&.sidebar-nav-heading {
padding: 10px 0;
margin: 0;
display: block;
font-size: 16px;
font-weight: 300;
}
a {
padding: 4px 0;
display: block;
border-right: 2px solid $sidebar-border-color;
&:focus {
text-decoration: none;
}
.caret {
float: right;
margin-top: 8px;
margin-right: 10px;
}
}
&.active {
a {
border-left: 2px solid $sidebar-hover-border-color;
padding-left: 6px;
}
}
}
ul.sidebar-nav {
padding-left: 10px;
}
}
}
@media (min-width: 992px) {
.sidebar-toggle {
display: none;
}
.sidebar {
&.collapse {
display: block;
}
}
}
|