style.css 32 KB

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