Commit | Line | Data |
---|---|---|
24c3fcb4 JB |
1 | :root { |
2 | /* Light */ | |
a76fac14 JB |
3 | --light-color-background: #f2f4f8; |
4 | --light-color-background-secondary: #eff0f1; | |
cfc6e8df | 5 | --light-color-warning-text: #222; |
6 | --light-color-background-warning: #e6e600; | |
a76fac14 JB |
7 | --light-color-icon-background: var(--light-color-background); |
8 | --light-color-accent: #c5c7c9; | |
8d1797ad | 9 | --light-color-active-menu-item: var(--light-color-accent); |
24c3fcb4 | 10 | --light-color-text: #222; |
8d1797ad | 11 | --light-color-text-aside: #6e6e6e; |
3bd6a82e | 12 | --light-color-link: #1f70c2; |
13 | ||
14 | --light-color-ts-project: #b111c9; | |
15 | --light-color-ts-module: var(--light-color-ts-project); | |
16 | --light-color-ts-namespace: var(--light-color-ts-project); | |
17 | --light-color-ts-enum: #7e6f15; | |
18 | --light-color-ts-enum-member: var(--light-color-ts-enum); | |
19 | --light-color-ts-variable: #4760ec; | |
a76fac14 | 20 | --light-color-ts-function: #572be7; |
3bd6a82e | 21 | --light-color-ts-class: #1f70c2; |
22 | --light-color-ts-interface: #108024; | |
23 | --light-color-ts-constructor: var(--light-color-ts-class); | |
24 | --light-color-ts-property: var(--light-color-ts-variable); | |
25 | --light-color-ts-method: var(--light-color-ts-function); | |
26 | --light-color-ts-call-signature: var(--light-color-ts-method); | |
27 | --light-color-ts-index-signature: var(--light-color-ts-property); | |
28 | --light-color-ts-constructor-signature: var(--light-color-ts-constructor); | |
29 | --light-color-ts-parameter: var(--light-color-ts-variable); | |
30 | /* type literal not included as links will never be generated to it */ | |
31 | --light-color-ts-type-parameter: var(--light-color-ts-type-alias); | |
32 | --light-color-ts-accessor: var(--light-color-ts-property); | |
33 | --light-color-ts-get-signature: var(--light-color-ts-accessor); | |
34 | --light-color-ts-set-signature: var(--light-color-ts-accessor); | |
35 | /* object literal not included as it is not used and will be removed in 0.25 */ | |
36 | --light-color-ts-type-alias: #d51270; | |
37 | /* reference not included as links will be colored with the kind that it points to */ | |
38 | ||
24c3fcb4 | 39 | --light-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23000' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>"); |
a76fac14 | 40 | --light-color-scheme: light; |
24c3fcb4 JB |
41 | |
42 | /* Dark */ | |
a76fac14 JB |
43 | --dark-color-background: #2b2e33; |
44 | --dark-color-background-secondary: #1e2024; | |
cfc6e8df | 45 | --dark-color-background-warning: #bebe00; |
46 | --dark-color-warning-text: #222; | |
a76fac14 JB |
47 | --dark-color-icon-background: var(--dark-color-background-secondary); |
48 | --dark-color-accent: #9096a2; | |
8d1797ad | 49 | --dark-color-active-menu-item: #5d5d6a; |
a76fac14 JB |
50 | --dark-color-text: #f5f5f5; |
51 | --dark-color-text-aside: #dddddd; | |
24c3fcb4 | 52 | --dark-color-link: #00aff4; |
3bd6a82e | 53 | |
54 | --dark-color-ts-project: #e14dff; | |
55 | --dark-color-ts-module: var(--dark-color-ts-project); | |
56 | --dark-color-ts-namespace: var(--dark-color-ts-project); | |
a76fac14 | 57 | --dark-color-ts-enum: #f4d93e; |
3bd6a82e | 58 | --dark-color-ts-enum-member: var(--dark-color-ts-enum); |
8d1797ad | 59 | --dark-color-ts-variable: #798dff; |
3bd6a82e | 60 | --dark-color-ts-function: #9772ff; |
8d1797ad | 61 | --dark-color-ts-class: #8ac4ff; |
3bd6a82e | 62 | --dark-color-ts-interface: #6cff87; |
63 | --dark-color-ts-constructor: var(--dark-color-ts-class); | |
64 | --dark-color-ts-property: var(--dark-color-ts-variable); | |
65 | --dark-color-ts-method: var(--dark-color-ts-function); | |
66 | --dark-color-ts-call-signature: var(--dark-color-ts-method); | |
67 | --dark-color-ts-index-signature: var(--dark-color-ts-property); | |
68 | --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); | |
69 | --dark-color-ts-parameter: var(--dark-color-ts-variable); | |
70 | /* type literal not included as links will never be generated to it */ | |
71 | --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); | |
72 | --dark-color-ts-accessor: var(--dark-color-ts-property); | |
73 | --dark-color-ts-get-signature: var(--dark-color-ts-accessor); | |
74 | --dark-color-ts-set-signature: var(--dark-color-ts-accessor); | |
75 | /* object literal not included as it is not used and will be removed in 0.25 */ | |
76 | --dark-color-ts-type-alias: #ff6492; | |
77 | /* reference not included as links will be colored with the kind that it points to */ | |
78 | ||
24c3fcb4 | 79 | --dark-external-icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='10' height='10'><path fill-opacity='0' stroke='%23fff' stroke-width='10' d='m43,35H5v60h60V57M45,5v10l10,10-30,30 20,20 30-30 10,10h10V5z'/></svg>"); |
a76fac14 | 80 | --dark-color-scheme: dark; |
24c3fcb4 JB |
81 | } |
82 | ||
83 | @media (prefers-color-scheme: light) { | |
84 | :root { | |
85 | --color-background: var(--light-color-background); | |
a76fac14 | 86 | --color-background-secondary: var(--light-color-background-secondary); |
cfc6e8df | 87 | --color-background-warning: var(--light-color-background-warning); |
88 | --color-warning-text: var(--light-color-warning-text); | |
a76fac14 JB |
89 | --color-icon-background: var(--light-color-icon-background); |
90 | --color-accent: var(--light-color-accent); | |
8d1797ad | 91 | --color-active-menu-item: var(--light-color-active-menu-item); |
24c3fcb4 JB |
92 | --color-text: var(--light-color-text); |
93 | --color-text-aside: var(--light-color-text-aside); | |
94 | --color-link: var(--light-color-link); | |
3bd6a82e | 95 | |
96 | --color-ts-module: var(--light-color-ts-module); | |
a76fac14 | 97 | --color-ts-namespace: var(--light-color-ts-namespace); |
3bd6a82e | 98 | --color-ts-enum: var(--light-color-ts-enum); |
99 | --color-ts-enum-member: var(--light-color-ts-enum-member); | |
a76fac14 | 100 | --color-ts-variable: var(--light-color-ts-variable); |
3bd6a82e | 101 | --color-ts-function: var(--light-color-ts-function); |
102 | --color-ts-class: var(--light-color-ts-class); | |
103 | --color-ts-interface: var(--light-color-ts-interface); | |
104 | --color-ts-constructor: var(--light-color-ts-constructor); | |
105 | --color-ts-property: var(--light-color-ts-property); | |
106 | --color-ts-method: var(--light-color-ts-method); | |
107 | --color-ts-call-signature: var(--light-color-ts-call-signature); | |
108 | --color-ts-index-signature: var(--light-color-ts-index-signature); | |
109 | --color-ts-constructor-signature: var( | |
110 | --light-color-ts-constructor-signature | |
111 | ); | |
112 | --color-ts-parameter: var(--light-color-ts-parameter); | |
113 | --color-ts-type-parameter: var(--light-color-ts-type-parameter); | |
114 | --color-ts-accessor: var(--light-color-ts-accessor); | |
115 | --color-ts-get-signature: var(--light-color-ts-get-signature); | |
116 | --color-ts-set-signature: var(--light-color-ts-set-signature); | |
117 | --color-ts-type-alias: var(--light-color-ts-type-alias); | |
118 | ||
24c3fcb4 | 119 | --external-icon: var(--light-external-icon); |
a76fac14 | 120 | --color-scheme: var(--light-color-scheme); |
24c3fcb4 JB |
121 | } |
122 | } | |
123 | ||
124 | @media (prefers-color-scheme: dark) { | |
125 | :root { | |
126 | --color-background: var(--dark-color-background); | |
a76fac14 | 127 | --color-background-secondary: var(--dark-color-background-secondary); |
cfc6e8df | 128 | --color-background-warning: var(--dark-color-background-warning); |
129 | --color-warning-text: var(--dark-color-warning-text); | |
a76fac14 JB |
130 | --color-icon-background: var(--dark-color-icon-background); |
131 | --color-accent: var(--dark-color-accent); | |
8d1797ad | 132 | --color-active-menu-item: var(--dark-color-active-menu-item); |
24c3fcb4 JB |
133 | --color-text: var(--dark-color-text); |
134 | --color-text-aside: var(--dark-color-text-aside); | |
135 | --color-link: var(--dark-color-link); | |
3bd6a82e | 136 | |
137 | --color-ts-module: var(--dark-color-ts-module); | |
a76fac14 | 138 | --color-ts-namespace: var(--dark-color-ts-namespace); |
3bd6a82e | 139 | --color-ts-enum: var(--dark-color-ts-enum); |
140 | --color-ts-enum-member: var(--dark-color-ts-enum-member); | |
a76fac14 | 141 | --color-ts-variable: var(--dark-color-ts-variable); |
3bd6a82e | 142 | --color-ts-function: var(--dark-color-ts-function); |
143 | --color-ts-class: var(--dark-color-ts-class); | |
144 | --color-ts-interface: var(--dark-color-ts-interface); | |
145 | --color-ts-constructor: var(--dark-color-ts-constructor); | |
146 | --color-ts-property: var(--dark-color-ts-property); | |
147 | --color-ts-method: var(--dark-color-ts-method); | |
148 | --color-ts-call-signature: var(--dark-color-ts-call-signature); | |
149 | --color-ts-index-signature: var(--dark-color-ts-index-signature); | |
150 | --color-ts-constructor-signature: var( | |
151 | --dark-color-ts-constructor-signature | |
152 | ); | |
153 | --color-ts-parameter: var(--dark-color-ts-parameter); | |
154 | --color-ts-type-parameter: var(--dark-color-ts-type-parameter); | |
155 | --color-ts-accessor: var(--dark-color-ts-accessor); | |
156 | --color-ts-get-signature: var(--dark-color-ts-get-signature); | |
157 | --color-ts-set-signature: var(--dark-color-ts-set-signature); | |
158 | --color-ts-type-alias: var(--dark-color-ts-type-alias); | |
159 | ||
24c3fcb4 | 160 | --external-icon: var(--dark-external-icon); |
a76fac14 | 161 | --color-scheme: var(--dark-color-scheme); |
24c3fcb4 JB |
162 | } |
163 | } | |
164 | ||
a76fac14 JB |
165 | html { |
166 | color-scheme: var(--color-scheme); | |
167 | } | |
168 | ||
24c3fcb4 JB |
169 | body { |
170 | margin: 0; | |
171 | } | |
172 | ||
a76fac14 | 173 | :root[data-theme="light"] { |
24c3fcb4 | 174 | --color-background: var(--light-color-background); |
a76fac14 | 175 | --color-background-secondary: var(--light-color-background-secondary); |
cfc6e8df | 176 | --color-background-warning: var(--light-color-background-warning); |
177 | --color-warning-text: var(--light-color-warning-text); | |
a76fac14 JB |
178 | --color-icon-background: var(--light-color-icon-background); |
179 | --color-accent: var(--light-color-accent); | |
8d1797ad | 180 | --color-active-menu-item: var(--light-color-active-menu-item); |
24c3fcb4 JB |
181 | --color-text: var(--light-color-text); |
182 | --color-text-aside: var(--light-color-text-aside); | |
183 | --color-link: var(--light-color-link); | |
3bd6a82e | 184 | |
185 | --color-ts-module: var(--light-color-ts-module); | |
a76fac14 | 186 | --color-ts-namespace: var(--light-color-ts-namespace); |
3bd6a82e | 187 | --color-ts-enum: var(--light-color-ts-enum); |
188 | --color-ts-enum-member: var(--light-color-ts-enum-member); | |
a76fac14 | 189 | --color-ts-variable: var(--light-color-ts-variable); |
3bd6a82e | 190 | --color-ts-function: var(--light-color-ts-function); |
191 | --color-ts-class: var(--light-color-ts-class); | |
192 | --color-ts-interface: var(--light-color-ts-interface); | |
193 | --color-ts-constructor: var(--light-color-ts-constructor); | |
194 | --color-ts-property: var(--light-color-ts-property); | |
195 | --color-ts-method: var(--light-color-ts-method); | |
196 | --color-ts-call-signature: var(--light-color-ts-call-signature); | |
197 | --color-ts-index-signature: var(--light-color-ts-index-signature); | |
198 | --color-ts-constructor-signature: var( | |
199 | --light-color-ts-constructor-signature | |
200 | ); | |
201 | --color-ts-parameter: var(--light-color-ts-parameter); | |
202 | --color-ts-type-parameter: var(--light-color-ts-type-parameter); | |
203 | --color-ts-accessor: var(--light-color-ts-accessor); | |
204 | --color-ts-get-signature: var(--light-color-ts-get-signature); | |
205 | --color-ts-set-signature: var(--light-color-ts-set-signature); | |
206 | --color-ts-type-alias: var(--light-color-ts-type-alias); | |
207 | ||
24c3fcb4 | 208 | --external-icon: var(--light-external-icon); |
a76fac14 | 209 | --color-scheme: var(--light-color-scheme); |
24c3fcb4 JB |
210 | } |
211 | ||
a76fac14 | 212 | :root[data-theme="dark"] { |
24c3fcb4 | 213 | --color-background: var(--dark-color-background); |
a76fac14 | 214 | --color-background-secondary: var(--dark-color-background-secondary); |
cfc6e8df | 215 | --color-background-warning: var(--dark-color-background-warning); |
216 | --color-warning-text: var(--dark-color-warning-text); | |
a76fac14 JB |
217 | --color-icon-background: var(--dark-color-icon-background); |
218 | --color-accent: var(--dark-color-accent); | |
8d1797ad | 219 | --color-active-menu-item: var(--dark-color-active-menu-item); |
24c3fcb4 JB |
220 | --color-text: var(--dark-color-text); |
221 | --color-text-aside: var(--dark-color-text-aside); | |
222 | --color-link: var(--dark-color-link); | |
3bd6a82e | 223 | |
224 | --color-ts-module: var(--dark-color-ts-module); | |
a76fac14 | 225 | --color-ts-namespace: var(--dark-color-ts-namespace); |
3bd6a82e | 226 | --color-ts-enum: var(--dark-color-ts-enum); |
227 | --color-ts-enum-member: var(--dark-color-ts-enum-member); | |
a76fac14 | 228 | --color-ts-variable: var(--dark-color-ts-variable); |
3bd6a82e | 229 | --color-ts-function: var(--dark-color-ts-function); |
230 | --color-ts-class: var(--dark-color-ts-class); | |
231 | --color-ts-interface: var(--dark-color-ts-interface); | |
232 | --color-ts-constructor: var(--dark-color-ts-constructor); | |
233 | --color-ts-property: var(--dark-color-ts-property); | |
234 | --color-ts-method: var(--dark-color-ts-method); | |
235 | --color-ts-call-signature: var(--dark-color-ts-call-signature); | |
236 | --color-ts-index-signature: var(--dark-color-ts-index-signature); | |
237 | --color-ts-constructor-signature: var( | |
238 | --dark-color-ts-constructor-signature | |
239 | ); | |
240 | --color-ts-parameter: var(--dark-color-ts-parameter); | |
241 | --color-ts-type-parameter: var(--dark-color-ts-type-parameter); | |
242 | --color-ts-accessor: var(--dark-color-ts-accessor); | |
243 | --color-ts-get-signature: var(--dark-color-ts-get-signature); | |
244 | --color-ts-set-signature: var(--dark-color-ts-set-signature); | |
245 | --color-ts-type-alias: var(--dark-color-ts-type-alias); | |
246 | ||
24c3fcb4 | 247 | --external-icon: var(--dark-external-icon); |
a76fac14 JB |
248 | --color-scheme: var(--dark-color-scheme); |
249 | } | |
250 | ||
cfc6e8df | 251 | .always-visible, |
252 | .always-visible .tsd-signatures { | |
253 | display: inherit !important; | |
254 | } | |
255 | ||
a76fac14 JB |
256 | h1, |
257 | h2, | |
258 | h3, | |
259 | h4, | |
260 | h5, | |
261 | h6 { | |
262 | line-height: 1.2; | |
24c3fcb4 JB |
263 | } |
264 | ||
265 | h1 { | |
a76fac14 JB |
266 | font-size: 1.875rem; |
267 | margin: 0.67rem 0; | |
24c3fcb4 JB |
268 | } |
269 | ||
270 | h2 { | |
a76fac14 JB |
271 | font-size: 1.5rem; |
272 | margin: 0.83rem 0; | |
24c3fcb4 JB |
273 | } |
274 | ||
275 | h3 { | |
a76fac14 JB |
276 | font-size: 1.25rem; |
277 | margin: 1rem 0; | |
24c3fcb4 JB |
278 | } |
279 | ||
a76fac14 JB |
280 | h4 { |
281 | font-size: 1.05rem; | |
282 | margin: 1.33rem 0; | |
24c3fcb4 JB |
283 | } |
284 | ||
285 | h5 { | |
a76fac14 JB |
286 | font-size: 1rem; |
287 | margin: 1.5rem 0; | |
24c3fcb4 JB |
288 | } |
289 | ||
290 | h6 { | |
a76fac14 JB |
291 | font-size: 0.875rem; |
292 | margin: 2.33rem 0; | |
293 | } | |
294 | ||
295 | .uppercase { | |
296 | text-transform: uppercase; | |
24c3fcb4 JB |
297 | } |
298 | ||
299 | pre { | |
300 | white-space: pre; | |
301 | white-space: pre-wrap; | |
302 | word-wrap: break-word; | |
303 | } | |
304 | ||
305 | dl, | |
306 | menu, | |
307 | ol, | |
308 | ul { | |
309 | margin: 1em 0; | |
310 | } | |
311 | ||
312 | dd { | |
313 | margin: 0 0 0 40px; | |
314 | } | |
315 | ||
316 | .container { | |
ec06e4dd | 317 | max-width: 1700px; |
a76fac14 JB |
318 | padding: 0 2rem; |
319 | } | |
320 | ||
a76fac14 JB |
321 | /* Footer */ |
322 | .tsd-generator { | |
323 | border-top: 1px solid var(--color-accent); | |
324 | padding-top: 1rem; | |
325 | padding-bottom: 1rem; | |
326 | max-height: 3.5rem; | |
327 | } | |
328 | ||
329 | .tsd-generator > p { | |
330 | margin-top: 0; | |
331 | margin-bottom: 0; | |
332 | padding: 0 1rem; | |
24c3fcb4 JB |
333 | } |
334 | ||
a76fac14 | 335 | .container-main { |
a76fac14 | 336 | margin: 0 auto; |
ec06e4dd | 337 | /* toolbar, footer, margin */ |
338 | min-height: calc(100vh - 41px - 56px - 4rem); | |
24c3fcb4 JB |
339 | } |
340 | ||
341 | @keyframes fade-in { | |
342 | from { | |
343 | opacity: 0; | |
344 | } | |
345 | to { | |
346 | opacity: 1; | |
347 | } | |
348 | } | |
349 | @keyframes fade-out { | |
350 | from { | |
351 | opacity: 1; | |
352 | visibility: visible; | |
353 | } | |
354 | to { | |
355 | opacity: 0; | |
356 | } | |
357 | } | |
358 | @keyframes fade-in-delayed { | |
359 | 0% { | |
360 | opacity: 0; | |
361 | } | |
362 | 33% { | |
363 | opacity: 0; | |
364 | } | |
365 | 100% { | |
366 | opacity: 1; | |
367 | } | |
368 | } | |
369 | @keyframes fade-out-delayed { | |
370 | 0% { | |
371 | opacity: 1; | |
372 | visibility: visible; | |
373 | } | |
374 | 66% { | |
375 | opacity: 0; | |
376 | } | |
377 | 100% { | |
378 | opacity: 0; | |
379 | } | |
380 | } | |
24c3fcb4 JB |
381 | @keyframes pop-in-from-right { |
382 | from { | |
383 | transform: translate(100%, 0); | |
384 | } | |
385 | to { | |
386 | transform: translate(0, 0); | |
387 | } | |
388 | } | |
389 | @keyframes pop-out-to-right { | |
390 | from { | |
391 | transform: translate(0, 0); | |
392 | visibility: visible; | |
393 | } | |
394 | to { | |
395 | transform: translate(100%, 0); | |
396 | } | |
397 | } | |
398 | body { | |
399 | background: var(--color-background); | |
400 | font-family: "Segoe UI", sans-serif; | |
401 | font-size: 16px; | |
402 | color: var(--color-text); | |
403 | } | |
404 | ||
405 | a { | |
406 | color: var(--color-link); | |
407 | text-decoration: none; | |
408 | } | |
409 | a:hover { | |
410 | text-decoration: underline; | |
411 | } | |
412 | a.external[target="_blank"] { | |
413 | background-image: var(--external-icon); | |
414 | background-position: top 3px right; | |
415 | background-repeat: no-repeat; | |
416 | padding-right: 13px; | |
417 | } | |
418 | ||
419 | code, | |
420 | pre { | |
421 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; | |
422 | padding: 0.2em; | |
423 | margin: 0; | |
a76fac14 JB |
424 | font-size: 0.875rem; |
425 | border-radius: 0.8em; | |
24c3fcb4 JB |
426 | } |
427 | ||
428 | pre { | |
429 | padding: 10px; | |
a76fac14 | 430 | border: 0.1em solid var(--color-accent); |
24c3fcb4 JB |
431 | } |
432 | pre code { | |
433 | padding: 0; | |
434 | font-size: 100%; | |
435 | } | |
436 | ||
437 | blockquote { | |
438 | margin: 1em 0; | |
439 | padding-left: 1em; | |
440 | border-left: 4px solid gray; | |
441 | } | |
442 | ||
443 | .tsd-typography { | |
444 | line-height: 1.333em; | |
445 | } | |
446 | .tsd-typography ul { | |
447 | list-style: square; | |
448 | padding: 0 0 0 20px; | |
449 | margin: 0; | |
450 | } | |
451 | .tsd-typography h4, | |
452 | .tsd-typography .tsd-index-panel h3, | |
453 | .tsd-index-panel .tsd-typography h3, | |
454 | .tsd-typography h5, | |
455 | .tsd-typography h6 { | |
456 | font-size: 1em; | |
457 | margin: 0; | |
458 | } | |
459 | .tsd-typography h5, | |
460 | .tsd-typography h6 { | |
461 | font-weight: normal; | |
462 | } | |
463 | .tsd-typography p, | |
464 | .tsd-typography ul, | |
465 | .tsd-typography ol { | |
466 | margin: 1em 0; | |
467 | } | |
468 | ||
24c3fcb4 JB |
469 | .tsd-breadcrumb { |
470 | margin: 0; | |
471 | padding: 0; | |
472 | color: var(--color-text-aside); | |
473 | } | |
474 | .tsd-breadcrumb a { | |
475 | color: var(--color-text-aside); | |
476 | text-decoration: none; | |
477 | } | |
478 | .tsd-breadcrumb a:hover { | |
479 | text-decoration: underline; | |
480 | } | |
481 | .tsd-breadcrumb li { | |
482 | display: inline; | |
483 | } | |
484 | .tsd-breadcrumb li:after { | |
485 | content: " / "; | |
486 | } | |
487 | ||
a76fac14 JB |
488 | .tsd-comment-tags { |
489 | display: flex; | |
490 | flex-direction: column; | |
491 | } | |
492 | dl.tsd-comment-tag-group { | |
493 | display: flex; | |
494 | align-items: center; | |
24c3fcb4 | 495 | overflow: hidden; |
a76fac14 | 496 | margin: 0.5em 0; |
24c3fcb4 | 497 | } |
a76fac14 JB |
498 | dl.tsd-comment-tag-group dt { |
499 | display: flex; | |
500 | margin-right: 0.5em; | |
501 | font-size: 0.875em; | |
24c3fcb4 JB |
502 | font-weight: normal; |
503 | } | |
a76fac14 JB |
504 | dl.tsd-comment-tag-group dd { |
505 | margin: 0; | |
506 | } | |
507 | code.tsd-tag { | |
508 | padding: 0.25em 0.4em; | |
509 | border: 0.1em solid var(--color-accent); | |
510 | margin-right: 0.25em; | |
511 | font-size: 70%; | |
512 | } | |
513 | h1 code.tsd-tag:first-of-type { | |
514 | margin-left: 0.25em; | |
24c3fcb4 | 515 | } |
a76fac14 JB |
516 | |
517 | dl.tsd-comment-tag-group dd:before, | |
518 | dl.tsd-comment-tag-group dd:after { | |
24c3fcb4 JB |
519 | content: " "; |
520 | } | |
a76fac14 JB |
521 | dl.tsd-comment-tag-group dd pre, |
522 | dl.tsd-comment-tag-group dd:after { | |
24c3fcb4 JB |
523 | clear: both; |
524 | } | |
a76fac14 | 525 | dl.tsd-comment-tag-group p { |
24c3fcb4 JB |
526 | margin: 0; |
527 | } | |
528 | ||
529 | .tsd-panel.tsd-comment .lead { | |
530 | font-size: 1.1em; | |
531 | line-height: 1.333em; | |
532 | margin-bottom: 2em; | |
533 | } | |
534 | .tsd-panel.tsd-comment .lead:last-child { | |
535 | margin-bottom: 0; | |
536 | } | |
537 | ||
a76fac14 JB |
538 | .tsd-filter-visibility h4 { |
539 | font-size: 1rem; | |
540 | padding-top: 0.75rem; | |
541 | padding-bottom: 0.5rem; | |
542 | margin: 0; | |
24c3fcb4 | 543 | } |
a76fac14 JB |
544 | .tsd-filter-item:not(:last-child) { |
545 | margin-bottom: 0.5rem; | |
24c3fcb4 | 546 | } |
a76fac14 JB |
547 | .tsd-filter-input { |
548 | display: flex; | |
549 | width: fit-content; | |
550 | width: -moz-fit-content; | |
551 | align-items: center; | |
552 | user-select: none; | |
553 | -webkit-user-select: none; | |
554 | -moz-user-select: none; | |
555 | -ms-user-select: none; | |
556 | cursor: pointer; | |
24c3fcb4 | 557 | } |
a76fac14 JB |
558 | .tsd-filter-input input[type="checkbox"] { |
559 | cursor: pointer; | |
560 | position: absolute; | |
561 | width: 1.5em; | |
562 | height: 1.5em; | |
563 | opacity: 0; | |
24c3fcb4 | 564 | } |
a76fac14 JB |
565 | .tsd-filter-input input[type="checkbox"]:disabled { |
566 | pointer-events: none; | |
24c3fcb4 | 567 | } |
a76fac14 JB |
568 | .tsd-filter-input svg { |
569 | cursor: pointer; | |
570 | width: 1.5em; | |
571 | height: 1.5em; | |
572 | margin-right: 0.5em; | |
573 | border-radius: 0.33em; | |
574 | /* Leaving this at full opacity breaks event listeners on Firefox. | |
575 | Don't remove unless you know what you're doing. */ | |
576 | opacity: 0.99; | |
24c3fcb4 | 577 | } |
a76fac14 JB |
578 | .tsd-filter-input input[type="checkbox"]:focus + svg { |
579 | transform: scale(0.95); | |
24c3fcb4 | 580 | } |
a76fac14 JB |
581 | .tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { |
582 | transform: scale(1); | |
24c3fcb4 | 583 | } |
a76fac14 JB |
584 | .tsd-checkbox-background { |
585 | fill: var(--color-accent); | |
24c3fcb4 | 586 | } |
a76fac14 JB |
587 | input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { |
588 | stroke: var(--color-text); | |
24c3fcb4 | 589 | } |
a76fac14 JB |
590 | .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { |
591 | fill: var(--color-background); | |
592 | stroke: var(--color-accent); | |
593 | stroke-width: 0.25rem; | |
24c3fcb4 | 594 | } |
a76fac14 JB |
595 | .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { |
596 | stroke: var(--color-accent); | |
24c3fcb4 | 597 | } |
a76fac14 JB |
598 | |
599 | .tsd-theme-toggle { | |
600 | padding-top: 0.75rem; | |
24c3fcb4 | 601 | } |
a76fac14 JB |
602 | .tsd-theme-toggle > h4 { |
603 | display: inline; | |
604 | vertical-align: middle; | |
605 | margin-right: 0.75rem; | |
24c3fcb4 JB |
606 | } |
607 | ||
608 | .tsd-hierarchy { | |
609 | list-style: square; | |
24c3fcb4 JB |
610 | margin: 0; |
611 | } | |
612 | .tsd-hierarchy .target { | |
613 | font-weight: bold; | |
614 | } | |
615 | ||
a76fac14 JB |
616 | .tsd-panel-group.tsd-index-group { |
617 | margin-bottom: 0; | |
618 | } | |
619 | .tsd-index-panel .tsd-index-list { | |
24c3fcb4 JB |
620 | list-style: none; |
621 | line-height: 1.333em; | |
a76fac14 JB |
622 | margin: 0; |
623 | padding: 0.25rem 0 0 0; | |
624 | overflow: hidden; | |
625 | display: grid; | |
626 | grid-template-columns: repeat(3, 1fr); | |
627 | column-gap: 1rem; | |
628 | grid-template-rows: auto; | |
629 | } | |
630 | @media (max-width: 1024px) { | |
631 | .tsd-index-panel .tsd-index-list { | |
632 | grid-template-columns: repeat(2, 1fr); | |
24c3fcb4 JB |
633 | } |
634 | } | |
a76fac14 JB |
635 | @media (max-width: 768px) { |
636 | .tsd-index-panel .tsd-index-list { | |
637 | grid-template-columns: repeat(1, 1fr); | |
24c3fcb4 JB |
638 | } |
639 | } | |
a76fac14 | 640 | .tsd-index-panel .tsd-index-list li { |
24c3fcb4 JB |
641 | -webkit-page-break-inside: avoid; |
642 | -moz-page-break-inside: avoid; | |
643 | -ms-page-break-inside: avoid; | |
644 | -o-page-break-inside: avoid; | |
645 | page-break-inside: avoid; | |
646 | } | |
24c3fcb4 JB |
647 | |
648 | .tsd-flag { | |
649 | display: inline-block; | |
a76fac14 | 650 | padding: 0.25em 0.4em; |
24c3fcb4 JB |
651 | border-radius: 4px; |
652 | color: var(--color-comment-tag-text); | |
653 | background-color: var(--color-comment-tag); | |
654 | text-indent: 0; | |
a76fac14 JB |
655 | font-size: 75%; |
656 | line-height: 1; | |
24c3fcb4 JB |
657 | font-weight: normal; |
658 | } | |
659 | ||
660 | .tsd-anchor { | |
ec06e4dd | 661 | position: relative; |
24c3fcb4 JB |
662 | top: -100px; |
663 | } | |
664 | ||
665 | .tsd-member { | |
666 | position: relative; | |
667 | } | |
668 | .tsd-member .tsd-anchor + h3 { | |
a76fac14 JB |
669 | display: flex; |
670 | align-items: center; | |
24c3fcb4 JB |
671 | margin-top: 0; |
672 | margin-bottom: 0; | |
673 | border-bottom: none; | |
674 | } | |
24c3fcb4 | 675 | |
ec06e4dd | 676 | .tsd-navigation.settings { |
677 | margin: 1rem 0; | |
678 | } | |
679 | .tsd-navigation a, | |
680 | .tsd-page-navigation a { | |
681 | display: inline-flex; | |
682 | align-items: center; | |
3bd6a82e | 683 | padding: 0.25rem; |
24c3fcb4 JB |
684 | color: var(--color-text); |
685 | text-decoration: none; | |
3bd6a82e | 686 | box-sizing: border-box; |
24c3fcb4 | 687 | } |
ec06e4dd | 688 | .tsd-navigation a { |
689 | /* why 3rem? No idea, but it seems to work. */ | |
690 | width: calc(100% - 3rem); | |
691 | } | |
692 | .tsd-page-navigation a { | |
693 | /* why is this different? */ | |
694 | width: 100%; | |
695 | } | |
696 | .tsd-navigation a.current, | |
697 | .tsd-page-navigation a.current { | |
8d1797ad | 698 | background: var(--color-active-menu-item); |
ec06e4dd | 699 | } |
700 | .tsd-navigation a:hover, | |
701 | .tsd-page-navigation a:hover { | |
24c3fcb4 JB |
702 | text-decoration: underline; |
703 | } | |
ec06e4dd | 704 | .tsd-navigation ul, |
705 | .tsd-page-navigation ul { | |
24c3fcb4 JB |
706 | margin: 0; |
707 | padding: 0; | |
708 | list-style: none; | |
709 | } | |
ec06e4dd | 710 | .tsd-navigation li, |
711 | .tsd-page-navigation li { | |
24c3fcb4 | 712 | padding: 0; |
ec06e4dd | 713 | max-width: 100%; |
24c3fcb4 | 714 | } |
ec06e4dd | 715 | .tsd-nested-navigation > li > a { |
716 | margin-left: 3rem; | |
24c3fcb4 | 717 | } |
ec06e4dd | 718 | .tsd-nested-navigation > li > details { |
a76fac14 | 719 | margin-left: 1.5rem; |
24c3fcb4 | 720 | } |
ec06e4dd | 721 | .tsd-small-nested-navigation > li > a { |
722 | margin-left: 1.5rem; | |
24c3fcb4 | 723 | } |
ec06e4dd | 724 | .tsd-small-nested-navigation > li > details { |
725 | margin-left: 0; | |
24c3fcb4 | 726 | } |
ec06e4dd | 727 | .tsd-page-navigation ul { |
728 | padding-left: 1.75rem; | |
a76fac14 JB |
729 | } |
730 | ||
41015374 JB |
731 | #tsd-sidebar-links a { |
732 | margin-top: 0; | |
733 | margin-bottom: 0.5rem; | |
734 | line-height: 1.25rem; | |
735 | } | |
736 | #tsd-sidebar-links a:last-of-type { | |
737 | margin-bottom: 0; | |
738 | } | |
739 | ||
a76fac14 | 740 | a.tsd-index-link { |
ec06e4dd | 741 | padding: 0.25rem 0 !important; |
a76fac14 JB |
742 | font-size: 1rem; |
743 | line-height: 1.25rem; | |
744 | display: inline-flex; | |
745 | align-items: center; | |
8d1797ad | 746 | color: var(--color-text); |
a76fac14 | 747 | } |
ec06e4dd | 748 | .tsd-accordion-summary, |
749 | .tsd-accordion-summary a { | |
a76fac14 JB |
750 | user-select: none; |
751 | -moz-user-select: none; | |
752 | -webkit-user-select: none; | |
753 | -ms-user-select: none; | |
ec06e4dd | 754 | |
755 | display: flex; | |
756 | align-items: center; | |
a76fac14 | 757 | cursor: pointer; |
24c3fcb4 | 758 | } |
a76fac14 JB |
759 | .tsd-accordion-summary > * { |
760 | margin-top: 0; | |
761 | margin-bottom: 0; | |
762 | padding-top: 0; | |
763 | padding-bottom: 0; | |
24c3fcb4 | 764 | } |
a76fac14 JB |
765 | .tsd-accordion-summary::-webkit-details-marker { |
766 | display: none; | |
24c3fcb4 | 767 | } |
a76fac14 JB |
768 | .tsd-index-accordion .tsd-accordion-summary svg { |
769 | margin-right: 0.25rem; | |
24c3fcb4 | 770 | } |
a76fac14 JB |
771 | .tsd-index-content > :not(:first-child) { |
772 | margin-top: 0.75rem; | |
773 | } | |
774 | .tsd-index-heading { | |
775 | margin-top: 1.5rem; | |
776 | margin-bottom: 0.75rem; | |
777 | } | |
778 | ||
779 | .tsd-kind-icon { | |
780 | margin-right: 0.5rem; | |
781 | width: 1.25rem; | |
782 | height: 1.25rem; | |
783 | min-width: 1.25rem; | |
784 | min-height: 1.25rem; | |
785 | } | |
786 | .tsd-kind-icon path { | |
787 | transform-origin: center; | |
788 | transform: scale(1.1); | |
789 | } | |
790 | .tsd-signature > .tsd-kind-icon { | |
791 | margin-right: 0.8rem; | |
24c3fcb4 JB |
792 | } |
793 | ||
24c3fcb4 | 794 | .tsd-panel { |
a76fac14 JB |
795 | margin-bottom: 2.5rem; |
796 | } | |
797 | .tsd-panel.tsd-member { | |
798 | margin-bottom: 4rem; | |
24c3fcb4 JB |
799 | } |
800 | .tsd-panel:empty { | |
801 | display: none; | |
802 | } | |
803 | .tsd-panel > h1, | |
804 | .tsd-panel > h2, | |
805 | .tsd-panel > h3 { | |
a76fac14 JB |
806 | margin: 1.5rem -1.5rem 0.75rem -1.5rem; |
807 | padding: 0 1.5rem 0.75rem 1.5rem; | |
24c3fcb4 JB |
808 | } |
809 | .tsd-panel > h1.tsd-before-signature, | |
810 | .tsd-panel > h2.tsd-before-signature, | |
811 | .tsd-panel > h3.tsd-before-signature { | |
812 | margin-bottom: 0; | |
a76fac14 | 813 | border-bottom: none; |
24c3fcb4 JB |
814 | } |
815 | ||
816 | .tsd-panel-group { | |
a76fac14 | 817 | margin: 4rem 0; |
24c3fcb4 | 818 | } |
a76fac14 JB |
819 | .tsd-panel-group.tsd-index-group { |
820 | margin: 2rem 0; | |
821 | } | |
822 | .tsd-panel-group.tsd-index-group details { | |
823 | margin: 2rem 0; | |
24c3fcb4 JB |
824 | } |
825 | ||
826 | #tsd-search { | |
827 | transition: background-color 0.2s; | |
828 | } | |
829 | #tsd-search .title { | |
830 | position: relative; | |
831 | z-index: 2; | |
832 | } | |
833 | #tsd-search .field { | |
834 | position: absolute; | |
835 | left: 0; | |
836 | top: 0; | |
a76fac14 JB |
837 | right: 2.5rem; |
838 | height: 100%; | |
24c3fcb4 JB |
839 | } |
840 | #tsd-search .field input { | |
841 | box-sizing: border-box; | |
842 | position: relative; | |
843 | top: -50px; | |
844 | z-index: 1; | |
845 | width: 100%; | |
846 | padding: 0 10px; | |
847 | opacity: 0; | |
848 | outline: 0; | |
849 | border: 0; | |
850 | background: transparent; | |
851 | color: var(--color-text); | |
852 | } | |
853 | #tsd-search .field label { | |
854 | position: absolute; | |
855 | overflow: hidden; | |
856 | right: -40px; | |
857 | } | |
858 | #tsd-search .field input, | |
41015374 JB |
859 | #tsd-search .title, |
860 | #tsd-toolbar-links a { | |
24c3fcb4 JB |
861 | transition: opacity 0.2s; |
862 | } | |
863 | #tsd-search .results { | |
864 | position: absolute; | |
865 | visibility: hidden; | |
866 | top: 40px; | |
867 | width: 100%; | |
868 | margin: 0; | |
869 | padding: 0; | |
870 | list-style: none; | |
871 | box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); | |
872 | } | |
873 | #tsd-search .results li { | |
874 | padding: 0 10px; | |
875 | background-color: var(--color-background); | |
876 | } | |
877 | #tsd-search .results li:nth-child(even) { | |
a76fac14 | 878 | background-color: var(--color-background-secondary); |
24c3fcb4 JB |
879 | } |
880 | #tsd-search .results li.state { | |
881 | display: none; | |
882 | } | |
883 | #tsd-search .results li.current, | |
884 | #tsd-search .results li:hover { | |
a76fac14 | 885 | background-color: var(--color-accent); |
24c3fcb4 JB |
886 | } |
887 | #tsd-search .results a { | |
888 | display: block; | |
889 | } | |
890 | #tsd-search .results a:before { | |
891 | top: 10px; | |
892 | } | |
893 | #tsd-search .results span.parent { | |
894 | color: var(--color-text-aside); | |
895 | font-weight: normal; | |
896 | } | |
897 | #tsd-search.has-focus { | |
a76fac14 | 898 | background-color: var(--color-accent); |
24c3fcb4 JB |
899 | } |
900 | #tsd-search.has-focus .field input { | |
901 | top: 0; | |
902 | opacity: 1; | |
903 | } | |
41015374 JB |
904 | #tsd-search.has-focus .title, |
905 | #tsd-search.has-focus #tsd-toolbar-links a { | |
24c3fcb4 JB |
906 | z-index: 0; |
907 | opacity: 0; | |
908 | } | |
909 | #tsd-search.has-focus .results { | |
910 | visibility: visible; | |
911 | } | |
912 | #tsd-search.loading .results li.state.loading { | |
913 | display: block; | |
914 | } | |
915 | #tsd-search.failure .results li.state.failure { | |
916 | display: block; | |
917 | } | |
918 | ||
41015374 JB |
919 | #tsd-toolbar-links { |
920 | position: absolute; | |
921 | top: 0; | |
922 | right: 2rem; | |
923 | height: 100%; | |
924 | display: flex; | |
925 | align-items: center; | |
926 | justify-content: flex-end; | |
927 | } | |
928 | #tsd-toolbar-links a { | |
929 | margin-left: 1.5rem; | |
930 | } | |
931 | #tsd-toolbar-links a:hover { | |
932 | text-decoration: underline; | |
933 | } | |
934 | ||
24c3fcb4 | 935 | .tsd-signature { |
a76fac14 JB |
936 | margin: 0 0 1rem 0; |
937 | padding: 1rem 0.5rem; | |
938 | border: 1px solid var(--color-accent); | |
24c3fcb4 JB |
939 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; |
940 | font-size: 14px; | |
941 | overflow-x: auto; | |
942 | } | |
24c3fcb4 JB |
943 | |
944 | .tsd-signature-symbol { | |
945 | color: var(--color-text-aside); | |
946 | font-weight: normal; | |
947 | } | |
948 | ||
949 | .tsd-signature-type { | |
950 | font-style: italic; | |
951 | font-weight: normal; | |
952 | } | |
953 | ||
954 | .tsd-signatures { | |
955 | padding: 0; | |
956 | margin: 0 0 1em 0; | |
a76fac14 | 957 | list-style-type: none; |
24c3fcb4 JB |
958 | } |
959 | .tsd-signatures .tsd-signature { | |
960 | margin: 0; | |
a76fac14 | 961 | border-color: var(--color-accent); |
24c3fcb4 | 962 | border-width: 1px 0; |
a76fac14 | 963 | transition: background-color 0.1s; |
24c3fcb4 | 964 | } |
a76fac14 JB |
965 | .tsd-description .tsd-signatures .tsd-signature { |
966 | border-width: 1px; | |
24c3fcb4 JB |
967 | } |
968 | ||
a76fac14 JB |
969 | ul.tsd-parameter-list, |
970 | ul.tsd-type-parameter-list { | |
24c3fcb4 JB |
971 | list-style: square; |
972 | margin: 0; | |
973 | padding-left: 20px; | |
974 | } | |
a76fac14 JB |
975 | ul.tsd-parameter-list > li.tsd-parameter-signature, |
976 | ul.tsd-type-parameter-list > li.tsd-parameter-signature { | |
24c3fcb4 JB |
977 | list-style: none; |
978 | margin-left: -20px; | |
979 | } | |
a76fac14 JB |
980 | ul.tsd-parameter-list h5, |
981 | ul.tsd-type-parameter-list h5 { | |
24c3fcb4 JB |
982 | font-size: 16px; |
983 | margin: 1em 0 0.5em 0; | |
984 | } | |
24c3fcb4 | 985 | .tsd-sources { |
a76fac14 JB |
986 | margin-top: 1rem; |
987 | font-size: 0.875em; | |
24c3fcb4 JB |
988 | } |
989 | .tsd-sources a { | |
990 | color: var(--color-text-aside); | |
991 | text-decoration: underline; | |
992 | } | |
24c3fcb4 JB |
993 | .tsd-sources ul { |
994 | list-style: none; | |
995 | padding: 0; | |
996 | } | |
997 | ||
998 | .tsd-page-toolbar { | |
ec06e4dd | 999 | position: sticky; |
24c3fcb4 JB |
1000 | z-index: 1; |
1001 | top: 0; | |
1002 | left: 0; | |
1003 | width: 100%; | |
a76fac14 JB |
1004 | color: var(--color-text); |
1005 | background: var(--color-background-secondary); | |
1006 | border-bottom: 1px var(--color-accent) solid; | |
1007 | transition: transform 0.3s ease-in-out; | |
24c3fcb4 JB |
1008 | } |
1009 | .tsd-page-toolbar a { | |
a76fac14 | 1010 | color: var(--color-text); |
24c3fcb4 JB |
1011 | text-decoration: none; |
1012 | } | |
1013 | .tsd-page-toolbar a.title { | |
1014 | font-weight: bold; | |
1015 | } | |
1016 | .tsd-page-toolbar a.title:hover { | |
1017 | text-decoration: underline; | |
1018 | } | |
a76fac14 JB |
1019 | .tsd-page-toolbar .tsd-toolbar-contents { |
1020 | display: flex; | |
1021 | justify-content: space-between; | |
1022 | height: 2.5rem; | |
1023 | margin: 0 auto; | |
24c3fcb4 JB |
1024 | } |
1025 | .tsd-page-toolbar .table-cell { | |
24c3fcb4 JB |
1026 | position: relative; |
1027 | white-space: nowrap; | |
1028 | line-height: 40px; | |
1029 | } | |
1030 | .tsd-page-toolbar .table-cell:first-child { | |
1031 | width: 100%; | |
1032 | } | |
41015374 JB |
1033 | .tsd-page-toolbar .tsd-toolbar-icon { |
1034 | box-sizing: border-box; | |
1035 | line-height: 0; | |
1036 | padding: 12px 0; | |
1037 | } | |
24c3fcb4 | 1038 | |
24c3fcb4 JB |
1039 | .tsd-widget { |
1040 | display: inline-block; | |
1041 | overflow: hidden; | |
1042 | opacity: 0.8; | |
1043 | height: 40px; | |
1044 | transition: opacity 0.1s, background-color 0.2s; | |
1045 | vertical-align: bottom; | |
1046 | cursor: pointer; | |
1047 | } | |
1048 | .tsd-widget:hover { | |
1049 | opacity: 0.9; | |
1050 | } | |
1051 | .tsd-widget.active { | |
1052 | opacity: 1; | |
a76fac14 | 1053 | background-color: var(--color-accent); |
24c3fcb4 JB |
1054 | } |
1055 | .tsd-widget.no-caption { | |
1056 | width: 40px; | |
1057 | } | |
1058 | .tsd-widget.no-caption:before { | |
1059 | margin: 0; | |
1060 | } | |
a76fac14 | 1061 | |
24c3fcb4 JB |
1062 | .tsd-widget.options, |
1063 | .tsd-widget.menu { | |
1064 | display: none; | |
1065 | } | |
24c3fcb4 JB |
1066 | input[type="checkbox"] + .tsd-widget:before { |
1067 | background-position: -120px 0; | |
1068 | } | |
1069 | input[type="checkbox"]:checked + .tsd-widget:before { | |
1070 | background-position: -160px 0; | |
1071 | } | |
1072 | ||
a76fac14 JB |
1073 | img { |
1074 | max-width: 100%; | |
24c3fcb4 | 1075 | } |
a76fac14 JB |
1076 | |
1077 | .tsd-anchor-icon { | |
1078 | display: inline-flex; | |
1079 | align-items: center; | |
1080 | margin-left: 0.5rem; | |
1081 | vertical-align: middle; | |
1082 | color: var(--color-text); | |
24c3fcb4 | 1083 | } |
a76fac14 JB |
1084 | |
1085 | .tsd-anchor-icon svg { | |
1086 | width: 1em; | |
1087 | height: 1em; | |
24c3fcb4 | 1088 | visibility: hidden; |
24c3fcb4 | 1089 | } |
a76fac14 JB |
1090 | |
1091 | .tsd-anchor-link:hover > .tsd-anchor-icon svg { | |
1092 | visibility: visible; | |
24c3fcb4 | 1093 | } |
a76fac14 JB |
1094 | |
1095 | .deprecated { | |
1096 | text-decoration: line-through; | |
24c3fcb4 | 1097 | } |
a76fac14 | 1098 | |
cfc6e8df | 1099 | .warning { |
1100 | padding: 1rem; | |
1101 | color: var(--color-warning-text); | |
1102 | background: var(--color-background-warning); | |
1103 | } | |
1104 | ||
3bd6a82e | 1105 | .tsd-kind-project { |
1106 | color: var(--color-ts-project); | |
1107 | } | |
1108 | .tsd-kind-module { | |
1109 | color: var(--color-ts-module); | |
1110 | } | |
1111 | .tsd-kind-namespace { | |
1112 | color: var(--color-ts-namespace); | |
1113 | } | |
1114 | .tsd-kind-enum { | |
1115 | color: var(--color-ts-enum); | |
1116 | } | |
1117 | .tsd-kind-enum-member { | |
1118 | color: var(--color-ts-enum-member); | |
1119 | } | |
1120 | .tsd-kind-variable { | |
1121 | color: var(--color-ts-variable); | |
1122 | } | |
1123 | .tsd-kind-function { | |
1124 | color: var(--color-ts-function); | |
1125 | } | |
1126 | .tsd-kind-class { | |
1127 | color: var(--color-ts-class); | |
1128 | } | |
1129 | .tsd-kind-interface { | |
1130 | color: var(--color-ts-interface); | |
1131 | } | |
1132 | .tsd-kind-constructor { | |
1133 | color: var(--color-ts-constructor); | |
1134 | } | |
1135 | .tsd-kind-property { | |
1136 | color: var(--color-ts-property); | |
1137 | } | |
1138 | .tsd-kind-method { | |
1139 | color: var(--color-ts-method); | |
1140 | } | |
1141 | .tsd-kind-call-signature { | |
1142 | color: var(--color-ts-call-signature); | |
1143 | } | |
1144 | .tsd-kind-index-signature { | |
1145 | color: var(--color-ts-index-signature); | |
1146 | } | |
1147 | .tsd-kind-constructor-signature { | |
1148 | color: var(--color-ts-constructor-signature); | |
1149 | } | |
1150 | .tsd-kind-parameter { | |
1151 | color: var(--color-ts-parameter); | |
1152 | } | |
1153 | .tsd-kind-type-literal { | |
1154 | color: var(--color-ts-type-literal); | |
1155 | } | |
1156 | .tsd-kind-type-parameter { | |
1157 | color: var(--color-ts-type-parameter); | |
1158 | } | |
1159 | .tsd-kind-accessor { | |
1160 | color: var(--color-ts-accessor); | |
1161 | } | |
1162 | .tsd-kind-get-signature { | |
1163 | color: var(--color-ts-get-signature); | |
1164 | } | |
1165 | .tsd-kind-set-signature { | |
1166 | color: var(--color-ts-set-signature); | |
1167 | } | |
1168 | .tsd-kind-type-alias { | |
1169 | color: var(--color-ts-type-alias); | |
1170 | } | |
1171 | ||
1172 | /* if we have a kind icon, don't color the text by kind */ | |
1173 | .tsd-kind-icon ~ span { | |
1174 | color: var(--color-text); | |
1175 | } | |
1176 | ||
a76fac14 JB |
1177 | * { |
1178 | scrollbar-width: thin; | |
1179 | scrollbar-color: var(--color-accent) var(--color-icon-background); | |
24c3fcb4 | 1180 | } |
a76fac14 JB |
1181 | |
1182 | *::-webkit-scrollbar { | |
1183 | width: 0.75rem; | |
24c3fcb4 | 1184 | } |
a76fac14 JB |
1185 | |
1186 | *::-webkit-scrollbar-track { | |
1187 | background: var(--color-icon-background); | |
24c3fcb4 JB |
1188 | } |
1189 | ||
a76fac14 JB |
1190 | *::-webkit-scrollbar-thumb { |
1191 | background-color: var(--color-accent); | |
1192 | border-radius: 999rem; | |
1193 | border: 0.25rem solid var(--color-icon-background); | |
24c3fcb4 | 1194 | } |
ec06e4dd | 1195 | |
1196 | /* mobile */ | |
1197 | @media (max-width: 769px) { | |
1198 | .tsd-widget.options, | |
1199 | .tsd-widget.menu { | |
1200 | display: inline-block; | |
1201 | } | |
1202 | ||
1203 | .container-main { | |
1204 | display: flex; | |
1205 | } | |
1206 | html .col-content { | |
1207 | float: none; | |
1208 | max-width: 100%; | |
1209 | width: 100%; | |
1210 | } | |
1211 | html .col-sidebar { | |
1212 | position: fixed !important; | |
1213 | overflow-y: auto; | |
1214 | -webkit-overflow-scrolling: touch; | |
1215 | z-index: 1024; | |
1216 | top: 0 !important; | |
1217 | bottom: 0 !important; | |
1218 | left: auto !important; | |
1219 | right: 0 !important; | |
1220 | padding: 1.5rem 1.5rem 0 0; | |
1221 | width: 75vw; | |
1222 | visibility: hidden; | |
1223 | background-color: var(--color-background); | |
1224 | transform: translate(100%, 0); | |
1225 | } | |
1226 | html .col-sidebar > *:last-child { | |
1227 | padding-bottom: 20px; | |
1228 | } | |
1229 | html .overlay { | |
1230 | content: ""; | |
1231 | display: block; | |
1232 | position: fixed; | |
1233 | z-index: 1023; | |
1234 | top: 0; | |
1235 | left: 0; | |
1236 | right: 0; | |
1237 | bottom: 0; | |
1238 | background-color: rgba(0, 0, 0, 0.75); | |
1239 | visibility: hidden; | |
1240 | } | |
1241 | ||
1242 | .to-has-menu .overlay { | |
1243 | animation: fade-in 0.4s; | |
1244 | } | |
1245 | ||
1246 | .to-has-menu .col-sidebar { | |
1247 | animation: pop-in-from-right 0.4s; | |
1248 | } | |
1249 | ||
1250 | .from-has-menu .overlay { | |
1251 | animation: fade-out 0.4s; | |
1252 | } | |
1253 | ||
1254 | .from-has-menu .col-sidebar { | |
1255 | animation: pop-out-to-right 0.4s; | |
1256 | } | |
1257 | ||
1258 | .has-menu body { | |
1259 | overflow: hidden; | |
1260 | } | |
1261 | .has-menu .overlay { | |
1262 | visibility: visible; | |
1263 | } | |
1264 | .has-menu .col-sidebar { | |
1265 | visibility: visible; | |
1266 | transform: translate(0, 0); | |
1267 | display: flex; | |
1268 | flex-direction: column; | |
1269 | gap: 1.5rem; | |
1270 | max-height: 100vh; | |
1271 | padding: 1rem 2rem; | |
1272 | } | |
1273 | .has-menu .tsd-navigation { | |
1274 | max-height: 100%; | |
1275 | } | |
1276 | } | |
1277 | ||
1278 | /* one sidebar */ | |
1279 | @media (min-width: 770px) { | |
1280 | .container-main { | |
1281 | display: grid; | |
1282 | grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); | |
1283 | grid-template-areas: "sidebar content"; | |
1284 | margin: 2rem auto; | |
1285 | } | |
1286 | ||
1287 | .col-sidebar { | |
1288 | grid-area: sidebar; | |
1289 | } | |
1290 | .col-content { | |
1291 | grid-area: content; | |
1292 | padding: 0 1rem; | |
1293 | } | |
1294 | } | |
1295 | @media (min-width: 770px) and (max-width: 1399px) { | |
1296 | .col-sidebar { | |
1297 | max-height: calc(100vh - 2rem - 42px); | |
1298 | overflow: auto; | |
1299 | position: sticky; | |
1300 | top: 42px; | |
1301 | padding-top: 1rem; | |
1302 | } | |
3bd6a82e | 1303 | .site-menu { |
1304 | margin-top: 1rem; | |
1305 | } | |
ec06e4dd | 1306 | } |
1307 | ||
1308 | /* two sidebars */ | |
1309 | @media (min-width: 1200px) { | |
1310 | .container-main { | |
1311 | grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); | |
1312 | grid-template-areas: "sidebar content toc"; | |
1313 | } | |
1314 | ||
1315 | .col-sidebar { | |
1316 | display: contents; | |
1317 | } | |
1318 | ||
1319 | .page-menu { | |
1320 | grid-area: toc; | |
1321 | padding-left: 1rem; | |
1322 | } | |
1323 | .site-menu { | |
1324 | grid-area: sidebar; | |
1325 | } | |
1326 | ||
1327 | .site-menu { | |
1328 | margin-top: 1rem 0; | |
1329 | } | |
1330 | ||
1331 | .page-menu, | |
1332 | .site-menu { | |
1333 | max-height: calc(100vh - 2rem - 42px); | |
1334 | overflow: auto; | |
1335 | position: sticky; | |
1336 | top: 42px; | |
1337 | } | |
1338 | } |