jsdoc.css 13 KB

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