da6c789f80db999410530c03292e1d590e9dadd2
[poolifier.git] / docs / assets / style.css
1 :root {
2 /* Light */
3 --light-color-background: #f2f4f8;
4 --light-color-background-secondary: #eff0f1;
5 --light-color-warning-text: #222;
6 --light-color-background-warning: #e6e600;
7 --light-color-icon-background: var(--light-color-background);
8 --light-color-accent: #c5c7c9;
9 --light-color-active-menu-item: var(--light-color-accent);
10 --light-color-text: #222;
11 --light-color-text-aside: #6e6e6e;
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;
20 --light-color-ts-function: #572be7;
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
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>");
40 --light-color-scheme: light;
41
42 /* Dark */
43 --dark-color-background: #2b2e33;
44 --dark-color-background-secondary: #1e2024;
45 --dark-color-background-warning: #bebe00;
46 --dark-color-warning-text: #222;
47 --dark-color-icon-background: var(--dark-color-background-secondary);
48 --dark-color-accent: #9096a2;
49 --dark-color-active-menu-item: #5d5d6a;
50 --dark-color-text: #f5f5f5;
51 --dark-color-text-aside: #dddddd;
52 --dark-color-link: #00aff4;
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);
57 --dark-color-ts-enum: #f4d93e;
58 --dark-color-ts-enum-member: var(--dark-color-ts-enum);
59 --dark-color-ts-variable: #798dff;
60 --dark-color-ts-function: #9772ff;
61 --dark-color-ts-class: #8ac4ff;
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
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>");
80 --dark-color-scheme: dark;
81 }
82
83 @media (prefers-color-scheme: light) {
84 :root {
85 --color-background: var(--light-color-background);
86 --color-background-secondary: var(--light-color-background-secondary);
87 --color-background-warning: var(--light-color-background-warning);
88 --color-warning-text: var(--light-color-warning-text);
89 --color-icon-background: var(--light-color-icon-background);
90 --color-accent: var(--light-color-accent);
91 --color-active-menu-item: var(--light-color-active-menu-item);
92 --color-text: var(--light-color-text);
93 --color-text-aside: var(--light-color-text-aside);
94 --color-link: var(--light-color-link);
95
96 --color-ts-module: var(--light-color-ts-module);
97 --color-ts-namespace: var(--light-color-ts-namespace);
98 --color-ts-enum: var(--light-color-ts-enum);
99 --color-ts-enum-member: var(--light-color-ts-enum-member);
100 --color-ts-variable: var(--light-color-ts-variable);
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
119 --external-icon: var(--light-external-icon);
120 --color-scheme: var(--light-color-scheme);
121 }
122 }
123
124 @media (prefers-color-scheme: dark) {
125 :root {
126 --color-background: var(--dark-color-background);
127 --color-background-secondary: var(--dark-color-background-secondary);
128 --color-background-warning: var(--dark-color-background-warning);
129 --color-warning-text: var(--dark-color-warning-text);
130 --color-icon-background: var(--dark-color-icon-background);
131 --color-accent: var(--dark-color-accent);
132 --color-active-menu-item: var(--dark-color-active-menu-item);
133 --color-text: var(--dark-color-text);
134 --color-text-aside: var(--dark-color-text-aside);
135 --color-link: var(--dark-color-link);
136
137 --color-ts-module: var(--dark-color-ts-module);
138 --color-ts-namespace: var(--dark-color-ts-namespace);
139 --color-ts-enum: var(--dark-color-ts-enum);
140 --color-ts-enum-member: var(--dark-color-ts-enum-member);
141 --color-ts-variable: var(--dark-color-ts-variable);
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
160 --external-icon: var(--dark-external-icon);
161 --color-scheme: var(--dark-color-scheme);
162 }
163 }
164
165 html {
166 color-scheme: var(--color-scheme);
167 }
168
169 body {
170 margin: 0;
171 }
172
173 :root[data-theme="light"] {
174 --color-background: var(--light-color-background);
175 --color-background-secondary: var(--light-color-background-secondary);
176 --color-background-warning: var(--light-color-background-warning);
177 --color-warning-text: var(--light-color-warning-text);
178 --color-icon-background: var(--light-color-icon-background);
179 --color-accent: var(--light-color-accent);
180 --color-active-menu-item: var(--light-color-active-menu-item);
181 --color-text: var(--light-color-text);
182 --color-text-aside: var(--light-color-text-aside);
183 --color-link: var(--light-color-link);
184
185 --color-ts-module: var(--light-color-ts-module);
186 --color-ts-namespace: var(--light-color-ts-namespace);
187 --color-ts-enum: var(--light-color-ts-enum);
188 --color-ts-enum-member: var(--light-color-ts-enum-member);
189 --color-ts-variable: var(--light-color-ts-variable);
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
208 --external-icon: var(--light-external-icon);
209 --color-scheme: var(--light-color-scheme);
210 }
211
212 :root[data-theme="dark"] {
213 --color-background: var(--dark-color-background);
214 --color-background-secondary: var(--dark-color-background-secondary);
215 --color-background-warning: var(--dark-color-background-warning);
216 --color-warning-text: var(--dark-color-warning-text);
217 --color-icon-background: var(--dark-color-icon-background);
218 --color-accent: var(--dark-color-accent);
219 --color-active-menu-item: var(--dark-color-active-menu-item);
220 --color-text: var(--dark-color-text);
221 --color-text-aside: var(--dark-color-text-aside);
222 --color-link: var(--dark-color-link);
223
224 --color-ts-module: var(--dark-color-ts-module);
225 --color-ts-namespace: var(--dark-color-ts-namespace);
226 --color-ts-enum: var(--dark-color-ts-enum);
227 --color-ts-enum-member: var(--dark-color-ts-enum-member);
228 --color-ts-variable: var(--dark-color-ts-variable);
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
247 --external-icon: var(--dark-external-icon);
248 --color-scheme: var(--dark-color-scheme);
249 }
250
251 .always-visible,
252 .always-visible .tsd-signatures {
253 display: inherit !important;
254 }
255
256 h1,
257 h2,
258 h3,
259 h4,
260 h5,
261 h6 {
262 line-height: 1.2;
263 }
264
265 h1 {
266 font-size: 1.875rem;
267 margin: 0.67rem 0;
268 }
269
270 h2 {
271 font-size: 1.5rem;
272 margin: 0.83rem 0;
273 }
274
275 h3 {
276 font-size: 1.25rem;
277 margin: 1rem 0;
278 }
279
280 h4 {
281 font-size: 1.05rem;
282 margin: 1.33rem 0;
283 }
284
285 h5 {
286 font-size: 1rem;
287 margin: 1.5rem 0;
288 }
289
290 h6 {
291 font-size: 0.875rem;
292 margin: 2.33rem 0;
293 }
294
295 .uppercase {
296 text-transform: uppercase;
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 {
317 max-width: 1700px;
318 padding: 0 2rem;
319 }
320
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;
333 }
334
335 .container-main {
336 margin: 0 auto;
337 /* toolbar, footer, margin */
338 min-height: calc(100vh - 41px - 56px - 4rem);
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 }
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;
424 font-size: 0.875rem;
425 border-radius: 0.8em;
426 }
427
428 pre {
429 padding: 10px;
430 border: 0.1em solid var(--color-accent);
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
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
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;
495 overflow: hidden;
496 margin: 0.5em 0;
497 }
498 dl.tsd-comment-tag-group dt {
499 display: flex;
500 margin-right: 0.5em;
501 font-size: 0.875em;
502 font-weight: normal;
503 }
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;
515 }
516
517 dl.tsd-comment-tag-group dd:before,
518 dl.tsd-comment-tag-group dd:after {
519 content: " ";
520 }
521 dl.tsd-comment-tag-group dd pre,
522 dl.tsd-comment-tag-group dd:after {
523 clear: both;
524 }
525 dl.tsd-comment-tag-group p {
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
538 .tsd-filter-visibility h4 {
539 font-size: 1rem;
540 padding-top: 0.75rem;
541 padding-bottom: 0.5rem;
542 margin: 0;
543 }
544 .tsd-filter-item:not(:last-child) {
545 margin-bottom: 0.5rem;
546 }
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;
557 }
558 .tsd-filter-input input[type="checkbox"] {
559 cursor: pointer;
560 position: absolute;
561 width: 1.5em;
562 height: 1.5em;
563 opacity: 0;
564 }
565 .tsd-filter-input input[type="checkbox"]:disabled {
566 pointer-events: none;
567 }
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;
577 }
578 .tsd-filter-input input[type="checkbox"]:focus + svg {
579 transform: scale(0.95);
580 }
581 .tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg {
582 transform: scale(1);
583 }
584 .tsd-checkbox-background {
585 fill: var(--color-accent);
586 }
587 input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark {
588 stroke: var(--color-text);
589 }
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;
594 }
595 .tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark {
596 stroke: var(--color-accent);
597 }
598
599 .tsd-theme-toggle {
600 padding-top: 0.75rem;
601 }
602 .tsd-theme-toggle > h4 {
603 display: inline;
604 vertical-align: middle;
605 margin-right: 0.75rem;
606 }
607
608 .tsd-hierarchy {
609 list-style: square;
610 margin: 0;
611 }
612 .tsd-hierarchy .target {
613 font-weight: bold;
614 }
615
616 .tsd-panel-group.tsd-index-group {
617 margin-bottom: 0;
618 }
619 .tsd-index-panel .tsd-index-list {
620 list-style: none;
621 line-height: 1.333em;
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);
633 }
634 }
635 @media (max-width: 768px) {
636 .tsd-index-panel .tsd-index-list {
637 grid-template-columns: repeat(1, 1fr);
638 }
639 }
640 .tsd-index-panel .tsd-index-list li {
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 }
647
648 .tsd-flag {
649 display: inline-block;
650 padding: 0.25em 0.4em;
651 border-radius: 4px;
652 color: var(--color-comment-tag-text);
653 background-color: var(--color-comment-tag);
654 text-indent: 0;
655 font-size: 75%;
656 line-height: 1;
657 font-weight: normal;
658 }
659
660 .tsd-anchor {
661 position: relative;
662 top: -100px;
663 }
664
665 .tsd-member {
666 position: relative;
667 }
668 .tsd-member .tsd-anchor + h3 {
669 display: flex;
670 align-items: center;
671 margin-top: 0;
672 margin-bottom: 0;
673 border-bottom: none;
674 }
675
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;
683 padding: 0.25rem;
684 color: var(--color-text);
685 text-decoration: none;
686 box-sizing: border-box;
687 }
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 {
698 background: var(--color-active-menu-item);
699 }
700 .tsd-navigation a:hover,
701 .tsd-page-navigation a:hover {
702 text-decoration: underline;
703 }
704 .tsd-navigation ul,
705 .tsd-page-navigation ul {
706 margin: 0;
707 padding: 0;
708 list-style: none;
709 }
710 .tsd-navigation li,
711 .tsd-page-navigation li {
712 padding: 0;
713 max-width: 100%;
714 }
715 .tsd-nested-navigation > li > a {
716 margin-left: 3rem;
717 }
718 .tsd-nested-navigation > li > details {
719 margin-left: 1.5rem;
720 }
721 .tsd-small-nested-navigation > li > a {
722 margin-left: 1.5rem;
723 }
724 .tsd-small-nested-navigation > li > details {
725 margin-left: 0;
726 }
727 .tsd-page-navigation ul {
728 padding-left: 1.75rem;
729 }
730
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
740 a.tsd-index-link {
741 padding: 0.25rem 0 !important;
742 font-size: 1rem;
743 line-height: 1.25rem;
744 display: inline-flex;
745 align-items: center;
746 color: var(--color-text);
747 }
748 .tsd-accordion-summary,
749 .tsd-accordion-summary a {
750 user-select: none;
751 -moz-user-select: none;
752 -webkit-user-select: none;
753 -ms-user-select: none;
754
755 display: flex;
756 align-items: center;
757 cursor: pointer;
758 }
759 .tsd-accordion-summary > * {
760 margin-top: 0;
761 margin-bottom: 0;
762 padding-top: 0;
763 padding-bottom: 0;
764 }
765 .tsd-accordion-summary::-webkit-details-marker {
766 display: none;
767 }
768 .tsd-index-accordion .tsd-accordion-summary svg {
769 margin-right: 0.25rem;
770 }
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;
792 }
793
794 .tsd-panel {
795 margin-bottom: 2.5rem;
796 }
797 .tsd-panel.tsd-member {
798 margin-bottom: 4rem;
799 }
800 .tsd-panel:empty {
801 display: none;
802 }
803 .tsd-panel > h1,
804 .tsd-panel > h2,
805 .tsd-panel > h3 {
806 margin: 1.5rem -1.5rem 0.75rem -1.5rem;
807 padding: 0 1.5rem 0.75rem 1.5rem;
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;
813 border-bottom: none;
814 }
815
816 .tsd-panel-group {
817 margin: 4rem 0;
818 }
819 .tsd-panel-group.tsd-index-group {
820 margin: 2rem 0;
821 }
822 .tsd-panel-group.tsd-index-group details {
823 margin: 2rem 0;
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;
837 right: 2.5rem;
838 height: 100%;
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,
859 #tsd-search .title,
860 #tsd-toolbar-links a {
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) {
878 background-color: var(--color-background-secondary);
879 }
880 #tsd-search .results li.state {
881 display: none;
882 }
883 #tsd-search .results li.current,
884 #tsd-search .results li:hover {
885 background-color: var(--color-accent);
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 {
898 background-color: var(--color-accent);
899 }
900 #tsd-search.has-focus .field input {
901 top: 0;
902 opacity: 1;
903 }
904 #tsd-search.has-focus .title,
905 #tsd-search.has-focus #tsd-toolbar-links a {
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
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
935 .tsd-signature {
936 margin: 0 0 1rem 0;
937 padding: 1rem 0.5rem;
938 border: 1px solid var(--color-accent);
939 font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
940 font-size: 14px;
941 overflow-x: auto;
942 }
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;
957 list-style-type: none;
958 }
959 .tsd-signatures .tsd-signature {
960 margin: 0;
961 border-color: var(--color-accent);
962 border-width: 1px 0;
963 transition: background-color 0.1s;
964 }
965 .tsd-description .tsd-signatures .tsd-signature {
966 border-width: 1px;
967 }
968
969 ul.tsd-parameter-list,
970 ul.tsd-type-parameter-list {
971 list-style: square;
972 margin: 0;
973 padding-left: 20px;
974 }
975 ul.tsd-parameter-list > li.tsd-parameter-signature,
976 ul.tsd-type-parameter-list > li.tsd-parameter-signature {
977 list-style: none;
978 margin-left: -20px;
979 }
980 ul.tsd-parameter-list h5,
981 ul.tsd-type-parameter-list h5 {
982 font-size: 16px;
983 margin: 1em 0 0.5em 0;
984 }
985 .tsd-sources {
986 margin-top: 1rem;
987 font-size: 0.875em;
988 }
989 .tsd-sources a {
990 color: var(--color-text-aside);
991 text-decoration: underline;
992 }
993 .tsd-sources ul {
994 list-style: none;
995 padding: 0;
996 }
997
998 .tsd-page-toolbar {
999 position: sticky;
1000 z-index: 1;
1001 top: 0;
1002 left: 0;
1003 width: 100%;
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;
1008 }
1009 .tsd-page-toolbar a {
1010 color: var(--color-text);
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 }
1019 .tsd-page-toolbar .tsd-toolbar-contents {
1020 display: flex;
1021 justify-content: space-between;
1022 height: 2.5rem;
1023 margin: 0 auto;
1024 }
1025 .tsd-page-toolbar .table-cell {
1026 position: relative;
1027 white-space: nowrap;
1028 line-height: 40px;
1029 }
1030 .tsd-page-toolbar .table-cell:first-child {
1031 width: 100%;
1032 }
1033 .tsd-page-toolbar .tsd-toolbar-icon {
1034 box-sizing: border-box;
1035 line-height: 0;
1036 padding: 12px 0;
1037 }
1038
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;
1053 background-color: var(--color-accent);
1054 }
1055 .tsd-widget.no-caption {
1056 width: 40px;
1057 }
1058 .tsd-widget.no-caption:before {
1059 margin: 0;
1060 }
1061
1062 .tsd-widget.options,
1063 .tsd-widget.menu {
1064 display: none;
1065 }
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
1073 img {
1074 max-width: 100%;
1075 }
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);
1083 }
1084
1085 .tsd-anchor-icon svg {
1086 width: 1em;
1087 height: 1em;
1088 visibility: hidden;
1089 }
1090
1091 .tsd-anchor-link:hover > .tsd-anchor-icon svg {
1092 visibility: visible;
1093 }
1094
1095 .deprecated {
1096 text-decoration: line-through;
1097 }
1098
1099 .warning {
1100 padding: 1rem;
1101 color: var(--color-warning-text);
1102 background: var(--color-background-warning);
1103 }
1104
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
1177 * {
1178 scrollbar-width: thin;
1179 scrollbar-color: var(--color-accent) var(--color-icon-background);
1180 }
1181
1182 *::-webkit-scrollbar {
1183 width: 0.75rem;
1184 }
1185
1186 *::-webkit-scrollbar-track {
1187 background: var(--color-icon-background);
1188 }
1189
1190 *::-webkit-scrollbar-thumb {
1191 background-color: var(--color-accent);
1192 border-radius: 999rem;
1193 border: 0.25rem solid var(--color-icon-background);
1194 }
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 }
1303 .site-menu {
1304 margin-top: 1rem;
1305 }
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 }