default_ddoc_theme.ddoc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. LPAREN = (
  2. RPAREN = )
  3. BACKTICK = `
  4. DOLLAR = $
  5. ESCAPES =
  6. /</&lt;/
  7. />/&gt;/
  8. /&/&amp;/
  9. B = <b>$0</b>
  10. I = <i>$0</i>
  11. U = <u>$0</u>
  12. P = <p>$0</p>
  13. DL = <dl>$0</dl>
  14. DT = <dt>$0</dt>
  15. DD = <dd>$0</dd>
  16. TABLE = <table>$0</table>
  17. TR = <tr>$0</tr>
  18. TH = <th>$0</th>
  19. TD = <td>$0</td>
  20. OL = <ol>$0</ol>
  21. UL = <ul>$0</ul>
  22. LI = <li>$0</li>
  23. BIG = <span class="font_big">$0</span>
  24. SMALL = <small>$0</small>
  25. BR = <br>
  26. LINK = <a href="$0">$0</a>
  27. LINK2 = <a href="$1">$+</a>
  28. DEPRECATED = $0
  29. RED = <span class="color_red">$0</span>
  30. BLUE = <span class="color_blue">$0</span>
  31. GREEN = <span class="color_green">$0</span>
  32. YELLOW = <span class="color_yellow">$0</span>
  33. BLACK = <span class="color_black">$0</span>
  34. WHITE = <span class="color_white">$0</span>
  35. D_CODE =
  36. <section class="code_listing">
  37. <div class="code_sample">
  38. <div class="dlang">
  39. <ol class="code_lines">
  40. <li><code class="code">$0</code></li>
  41. </ol>
  42. </div>
  43. </div>
  44. </section>
  45. D_INLINECODE = <code class="code">$0</code>
  46. DDOC_BACKQUOTED = $(D_INLINECODE $0)
  47. D_COMMENT = <span class="comment">$0</span>
  48. D_STRING = <span class="string_literal">$0</span>
  49. D_KEYWORD = <span class="keyword">$0</span>
  50. D_PSYMBOL = <span class="psymbol">$0</span>
  51. D_PARAM = <span class="param">$0</span>
  52. DDOC_BLANKLINE = <br><br>
  53. DDOC_COMMENT = <!-- $0 -->
  54. DDOC =
  55. <!DOCTYPE html>
  56. <html>
  57. <head>
  58. <meta charset="UTF-8">
  59. <title>$(TITLE)</title>
  60. <style type="text/css" media="screen">
  61. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
  62. blockquote, pre, a, abbr, address, cite, code, del, dfn, em, figure,
  63. img, ins, kbd, q, s, samp, small, strong, sub, sup, var, b, u, i, dl,
  64. dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption,
  65. tbody, tfoot, thead, tr, th, td {
  66. background: transparent none repeat scroll 0 0;
  67. border: 0 none;
  68. font-size: 100%;
  69. margin: 0;
  70. outline: 0 none;
  71. padding: 0;
  72. vertical-align: baseline;
  73. }
  74. .color_red { color: #dc322f; }
  75. .color_blue { color: #268bd2; }
  76. .color_green { color: #859901; }
  77. .color_yellow { color: #b58901; }
  78. .color_black { color: black; }
  79. .color_white { color: white; }
  80. .font_big {
  81. font-size: 1.2em;
  82. }
  83. .ddoc_section_h {
  84. font-weight: bold;
  85. font-size: 13px;
  86. line-height: 19.5px;
  87. margin-top: 11px;
  88. display: block;
  89. }
  90. body.dlang .dlang {
  91. display: inline-block;
  92. }
  93. body.dlang .declaration .dlang {
  94. display: block;
  95. }
  96. body.dlang .ddoc_header_anchor a.dlang {
  97. display: block;
  98. color: rgba(0, 136, 204, 1);
  99. text-decoration: none;
  100. }
  101. body.dlang .ddoc_header_anchor .code {
  102. color: rgba(0, 136, 204, 1);
  103. }
  104. #ddoc_main .module {
  105. border-color: currentColor rgba(233, 233, 233, 1) rgba(233, 233, 233, 1);
  106. border-style: none solid solid;
  107. border-width: 0 1px 1px;
  108. overflow-x: hidden;
  109. padding: 15px;
  110. }
  111. #ddoc_main .section .section {
  112. margin-top: 0;
  113. }
  114. #ddoc_main .ddoc_module_members_section {
  115. padding: 1px 0 0;
  116. transition: transform 0.3s ease 0s;
  117. }
  118. #ddoc_main .ddoc_member, #ddoc_main .ddoc_module_members section.intro {
  119. background: #fff none repeat scroll 0 0;
  120. list-style-type: none;
  121. width: 100%;
  122. }
  123. #ddoc_main .ddoc_header_anchor {
  124. font-size: 1.4em;
  125. transition: transform 0.3s ease 0s;
  126. }
  127. #ddoc_main .ddoc_header_anchor > .code {
  128. display: inline-block;
  129. }
  130. #ddoc_main .ddoc_decl {
  131. background-color: transparent;
  132. height: 100%;
  133. left: 0;
  134. top: 0;
  135. padding: 0;
  136. padding-left: 15px;
  137. }
  138. #ddoc_main .ddoc_decl .section, #ddoc_main .section.ddoc_sections {
  139. background: white none repeat scroll 0 0;
  140. margin: 0;
  141. padding: 5px;
  142. position: relative;
  143. border-radius: 5px;
  144. }
  145. #ddoc_main .ddoc_decl .section h4, #ddoc_main .section.ddoc_sections h4 {
  146. font-size: 13px;
  147. line-height: 1.5;
  148. margin-top: 21px;
  149. }
  150. #ddoc_main .section .declaration {
  151. margin-top: 21px;
  152. }
  153. #ddoc_main .section .declaration .code {
  154. color: rgba(0, 0, 0, 1);
  155. margin-bottom: 15px;
  156. padding-bottom: 6px;
  157. }
  158. #ddoc_main .declaration div .para {
  159. margin-bottom: 0;
  160. }
  161. #ddoc_main .ddoc_params .graybox tr td:first-of-type {
  162. padding: 7px;
  163. text-align: right;
  164. vertical-align: top;
  165. word-break: normal;
  166. white-space: nowrap;
  167. }
  168. #ddoc_main .ddoc_params .graybox {
  169. border: 0 none;
  170. }
  171. #ddoc_main .ddoc_params .graybox td {
  172. border-color: rgba(214, 214, 214, 1);
  173. }
  174. #ddoc_main .ddoc_params .graybox tr:first-child > td {
  175. border-top: 0 none;
  176. }
  177. #ddoc_main .ddoc_params .graybox tr:last-child > td {
  178. border-bottom: 0 none;
  179. }
  180. #ddoc_main .ddoc_params .graybox tr > td:first-child {
  181. border-left: 0 none;
  182. }
  183. #ddoc_main .ddoc_params .graybox tr > td:last-child {
  184. border-right: 0 none;
  185. width: 100%;
  186. }
  187. #ddoc_main em.term, #ddoc_main em.term .code {
  188. color: rgba(65, 65, 65, 1);
  189. font-size: 12px;
  190. font-style: italic;
  191. line-height: 1.5;
  192. }
  193. #ddoc_main .see-also {
  194. cursor: pointer;
  195. font-family: Menlo,monospace;
  196. }
  197. #ddoc_main .ddoc_decl .section > div:last-of-type {
  198. margin-bottom: 15px;
  199. }
  200. #ddoc_main .ddoc_member, #ddoc_main .ddoc_module_members {
  201. transition: transform 0.3s ease 0s;
  202. }
  203. #ddoc_main .code_sample {
  204. background: inherit;
  205. }
  206. #ddoc_main .declaration .code-line {
  207. display: block;
  208. font: 1em Menlo,monospace;
  209. }
  210. #ddoc_main a[name] {
  211. margin: -112px 0 0;
  212. padding-top: 112px;
  213. }
  214. #ddoc_main .ddoc_decl td {
  215. max-width: inherit;
  216. }
  217. #ddoc_main .declaration a {
  218. color: inherit;
  219. }
  220. #ddoc_main .declaration a:hover {
  221. color: rgba(0, 136, 204, 1);
  222. text-decoration: underline;
  223. }
  224. body.ddoc {
  225. background-color: transparent;
  226. color: rgba(0, 0, 0, 1);
  227. font-family: Helvetica,Arial,sans-serif;
  228. font-size: 62.5%;
  229. margin: 0;
  230. border: 0;
  231. left: 0;
  232. top: 0;
  233. padding: 0;
  234. }
  235. .ddoc a[name] {
  236. display: block;
  237. height: 0;
  238. margin: -85px 0 0;
  239. padding-top: 85px;
  240. width: 0;
  241. }
  242. .ddoc .module {
  243. border-color: transparent;
  244. background-color: rgba(255, 255, 255, 1);
  245. border-color: currentColor rgba(233, 233, 233, 1) rgba(233, 233, 233, 1);
  246. border-image: none;
  247. border-style: none solid solid;
  248. border-width: 0 1px 1px;
  249. box-shadow: 0 0 1px rgba(0, 0, 0, 0.07);
  250. display: block;
  251. margin-left: 0;
  252. min-height: calc(100% - 173px);
  253. overflow: auto;
  254. padding-bottom: 100px;
  255. }
  256. .ddoc .content_wrapper {
  257. background-color: rgba(242, 242, 242, 1);
  258. margin: 0 auto;
  259. max-width: 980px;
  260. }
  261. .ddoc .section {
  262. padding: 15px 25px 30px;
  263. }
  264. .ddoc .section .section {
  265. margin: 30px 0 0;
  266. padding: 0;
  267. }
  268. .ddoc .para {
  269. color: rgba(65, 65, 65, 1);
  270. font-size: 1.4em;
  271. line-height: 145%;
  272. margin-bottom: 15px;
  273. }
  274. .ddoc .ddoc_examples .para {
  275. margin-bottom: 0;
  276. }
  277. .ddoc .module_name {
  278. color: rgba(0, 0, 0, 1);
  279. display: block;
  280. font-family: Helvetica;
  281. font-size: 2.8em;
  282. font-weight: 100;
  283. margin-bottom: 0;
  284. padding: 15px 0;
  285. }
  286. .ddoc .module a {
  287. color: rgba(0, 136, 204, 1);
  288. text-decoration: none;
  289. }
  290. .ddoc .code {
  291. color: rgba(128, 128, 128, 1);
  292. font-family: Menlo,monospace;
  293. font-size: 0.85em;
  294. word-wrap: break-word;
  295. }
  296. .ddoc .code i {
  297. font-style: normal;
  298. }
  299. .ddoc .code .code {
  300. font-size: 1em;
  301. }
  302. .ddoc .code_sample {
  303. background-clip: padding-box;
  304. margin: 1px 0;
  305. text-align: left;
  306. }
  307. .ddoc .code_sample {
  308. display: block;
  309. font-size: 1.4em;
  310. margin-left: 21px;
  311. }
  312. .ddoc ol .code_sample {
  313. font-size: 1em;
  314. }
  315. .ddoc .code_lines {
  316. counter-reset: li;
  317. line-height: 1.6em;
  318. list-style: outside none none;
  319. margin: 0;
  320. padding: 0;
  321. }
  322. .ddoc .code_listing .code_sample div {
  323. margin-left: 13px;
  324. width: 93%;
  325. }
  326. .ddoc .code_listing .code_sample div .code_lines li {
  327. list-style-type: none;
  328. margin: 0;
  329. padding-right: 10px;
  330. }
  331. .ddoc .code_sample div .code_lines li::before {
  332. margin-left: -33px;
  333. margin-right: 25px;
  334. }
  335. .ddoc .code_sample div .code_lines li:nth-child(n+10)::before {
  336. margin-left: -39px;
  337. margin-right: 25px;
  338. }
  339. .ddoc .code_sample div .code_lines li:nth-child(n+100)::before {
  340. margin-left: -46px;
  341. margin-right: 25px;
  342. }
  343. .ddoc .code_sample .code_lines .code {
  344. color: #000;
  345. }
  346. .ddoc div.dlang {
  347. margin: 10px 0 21px;
  348. padding: 4px 0 2px 10px;
  349. }
  350. .ddoc div.dlang {
  351. margin: 10px 0 21px;
  352. padding: 4px 0 2px 10px;
  353. }
  354. .ddoc div.dlang {
  355. border-left: 5px solid rgba(0, 155, 51, 0.2);
  356. }
  357. .ddoc .code_lines li::before {
  358. color: rgba(128, 128, 128, 1);
  359. content: counter(li, decimal);
  360. counter-increment: li;
  361. font-family: Menlo,monospace;
  362. font-size: 0.9em;
  363. margin-right: 16px;
  364. }
  365. .ddoc .code_lines li {
  366. padding-left: 0;
  367. white-space: pre-wrap;
  368. }
  369. .ddoc .code_lines li:only-of-type::before {
  370. color: rgba(255, 255, 255, 1);
  371. content: " ";
  372. }
  373. .ddoc .code_lines li:only-of-type {
  374. color: rgba(255, 255, 255, 1);
  375. content: " ";
  376. }
  377. .ddoc .code_lines li:nth-child(n+10) {
  378. text-indent: -17px;
  379. }
  380. .ddoc .code_lines li:nth-child(n+10)::before {
  381. margin-right: 12px;
  382. }
  383. .ddoc .graybox {
  384. border: 1px solid rgba(233, 233, 233, 1);
  385. border-collapse: collapse;
  386. border-spacing: 0;
  387. empty-cells: hide;
  388. margin: 20px 0 36px;
  389. text-align: left;
  390. }
  391. .ddoc .graybox p {
  392. margin: 0;
  393. min-width: 50px;
  394. }
  395. .ddoc td {
  396. border: 1px solid rgba(233, 233, 233, 1);
  397. margin: 0;
  398. max-width: 260px;
  399. padding: 5px 25px 5px 10px;
  400. vertical-align: middle;
  401. }
  402. .punctuation {
  403. color: rgba(0, 0, 0, 1);
  404. }
  405. .comment {
  406. color: rgba(0, 131, 18, 1);
  407. }
  408. .operator {
  409. color: #000;
  410. }
  411. .keyword {
  412. color: rgba(170, 13, 145, 1);
  413. }
  414. .keyword_type {
  415. color: rgba(170, 51, 145, 1);
  416. }
  417. .string_literal {
  418. color: rgba(196, 26, 22, 1);
  419. }
  420. .ddoc_psuper_symbol {
  421. color: rgba(92, 38, 153, 1);
  422. }
  423. .param {
  424. color: rgba(0, 0, 0, 1);
  425. }
  426. .psymbol {
  427. color: rgba(0, 0, 0, 1);
  428. }
  429. .ddoc_member_header .ddoc_header_anchor .code {
  430. font-size: 1em;
  431. }
  432. </style>
  433. </head>
  434. <body id="ddoc_main" class="ddoc dlang">
  435. <div class="content_wrapper">
  436. <article class="module">
  437. <h1 class="module_name">$(TITLE)</h1>
  438. <section id="module_content">$(BODY)</section>
  439. </article>
  440. </div>
  441. </body>
  442. </html>
  443. DDOC_MODULE_MEMBERS = <section class="section ddoc_module_members_section">
  444. <div class="ddoc_module_members">
  445. $(DDOC_MEMBERS $0)
  446. </div>
  447. </section>
  448. DDOC_CLASS_MEMBERS = $(DDOC_MEMBERS $0)
  449. DDOC_STRUCT_MEMBERS = $(DDOC_MEMBERS $0)
  450. DDOC_ENUM_MEMBERS = $(DDOC_MEMBERS $0)
  451. DDOC_TEMPLATE_MEMBERS = $(DDOC_MEMBERS $0)
  452. DDOC_MEMBERS = <ul class="ddoc_members">
  453. $0
  454. </ul>
  455. DDOC_MEMBER = <li class="ddoc_member">
  456. $0
  457. </li>
  458. DDOC_MEMBER_HEADER = <div class="ddoc_member_header">
  459. $0
  460. </div>
  461. DDOC_HEADER_ANCHOR = <div class="ddoc_header_anchor">
  462. <a href="#$1" id="$1"><code class="code">$2</code></a>
  463. </div>
  464. DDOC_DECL = <div class="ddoc_decl">
  465. <section class="section">
  466. <div class="declaration">
  467. <h4>Declaration</h4>
  468. <div class="dlang">
  469. <p class="para">
  470. <code class="code">
  471. $0
  472. </code>
  473. </p>
  474. </div>
  475. </div>
  476. </section>
  477. </div>
  478. DDOC_ANCHOR = <span class="ddoc_anchor" id="$1"></span>
  479. DDOC_DECL_DD = <div class="ddoc_decl">
  480. $0
  481. </div>
  482. DDOC_SECTIONS = <section class="section ddoc_sections">
  483. $0
  484. </section>
  485. DDOC_SUMMARY = <div class="ddoc_summary">
  486. <p class="para">
  487. $0
  488. </p>
  489. </div>
  490. DDOC_DESCRIPTION = <div class="ddoc_description">
  491. <h4>Discussion</h4>
  492. <p class="para">
  493. $0
  494. </p>
  495. </div>
  496. DDOC_EXAMPLES = <div class="ddoc_examples">
  497. <h4>Examples</h4>
  498. <p class="para">
  499. $0
  500. </p>
  501. </div>
  502. DDOC_RETURNS = <div class="ddoc_returns">
  503. <h4>Return Value</h4>
  504. <p class="para">
  505. $0
  506. </p>
  507. </div>
  508. DDOC_PARAMS = <div class="ddoc_params">
  509. <h4>Parameters</h4>
  510. <table cellspacing="0" cellpadding="5" border="0" class="graybox">
  511. <tbody>
  512. $0
  513. </tbody>
  514. </table>
  515. </div>
  516. DDOC_PARAM_ROW = <tr class="ddoc_param_row">
  517. $0
  518. </tr>
  519. DDOC_PARAM_ID = <td scope="ddoc_param_id">
  520. <code class="code">
  521. <em class="term">$0</em>
  522. </code>
  523. </td>
  524. DDOC_PARAM_DESC = <td>
  525. <div class="ddoc_param_desc">
  526. <p class="para">
  527. $0
  528. </p>
  529. </div>
  530. </td>
  531. DDOC_LICENSE = <div class="ddoc_license">
  532. <h4>License</h4>
  533. <p class="para">
  534. $0
  535. </p>
  536. </div>
  537. DDOC_AUTHORS = <div class="ddoc_authors">
  538. <h4>Authors</h4>
  539. <p class="para">
  540. $0
  541. </p>
  542. </div>
  543. DDOC_BUGS = <div class="ddoc_bugs">
  544. <h4>Bugs</h4>
  545. <p class="para">
  546. $0
  547. </p>
  548. </div>
  549. DDOC_COPYRIGHT = <div class="ddoc_copyright">
  550. <h4>Copyright</h4>
  551. <p class="para">
  552. $0
  553. </p>
  554. </div>
  555. DDOC_DATE = <div class="ddoc_date">
  556. <h4>Date</h4>
  557. <p class="para">
  558. $0
  559. </p>
  560. </div>
  561. DDOC_DEPRECATED = <div class="ddoc_deprecated">
  562. <h4>Deprecated</h4>
  563. <p class="para">
  564. $0
  565. </p>
  566. </div>
  567. DDOC_HISTORY = <div class="ddoc_history">
  568. <h4>History</h4>
  569. <p class="para">
  570. $0
  571. </p>
  572. </div>
  573. DDOC_SEE_ALSO = <div class="ddoc_see_also">
  574. <h4>See Also</h4>
  575. <p class="para">
  576. $0
  577. </p>
  578. </div>
  579. DDOC_STANDARDS = <div class="ddoc_standards">
  580. <h4>Standards</h4>
  581. <p class="para">
  582. $0
  583. </p>
  584. </div>
  585. DDOC_THROWS = <div class="ddoc_throws">
  586. <h4>Throws</h4>
  587. <p class="para">
  588. $0
  589. </p>
  590. </div>
  591. DDOC_VERSION = <div class="ddoc_version">
  592. <h4>Version</h4>
  593. <p class="para">
  594. $0
  595. </p>
  596. </div>
  597. DDOC_SECTION = <div class="ddoc_section">
  598. <p class="para">
  599. $0
  600. </p>
  601. </div>
  602. DDOC_SECTION_H = <span class="ddoc_section_h">$0</span>
  603. DDOC_DITTO = <br>
  604. $0
  605. DDOC_PSYMBOL = <code class="code">$0</code>
  606. DDOC_ENUM_BASETYPE = $0
  607. DDOC_PSUPER_SYMBOL = <span class="ddoc_psuper_symbol">$0</span>
  608. DDOC_KEYWORD = <code class="code">$0</code>
  609. DDOC_PARAM = <code class="code">$0</code>
  610. DDOC_CONSTRAINT = $(DDOC_CONSTRAINT) if ($0)
  611. DDOC_OVERLOAD_SEPARATOR = $0
  612. DDOC_TEMPLATE_PARAM_LIST = $0
  613. DDOC_TEMPLATE_PARAM = $0