jsdoc.css 9.5 KB

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