style.css 28 KB

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