forked from projectcalico/calico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.scss
67 lines (56 loc) · 1.21 KB
/
sidebar.scss
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
#sidebar {
a {
color: #004078;
text-decoration: none;
}
// Don't indent the first, big, section title link
// Otherwise we're adding unnecessary padding
>div.link {
padding-left:0px !important
}
// Move hyperlinks left 12px to leave space for glyphicon
div.link a {
position: relative;
left: 15px;
}
// Blow up the first toplevel link a bit (since it always is the splash page
// for this nav.)
> div:first-child > a {
font-weight: 700;
font-size: 1.2em;
padding-left: 0px;
}
.glyphicon-chevron-right,.glyphicon-chevron-down {
font-size: 10px;
color: #f69432;
position: absolute;
top: 9px;
}
// Highlight the one <a> element that represents the currently viewed page
div.current-page {
a {
color: #f69432;
}
.item {
color: #f69432;
}
}
// Give all links left padding to create the collapsed indentation.
div.link {
// padding-left: 15px;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 5px;
position: relative;
}
.section {
padding-left: 15px;
}
.navbar-title {
&--clickable {
display: block;
margin: -10px -15px;
padding: 10px 15px;
}
}
}