2016-12-29 22:22:45 +01:00
|
|
|
// scss-lint:disable VendorPrefix
|
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
//
|
|
|
|
// Side navigation
|
|
|
|
//
|
|
|
|
|
2016-09-06 01:12:29 +02:00
|
|
|
.bd-sidebar {
|
2017-05-28 02:36:35 +02:00
|
|
|
padding-top: 1rem;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border-right: 1px solid rgba(0,0,0,.1);
|
|
|
|
|
2016-09-06 01:12:29 +02:00
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
position: sticky;
|
2017-05-28 02:36:35 +02:00
|
|
|
top: 4rem;
|
2016-09-06 07:41:10 +02:00
|
|
|
max-height: calc(100vh - 4rem);
|
|
|
|
overflow-y: auto;
|
2016-09-06 01:12:29 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-25 01:06:32 +02:00
|
|
|
.bd-links {
|
2017-05-28 02:36:35 +02:00
|
|
|
margin-right: -15px;
|
|
|
|
margin-left: -15px;
|
2016-10-25 01:06:32 +02:00
|
|
|
// padding-top: .25rem;
|
|
|
|
// padding-bottom: .25rem;
|
2017-05-28 02:36:35 +02:00
|
|
|
// border: 1px solid $gray-lighter;
|
|
|
|
// border-radius: .25rem;
|
2016-10-25 01:06:32 +02:00
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
2017-05-28 02:36:35 +02:00
|
|
|
// margin-right: 1.5rem;
|
2016-10-25 01:06:32 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
.bd-search {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.form-control {
|
2016-09-06 07:41:10 +02:00
|
|
|
// height: 2.45rem;
|
|
|
|
// padding-top: .4rem;
|
|
|
|
// padding-bottom: .4rem;
|
2015-08-11 01:47:43 +02:00
|
|
|
background-color: #fafafa;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
2016-09-05 07:04:58 +02:00
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
2016-10-25 01:06:32 +02:00
|
|
|
// padding-right: 1rem;
|
2016-09-05 07:04:58 +02:00
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.bd-search-results {
|
|
|
|
right: 0;
|
|
|
|
display: block;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
2016-10-25 01:06:32 +02:00
|
|
|
font-size: .85rem;
|
2015-04-29 20:42:50 +02:00
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
|
2015-08-19 04:51:21 +02:00
|
|
|
.dropdown-item {
|
2015-04-16 23:57:49 +02:00
|
|
|
padding-right: .75rem;
|
2016-01-04 03:17:58 +01:00
|
|
|
padding-left: .75rem;
|
2015-04-16 23:57:49 +02:00
|
|
|
|
2015-08-19 04:51:21 +02:00
|
|
|
&:first-child { margin-top: .25rem; }
|
|
|
|
&:last-child { margin-bottom: .25rem; }
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
|
2015-08-19 04:51:21 +02:00
|
|
|
.no-results {
|
2015-04-16 23:57:49 +02:00
|
|
|
padding: .75rem 1rem;
|
|
|
|
color: #7a7a7a;
|
|
|
|
text-align: center;
|
2015-12-07 01:41:38 +01:00
|
|
|
white-space: normal; // Undo .dropdown-item defaults
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.bd-sidenav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-toc-link {
|
|
|
|
display: block;
|
2016-10-25 01:06:32 +02:00
|
|
|
// padding-top: .25rem;
|
|
|
|
// padding-bottom: .25rem;
|
2017-05-28 02:36:35 +02:00
|
|
|
padding: .75rem 1.5rem;
|
2015-04-16 23:57:49 +02:00
|
|
|
color: $gray;
|
|
|
|
}
|
|
|
|
.bd-toc-link:hover,
|
|
|
|
.bd-toc-link:focus {
|
|
|
|
color: $brand-primary;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
.active > .bd-toc-link {
|
|
|
|
font-weight: 500;
|
|
|
|
color: $gray-dark;
|
|
|
|
}
|
|
|
|
.active > .bd-sidenav {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-10-25 01:06:32 +02:00
|
|
|
.bd-toc-item {
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $gray-lighter;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
.bd-toc-item.active {
|
2016-10-25 01:06:32 +02:00
|
|
|
padding-top: .25rem;
|
|
|
|
padding-bottom: 1rem;
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
.bd-toc-item:first-child {
|
2016-10-25 01:06:32 +02:00
|
|
|
// margin-top: 0;
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
.bd-toc-item:last-child {
|
2016-10-25 01:06:32 +02:00
|
|
|
// margin-bottom: 2rem;
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// All levels of nav
|
|
|
|
.bd-sidebar .nav > li > a {
|
|
|
|
display: block;
|
2016-10-25 01:06:32 +02:00
|
|
|
// padding-top: .25rem;
|
|
|
|
// padding-bottom: .25rem;
|
2017-05-28 02:36:35 +02:00
|
|
|
padding: .25rem 1.5rem;
|
2015-04-16 23:57:49 +02:00
|
|
|
font-size: 90%;
|
|
|
|
color: #99979c;
|
|
|
|
}
|
|
|
|
.bd-sidebar .nav > li > a:hover,
|
|
|
|
.bd-sidebar .nav > li > a:focus {
|
|
|
|
color: $brand-primary;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
.bd-sidebar .nav > .active > a,
|
|
|
|
.bd-sidebar .nav > .active:hover > a,
|
|
|
|
.bd-sidebar .nav > .active:focus > a {
|
|
|
|
font-weight: 500;
|
|
|
|
color: $gray-dark;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|