|
1
|
.sticky { |
|
2
|
position: sticky; |
|
3
|
top: 0; |
|
4
|
max-height: 100vh; |
|
5
|
} |
|
6
|
|
|
7
|
.toggle-nav-sidebar { |
|
8
|
z-index: 20; |
|
9
|
left: 0; |
|
10
|
display: flex; |
|
11
|
align-items: center; |
|
12
|
justify-content: center; |
|
13
|
flex: 0 0 23px; |
|
14
|
width: 23px; |
|
15
|
border: 0; |
|
16
|
border-right: 1px solid var(--hairline-color); |
|
17
|
background-color: var(--body-bg); |
|
18
|
cursor: pointer; |
|
19
|
font-size: 1.25rem; |
|
20
|
color: var(--link-fg); |
|
21
|
padding: 0; |
|
22
|
} |
|
23
|
|
|
24
|
[dir="rtl"] .toggle-nav-sidebar { |
|
25
|
border-left: 1px solid var(--hairline-color); |
|
26
|
border-right: 0; |
|
27
|
} |
|
28
|
|
|
29
|
.toggle-nav-sidebar:hover, |
|
30
|
.toggle-nav-sidebar:focus { |
|
31
|
background-color: var(--darkened-bg); |
|
32
|
} |
|
33
|
|
|
34
|
#nav-sidebar { |
|
35
|
z-index: 15; |
|
36
|
flex: 0 0 275px; |
|
37
|
left: -276px; |
|
38
|
margin-left: -276px; |
|
39
|
border-top: 1px solid transparent; |
|
40
|
border-right: 1px solid var(--hairline-color); |
|
41
|
background-color: var(--body-bg); |
|
42
|
overflow: auto; |
|
43
|
} |
|
44
|
|
|
45
|
[dir="rtl"] #nav-sidebar { |
|
46
|
border-left: 1px solid var(--hairline-color); |
|
47
|
border-right: 0; |
|
48
|
left: 0; |
|
49
|
margin-left: 0; |
|
50
|
right: -276px; |
|
51
|
margin-right: -276px; |
|
52
|
} |
|
53
|
|
|
54
|
.toggle-nav-sidebar::before { |
|
55
|
content: '\00BB'; |
|
56
|
} |
|
57
|
|
|
58
|
.main.shifted .toggle-nav-sidebar::before { |
|
59
|
content: '\00AB'; |
|
60
|
} |
|
61
|
|
|
62
|
.main > #nav-sidebar { |
|
63
|
visibility: hidden; |
|
64
|
} |
|
65
|
|
|
66
|
.main.shifted > #nav-sidebar { |
|
67
|
margin-left: 0; |
|
68
|
visibility: visible; |
|
69
|
} |
|
70
|
|
|
71
|
[dir="rtl"] .main.shifted > #nav-sidebar { |
|
72
|
margin-right: 0; |
|
73
|
} |
|
74
|
|
|
75
|
#nav-sidebar .module th { |
|
76
|
width: 100%; |
|
77
|
overflow-wrap: anywhere; |
|
78
|
} |
|
79
|
|
|
80
|
#nav-sidebar .module th, |
|
81
|
#nav-sidebar .module caption { |
|
82
|
padding-left: 16px; |
|
83
|
} |
|
84
|
|
|
85
|
#nav-sidebar .module td { |
|
86
|
white-space: nowrap; |
|
87
|
} |
|
88
|
|
|
89
|
[dir="rtl"] #nav-sidebar .module th, |
|
90
|
[dir="rtl"] #nav-sidebar .module caption { |
|
91
|
padding-left: 8px; |
|
92
|
padding-right: 16px; |
|
93
|
} |
|
94
|
|
|
95
|
#nav-sidebar .current-app .section:link, |
|
96
|
#nav-sidebar .current-app .section:visited { |
|
97
|
color: var(--header-color); |
|
98
|
font-weight: bold; |
|
99
|
} |
|
100
|
|
|
101
|
#nav-sidebar .current-model { |
|
102
|
background: var(--selected-row); |
|
103
|
} |
|
104
|
|
|
105
|
@media (forced-colors: active) { |
|
106
|
#nav-sidebar .current-model { |
|
107
|
background-color: SelectedItem; |
|
108
|
} |
|
109
|
} |
|
110
|
|
|
111
|
.main > #nav-sidebar + .content { |
|
112
|
max-width: calc(100% - 23px); |
|
113
|
} |
|
114
|
|
|
115
|
.main.shifted > #nav-sidebar + .content { |
|
116
|
max-width: calc(100% - 299px); |
|
117
|
} |
|
118
|
|
|
119
|
@media (max-width: 767px) { |
|
120
|
#nav-sidebar, #toggle-nav-sidebar { |
|
121
|
display: none; |
|
122
|
} |
|
123
|
|
|
124
|
.main > #nav-sidebar + .content, |
|
125
|
.main.shifted > #nav-sidebar + .content { |
|
126
|
max-width: 100%; |
|
127
|
} |
|
128
|
} |
|
129
|
|
|
130
|
#nav-filter { |
|
131
|
width: 100%; |
|
132
|
box-sizing: border-box; |
|
133
|
padding: 2px 5px; |
|
134
|
margin: 5px 0; |
|
135
|
border: 1px solid var(--border-color); |
|
136
|
background-color: var(--darkened-bg); |
|
137
|
color: var(--body-fg); |
|
138
|
} |
|
139
|
|
|
140
|
#nav-filter:focus { |
|
141
|
border-color: var(--body-quiet-color); |
|
142
|
} |
|
143
|
|
|
144
|
#nav-filter.no-results { |
|
145
|
background: var(--message-error-bg); |
|
146
|
} |
|
147
|
|
|
148
|
#nav-sidebar table { |
|
149
|
width: 100%; |
|
150
|
} |
|
151
|
|