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;
|
2022-10-13 02:04:59 +00:00
|
|
|
font-size: 1.25rem;
|
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';
|
|
|
|
}
|
|
|
|
|
2023-05-03 00:33:31 +00:00
|
|
|
.main > #nav-sidebar {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2020-10-24 02:58:05 +00:00
|
|
|
.main.shifted > #nav-sidebar {
|
|
|
|
margin-left: 0;
|
2023-05-03 00:33:31 +00:00
|
|
|
visibility: visible;
|
2020-10-24 02:58:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
[dir="rtl"] .main.shifted > #nav-sidebar {
|
|
|
|
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
|
|
|
}
|
2022-02-21 17:46:35 +00:00
|
|
|
|
|
|
|
#nav-filter {
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 2px 5px;
|
|
|
|
margin: 5px 0;
|
|
|
|
border: 1px solid var(--border-color);
|
|
|
|
background-color: var(--darkened-bg);
|
|
|
|
color: var(--body-fg);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-filter:focus {
|
|
|
|
border-color: var(--body-quiet-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-filter.no-results {
|
|
|
|
background: var(--message-error-bg);
|
|
|
|
}
|
|
|
|
|
|
|
|
#nav-sidebar table {
|
|
|
|
width: 100%;
|
|
|
|
}
|