jsdoc.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645
  1. @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
  2. * {
  3. box-sizing: border-box
  4. }
  5. html, body {
  6. height: 100%;
  7. width: 100%;
  8. }
  9. body {
  10. color: #4d4e53;
  11. background-color: white;
  12. margin: 0 auto;
  13. padding: 0 20px;
  14. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  15. font-size: 16px;
  16. line-height: 160%;
  17. }
  18. a,
  19. a:active {
  20. color: #606;
  21. text-decoration: none;
  22. }
  23. a:hover {
  24. text-decoration: none;
  25. }
  26. article a {
  27. border-bottom: 1px solid #ddd;
  28. }
  29. article a:hover, article a:active {
  30. border-bottom-color: #222;
  31. }
  32. p, ul, ol, blockquote {
  33. margin-bottom: 1em;
  34. }
  35. h1, h2, h3, h4, h5, h6 {
  36. font-family: 'Montserrat', sans-serif;
  37. }
  38. h1, h2, h3, h4, h5, h6 {
  39. color: #000;
  40. font-weight: 400;
  41. margin: 0;
  42. }
  43. h1 {
  44. font-weight: 300;
  45. font-size: 48px;
  46. margin: 1em 0 .5em;
  47. }
  48. h1.page-title {
  49. font-size: 48px;
  50. margin: 1em 30px;
  51. }
  52. h2 {
  53. font-size: 24px;
  54. margin: 1.5em 0 .3em;
  55. }
  56. h3 {
  57. font-size: 24px;
  58. margin: 1.2em 0 .3em;
  59. }
  60. h4 {
  61. font-size: 18px;
  62. margin: 1em 0 .2em;
  63. color: #4d4e53;
  64. }
  65. h4.name {
  66. color: #fff;
  67. background: #6d426d;
  68. box-shadow: 0 .25em .5em #d3d3d3;
  69. border-top: 1px solid #d3d3d3;
  70. border-bottom: 1px solid #d3d3d3;
  71. margin: 1.5em 0 0.5em;
  72. padding: .75em 0 .75em 10px;
  73. }
  74. h4.name a {
  75. color: #fc83ff;
  76. }
  77. h4.name a:hover {
  78. border-bottom-color: #fc83ff;
  79. }
  80. h5, .container-overview .subsection-title {
  81. font-size: 120%;
  82. letter-spacing: -0.01em;
  83. margin: 8px 0 3px 0;
  84. }
  85. h6 {
  86. font-size: 100%;
  87. letter-spacing: -0.01em;
  88. margin: 6px 0 3px 0;
  89. font-style: italic;
  90. }
  91. tt, code, kbd, samp {
  92. font-family: Consolas, Monaco, 'Andale Mono', monospace;
  93. background: #f4f4f4;
  94. padding: 1px 5px;
  95. }
  96. .class-description {
  97. font-size: 130%;
  98. line-height: 140%;
  99. margin-bottom: 1em;
  100. margin-top: 1em;
  101. }
  102. .class-description:empty {
  103. margin: 0
  104. }
  105. #main {
  106. float: right;
  107. min-width: 360px;
  108. width: calc(100% - 240px);
  109. }
  110. header {
  111. display: block
  112. }
  113. section {
  114. display: block;
  115. background-color: #fff;
  116. padding: 0 0 0 30px;
  117. }
  118. .variation {
  119. display: none
  120. }
  121. .signature-attributes {
  122. font-size: 60%;
  123. color: #eee;
  124. font-style: italic;
  125. font-weight: lighter;
  126. }
  127. nav {
  128. float: left;
  129. display: block;
  130. width: 250px;
  131. background: #fff;
  132. overflow: auto;
  133. position: fixed;
  134. height: 100%;
  135. }
  136. nav h3 {
  137. margin-top: 12px;
  138. font-size: 13px;
  139. text-transform: uppercase;
  140. letter-spacing: 1px;
  141. font-weight: 700;
  142. line-height: 24px;
  143. margin: 15px 0 10px;
  144. padding: 0;
  145. color: #000;
  146. }
  147. nav ul {
  148. font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
  149. font-size: 100%;
  150. line-height: 17px;
  151. padding: 0;
  152. margin: 0;
  153. list-style-type: none;
  154. }
  155. nav ul a,
  156. nav ul a:active {
  157. font-family: 'Montserrat', sans-serif;
  158. line-height: 18px;
  159. padding: 0;
  160. display: block;
  161. font-size: 12px;
  162. }
  163. nav a:hover,
  164. nav a:active {
  165. color: #606;
  166. }
  167. nav > ul {
  168. padding: 0 10px;
  169. }
  170. nav > ul > li > a {
  171. color: #606;
  172. }
  173. nav ul ul {
  174. margin-bottom: 10px
  175. }
  176. nav ul ul + ul {
  177. margin-top: -10px;
  178. }
  179. nav ul ul a {
  180. color: hsl(207, 1%, 60%);
  181. border-left: 1px solid hsl(207, 10%, 86%);
  182. }
  183. nav ul ul a,
  184. nav ul ul a:active {
  185. padding-left: 20px
  186. }
  187. nav h2 {
  188. font-size: 12px;
  189. margin: 0;
  190. padding: 0;
  191. }
  192. nav > h2 > a {
  193. display: block;
  194. margin: 10px 0 -10px;
  195. color: #606 !important;
  196. }
  197. footer {
  198. color: hsl(0, 0%, 28%);
  199. margin-left: 250px;
  200. display: block;
  201. padding: 15px;
  202. font-style: italic;
  203. font-size: 90%;
  204. }
  205. .ancestors {
  206. color: #999
  207. }
  208. .ancestors a {
  209. color: #999 !important;
  210. }
  211. .clear {
  212. clear: both
  213. }
  214. .important {
  215. font-weight: bold;
  216. color: #950B02;
  217. }
  218. .yes-def {
  219. text-indent: -1000px
  220. }
  221. .type-signature {
  222. color: #CA79CA
  223. }
  224. .type-signature:last-child {
  225. color: #eee;
  226. }
  227. .name, .signature {
  228. font-family: Consolas, Monaco, 'Andale Mono', monospace
  229. }
  230. .signature {
  231. color: #fc83ff;
  232. }
  233. .details {
  234. margin-top: 6px;
  235. border-left: 2px solid #DDD;
  236. line-height: 20px;
  237. font-size: 14px;
  238. }
  239. .details dt {
  240. width: 120px;
  241. float: left;
  242. padding-left: 10px;
  243. }
  244. .details dd {
  245. margin-left: 70px;
  246. margin-top: 6px;
  247. margin-bottom: 6px;
  248. }
  249. .details ul {
  250. margin: 0
  251. }
  252. .details ul {
  253. list-style-type: none
  254. }
  255. .details pre.prettyprint {
  256. margin: 0
  257. }
  258. .details .object-value {
  259. padding-top: 0
  260. }
  261. .description {
  262. margin-bottom: 1em;
  263. margin-top: 1em;
  264. }
  265. .code-caption {
  266. font-style: italic;
  267. font-size: 107%;
  268. margin: 0;
  269. }
  270. .prettyprint {
  271. font-size: 14px;
  272. overflow: auto;
  273. }
  274. .prettyprint.source {
  275. width: inherit;
  276. line-height: 18px;
  277. display: block;
  278. background-color: #0d152a;
  279. color: #aeaeae;
  280. }
  281. .prettyprint code {
  282. line-height: 18px;
  283. display: block;
  284. background-color: #0d152a;
  285. color: #4D4E53;
  286. }
  287. .prettyprint > code {
  288. padding: 15px;
  289. }
  290. .prettyprint .linenums code {
  291. padding: 0 15px
  292. }
  293. .prettyprint .linenums li:first-of-type code {
  294. padding-top: 15px
  295. }
  296. .prettyprint code span.line {
  297. display: inline-block
  298. }
  299. .prettyprint.linenums {
  300. padding-left: 70px;
  301. -webkit-user-select: none;
  302. -moz-user-select: none;
  303. -ms-user-select: none;
  304. user-select: none;
  305. }
  306. .prettyprint.linenums ol {
  307. padding-left: 0
  308. }
  309. .prettyprint.linenums li {
  310. border-left: 3px #34446B solid;
  311. }
  312. .prettyprint.linenums li.selected, .prettyprint.linenums li.selected * {
  313. background-color: #34446B;
  314. }
  315. .prettyprint.linenums li * {
  316. -webkit-user-select: text;
  317. -moz-user-select: text;
  318. -ms-user-select: text;
  319. user-select: text;
  320. }
  321. .params, .props {
  322. border-spacing: 0;
  323. border: 1px solid #ddd;
  324. border-collapse: collapse;
  325. border-radius: 3px;
  326. box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  327. width: 100%;
  328. font-size: 14px;
  329. margin: 1em 0;
  330. }
  331. .params .type {
  332. white-space: nowrap;
  333. }
  334. .params code {
  335. white-space: pre;
  336. }
  337. .params td, .params .name, .props .name, .name code {
  338. color: #4D4E53;
  339. font-family: Consolas, Monaco, 'Andale Mono', monospace;
  340. font-size: 100%;
  341. }
  342. .params td, .params th, .props td, .props th {
  343. margin: 0px;
  344. text-align: left;
  345. vertical-align: top;
  346. padding: 10px;
  347. display: table-cell;
  348. }
  349. .params td {
  350. border-top: 1px solid #eee
  351. }
  352. .params thead tr, .props thead tr {
  353. background-color: #fff;
  354. font-weight: bold;
  355. }
  356. .params .params thead tr, .props .props thead tr {
  357. background-color: #fff;
  358. font-weight: bold;
  359. }
  360. .params td.description > p:first-child, .props td.description > p:first-child {
  361. margin-top: 0;
  362. padding-top: 0;
  363. }
  364. .params td.description > p:last-child, .props td.description > p:last-child {
  365. margin-bottom: 0;
  366. padding-bottom: 0;
  367. }
  368. span.param-type, .params td .param-type, .param-type dd {
  369. color: #606;
  370. font-family: Consolas, Monaco, 'Andale Mono', monospace
  371. }
  372. .param-type dt, .param-type dd {
  373. display: inline-block
  374. }
  375. .param-type {
  376. margin: 14px 0;
  377. }
  378. .disabled {
  379. color: #454545
  380. }
  381. /* navicon button */
  382. .navicon-button {
  383. display: none;
  384. position: relative;
  385. padding: 2.0625rem 1.5rem;
  386. transition: 0.25s;
  387. cursor: pointer;
  388. -webkit-user-select: none;
  389. -moz-user-select: none;
  390. -ms-user-select: none;
  391. user-select: none;
  392. opacity: .8;
  393. }
  394. .navicon-button .navicon:before, .navicon-button .navicon:after {
  395. transition: 0.25s;
  396. }
  397. .navicon-button:hover {
  398. transition: 0.5s;
  399. opacity: 1;
  400. }
  401. .navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
  402. transition: 0.25s;
  403. }
  404. .navicon-button:hover .navicon:before {
  405. top: .825rem;
  406. }
  407. .navicon-button:hover .navicon:after {
  408. top: -.825rem;
  409. }
  410. /* navicon */
  411. .navicon {
  412. position: relative;
  413. width: 2.5em;
  414. height: .3125rem;
  415. background: #000;
  416. transition: 0.3s;
  417. border-radius: 2.5rem;
  418. }
  419. .navicon:before, .navicon:after {
  420. display: block;
  421. content: "";
  422. height: .3125rem;
  423. width: 2.5rem;
  424. background: #000;
  425. position: absolute;
  426. z-index: -1;
  427. transition: 0.3s 0.25s;
  428. border-radius: 1rem;
  429. }
  430. .navicon:before {
  431. top: .625rem;
  432. }
  433. .navicon:after {
  434. top: -.625rem;
  435. }
  436. /* open */
  437. .nav-trigger:checked + label:not(.steps) .navicon:before,
  438. .nav-trigger:checked + label:not(.steps) .navicon:after {
  439. top: 0 !important;
  440. }
  441. .nav-trigger:checked + label .navicon:before,
  442. .nav-trigger:checked + label .navicon:after {
  443. transition: 0.5s;
  444. }
  445. /* Minus */
  446. .nav-trigger:checked + label {
  447. -webkit-transform: scale(0.75);
  448. transform: scale(0.75);
  449. }
  450. /* × and + */
  451. .nav-trigger:checked + label.plus .navicon,
  452. .nav-trigger:checked + label.x .navicon {
  453. background: transparent;
  454. }
  455. .nav-trigger:checked + label.plus .navicon:before,
  456. .nav-trigger:checked + label.x .navicon:before {
  457. -webkit-transform: rotate(-45deg);
  458. transform: rotate(-45deg);
  459. background: #FFF;
  460. }
  461. .nav-trigger:checked + label.plus .navicon:after,
  462. .nav-trigger:checked + label.x .navicon:after {
  463. -webkit-transform: rotate(45deg);
  464. transform: rotate(45deg);
  465. background: #FFF;
  466. }
  467. .nav-trigger:checked + label.plus {
  468. -webkit-transform: scale(0.75) rotate(45deg);
  469. transform: scale(0.75) rotate(45deg);
  470. }
  471. .nav-trigger:checked ~ nav {
  472. left: 0 !important;
  473. }
  474. .nav-trigger:checked ~ .overlay {
  475. display: block;
  476. }
  477. .nav-trigger {
  478. position: fixed;
  479. top: 0;
  480. clip: rect(0, 0, 0, 0);
  481. }
  482. .overlay {
  483. display: none;
  484. position: fixed;
  485. top: 0;
  486. bottom: 0;
  487. left: 0;
  488. right: 0;
  489. width: 100%;
  490. height: 100%;
  491. background: hsla(0, 0%, 0%, 0.5);
  492. z-index: 1;
  493. }
  494. @media only screen and (min-width: 320px) and (max-width: 680px) {
  495. body {
  496. overflow-x: hidden;
  497. }
  498. nav {
  499. background: #FFF;
  500. width: 250px;
  501. height: 100%;
  502. position: fixed;
  503. top: 0;
  504. right: 0;
  505. bottom: 0;
  506. left: -250px;
  507. z-index: 3;
  508. padding: 0 10px;
  509. transition: left 0.2s;
  510. }
  511. .navicon-button {
  512. display: inline-block;
  513. position: fixed;
  514. top: 1.5em;
  515. right: 0;
  516. z-index: 2;
  517. }
  518. #main {
  519. width: 100%;
  520. min-width: 360px;
  521. }
  522. #main h1.page-title {
  523. margin: 1em 0;
  524. }
  525. #main section {
  526. padding: 0;
  527. }
  528. footer {
  529. margin-left: 0;
  530. }
  531. }
  532. /** Add a '#' to static members */
  533. [data-type="member"] a::before {
  534. content: '#';
  535. display: inline-block;
  536. margin-left: -14px;
  537. margin-right: 5px;
  538. }