2018-07-20 17:57:25 +02:00
|
|
|
.glossary {
|
2018-07-27 17:18:29 +02:00
|
|
|
&:not(.sidebar-closed) {
|
|
|
|
main {
|
|
|
|
margin-left: 250px;
|
|
|
|
width: calc(100vw - 250px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.page__header-wrap,
|
|
|
|
.page__content {
|
|
|
|
.inner-wrap {
|
|
|
|
margin-left: 1rem;
|
|
|
|
max-width: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.component--glossary-toc-toggle {
|
|
|
|
left: calc(250px - 25px);
|
|
|
|
}
|
2018-07-20 17:57:25 +02:00
|
|
|
}
|
|
|
|
|
2018-07-27 17:18:29 +02:00
|
|
|
&.sidebar-closed {
|
|
|
|
.component--glossary-toc {
|
|
|
|
left: -250px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.component--glossary-toc-toggle {
|
|
|
|
left: 0;
|
2018-07-20 17:57:25 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-20 00:36:48 +02:00
|
|
|
.component--glossary-toc {
|
2018-07-27 17:18:29 +02:00
|
|
|
width: 250px; height: calc(100vh - 4rem);
|
2018-07-20 17:57:25 +02:00
|
|
|
top: 4rem; left: 0;
|
2018-07-20 00:36:48 +02:00
|
|
|
|
|
|
|
background-color: $white;
|
2018-07-20 17:57:25 +02:00
|
|
|
border-right: 1px solid rgba($gray, 0.3);
|
|
|
|
font-size: 0.8rem !important;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
padding-top: 1rem !important;
|
|
|
|
position: fixed !important;
|
2018-07-20 00:36:48 +02:00
|
|
|
z-index: 1;
|
2018-07-20 17:57:25 +02:00
|
|
|
|
|
|
|
li:last-of-type {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2018-07-20 00:36:48 +02:00
|
|
|
}
|
2018-07-27 17:18:29 +02:00
|
|
|
|
|
|
|
.component--glossary-toc-toggle {
|
|
|
|
width: 25px; height: 104px;
|
|
|
|
|
|
|
|
font-size: 0.7rem;
|
|
|
|
position: absolute;
|
|
|
|
text-orientation: upright;
|
|
|
|
text-transform: uppercase;
|
|
|
|
top: 4rem;
|
|
|
|
writing-mode: vertical-rl;
|
|
|
|
z-index: 1;
|
|
|
|
}
|