jsdoc.css 9.8 KB

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