2017-03-28 01:19:52 +00:00
|
|
|
#docs-sidebar {
|
2016-01-19 18:08:53 +00:00
|
|
|
margin-bottom: 30px;
|
|
|
|
margin-top: 50px;
|
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
ul.nav.docs-sidenav {
|
|
|
|
display: block;
|
2016-01-19 18:08:53 +00:00
|
|
|
padding-bottom: 15px;
|
|
|
|
|
|
|
|
li {
|
2017-03-28 01:19:52 +00:00
|
|
|
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
|
|
|
|
}
|
2016-01-19 18:08:53 +00:00
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
color: $sidebar-link-color-hover;
|
2016-01-19 18:08:53 +00:00
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
&:before {
|
|
|
|
opacity: 1;
|
2016-01-19 18:08:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
// For forcing sub-navs to appear - in the long term, this should not
|
|
|
|
// be a thing anymore...
|
|
|
|
> ul.nav-visible {
|
2016-01-19 18:08:53 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
li.active {
|
2016-01-19 18:08:53 +00:00
|
|
|
> a {
|
2017-03-28 01:19:52 +00:00
|
|
|
color: $sidebar-link-color-active;
|
2016-01-19 18:08:53 +00:00
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
&:before {
|
|
|
|
opacity: 1;
|
2016-01-19 18:08:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
// Open nested navigations
|
|
|
|
> ul.nav {
|
|
|
|
display: block;
|
2016-01-19 18:08:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
// subnav
|
|
|
|
ul.nav {
|
|
|
|
display: none;
|
|
|
|
margin: 10px;
|
2016-01-19 18:08:53 +00:00
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
li {
|
|
|
|
margin-left: 10px;
|
2016-01-19 18:08:53 +00:00
|
|
|
|
2017-03-28 01:19:52 +00:00
|
|
|
a {
|
|
|
|
padding: 6px 15px;
|
|
|
|
}
|
|
|
|
}
|
2016-01-19 18:08:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|