76 lines
1.3 KiB
SCSS
76 lines
1.3 KiB
SCSS
@import "~bootstrap/scss/bootstrap.scss";
|
|
|
|
|
|
.layer-switcher {
|
|
display:block;
|
|
width:2.5em;
|
|
height:2.5em;
|
|
background-color: $body-bg;
|
|
background-size: contain;
|
|
margin-top:0.5em;
|
|
text-align: center;
|
|
line-height: 2.5em;
|
|
border-radius: 1.75em;
|
|
padding: 0;
|
|
color: $secondary;
|
|
}
|
|
|
|
.layer-switcher i {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.slideButton {
|
|
margin-left: 1em;
|
|
}
|
|
|
|
.layers {
|
|
color:$secondary;
|
|
position: absolute;
|
|
overflow: hidden;
|
|
bottom: -1em;
|
|
right: -1em;
|
|
text-align: left;
|
|
min-width: 100vw;
|
|
z-index: 4;
|
|
// transition: max-height 0.3s ease-out,max-width 0.3s ease-out,min-height 0.3s ease-out,min-width 0.3s ease-out;
|
|
}
|
|
|
|
.hidden {
|
|
max-width:0;
|
|
max-height: 0;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
.navbar-nav {
|
|
padding-left: 7px;
|
|
padding-right: 7px;
|
|
margin-bottom: 7px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
bottom:-3rem;
|
|
height: 50vh;
|
|
}
|
|
|
|
@media screen and (min-width:44rem) {
|
|
.layer-switcher {
|
|
position: relative;
|
|
}
|
|
|
|
.layers {
|
|
max-width: 100%;
|
|
min-width: 22em;
|
|
bottom: 2.5em;
|
|
right: 2.5em;
|
|
min-height: 0;
|
|
max-height: calc(100vh - 9rem);
|
|
}
|
|
|
|
.hidden {
|
|
max-width:0;
|
|
max-height: 0;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
}
|
|
}
|