2020-10-24 02:58:05 +00:00
|
|
|
.sticky {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
max-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-nav-sidebar {
|
|
|
|
z-index: 20;
|
|
|
|
left: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex: 0 0 23px;
|
|
|
|
width: 23px;
|
2021-04-11 19:51:12 +00:00
|
|
|
border: 0;
|
|
|
|
border-right: 1px solid var(--hairline-color);
|
|
|
|
background-color: var(--body-bg);
|
2020-10-24 02:58:05 +00:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 20px;
|
2021-04-11 19:51:12 +00:00
|
|
|
color: var(--link-fg);
|
2020-10-24 02:58:05 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .toggle-nav-sidebar {
|
2021-04-11 19:51:12 +00:00
|
|
|
border-left: 1px solid var(--hairline-color);
|
2020-10-24 02:58:05 +00:00
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-nav-sidebar:hover,
|
|
|
|
.toggle-nav-sidebar:focus {
|
2021-04-11 19:51:12 +00:00
|
|
|
background-color: var(--darkened-bg);
|
2020-10-24 02:58:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-sidebar {
|
|
|
|
z-index: 15;
|
|
|
|
flex: 0 0 275px;
|
|
|
|
left: -276px;
|
|
|
|
margin-left: -276px;
|
|
|
|
border-top: 1px solid transparent;
|
2021-04-11 19:51:12 +00:00
|
|
|
border-right: 1px solid var(--hairline-color);
|
|
|
|
background-color: var(--body-bg);
|
2020-10-24 02:58:05 +00:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] #nav-sidebar {
|
2021-04-11 19:51:12 +00:00
|
|
|
border-left: 1px solid var(--hairline-color);
|
2020-10-24 02:58:05 +00:00
|
|
|
border-right: 0;
|
|
|
|
left: 0;
|
|
|
|
margin-left: 0;
|
|
|
|
right: -276px;
|
|
|
|
margin-right: -276px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.toggle-nav-sidebar::before {
|
|
|
|
content: '\00BB';
|
|
|
|
}
|
|
|
|
|
|
|
|
.main.shifted .toggle-nav-sidebar::before {
|
|
|
|
content: '\00AB';
|
|
|
|
}
|
|
|
|
|
|
|
|
.main.shifted > #nav-sidebar {
|
|
|
|
left: 24px;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .main.shifted > #nav-sidebar {
|
|
|
|
left: 0;
|
|
|
|
right: 24px;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-sidebar .module th {
|
|
|
|
width: 100%;
|
2021-01-18 20:47:26 +00:00
|
|
|
overflow-wrap: anywhere;
|
2020-10-24 02:58:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#nav-sidebar .module th,
|
|
|
|
#nav-sidebar .module caption {
|
|
|
|
padding-left: 16px;
|
|
|
|
}
|
|
|
|
|
2021-01-18 20:47:26 +00:00
|
|
|
#nav-sidebar .module td {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2020-10-24 02:58:05 +00:00
|
|
|
[dir="rtl"] #nav-sidebar .module th,
|
|
|
|
[dir="rtl"] #nav-sidebar .module caption {
|
|
|
|
padding-left: 8px;
|
|
|
|
padding-right: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-sidebar .current-app .section:link,
|
|
|
|
#nav-sidebar .current-app .section:visited {
|
2021-04-11 19:51:12 +00:00
|
|
|
color: var(--header-color);
|
2020-10-24 02:58:05 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-sidebar .current-model {
|
2021-04-11 19:51:12 +00:00
|
|
|
background: var(--selected-row);
|
2020-10-24 02:58:05 +00:00
|
|
|
}
|
|
|
|
|
2021-01-18 20:47:26 +00:00
|
|
|
.main > #nav-sidebar + .content {
|
|
|
|
max-width: calc(100% - 23px);
|
|
|
|
}
|
|
|
|
|
|
|
|
.main.shifted > #nav-sidebar + .content {
|
|
|
|
max-width: calc(100% - 299px);
|
|
|
|
}
|
|
|
|
|
2020-10-24 02:58:05 +00:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
#nav-sidebar, #toggle-nav-sidebar {
|
|
|
|
display: none;
|
|
|
|
}
|
2021-01-18 20:47:26 +00:00
|
|
|
|
|
|
|
.main > #nav-sidebar + .content,
|
|
|
|
.main.shifted > #nav-sidebar + .content {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2020-10-24 02:58:05 +00:00
|
|
|
}
|