2020-12-05 15:17:06 +00:00
|
|
|
main {
|
2021-04-01 05:10:59 +00:00
|
|
|
height: 100vh;
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
|
2021-04-08 15:48:21 +00:00
|
|
|
.no-background-image {
|
2021-04-08 18:45:46 +00:00
|
|
|
background-image: none !important;
|
2021-04-08 15:48:21 +00:00
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
.views-container {
|
|
|
|
flex: 1 0 0;
|
|
|
|
/*-webkit-backface-visibility: hidden;*/
|
|
|
|
|
|
|
|
&.sidebar-is-closed {
|
|
|
|
|
2021-01-19 18:59:24 +00:00
|
|
|
@media(min-width: 768.01px) {
|
2021-04-19 14:18:24 +00:00
|
|
|
margin-left: -157px;
|
|
|
|
transform: translate(157px);
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
>div {
|
|
|
|
transition: all 0.5s;
|
|
|
|
}
|
|
|
|
|
2020-12-23 16:47:07 +00:00
|
|
|
.sidebar {
|
2020-12-11 17:13:03 +00:00
|
|
|
background: #F1F1F1;
|
2021-04-01 05:10:59 +00:00
|
|
|
height: calc(100vh - 50px);
|
2020-12-11 17:13:03 +00:00
|
|
|
transition: all 0.5s;
|
|
|
|
width: 217px;
|
|
|
|
|
2021-01-19 18:59:24 +00:00
|
|
|
@media (max-width: 768px) {
|
2021-04-19 14:18:24 +00:00
|
|
|
width: 60px;
|
2021-01-19 18:59:24 +00:00
|
|
|
}
|
|
|
|
|
2020-12-11 17:13:03 +00:00
|
|
|
ul {
|
2021-04-19 14:18:24 +00:00
|
|
|
|
2020-12-11 17:13:03 +00:00
|
|
|
&>li:first-child>a {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2021-04-14 16:33:54 +00:00
|
|
|
>solid-route {
|
2020-12-11 17:13:03 +00:00
|
|
|
|
|
|
|
&[active]>li {
|
|
|
|
background-color: var(--color-heading);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
&:hover:not([active])>li {
|
|
|
|
background: #E4E4E4;
|
|
|
|
}
|
2021-04-14 16:33:54 +00:00
|
|
|
}
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
|
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 {
|
2021-04-15 11:13:48 +00:00
|
|
|
@media (min-width: 768,01px) {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-04-13 10:26:35 +00:00
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
position: fixed;
|
2021-04-15 08:06:06 +00:00
|
|
|
top: 99px;
|
|
|
|
right: 0;
|
2021-04-13 10:26:35 +00:00
|
|
|
height: auto;
|
2021-04-14 16:33:54 +00:00
|
|
|
z-index: 2999;
|
2021-04-13 10:26:35 +00:00
|
|
|
box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14);
|
|
|
|
}
|
|
|
|
|
2021-01-22 13:21:25 +00:00
|
|
|
solid-link[active] {
|
|
|
|
color: white;
|
|
|
|
background: var(--color-heading);
|
2021-04-13 10:26:35 +00:00
|
|
|
|
|
|
|
>li {
|
|
|
|
border-bottom: 1px solid var(--color-heading);
|
|
|
|
}
|
2021-01-22 13:21:25 +00:00
|
|
|
}
|
2021-04-13 10:26:35 +00:00
|
|
|
|
2021-01-22 13:50:03 +00:00
|
|
|
solid-link:not([active]):hover {
|
|
|
|
background: #e4e4e4;
|
|
|
|
}
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.jsRightMenu:not([open]) {
|
2021-01-19 18:59:24 +00:00
|
|
|
@media (min-width: 768.01px) {
|
2021-04-19 14:18:24 +00:00
|
|
|
transform: translate(157px);
|
2021-01-19 18:59:24 +00:00
|
|
|
}
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.jsRightMenu[open] {
|
2021-01-19 18:59:24 +00:00
|
|
|
display: block;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
2020-12-11 17:13:03 +00:00
|
|
|
}
|
|
|
|
}
|
2021-04-15 19:49:06 +00:00
|
|
|
|
|
|
|
.jsMobileRightMenuButton {
|
|
|
|
float: right;
|
|
|
|
}
|
2021-01-12 10:25:09 +00:00
|
|
|
}
|
|
|
|
|
2021-04-01 05:10:59 +00:00
|
|
|
/* Add scrollbar to the left menu and to the content */
|
2021-01-12 10:25:09 +00:00
|
|
|
.scrollbar-nav,
|
|
|
|
.scrollbar-content {
|
|
|
|
overflow-y: auto;
|
2021-04-01 05:10:59 +00:00
|
|
|
height: calc(100vh - 50px); /* 50px == header's height */
|
2021-01-12 10:25:09 +00:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
-ms-overflow-style: none;
|
2021-04-01 05:10:59 +00:00
|
|
|
}
|
2021-01-19 18:59:24 +00:00
|
|
|
|
2021-04-01 05:10:59 +00:00
|
|
|
.scrollbar-nav {
|
|
|
|
height: 100vh;
|
2021-01-12 10:25:09 +00:00
|
|
|
}
|
|
|
|
|
2021-04-13 10:26:35 +00:00
|
|
|
/* Custom scrollbar of the right-menu */
|
2021-01-12 10:25:09 +00:00
|
|
|
/* Works on Firefox*/
|
|
|
|
.scrollbar-nav {
|
|
|
|
scrollbar-width: thin;
|
2021-04-26 16:02:11 +00:00
|
|
|
scrollbar-color:#E4E9F1 var(--color-heading);
|
2021-01-12 10:25:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Works on Chrome, Edge, and Safari */
|
|
|
|
.scrollbar-nav {
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
background: var(--color-heading); /* color of the tracking area */
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
2021-04-26 16:02:11 +00:00
|
|
|
background-color:#E4E9F1; /* color of the scroll thumb */
|
2021-01-12 10:25:09 +00:00
|
|
|
border-radius: 6px; /* roundness of the scroll thumb */
|
|
|
|
border: 3px solid var(--color-heading); /* creates padding around scroll thumb */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Custom scrollbar of the content */
|
|
|
|
/* Works on Firefox */
|
|
|
|
.scrollbar-content {
|
|
|
|
scrollbar-width: thin;
|
2021-04-26 16:02:11 +00:00
|
|
|
scrollbar-color:#E4E9F1 white; /* scroll thumb and track */
|
2021-01-12 10:25:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Works on Chrome, Edge, and Safari */
|
|
|
|
.scrollbar-content {
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
background: white; /* color of the tracking area */
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
2021-04-26 16:02:11 +00:00
|
|
|
background-color:#E4E9F1; /* color of the scroll thumb */
|
2021-01-12 10:25:09 +00:00
|
|
|
border-radius: 6px; /* roundness of the scroll thumb */
|
|
|
|
border: 3px solid white; /* creates padding around scroll thumb */
|
|
|
|
}
|
|
|
|
}
|
2021-04-13 10:26:35 +00:00
|
|
|
/* End scrollbar*/
|
2021-01-21 22:54:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
solid-display-value-markdown {
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|