forked from Jstarfish/JavaKeeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.scss
More file actions
92 lines (77 loc) · 1.44 KB
/
sidebar.scss
File metadata and controls
92 lines (77 loc) · 1.44 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
@import './_palette.scss';
@import './_variables.scss';
.sidebar-toggle span {
background-color: $secondary;
}
.sidebar {
/* For collapsing all but current page */
font-family: 'Dosis', sans-serif;
.collapse ul {
display: none;
}
li {
margin: 0;
a {
height: 36px;
}
}
/* Top-level ul */
.sidebar-nav > ul {
margin-left: $unit * 4;
& > li {
margin: $unit * 3 0;
& > p > a {
font-size: 18px;
font-weight: 600;
}
}
}
/* Sub-level ul */
.sidebar-nav > ul ul {
margin-left: $unit * 3;
& > li {
a {
font-size: 16px;
}
}
}
/**
* For highlighting the currently selected page
* Because the default assumes you only want things highlighted if they don't have any subpages
**/
ul li .active > a {
border-right: $unit * 3/4 solid;
color: $secondary;
font-weight: 600;
}
.active {
&.engine-developer {
& > a,
& li.active > a {
color: $secondary;
}
}
&.ml-integrator {
& > a,
& li.active > a {
color: $accent2;
}
}
&.ml-explorer {
& > a,
& li.active > a {
color: $accent3;
}
}
&.app-developer {
& > a,
& li.active > a {
color: $accent1;
}
}
}
/* Provide some differentiation between section headings and sub-pages in the sidebar */
.section-link {
font-style: italic;
}
}