mappe per georeferenziazione
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

117 righe
1.9 KiB

2 anni fa
// stylelint-disable declaration-no-important
//
// Right side table of contents
//
.bd-toc {
border-left: 1px solid #eee;
@supports (position: sticky) {
position: sticky;
top: 5rem;
height: calc(100vh - 5rem);
overflow-y: auto;
}
order: 2;
padding-top: 1.5rem;
padding-bottom: 1.5rem;
font-size: .875rem;
.section-nav {
padding-left: 0;
ul {
padding-left: 1rem;
ul {
display: none;
}
}
.toc-entry {
display: block;
a {
display: block;
padding: .125rem 1.5rem;
color: #77757a;
&:hover {
color: $blue;
text-decoration: none;
}
}
}
}
}
//
// Left side navigation
//
.bd-sidebar {
order: 0;
border-bottom: 1px solid rgba(0, 0, 0, .1);
.bd-links {
padding: 0;
.link-list-wrapper {
ul.link-list > li > a {
font-size: .889rem;
}
}
@include media-breakpoint-up(md) {
@supports (position: sticky) {
max-height: calc(100vh - 5rem);
overflow-y: auto;
}
}
// Override collapse behaviors
@include media-breakpoint-up(md) {
display: block !important;
}
}
.nav {
> li > a {
display: inline-block;
padding: .25rem .5rem .25rem 1.5rem;
font-size: 16px;
color: $gray-800;
&:hover {
color: $primary;
background-color: transparent;
}
}
> .active > a,
> .active:hover > a {
font-weight: 600;
color: $primary;
background-color: transparent;
}
}
@include media-breakpoint-up(md) {
@supports (position: sticky) {
position: sticky;
top: 5rem;
height: calc(100vh - 5rem);
overflow-y: auto;
}
padding: 1.5rem 0;
border-right: 1px solid rgba(0, 0, 0, .1);
}
@include media-breakpoint-up(xl) {
flex: 0 1 320px;
}
}