2020-12-05 15:17:06 +00:00
|
|
|
main {
|
|
|
|
height: calc(100vh - 72px);
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Styles of the right-hand menu + pages with that menu */
|
|
|
|
.with-sidebar {
|
|
|
|
flex-grow: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
|
|
|
/*margin-top: 50px;*/
|
|
|
|
overflow: hidden;
|
|
|
|
|
2020-12-14 14:43:45 +00:00
|
|
|
/*@media(min-width: 1024px) {
|
2020-12-11 17:13:03 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}*/
|
|
|
|
|
|
|
|
.views-container {
|
|
|
|
flex: 1 0 0;
|
|
|
|
/*-webkit-backface-visibility: hidden;*/
|
|
|
|
|
|
|
|
&.sidebar-is-closed {
|
|
|
|
|
2020-12-14 14:43:45 +00:00
|
|
|
@media(min-width: 1024px) {
|
2020-12-11 17:13:03 +00:00
|
|
|
margin-left: -152px;
|
|
|
|
transform: translate(152px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
>div {
|
|
|
|
transition: all 0.5s;
|
|
|
|
}
|
|
|
|
|
2020-12-23 16:47:07 +00:00
|
|
|
.sidebar {
|
2020-12-11 17:13:03 +00:00
|
|
|
background: #F1F1F1;
|
2020-12-23 16:47:07 +00:00
|
|
|
height: calc(100vh - 72px);
|
2020-12-11 17:13:03 +00:00
|
|
|
transition: all 0.5s;
|
|
|
|
width: 217px;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
|
|
|
li {
|
|
|
|
border-bottom: 1px solid #D6CECE;
|
|
|
|
|
|
|
|
&>a {
|
|
|
|
vertical-align: super;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&>li:first-child>a {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
>solid-route {
|
|
|
|
|
|
|
|
&[active]>li {
|
|
|
|
background-color: var(--color-heading);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
&:hover:not([active])>li {
|
|
|
|
background: #E4E4E4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-12-23 16:47:07 +00:00
|
|
|
/* Styles use with JS to open/close the sidebar */
|
2020-12-11 17:13:03 +00:00
|
|
|
&.jsRightMenu {
|
|
|
|
display: none;
|
|
|
|
|
2020-12-14 14:43:45 +00:00
|
|
|
@media(min-width: 1024px) {
|
2020-12-11 17:13:03 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.jsRightMenu:not([open]) {
|
|
|
|
transform: translate(152px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&.jsRightMenu[open] {
|
|
|
|
|
2020-12-14 14:43:45 +00:00
|
|
|
@media(min-width: 1024px) {
|
2020-12-11 17:13:03 +00:00
|
|
|
display: block;
|
|
|
|
bottom: 0;
|
|
|
|
box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.12);
|
|
|
|
min-width: 60%;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
|
|
|
top: 50px;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
2020-12-14 14:43:45 +00:00
|
|
|
@media(min-width: 1024px) {
|
2020-12-11 17:13:03 +00:00
|
|
|
box-shadow: none;
|
|
|
|
min-width: unset;
|
|
|
|
position: unset;
|
|
|
|
z-index: unset;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-12-05 15:17:06 +00:00
|
|
|
}
|