2017-10-03 05:34:56 +02:00
|
|
|
// stylelint-disable declaration-no-important
|
2016-12-29 22:22:45 +01:00
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
//
|
2017-06-14 07:11:52 +02:00
|
|
|
// Right side table of contents
|
2015-04-16 23:57:49 +02:00
|
|
|
//
|
|
|
|
|
2017-05-28 06:44:42 +02:00
|
|
|
.bd-toc {
|
2017-05-30 05:28:42 +02:00
|
|
|
@supports (position: sticky) {
|
|
|
|
position: sticky;
|
|
|
|
top: 4rem;
|
2017-10-20 09:12:38 +02:00
|
|
|
height: calc(100vh - 4rem);
|
2017-07-04 20:57:35 +02:00
|
|
|
overflow-y: auto;
|
2017-05-30 05:28:42 +02:00
|
|
|
}
|
2017-06-17 19:28:19 +02:00
|
|
|
order: 2;
|
2017-05-28 06:44:42 +02:00
|
|
|
padding-top: 1.5rem;
|
|
|
|
padding-bottom: 1.5rem;
|
2017-05-29 03:01:24 +02:00
|
|
|
font-size: .875rem;
|
2017-05-28 06:44:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.section-nav {
|
|
|
|
padding-left: 0;
|
|
|
|
border-left: 1px solid #eee;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.toc-entry {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
2017-06-14 07:11:52 +02:00
|
|
|
padding: .125rem 1.5rem;
|
2017-05-28 06:44:42 +02:00
|
|
|
color: #99979c;
|
|
|
|
|
|
|
|
&:hover {
|
2017-06-18 11:57:16 +02:00
|
|
|
color: $blue;
|
2017-05-28 06:44:42 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-06-14 07:11:52 +02:00
|
|
|
//
|
|
|
|
// Left side navigation
|
|
|
|
//
|
|
|
|
|
2016-09-06 01:12:29 +02:00
|
|
|
.bd-sidebar {
|
2017-06-17 19:28:19 +02:00
|
|
|
order: 0;
|
2017-08-08 06:35:43 +02:00
|
|
|
// background-color: #f5f2f9;
|
2017-10-22 23:00:00 +02:00
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, .1);
|
2017-05-28 02:36:35 +02:00
|
|
|
|
2016-09-06 01:12:29 +02:00
|
|
|
@include media-breakpoint-up(md) {
|
2017-05-30 05:28:42 +02:00
|
|
|
@supports (position: sticky) {
|
|
|
|
position: sticky;
|
|
|
|
top: 4rem;
|
2017-05-31 19:13:29 +02:00
|
|
|
z-index: 1000;
|
2017-10-20 09:12:38 +02:00
|
|
|
height: calc(100vh - 4rem);
|
2017-05-30 05:28:42 +02:00
|
|
|
}
|
2017-10-22 23:00:00 +02:00
|
|
|
border-right: 1px solid rgba(0, 0, 0, .1);
|
2016-09-06 01:12:29 +02:00
|
|
|
}
|
2017-05-28 03:47:45 +02:00
|
|
|
|
|
|
|
@include media-breakpoint-up(xl) {
|
2017-12-31 13:45:26 +01:00
|
|
|
flex: 0 1 320px;
|
2017-05-28 03:47:45 +02:00
|
|
|
}
|
2016-09-06 01:12:29 +02:00
|
|
|
}
|
|
|
|
|
2016-10-25 01:06:32 +02:00
|
|
|
.bd-links {
|
2017-05-31 19:13:29 +02:00
|
|
|
padding-top: 1rem;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
margin-right: -15px;
|
|
|
|
margin-left: -15px;
|
|
|
|
|
|
|
|
@include media-breakpoint-up(md) {
|
2017-06-18 07:29:54 +02:00
|
|
|
@supports (position: sticky) {
|
|
|
|
max-height: calc(100vh - 9rem);
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
2017-05-31 19:13:29 +02:00
|
|
|
}
|
2017-05-29 02:49:46 +02:00
|
|
|
|
|
|
|
// Override collapse behaviors
|
|
|
|
@include media-breakpoint-up(md) {
|
|
|
|
display: block !important;
|
|
|
|
}
|
2016-10-25 01:06:32 +02:00
|
|
|
}
|
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
.bd-search {
|
2017-05-28 18:50:53 +02:00
|
|
|
position: relative; // To contain the Algolia search
|
2017-05-31 08:48:52 +02:00
|
|
|
padding: 1rem 15px;
|
|
|
|
margin-right: -15px;
|
|
|
|
margin-left: -15px;
|
2017-10-22 23:00:00 +02:00
|
|
|
border-bottom: 1px solid rgba(0, 0, 0, .05);
|
2017-05-29 07:23:27 +02:00
|
|
|
|
|
|
|
.form-control:focus {
|
|
|
|
border-color: $bd-purple-bright;
|
|
|
|
box-shadow: 0 0 0 3px rgba($bd-purple-bright, .25);
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
|
2017-05-29 02:49:46 +02:00
|
|
|
.bd-search-docs-toggle {
|
|
|
|
line-height: 1;
|
2017-06-30 08:15:16 +02:00
|
|
|
color: $gray-900;
|
2017-05-29 02:49:46 +02:00
|
|
|
}
|
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
.bd-sidenav {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bd-toc-link {
|
|
|
|
display: block;
|
2017-05-31 08:48:52 +02:00
|
|
|
padding: .25rem 1.5rem;
|
2018-09-19 03:31:51 +02:00
|
|
|
font-weight: 600;
|
2017-10-22 23:00:00 +02:00
|
|
|
color: rgba(0, 0, 0, .65);
|
2017-05-28 03:30:58 +02:00
|
|
|
|
2017-05-29 06:40:23 +02:00
|
|
|
&:hover {
|
2017-10-22 23:00:00 +02:00
|
|
|
color: rgba(0, 0, 0, .85);
|
2017-05-29 06:40:23 +02:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
|
|
|
|
2016-10-25 01:06:32 +02:00
|
|
|
.bd-toc-item {
|
2017-05-31 08:48:52 +02:00
|
|
|
&.active {
|
|
|
|
margin-bottom: 1rem;
|
2017-05-29 06:40:23 +02:00
|
|
|
|
2017-05-31 08:48:52 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
2017-05-28 03:30:58 +02:00
|
|
|
|
|
|
|
> .bd-toc-link {
|
2017-10-22 23:00:00 +02:00
|
|
|
color: rgba(0, 0, 0, .85);
|
2017-05-29 06:40:23 +02:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2017-05-28 03:30:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
> .bd-sidenav {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2016-10-25 01:06:32 +02:00
|
|
|
}
|
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
// All levels of nav
|
|
|
|
.bd-sidebar .nav > li > a {
|
|
|
|
display: block;
|
2017-05-28 02:36:35 +02:00
|
|
|
padding: .25rem 1.5rem;
|
2015-04-16 23:57:49 +02:00
|
|
|
font-size: 90%;
|
2017-10-22 23:00:00 +02:00
|
|
|
color: rgba(0, 0, 0, .65);
|
2015-04-16 23:57:49 +02:00
|
|
|
}
|
2017-05-28 03:30:58 +02:00
|
|
|
|
|
|
|
.bd-sidebar .nav > li > a:hover {
|
2017-10-22 23:00:00 +02:00
|
|
|
color: rgba(0, 0, 0, .85);
|
2015-04-16 23:57:49 +02:00
|
|
|
text-decoration: none;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2017-05-28 03:30:58 +02:00
|
|
|
|
2015-04-16 23:57:49 +02:00
|
|
|
.bd-sidebar .nav > .active > a,
|
2017-05-28 03:30:58 +02:00
|
|
|
.bd-sidebar .nav > .active:hover > a {
|
2018-09-19 03:31:51 +02:00
|
|
|
font-weight: 600;
|
2017-10-22 23:00:00 +02:00
|
|
|
color: rgba(0, 0, 0, .85);
|
2015-04-16 23:57:49 +02:00
|
|
|
background-color: transparent;
|
|
|
|
}
|