j1-template 2021.0.4 → 2021.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (265) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/generator.html +6 -6
  3. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +1 -1
  4. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  5. data/_layouts/raw.html +1 -1
  6. data/assets/data/fam.html +1 -1
  7. data/assets/data/gallery_customizer.html +1 -1
  8. data/assets/data/mdi_icons.json +69582 -14640
  9. data/assets/data/menu.html +36 -4
  10. data/assets/data/mmenu_toc.html +1 -1
  11. data/assets/themes/j1/adapter/js/fam.js +2 -2
  12. data/assets/themes/j1/adapter/js/j1.js +3 -2
  13. data/assets/themes/j1/adapter/js/themer.js +2 -1
  14. data/assets/themes/j1/core/css/animate.min.css +1 -7
  15. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +302 -22
  16. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  17. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +12505 -4812
  18. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -1
  19. data/assets/themes/j1/core/css/icon-fonts/twemoji.min.css +1 -1
  20. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +79 -49
  21. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -6
  22. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +78 -48
  23. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -6
  24. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +126 -52
  25. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -8
  26. data/assets/themes/j1/core/css/vendor.css +2 -2
  27. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  28. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
  29. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
  30. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
  31. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  32. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  33. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  34. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  35. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  36. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  37. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
  38. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
  39. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
  40. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
  41. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
  42. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
  43. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/eot/materialdesignicons-webfont.eot +0 -0
  44. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff +0 -0
  45. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff2 +0 -0
  46. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/svg/materialdesignicons-webfont.svg +0 -0
  47. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/ttf/materialdesignicons-webfont.ttf +0 -0
  48. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/eot/materialdesignicons-webfont.eot +0 -0
  49. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff +0 -0
  50. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff2 +0 -0
  51. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/preview.html +717 -0
  52. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/svg/materialdesignicons-webfont.svg +10188 -0
  53. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/ttf/materialdesignicons-webfont.ttf +0 -0
  54. data/assets/themes/j1/core/fonts/material_design_icons/fonts/eot/materialdesignicons-webfont.eot +0 -0
  55. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff +0 -0
  56. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff2 +0 -0
  57. data/assets/themes/j1/core/fonts/material_design_icons/fonts/svg/materialdesignicons-webfont.svg +10188 -0
  58. data/assets/themes/j1/core/fonts/material_design_icons/fonts/ttf/materialdesignicons-webfont.ttf +0 -0
  59. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.json +0 -0
  60. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.yml +0 -0
  61. data/assets/themes/j1/core/js/template.min.js +23 -1
  62. data/assets/themes/j1/modules/jquery/js/jquery-3.5.1.min.map +1 -0
  63. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +110 -0
  64. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +110 -0
  65. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.js +1245 -0
  66. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.min.js +8 -0
  67. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.min.zip +0 -0
  68. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.zip +0 -0
  69. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +110 -0
  70. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +110 -0
  71. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +11 -10
  72. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +3 -106
  73. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.js +147 -146
  74. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.min.js +3 -3
  75. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +1 -2
  76. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  77. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.min.js +1 -1
  78. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +20 -5
  79. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  80. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +115 -0
  81. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +15 -0
  82. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.new.js +111 -0
  83. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.old.js +103 -0
  84. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +2 -2
  85. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +3 -3
  86. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +4 -4
  87. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
  88. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +46 -45
  89. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  90. data/lib/j1/commands/generate.rb +3 -2
  91. data/lib/j1/version.rb +1 -1
  92. data/lib/j1_app/j1_auth_manager/auth_manager.rb +15 -0
  93. data/lib/starter_web/Gemfile +18 -17
  94. data/lib/starter_web/_config.yml +9 -7
  95. data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
  96. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +225 -188
  97. data/lib/starter_web/_data/j1_config.yml +3 -3
  98. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  99. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +13 -4
  100. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  101. data/lib/starter_web/_data/modules/navigator_menu.yml +28 -72
  102. data/lib/starter_web/_data/resources.yml +3 -26
  103. data/lib/starter_web/_includes/attributes.asciidoc +296 -96
  104. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -1
  105. data/lib/starter_web/_includes/tables/template_variables.asciidoc +1 -1
  106. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  107. data/lib/starter_web/_plugins/lunr_index.rb +20 -1
  108. data/lib/starter_web/_plugins/minifyJS.rb +3 -0
  109. data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
  110. data/lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg +0 -0
  111. data/lib/starter_web/assets/images/modules/attics/nicola-styles-1920x1280.jpg +0 -0
  112. data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
  113. data/lib/starter_web/assets/images/modules/attics/responsive-text-1920x1280.jpg +0 -0
  114. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  115. data/lib/starter_web/assets/images/pages/panels/modules-apps-1920x800.jpg +0 -0
  116. data/lib/starter_web/assets/images/pages/panels/no-time-1920x800.jpg +0 -0
  117. data/lib/starter_web/assets/images/pages/panels/the-place-1920x800.jpg +0 -0
  118. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg +0 -0
  119. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon.jpg +0 -0
  120. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg +0 -0
  121. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input.jpg +0 -0
  122. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll-.jpg +0 -0
  123. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll.jpg +0 -0
  124. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  125. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  126. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  127. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  128. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  129. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  130. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  131. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  132. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  133. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  134. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  135. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  136. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +10 -13
  137. data/lib/starter_web/collections/posts/public/featured/_posts/{2018-05-01-confusion-about-base-url.adoc → 2020-04-01-confusion-about-base-url.adoc} +7 -5
  138. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-05-01-top-open-source-static-site-generators.adoc → 2020-05-01-top-open-source-static-site-generators.adoc} +16 -14
  139. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-06-01-about-cookies.adoc → 2020-06-01-about-cookies.adoc} +10 -24
  140. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +7 -18
  141. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +7 -17
  142. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +7 -17
  143. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +7 -17
  144. data/{assets/themes/j1/modules/mdiPreviewer/js → lib/starter_web/collections/posts/public/series/_posts/_includes/documents}/readme +0 -0
  145. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +5 -4
  146. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +13 -3
  147. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +13 -3
  148. data/lib/starter_web/favicon.ico +0 -0
  149. data/lib/starter_web/index.html +4 -6
  150. data/lib/starter_web/package.json +3 -3
  151. data/lib/starter_web/pages/public/about/about_site.adoc +39 -16
  152. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  153. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  154. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  155. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  156. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  157. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  158. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  159. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  160. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  161. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  162. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  163. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  164. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  165. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  166. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  167. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  168. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  169. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  170. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  171. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  172. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  173. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  174. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  175. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  176. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  177. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  178. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  179. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  180. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  181. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  182. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  183. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  184. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  185. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  186. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  187. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  188. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  189. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  190. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  191. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  192. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  193. data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -0
  194. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -1
  195. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +2 -0
  196. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +2 -0
  197. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -0
  198. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +8 -4
  199. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +3 -4
  200. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -270
  201. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +168 -85
  202. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +6 -9
  203. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +5 -6
  204. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -55
  205. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +116 -57
  206. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +433 -0
  207. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +4 -1
  208. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  209. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  210. data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
  211. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  212. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  213. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +1 -1
  214. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  215. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +1 -1
  216. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  217. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +16 -5
  218. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +5 -81
  219. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +119 -0
  220. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  221. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  222. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
  223. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  224. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  225. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +4 -4
  226. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  227. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  228. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  229. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  230. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  231. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +41 -0
  232. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +857 -0
  233. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  234. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  235. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  236. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  237. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  238. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +116 -78
  239. data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
  240. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  241. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +42 -109
  242. data/lib/starter_web/pages/public/previewer/rouge.adoc +77 -352
  243. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  244. data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
  245. data/lib/starter_web/utilsrv/package.json +3 -3
  246. metadata +114 -37
  247. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  248. data/lib/starter_web/_plugins/simple_search_filter.rb +0 -32
  249. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +0 -31
  250. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +0 -430
  251. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh +0 -28
  252. data/lib/starter_web/pages/public/about/become_a_patron.adoc +0 -46
  253. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  254. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  255. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  256. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  257. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  258. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  259. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  260. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  261. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  262. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  263. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +0 -335
  264. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  265. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -1,14 +1,14 @@
1
1
  /*
2
2
  # -----------------------------------------------------------------------------
3
3
  # ~/assets/themes/j1/modules/mmenu_light/js/mmenu.js
4
- # Mobile Menu v3.0.5 implementation for J1 Template
4
+ # Mobile Menu v3.0.8 implementation for J1 Template
5
5
  #
6
6
  # Product/Info:
7
7
  # https://jekyll.one
8
8
  # https://github.com/FrDH/mmenu-light
9
9
  #
10
10
  # Copyright (C) 2021 Juergen Adams
11
- # Copyright (C) 2015-2020 Fred Heusschen
11
+ # Copyright (C) 2015-2021 Fred Heusschen
12
12
  #
13
13
  # J1 Template is licensed under the MIT License.
14
14
  # See: https://github.com/jekyll-one-org/J1 Template/blob/master/LICENSE
@@ -19,7 +19,7 @@
19
19
 
20
20
  /*!
21
21
  * Mmenu Light
22
- * mmenujs.com/mmenu-light v3.0.5
22
+ * mmenujs.com/mmenu-light v3.0.8
23
23
  *
24
24
  * Copyright (c) Fred Heusschen
25
25
  * www.frebsite.nl
@@ -143,11 +143,11 @@ div.copied {
143
143
  left: 50%;
144
144
  width: 200px;
145
145
  text-align: center;
146
- color: $grey-50;
147
- background-color: $blue;
148
- // border: 1px solid $indigo;
146
+ color: #FAFAFA;
147
+ background-color: #2196F3;
148
+ border: 1px solid #0D47A1;
149
149
  padding: 10px 15px;
150
150
  border-radius: 4px;
151
151
  margin-left: -100px;
152
- // box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
152
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
153
153
  }
@@ -16,4 +16,4 @@
16
16
  # For details, https://github.com/xLs51/Twemoji-Picker
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
- ul.emoji-list *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.emoji-list li{font-size:36px;float:left;display:inline-block;padding:2px;margin:4px}img.emoji{cursor:pointer;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-wrap{position:relative}.twemoji-wrap img{margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-textarea{background-color:#FFF;border:1px solid #ccc;border-radius:3px;height:100%;padding:6px 30px 6px 12px;overflow-y:auto}.twemoji-textarea[contentEditable=true]:empty:before{content:attr(placeholder);color:#9e9e9e}.twemoji-picker{background-color:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.05);position:absolute;right:0;z-index:1}.twemoji-icon-picker{margin-top:.5rem;margin-bottom:.5rem}.twemoji-icon-picker img{//position:absolute;right:21px;top:6px}.twemoji-icon-picker img,.twemoji-picker img{cursor:pointer;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.twemoji-picker-category{background-color:#e7e7e7}.twemoji-picker-category img{padding:5px}.twemoji-picker-category .active,.twemoji-picker-category span:hover{border-bottom:2px solid #728691;line-height:22px}.twemoji-picker-category .close{cursor:pointer;float:right;font-size:25px;font-weight:700;line-height:1;margin-right:2px;opacity:.5}.twemoji-picker-category .close:hover{opacity:.3}.twemoji-list{//overflow-y:scroll;margin-top:1.5rem;margin-left:1.5rem;overflow-y:auto}.twemoji-list img{margin-top:2px;padding:5px}.twemoji-list img:hover{background-color:#e7e7e7}div.copied{position:fixed;top:100px;left:50%;width:200px;text-align:center;color:$grey-50;background-color:$blue;// border:1px solid $indigo;padding:10px 15px;border-radius:4px;margin-left:-100px;// box-shadow:0 0 10px rgba(0,0,0,0.2)}
19
+ ul.emoji-list *{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}ul.emoji-list li{font-size:36px;float:left;display:inline-block;padding:2px;margin:4px}img.emoji{cursor:pointer;height:1em;width:1em;margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-wrap{position:relative}.twemoji-wrap img{margin:0 .05em 0 .1em;vertical-align:-0.1em}.twemoji-textarea{background-color:#FFF;border:1px solid #ccc;border-radius:3px;height:100%;padding:6px 30px 6px 12px;overflow-y:auto}.twemoji-textarea[contentEditable=true]:empty:before{content:attr(placeholder);color:#9e9e9e}.twemoji-picker{background-color:#fff;border:1px solid #e7e7e7;border-radius:3px;box-shadow:0 1px 1px rgba(0,0,0,0.05);position:absolute;right:0;z-index:1}.twemoji-icon-picker{margin-top:.5rem;margin-bottom:.5rem}.twemoji-icon-picker img{//position:absolute;right:21px;top:6px}.twemoji-icon-picker img,.twemoji-picker img{cursor:pointer;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}.twemoji-picker-category{background-color:#e7e7e7}.twemoji-picker-category img{padding:5px}.twemoji-picker-category .active,.twemoji-picker-category span:hover{border-bottom:2px solid #728691;line-height:22px}.twemoji-picker-category .close{cursor:pointer;float:right;font-size:25px;font-weight:700;line-height:1;margin-right:2px;opacity:.5}.twemoji-picker-category .close:hover{opacity:.3}.twemoji-list{//overflow-y:scroll;margin-top:1.5rem;margin-left:1.5rem;overflow-y:auto}.twemoji-list img{margin-top:2px;padding:5px}.twemoji-list img:hover{background-color:#e7e7e7}div.copied{position:fixed;top:100px;left:50%;width:200px;text-align:center;color:#fafafa;background-color:#2196f3;border:1px solid #0d47a1;padding:10px 15px;border-radius:4px;margin-left:-100px;box-shadow:0 0 10px rgba(0,0,0,0.2)}
@@ -16,18 +16,19 @@
16
16
  # For details, https://github.com/xLs51/Twemoji-Picker
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
- (function (e, c, g) {
19
+ (function ($, window, undefined) {
20
20
  var b = 150;
21
21
  var d = {};
22
- var a = "/assets/data/twa_v1.json";
23
- e.TwemojiPicker = function (j, i) {
22
+ var twa_database = "/assets/data/twa_v1.json";
23
+
24
+ $.TwemojiPicker = function (element, options) {
24
25
  var h = this;
25
- e.when(h._loadDatabase()).done(function (k) {
26
- h.$el = e(j);
27
- h._init(i)
26
+ $.when(this._loadDatabase()).done(function (e) {
27
+ h.$el = $(element);
28
+ h._init(options)
28
29
  })
29
30
  };
30
- e.TwemojiPicker.defaults = {
31
+ $.TwemojiPicker.defaults = {
31
32
  init: null,
32
33
  size: 25,
33
34
  icon: "grinning",
@@ -41,9 +42,9 @@
41
42
  pickerWidth: null,
42
43
  placeholder: "",
43
44
  };
44
- e.TwemojiPicker.prototype = {
45
+ $.TwemojiPicker.prototype = {
45
46
  _init: function (h) {
46
- this.options = e.extend(true, {}, e.TwemojiPicker.defaults, h);
47
+ this.options = $.extend(true, {}, $.TwemojiPicker.defaults, h);
47
48
  this._initPicker();
48
49
  this._initCategory();
49
50
  this._initTwemoji();
@@ -52,8 +53,8 @@
52
53
  this._initEvents()
53
54
  },
54
55
  _loadDatabase: function f() {
55
- return e.ajax({
56
- url: a,
56
+ return $.ajax({
57
+ url: twa_database,
57
58
  success: function (h) {
58
59
  if (typeof h == "string") {
59
60
  d = JSON.parse(h)
@@ -87,16 +88,16 @@
87
88
  this.categoryName = ["people", "nature", "object", "place", "symbol"];
88
89
  this.$picker.append('<div class="twemoji-picker-category"></div>');
89
90
  this.$pickerCategory = this.$picker.find(".twemoji-picker-category");
90
- e.each(this.categoryName, function (j, k) {
91
+ $.each(this.categoryName, function (j, k) {
91
92
  h.$pickerCategory.append('<span data-category="' + k + '">' + h.imageFromName(i[j]) + "</span>")
92
93
  });
93
94
  this.$pickerCategory.find("span:first").addClass("active")
94
95
  },
95
96
  _initTwemoji: function () {
96
97
  var h = this;
97
- e.each(this.categoryName, function (j, k) {
98
+ $.each(this.categoryName, function (j, k) {
98
99
  h.$picker.append('<div class="twemoji-list ' + k + '"></div>');
99
- e.each(d, function (i, l) {
100
+ $.each(d, function (i, l) {
100
101
  if (l.category === k) {
101
102
  h.$wrapper.find(".twemoji-picker ." + k).append('<span><img class="emoji" draggable="false" src="' + l.base64 + '" alt="' + l.value + '" title="' + l.name + '"></span>')
102
103
  }
@@ -146,27 +147,27 @@
146
147
  _initEvents: function () {
147
148
  var h = this;
148
149
  this.$textarea.on("keyup", function () {
149
- h.copyTextArea(e(this).html())
150
+ h.copyTextArea($(this).html())
150
151
  });
151
152
  this.$iconPicker.on("click", function () {
152
- var i = e(".twemoji-picker").height() + b;
153
- e("#picker").height(i);
154
- e(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");
153
+ var i = $(".twemoji-picker").height() + b;
154
+ $("#picker").height(i);
155
+ $(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");
155
156
  if (!h.openedPicker) {
156
157
  h.openPicker()
157
158
  } else {
158
159
  h.closePicker();
159
- e("#picker").height(h.$pickerHeigth)
160
+ $("#picker").height(h.$pickerHeigth)
160
161
  }
161
162
  });
162
163
  this.$clearTextarea.on("click", function () {
163
164
  h.copyTextArea("");
164
- e(h.$id).val("");
165
- e(".twemoji-textarea > .emoji-span").remove()
165
+ $(h.$id).val("");
166
+ $(".twemoji-textarea > .emoji-span").remove()
166
167
  });
167
168
  this.$pickerCategory.find("span").on("click", function () {
168
- var i = e(this).data("category");
169
- h.openCategory(e(this), i)
169
+ var i = $(this).data("category");
170
+ h.openCategory($(this), i)
170
171
  });
171
172
  this.$pickerCategory.find(".close").on("click", function () {
172
173
  if (h.openedPicker) {
@@ -174,24 +175,24 @@
174
175
  }
175
176
  });
176
177
  this.$twemojiList.find("img").on("click", function () {
177
- h.copyTwemoji(e(this))
178
+ h.copyTwemoji($(this))
178
179
  })
179
180
  },
180
- copyText: function (j) {
181
- var i = document.createElement("textarea");
182
- i.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px");
183
- i.value = j;
184
- document.body.appendChild(i);
185
- i.select();
186
- document.execCommand("copy");
187
- var h = document.createElement("div");
188
- h.setAttribute("class", "copied");
189
- h.appendChild(document.createTextNode("Copied to Clipboard"));
190
- document.body.appendChild(h);
191
- setTimeout(function () {
192
- document.body.removeChild(i);
193
- document.body.removeChild(h)
194
- }, 1500)
181
+ copyText: function (text) {
182
+ var copyFrom = document.createElement('textarea');
183
+ copyFrom.setAttribute("style", "position:fixed;opacity:0;top:100px;left:100px;");
184
+ copyFrom.value = text;
185
+ document.body.appendChild(copyFrom);
186
+ copyFrom.select();
187
+ document.execCommand('copy');
188
+ var copied = document.createElement('div');
189
+ copied.setAttribute('class', 'copied');
190
+ copied.appendChild(document.createTextNode('Copied to Clipboard'));
191
+ document.body.appendChild(copied);
192
+ setTimeout(function () {
193
+ document.body.removeChild(copyFrom);
194
+ document.body.removeChild(copied);
195
+ }, 1500);
195
196
  },
196
197
  openPicker: function () {
197
198
  this.$picker.show();
@@ -226,7 +227,7 @@
226
227
  this.$el.text(i)
227
228
  },
228
229
  imageFromName: function (i, j) {
229
- var h = e.grep(d, function (k) {
230
+ var h = $.grep(d, function (k) {
230
231
  return k.name == i
231
232
  });
232
233
  if (j) {
@@ -236,8 +237,8 @@
236
237
  },
237
238
  pasteAtCursor: function (m) {
238
239
  var l, h;
239
- if (c.getSelection) {
240
- l = c.getSelection();
240
+ if (window.getSelection) {
241
+ l = window.getSelection();
241
242
  if (l.getRangeAt && l.rangeCount) {
242
243
  h = l.getRangeAt(0);
243
244
  h.deleteContents();
@@ -264,10 +265,10 @@
264
265
  }
265
266
  }
266
267
  };
267
- e.fn.twemojiPicker = function (i) {
268
- var h = e.data(this, "twemojiPicker");
268
+ $.fn.twemojiPicker = function (i) {
269
+ var h = $.data(this, "twemojiPicker");
269
270
  this.each(function () {
270
- h ? h._init() : h = e.data(this, "twemojiPicker", new e.TwemojiPicker(this, i))
271
+ h ? h._init() : h = $.data(this, "twemojiPicker", new $.TwemojiPicker(this, i))
271
272
  });
272
273
  return h
273
274
  }
@@ -16,4 +16,4 @@
16
16
  # For details, https://github.com/xLs51/Twemoji-Picker
17
17
  # -----------------------------------------------------------------------------
18
18
  */
19
- (function(l,n,j){var h=150;var m={};var i="/assets/data/twa_v1.json";l.TwemojiPicker=function(a,b){var c=this;l.when(c._loadDatabase()).done(function(d){c.$el=l(a);c._init(b)})};l.TwemojiPicker.defaults={init:null,size:25,icon:"grinning",iconSize:25,height:100,width:null,category:["smile","cherry-blossom","video-game","oncoming-automobile","symbols"],categorySize:20,pickerPosition:null,pickerHeight:150,pickerWidth:null,placeholder:"",};l.TwemojiPicker.prototype={_init:function(a){this.options=l.extend(true,{},l.TwemojiPicker.defaults,a);this._initPicker();this._initCategory();this._initTwemoji();this._initText();this._initStyle();this._initEvents()},_loadDatabase:function k(){return l.ajax({url:i,success:function(a){if(typeof a=="string"){m=JSON.parse(a)}if(typeof a=="object"){m=a}}})},_initPicker:function(){var a=this;a.$id="#"+a.$el["0"].id;a.$pickerHeigth=a.options.height.replace("px","");a.$pickerHeigth=Number(a.$pickerHeigth);a.$wrapper=a.$el.wrap('<div class="twemoji-wrap"></div>').parent();a.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="'+a.options.placeholder+'"></div>');a.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');a.$wrapper.append('<div class="twemoji-icon-picker"> <span id="open-group" class="mr-2"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-info mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker </button></span><span id="clear-textarea"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-secondary"><i class="mdi mdi-sticker-emoji mdi-lg mr-1"></i> Clear </button></span></div>');a.$wrapper.append('<div class="twemoji-picker"></div>');a.$el.hide();a.$textarea=a.$wrapper.find(".twemoji-textarea");a.$textareaDuplicate=a.$wrapper.find(".twemoji-textarea-duplicate").hide();a.$iconPicker=a.$wrapper.find("#open-group");a.$clearTextarea=a.$wrapper.find("#clear-textarea");a.$picker=a.$wrapper.find(".twemoji-picker").hide()},_initCategory:function(){var b=this;var a=this.options.category;this.categoryName=["people","nature","object","place","symbol"];this.$picker.append('<div class="twemoji-picker-category"></div>');this.$pickerCategory=this.$picker.find(".twemoji-picker-category");l.each(this.categoryName,function(d,c){b.$pickerCategory.append('<span data-category="'+c+'">'+b.imageFromName(a[d])+"</span>")});this.$pickerCategory.find("span:first").addClass("active")},_initTwemoji:function(){var a=this;l.each(this.categoryName,function(c,b){a.$picker.append('<div class="twemoji-list '+b+'"></div>');l.each(m,function(e,d){if(d.category===b){a.$wrapper.find(".twemoji-picker ."+b).append('<span><img class="emoji" draggable="false" src="'+d.base64+'" alt="'+d.value+'" title="'+d.name+'"></span>')}})});this.$twemojiList=this.$picker.find(".twemoji-list");this.$twemojiList.not(":first").hide()},_initText:function(){if(this.options.init){var a=this.options.init;var b=/:([\w-]+):/g;var c;while(c==b.exec(a)){a=a.replace(c[0],this.imageFromName(c[1],true))}this.$textarea.html(a);this.copyTextArea(this.$textarea.html())}},_initStyle:function(){this.$wrapper.css({width:this.options.width?this.options.width:"100%",height:this.options.height?this.options.height:"",});this.$wrapper.find("img").css({width:this.options.size,height:this.options.size,});this.$iconPicker.css({width:this.options.iconSize,height:this.options.iconSize,});this.$pickerCategory.find("img").css({width:this.options.categorySize,height:this.options.categorySize,});this.$twemojiList.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",height:this.options.pickerHeight,});this.$picker.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",top:this.options.pickerPosition==="top"?"-"+this.$picker.outerHeight()+"px":"",})},_initEvents:function(){var a=this;this.$textarea.on("keyup",function(){a.copyTextArea(l(this).html())});this.$iconPicker.on("click",function(){var b=l(".twemoji-picker").height()+h;l("#picker").height(b);l(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");if(!a.openedPicker){a.openPicker()}else{a.closePicker();l("#picker").height(a.$pickerHeigth)}});this.$clearTextarea.on("click",function(){a.copyTextArea("");l(a.$id).val("");l(".twemoji-textarea > .emoji-span").remove()});this.$pickerCategory.find("span").on("click",function(){var b=l(this).data("category");a.openCategory(l(this),b)});this.$pickerCategory.find(".close").on("click",function(){if(a.openedPicker){a.closePicker()}});this.$twemojiList.find("img").on("click",function(){a.copyTwemoji(l(this))})},copyText:function(a){var b=document.createElement("textarea");b.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px");b.value=a;document.body.appendChild(b);b.select();document.execCommand("copy");var c=document.createElement("div");c.setAttribute("class","copied");c.appendChild(document.createTextNode("Copied to Clipboard"));document.body.appendChild(c);setTimeout(function(){document.body.removeChild(b);document.body.removeChild(c)},1500)},openPicker:function(){this.$picker.show();this.openedPicker=true},closePicker:function(){this.$picker.hide();this.openedPicker=false},openCategory:function(b,a){this.$pickerCategory.find("span").removeClass("active");b.addClass("active");this.$twemojiList.not(".twemoji-picker ."+a).hide();this.$twemojiList.filter(".twemoji-picker ."+a).show()},copyTwemoji:function(a){var d=a.attr("alt");var b=a.attr("src");var c=a.attr("title");var e="emoji:"+c+"[]";this.copyText(e);this.$textarea.focus();this.pasteAtCursor('<span class="emoji-span"><img class="emoji" src="'+b+'" title="'+c+'" alt="'+d+'" width="'+this.options.size+'" height="'+this.options.size+'"> '+e+"</span> ");this.copyTextArea(this.$textarea.html())},copyTextArea:function(a){var c=this.$textareaDuplicate.html(a);c.find("img").replaceWith(function(){return this.alt});var b=c.html();this.$el.text(b)},imageFromName:function(b,a){var c=l.grep(m,function(d){return d.name==b});if(a){return'<img class="emoji" src="'+c[0].base64+'" alt="'+c[0].value+'" width="'+this.options.size+'" height="'+this.options.size+'">'}return'<img class="emoji" draggable="false" src="'+c[0].base64+'" alt="'+b+'">'},pasteAtCursor:function(a){var b,f;if(n.getSelection){b=n.getSelection();if(b.getRangeAt&&b.rangeCount){f=b.getRangeAt(0);f.deleteContents();var e=document.createElement("div");e.innerHTML=a;var g=document.createDocumentFragment(),c,d;while((c=e.firstChild)){d=g.appendChild(c)}f.insertNode(g);if(d){f=f.cloneRange();f.setStartAfter(d);f.collapse(true);b.removeAllRanges();b.addRange(f)}}}else{if(document.selection&&document.selection.type!="Control"){document.selection.createRange().pasteHTML(a)}}}};l.fn.twemojiPicker=function(a){var b=l.data(this,"twemojiPicker");this.each(function(){b?b._init():b=l.data(this,"twemojiPicker",new l.TwemojiPicker(this,a))});return b}})(jQuery,window);
19
+ (function(i,g,k){var c=150;var j={};var e="/assets/data/twa_v1.json";i.TwemojiPicker=function(b,a){var d=this;i.when(this._loadDatabase()).done(function(f){d.$el=i(b);d._init(a)})};i.TwemojiPicker.defaults={init:null,size:25,icon:"grinning",iconSize:25,height:100,width:null,category:["smile","cherry-blossom","video-game","oncoming-automobile","symbols"],categorySize:20,pickerPosition:null,pickerHeight:150,pickerWidth:null,placeholder:"",};i.TwemojiPicker.prototype={_init:function(a){this.options=i.extend(true,{},i.TwemojiPicker.defaults,a);this._initPicker();this._initCategory();this._initTwemoji();this._initText();this._initStyle();this._initEvents()},_loadDatabase:function h(){return i.ajax({url:e,success:function(a){if(typeof a=="string"){j=JSON.parse(a)}if(typeof a=="object"){j=a}}})},_initPicker:function(){var a=this;a.$id="#"+a.$el["0"].id;a.$pickerHeigth=a.options.height.replace("px","");a.$pickerHeigth=Number(a.$pickerHeigth);a.$wrapper=a.$el.wrap('<div class="twemoji-wrap"></div>').parent();a.$wrapper.append('<div class="twemoji-textarea" contentEditable="true" placeholder="'+a.options.placeholder+'"></div>');a.$wrapper.append('<div class="twemoji-textarea-duplicate"></div>');a.$wrapper.append('<div class="twemoji-icon-picker"><span id="open-group" class="mr-2" style="width: 2rem; height: 2rem;"><button type="button" name="open-group" class="btn btn-raised btn-flex btn-primary mr-2"><i class="toggle-button mdi mdi-lg mr-1 mdi-toggle-switch-off"></i> Picker <div class="ripple-container"></div></button></span><span id="clear-textarea" style="width: 2rem; height: 2rem;"><button type="button" name="clear-textarea" class="btn btn-raised btn-flex btn-primary"><i class="mdi mdi-close mdi-lg mr-1"></i> Clear </button></span></div>');a.$wrapper.append('<div class="twemoji-picker"></div>');a.$el.hide();a.$textarea=a.$wrapper.find(".twemoji-textarea");a.$textareaDuplicate=a.$wrapper.find(".twemoji-textarea-duplicate").hide();a.$iconPicker=a.$wrapper.find("#open-group");a.$clearTextarea=a.$wrapper.find("#clear-textarea");a.$picker=a.$wrapper.find(".twemoji-picker").hide()},_initCategory:function(){var b=this;var a=this.options.category;this.categoryName=["people","nature","object","place","symbol"];this.$picker.append('<div class="twemoji-picker-category"></div>');this.$pickerCategory=this.$picker.find(".twemoji-picker-category");i.each(this.categoryName,function(f,d){b.$pickerCategory.append('<span data-category="'+d+'">'+b.imageFromName(a[f])+"</span>")});this.$pickerCategory.find("span:first").addClass("active")},_initTwemoji:function(){var a=this;i.each(this.categoryName,function(d,b){a.$picker.append('<div class="twemoji-list '+b+'"></div>');i.each(j,function(m,f){if(f.category===b){a.$wrapper.find(".twemoji-picker ."+b).append('<span><img class="emoji" draggable="false" src="'+f.base64+'" alt="'+f.value+'" title="'+f.name+'"></span>')}})});this.$twemojiList=this.$picker.find(".twemoji-list");this.$twemojiList.not(":first").hide()},_initText:function(){if(this.options.init){var a=this.options.init;var b=/:([\w-]+):/g;var d;while(d==b.exec(a)){a=a.replace(d[0],this.imageFromName(d[1],true))}this.$textarea.html(a);this.copyTextArea(this.$textarea.html())}},_initStyle:function(){this.$wrapper.css({width:this.options.width?this.options.width:"100%",height:this.options.height?this.options.height:"",});this.$wrapper.find("img").css({width:this.options.size,height:this.options.size,});this.$iconPicker.css({width:this.options.iconSize,height:this.options.iconSize,});this.$pickerCategory.find("img").css({width:this.options.categorySize,height:this.options.categorySize,});this.$twemojiList.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",height:this.options.pickerHeight,});this.$picker.css({width:this.options.pickerWidth?this.options.pickerWidth:"100%",top:this.options.pickerPosition==="top"?"-"+this.$picker.outerHeight()+"px":"",})},_initEvents:function(){var a=this;this.$textarea.on("keyup",function(){a.copyTextArea(i(this).html())});this.$iconPicker.on("click",function(){var b=i(".twemoji-picker").height()+c;i("#picker").height(b);i(".toggle-button").toggleClass("mdi-toggle-switch-off mdi-toggle-switch");if(!a.openedPicker){a.openPicker()}else{a.closePicker();i("#picker").height(a.$pickerHeigth)}});this.$clearTextarea.on("click",function(){a.copyTextArea("");i(a.$id).val("");i(".twemoji-textarea > .emoji-span").remove()});this.$pickerCategory.find("span").on("click",function(){var b=i(this).data("category");a.openCategory(i(this),b)});this.$pickerCategory.find(".close").on("click",function(){if(a.openedPicker){a.closePicker()}});this.$twemojiList.find("img").on("click",function(){a.copyTwemoji(i(this))})},copyText:function(d){var b=document.createElement("textarea");b.setAttribute("style","position:fixed;opacity:0;top:100px;left:100px;");b.value=d;document.body.appendChild(b);b.select();document.execCommand("copy");var a=document.createElement("div");a.setAttribute("class","copied");a.appendChild(document.createTextNode("Copied to Clipboard"));document.body.appendChild(a);setTimeout(function(){document.body.removeChild(b);document.body.removeChild(a)},1500)},openPicker:function(){this.$picker.show();this.openedPicker=true},closePicker:function(){this.$picker.hide();this.openedPicker=false},openCategory:function(b,a){this.$pickerCategory.find("span").removeClass("active");b.addClass("active");this.$twemojiList.not(".twemoji-picker ."+a).hide();this.$twemojiList.filter(".twemoji-picker ."+a).show()},copyTwemoji:function(a){var f=a.attr("alt");var b=a.attr("src");var d=a.attr("title");var m="emoji:"+d+"[]";this.copyText(m);this.$textarea.focus();this.pasteAtCursor('<span class="emoji-span"><img class="emoji" src="'+b+'" title="'+d+'" alt="'+f+'" width="'+this.options.size+'" height="'+this.options.size+'"> '+m+"</span> ");this.copyTextArea(this.$textarea.html())},copyTextArea:function(a){var d=this.$textareaDuplicate.html(a);d.find("img").replaceWith(function(){return this.alt});var b=d.html();this.$el.text(b)},imageFromName:function(b,a){var d=i.grep(j,function(f){return f.name==b});if(a){return'<img class="emoji" src="'+d[0].base64+'" alt="'+d[0].value+'" width="'+this.options.size+'" height="'+this.options.size+'">'}return'<img class="emoji" draggable="false" src="'+d[0].base64+'" alt="'+b+'">'},pasteAtCursor:function(a){var b,p;if(g.getSelection){b=g.getSelection();if(b.getRangeAt&&b.rangeCount){p=b.getRangeAt(0);p.deleteContents();var o=document.createElement("div");o.innerHTML=a;var q=document.createDocumentFragment(),d,f;while((d=o.firstChild)){f=q.appendChild(d)}p.insertNode(q);if(f){p=p.cloneRange();p.setStartAfter(f);p.collapse(true);b.removeAllRanges();b.addRange(p)}}}else{if(document.selection&&document.selection.type!="Control"){document.selection.createRange().pasteHTML(a)}}}};i.fn.twemojiPicker=function(a){var b=i.data(this,"twemojiPicker");this.each(function(){b?b._init():b=i.data(this,"twemojiPicker",new i.TwemojiPicker(this,a))});return b}})(jQuery,window);
@@ -140,12 +140,13 @@ module J1
140
140
  system_path = result[1]
141
141
  if options['system']
142
142
  J1.logger.info "Install patches on path #{system_path} ..."
143
+ dest = system_path + '/gems/' + patch_gem + '/lib'
143
144
  else
144
145
  J1.logger.info "Install patches on path #{user_path} ..."
145
- src = patch_source_path
146
146
  dest = user_path + '/gems/' + patch_gem + '/lib'
147
- FileUtils.cp_r(src, dest)
148
147
  end
148
+ src = patch_source_path
149
+ FileUtils.cp_r(src, dest)
149
150
  end
150
151
  end
151
152
 
data/lib/j1/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module J1
2
- VERSION = '2021.0.4'
2
+ VERSION = '2021.0.9'
3
3
  end
@@ -325,7 +325,22 @@ module J1App
325
325
  unless env['HTTP_COOKIE'] == nil
326
326
  j1_mw_auth_mgr.info 'read current user state data from cookie'
327
327
  user_session_data = readCookie('j1.user.session')
328
+ j1_mw_auth_mgr.info 'update user session data for mode: app'
329
+ user_session_data['mode'] ='app'
330
+ timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
331
+ user_session_data['timestamp'] = timestamp
332
+ user_session_data['writer'] = 'middleware'
333
+ session_json = user_session_data.to_json
334
+ j1_mw_auth_mgr.info 'write user session data to cookie: ' + "#{session_json}"
335
+ writeCookie('j1.user.session', session_json)
328
336
  else
337
+ j1_mw_auth_mgr.info 'create user session data for mode: app'
338
+ timestamp = Time.now.strftime("%Y-%m-%d %H:%M:%S")
339
+ user_session_data['timestamp'] = timestamp
340
+ user_session_data['writer'] = 'middleware'
341
+ session_json = user_session_data.to_json
342
+ j1_mw_auth_mgr.info 'write user session data to cookie: ' + "#{session_json}"
343
+ writeCookie('j1.user.session', session_json)
329
344
  requested_page = env['REQUEST_URI']
330
345
  app_session_data['requested_page'] = "#{env['REQUEST_URI']}"
331
346
  end
@@ -1,5 +1,5 @@
1
1
  # ------------------------------------------------------------------------------
2
- # ~/Gemfile (runtime)
2
+ # ~/Gemfile (run-time)
3
3
  # Provides package information to bundle all Ruby gem needed
4
4
  # for Jekyll and J1 template (managed by Ruby Gem Bundler)
5
5
  #
@@ -52,9 +52,9 @@ ruby RUBY_VERSION
52
52
  #
53
53
  gem 'jekyll', '~> 4.2'
54
54
 
55
- # Theme Rubies, default: J1 Template (NOT used for the development system)
55
+ # Theme Rubies, default: J1 Template
56
56
  #
57
- gem 'j1-template', '= 2021.0.4'
57
+ gem 'j1-template', '~> 2021.0.9'
58
58
 
59
59
  # ------------------------------------------------------------------------------
60
60
  # PRODUCTION: Gem needed for the Jekyll and J1 prod environment
@@ -106,19 +106,22 @@ gem 'wdm', '>= 0.1.1' if Gem.win_platform?
106
106
  # ------------------------------------------------------------------------------
107
107
  # Jekyll Plugins
108
108
  # If any (additional) plugins are used, they goes here:
109
+ # ------------------------------------------------------------------------------
110
+ # NOTE: asciidoctor v2.x (automatically loaded via ???) creates corrupted
111
+ # asciidoctor-rouge output. Currently, older/latest version v1.x is used
109
112
  #
110
113
  group :jekyll_plugins do
111
- gem 'asciidoctor', '= 1.5.8'
112
- # gem 'asciidoctor-pdf', '>= 1.5.0.alpha.16'
113
- gem 'asciidoctor-rouge', '>= 0.3'
114
- gem 'jekyll-asciidoc', '>= 2.1.0'
115
- # gem 'jekyll-algolia', '~> 1.0'
116
- # gem 'jekyll-feed', ">= 0.9"
117
- # gem 'jekyll-gist', '>= 1.5.0'
114
+ gem 'asciidoctor', '= 1.5.8' # See notes!!!
115
+ # gem 'asciidoctor-pdf', '>= 1.5.4' # Needed ???
116
+ gem 'asciidoctor-rouge', '>= 0.4.0'
117
+ gem 'jekyll-asciidoc', '>= 3.0.0'
118
+ # gem 'jekyll-algolia', '~> 1.6' # Needed ??? Supported ???
119
+ # gem 'jekyll-feed', ">= 0.15.1"
120
+ # gem 'jekyll-gist', '>= 1.5.0' # Needed ???, Gist supported asciidoc-extention
118
121
  # gem 'jekyll-sitemap', '>= 1.2.0'
119
- # gem 'jekyll-redirect-from', '>= 0.13.0'
122
+ # gem 'jekyll-redirect-from', '>= 0.16.0' # Needed ???
123
+ # gem 'jekyll-sass-converter', '>= 2.1.0' # Needed ??? Supported ???
120
124
  gem 'j1-paginator', '>= 2020.0.2'
121
- gem 'jekyll-sass-converter', '>= 1.5.1'
122
125
  end
123
126
 
124
127
  # ------------------------------------------------------------------------------
@@ -166,7 +169,6 @@ end
166
169
  # gem 'passenger', '>= 5.3'
167
170
  gem "puma", '>= 4.3.1'
168
171
 
169
-
170
172
  # ------------------------------------------------------------------------------
171
173
  # If J1 is transformed into a (Rack and Sinatra based) Web
172
174
  # application, the site can be secured using user authentication
@@ -179,18 +181,17 @@ gem 'rack-protection', '~> 2.0'
179
181
  gem 'rack-ssl-enforcer', '~> 0.2'
180
182
  gem 'rest-client', '~> 2.0'
181
183
 
182
- gem 'omniauth', '>= 1.3'
183
- gem 'omniauth-oauth2', '~> 1.4'
184
+ gem 'omniauth', '>= 2.0'
185
+ gem 'omniauth-oauth2', '~> 1.7'
184
186
 
185
187
  gem 'sinatra', '~> 2.0'
186
- # gem 'sinatra-cross_origin', '~> 0.3.1'
188
+ gem 'sinatra-cross_origin', '~> 0.3.1'
187
189
 
188
190
  gem 'warden', '~> 1.2'
189
191
 
190
192
  # ------------------------------------------------------------------------------
191
193
  # Gem needed for J1 logger based on log4r (middleware)
192
194
  #
193
- #gem 'log4r', '~> 1.1.10'
194
195
  gem 'log4r', '~> 1.1', '>= 1.1.10'
195
196
  gem 'uuid', '~> 2.3', '>= 2.3.8'
196
197
  gem 'date', '~> 2.0'
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------
2
2
  # ~/_config.yml
3
- # Global Jekyll site configuration
3
+ # Global Jekyll site configuration (runtime)
4
4
  #
5
5
  # Product/Info:
6
6
  # https://jekyll.one
@@ -45,7 +45,7 @@
45
45
  # Sets the build environment of the website
46
46
  #
47
47
  # values: development|production
48
- # default: development
48
+ # default: production
49
49
  #
50
50
  environment: production
51
51
 
@@ -53,7 +53,7 @@ environment: production
53
53
  # ------------------------------------------------------------------------------
54
54
  # Sets the build version of J1 Template Gem
55
55
  #
56
- version: 2021.0.4
56
+ version: 2021.0.9
57
57
 
58
58
  # version
59
59
  # ------------------------------------------------------------------------------
@@ -223,9 +223,11 @@ doctype: html
223
223
  # values: boolean (true|false)
224
224
  # default: false
225
225
  #
226
- title: J1 Template
227
- slogan: Starter Web
228
- description: Made for Jekyll · Made for Your Web
226
+ title: J1
227
+ slogan: starter
228
+ description: >
229
+ Made for Jekyll · Made for Your Web
230
+
229
231
  keywords: Jekyll, One, Template, Ruby, Asciidoctor,
230
232
  Asciidoc, Bootstrap, Javascript,
231
233
  JS, JS3, CSS, CSS3, HTML5, Material, Design
@@ -386,7 +388,7 @@ exclude: [
386
388
  '.sass-cache', '.vscode',
387
389
  '.idea', '*.ignore',
388
390
  '*.bat', '*.sh', '*.tmp', 'dot.*',
389
- '*.txt', '*.log', '*.ppt*',
391
+ '*.txt', '*.log', '*.ppt*', '*.pdf',
390
392
  '*.zip', '*.7z', '*.tgz', '*.tar',
391
393
  '*.a2p', '*.asciidoc'
392
394
  ]
@@ -49,7 +49,7 @@ settings:
49
49
  # PAGER plugin
50
50
  #
51
51
  pager:
52
- enabled: false
52
+ enabled: true
53
53
 
54
54
  # ----------------------------------------------------------------------------
55
55
  # SHARE plugin
@@ -19,46 +19,48 @@
19
19
  # ------------------------------------------------------------------------------
20
20
  font:
21
21
  catalog:
22
- # Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A, Greek, Cyrillic, Vietnamese & an assortment of symbols
22
+ # Noto Serif supports Latin, Latin-1 Supplement, Latin Extended-A,
23
+ # Greek, Cyrillic, Vietnamese & an assortment of symbols
23
24
  Noto Serif:
24
- normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
25
- bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
26
- italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
27
- bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
25
+ normal: GEM_FONTS_DIR/notoserif-regular-subset.ttf
26
+ bold: GEM_FONTS_DIR/notoserif-bold-subset.ttf
27
+ italic: GEM_FONTS_DIR/notoserif-italic-subset.ttf
28
+ bold_italic: GEM_FONTS_DIR/notoserif-bold_italic-subset.ttf
28
29
  # M+ 1mn supports ASCII and the circled numbers used for conums
29
30
  M+ 1mn:
30
- normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
31
- bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
32
- italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
33
- bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
31
+ normal: GEM_FONTS_DIR/mplus1mn-regular-subset.ttf
32
+ bold: GEM_FONTS_DIR/mplus1mn-bold-subset.ttf
33
+ italic: GEM_FONTS_DIR/mplus1mn-italic-subset.ttf
34
+ bold_italic: GEM_FONTS_DIR/mplus1mn-bold_italic-subset.ttf
34
35
  # j1 is using roboto for default
35
36
  Roboto:
36
- normal: ../fonts/Roboto-Regular.ttf
37
- bold: ../fonts/Roboto-Bold.ttf
38
- italic: ../fonts/Roboto-Italic.ttf
39
- bold_italic: ../fonts/Roboto-BoldItalic.ttf
37
+ normal: ../fonts/Roboto-Regular.ttf
38
+ bold: ../fonts/Roboto-Bold.ttf
39
+ italic: ../fonts/Roboto-Italic.ttf
40
+ bold_italic: ../fonts/Roboto-BoldItalic.ttf
40
41
 
41
42
  page:
42
- background_color: FFFFFF
43
- layout: portrait
44
- # layout: landscape
45
- initial_zoom: FitH
46
- margin: [0.5in, 0.67in, 0.67in, 0.67in]
47
- # margin_inner and margin_outer keys are used for recto/verso print margins when media=prepress
48
- margin_inner: 0.75in
49
- margin_outer: 0.59in
50
- size: A4
43
+ background_color: FFFFFF
44
+ layout: portrait # landscape
45
+ initial_zoom: FitH
46
+ margin: [0.5in, 0.67in, 0.67in, 0.67in]
47
+ # margin_inner and margin_outer keys are used for recto/verso print
48
+ # margins when media=prepress
49
+ margin_inner: 0.75in
50
+ margin_outer: 0.59in
51
+ size: A4
52
+
51
53
  base:
52
- align: justify
54
+ align: justify
53
55
  # color as hex string (leading # is optional)
54
- font_color: 333333
56
+ font_color: 333333
55
57
  # color as RGB array
56
58
  #font_color: [51, 51, 51]
57
59
  # color as CMYK array (approximated)
58
60
  #font_color: [0, 0, 0, 0.92]
59
61
  #font_color: [0, 0, 0, 92%]
60
62
  # font_family: Noto Serif
61
- font_family: Roboto
63
+ font_family: Roboto
62
64
  # choose one of these font_size/line_height_length combinations
63
65
  #font_size: 14
64
66
  #line_height_length: 20
@@ -66,250 +68,285 @@ base:
66
68
  #line_height_length: 18
67
69
  #font_size: 11.2
68
70
  #line_height_length: 16
69
- font_size: 10.5
71
+ font_size: 10.5
70
72
  #line_height_length: 15
71
73
  # correct line height for Noto Serif metrics
72
74
  line_height_length: 12
73
75
  #font_size: 11.25
74
76
  #line_height_length: 18
75
- line_height: $base_line_height_length / $base_font_size
76
- font_size_large: round($base_font_size * 1.25)
77
- font_size_small: round($base_font_size * 0.85)
78
- font_size_min: $base_font_size * 0.75
79
- font_style: normal
80
- border_color: EEEEEE
81
- border_radius: 4
82
- border_width: 0.5
77
+ line_height: $base_line_height_length / $base_font_size
78
+ font_size_large: round($base_font_size * 1.25)
79
+ font_size_small: round($base_font_size * 0.85)
80
+ font_size_min: $base_font_size * 0.75
81
+ font_style: normal
82
+ border_color: EEEEEE
83
+ border_radius: 4
84
+ border_width: 0.5
85
+
83
86
  role:
84
87
  line-through:
85
- text_decoration: line-through
88
+ text_decoration: line-through
86
89
  underline:
87
- text_decoration: underline
90
+ text_decoration: underline
88
91
  big:
89
- font_size: $base_font_size_large
92
+ font_size: $base_font_size_large
90
93
  small:
91
- font_size: $base_font_size_small
94
+ font_size: $base_font_size_small
92
95
  subtitle:
93
- font_color: 999999
94
- font_size: 0.8em
95
- font_style: normal_italic
96
+ font_color: 999999
97
+ font_size: 0.8em
98
+ font_style: normal_italic
99
+
96
100
  # FIXME vertical_rhythm is weird; we should think in terms of ems
97
101
  #vertical_rhythm: $base_line_height_length * 2 / 3
98
102
  # correct line height for Noto Serif metrics (comes with built-in line height)
99
- vertical_rhythm: $base_line_height_length
100
- horizontal_rhythm: $base_line_height_length
103
+ vertical_rhythm: $base_line_height_length
104
+ horizontal_rhythm: $base_line_height_length
105
+
101
106
  link:
102
- font_color: 428BCA
107
+ font_color: 428BCA
108
+
103
109
  # literal is currently used for inline monospaced in prose and table cells
104
110
  literal:
105
- font_color: B12146
106
- font_family: M+ 1mn
111
+ font_color: B12146
112
+ font_family: M+ 1mn
113
+
107
114
  button:
108
- content: "[\u2009%s\u2009]"
109
- font_style: bold
115
+ content: "[\u2009%s\u2009]"
116
+ font_style: bold
117
+
110
118
  key:
111
- background_color: F5F5F5
112
- border_color: CCCCCC
113
- border_offset: 2
114
- border_radius: 2
115
- border_width: 0.5
116
- font_family: $literal_font_family
117
- separator: "\u202f+\u202f"
119
+ background_color: F5F5F5
120
+ border_color: CCCCCC
121
+ border_offset: 2
122
+ border_radius: 2
123
+ border_width: 0.5
124
+ font_family: $literal_font_family
125
+ separator: "\u202f+\u202f"
126
+
118
127
  mark:
119
- background_color: FFFF00
120
- border_offset: 1
128
+ background_color: FFFF00
129
+ border_offset: 1
130
+
121
131
  menu:
122
- caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
132
+ caret_content: " <font size=\"1.15em\" color=\"#B12146\">\u203a</font> "
133
+
123
134
  heading:
124
- align: left
135
+ align: left
125
136
  # font-family: Roboto-Bold
126
- font_color: $base_font_color
127
- font_style: bold
137
+ font_color: $base_font_color
138
+ font_style: bold
128
139
  # h1 is used for part titles (book doctype) or the doctitle (article doctype)
129
- h1_font_size: floor($base_font_size * 2.6)
140
+ h1_font_size: floor($base_font_size * 2.6)
130
141
  # h2 is used for chapter titles (book doctype only)
131
- h2_font_size: floor($base_font_size * 2.15)
132
- h3_font_size: round($base_font_size * 1.7)
133
- h4_font_size: $base_font_size_large
134
- h5_font_size: $base_font_size
135
- h6_font_size: $base_font_size_small
142
+ h2_font_size: floor($base_font_size * 2.15)
143
+ h3_font_size: round($base_font_size * 1.7)
144
+ h4_font_size: $base_font_size_large
145
+ h5_font_size: $base_font_size
146
+ h6_font_size: $base_font_size_small
136
147
  #line_height: 1.4
137
148
  # correct line height for Noto Serif metrics (comes with built-in line height)
138
- line_height: 1
139
- margin_top: $vertical_rhythm * 0.4
140
- margin_bottom: $vertical_rhythm * 0.9
141
- min_height_after: $base_line_height_length * 1.5
149
+ line_height: 1
150
+ margin_top: $vertical_rhythm * 0.4
151
+ margin_bottom: $vertical_rhythm * 0.9
152
+ min_height_after: $base_line_height_length * 1.5
153
+
142
154
  title_page:
143
- align: right
155
+ align: right
144
156
  logo:
145
- top: 10%
157
+ top: 10%
146
158
  title:
147
- top: 55%
148
- font_size: $heading_h1_font_size
149
- font_color: $role_subtitle_font_color
150
- line_height: 0.9
159
+ top: 55%
160
+ font_size: $heading_h1_font_size
161
+ font_color: $role_subtitle_font_color
162
+ line_height: 0.9
151
163
  subtitle:
152
- font_size: $heading_h3_font_size
153
- font_style: bold_italic
154
- line_height: 1
164
+ font_size: $heading_h3_font_size
165
+ font_style: bold_italic
166
+ line_height: 1
155
167
  authors:
156
- margin_top: $base_font_size * 1.25
157
- font_size: $base_font_size_large
158
- font_color: 181818
168
+ margin_top: $base_font_size * 1.25
169
+ font_size: $base_font_size_large
170
+ font_color: 181818
159
171
  revision:
160
- margin_top: $base_font_size * 1.25
172
+ margin_top: $base_font_size * 1.25
173
+
161
174
  block:
162
- margin_bottom: $vertical_rhythm
175
+ margin_bottom: $vertical_rhythm
176
+
163
177
  caption:
164
- align: left
165
- font_size: $base_font_size * 0.95
166
- font_style: italic
178
+ align: left
179
+ font_size: $base_font_size * 0.95
180
+ font_style: italic
167
181
  # FIXME perhaps set line_height instead of / in addition to margins?
168
- margin_inside: $vertical_rhythm / 3
182
+ margin_inside: $vertical_rhythm / 3
169
183
  #margin_inside: $vertical_rhythm / 4
170
- margin_outside: 0
184
+ margin_outside: 0
185
+
171
186
  lead:
172
- font_size: $base_font_size_large
173
- line_height: 1.4
187
+ font_size: $base_font_size_large
188
+ line_height: 1.4
189
+
174
190
  abstract:
175
- font_color: 5C6266
176
- font_size: $lead_font_size
177
- line_height: $lead_line_height
178
- font_style: italic
179
- first_line_font_style: bold
191
+ font_color: 5C6266
192
+ font_size: $lead_font_size
193
+ line_height: $lead_line_height
194
+ font_style: italic
195
+ first_line_font_style: bold
180
196
  title:
181
- align: center
182
- font_color: $heading_font_color
183
- font_size: $heading_h4_font_size
184
- font_style: $heading_font_style
197
+ align: center
198
+ font_color: $heading_font_color
199
+ font_size: $heading_h4_font_size
200
+ font_style: $heading_font_style
201
+
185
202
  admonition:
186
- column_rule_color: $base_border_color
187
- column_rule_width: $base_border_width
188
- padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
203
+ column_rule_color: $base_border_color
204
+ column_rule_width: $base_border_width
205
+ padding: [0, $horizontal_rhythm, 0, $horizontal_rhythm]
189
206
  #icon:
190
207
  # tip:
191
208
  # name: far-lightbulb
192
209
  # stroke_color: 111111
193
210
  # size: 24
194
211
  label:
195
- text_transform: uppercase
196
- font_style: bold
212
+ text_transform: uppercase
213
+ font_style: bold
214
+
197
215
  blockquote:
198
- font_size: $base_font_size_large
199
- border_color: $base_border_color
200
- border_width: 0
201
- border_left_width: 5
216
+ font_size: $base_font_size_large
217
+ border_color: $base_border_color
218
+ border_width: 0
219
+ border_left_width: 5
202
220
  # FIXME disable negative padding bottom once margin collapsing is implemented
203
- padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
221
+ padding: [0, $horizontal_rhythm, $block_margin_bottom * -0.75, $horizontal_rhythm + $blockquote_border_left_width / 2]
204
222
  cite:
205
- font_size: $base_font_size_small
206
- font_color: $role_subtitle_font_color
223
+ font_size: $base_font_size_small
224
+ font_color: $role_subtitle_font_color
225
+
207
226
  verse:
208
- font_size: $blockquote_font_size
209
- border_color: $blockquote_border_color
210
- border_width: $blockquote_border_width
211
- border_left_width: $blockquote_border_left_width
212
- padding: $blockquote_padding
227
+ font_size: $blockquote_font_size
228
+ border_color: $blockquote_border_color
229
+ border_width: $blockquote_border_width
230
+ border_left_width: $blockquote_border_left_width
231
+ padding: $blockquote_padding
213
232
  cite:
214
- font_size: $blockquote_cite_font_size
215
- font_color: $blockquote_cite_font_color
233
+ font_size: $blockquote_cite_font_size
234
+ font_color: $blockquote_cite_font_color
235
+
216
236
  # code is used for source blocks (perhaps change to source or listing?)
217
237
  code:
218
- font_color: $base_font_color
219
- font_family: $literal_font_family
220
- font_size: ceil($base_font_size)
221
- padding: $code_font_size
222
- line_height: 1.25
223
- # line_gap is an experimental property to control how a background color is applied to an inline block element
224
- line_gap: 3.8
225
- background_color: F5F5F5
226
- border_color: CCCCCC
227
- border_radius: $base_border_radius
228
- border_width: 0.75
238
+ font_color: $base_font_color
239
+ font_family: $literal_font_family
240
+ font_size: ceil($base_font_size)
241
+ padding: $code_font_size
242
+ line_height: 1.25
243
+ # line_gap is an experimental property to control how a background
244
+ # color is applied to an inline block element
245
+ line_gap: 3.8
246
+ background_color: F5F5F5
247
+ border_color: CCCCCC
248
+ border_radius: $base_border_radius
249
+ border_width: 0.75
250
+
229
251
  conum:
230
- font_family: $literal_font_family
231
- font_color: $literal_font_color
232
- font_size: $base_font_size
233
- line_height: 4 / 3
234
- glyphs: circled
252
+ font_family: $literal_font_family
253
+ font_color: $literal_font_color
254
+ font_size: $base_font_size
255
+ line_height: 4 / 3
256
+ glyphs: circled
257
+
235
258
  example:
236
- border_color: $base_border_color
237
- border_radius: $base_border_radius
238
- border_width: 0.75
239
- background_color: $page_background_color
240
- # FIXME reenable padding bottom once margin collapsing is implemented
241
- padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
259
+ border_color: $base_border_color
260
+ border_radius: $base_border_radius
261
+ border_width: 0.75
262
+ background_color: $page_background_color
263
+ # FIXME reenable padding bottom once margin collapsing
264
+ # is implemented
265
+ padding: [$vertical_rhythm, $horizontal_rhythm, 0, $horizontal_rhythm]
266
+
242
267
  image:
243
- align: left
268
+ align: left
269
+
244
270
  prose:
245
- margin_bottom: $block_margin_bottom
271
+ margin_bottom: $block_margin_bottom
272
+
246
273
  sidebar:
247
- background_color: EEEEEE
248
- border_color: E1E1E1
249
- border_radius: $base_border_radius
250
- border_width: $base_border_width
274
+ background_color: EEEEEE
275
+ border_color: E1E1E1
276
+ border_radius: $base_border_radius
277
+ border_width: $base_border_width
251
278
  # FIXME reenable padding bottom once margin collapsing is implemented
252
- padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
279
+ padding: [$vertical_rhythm, $vertical_rhythm * 1.25, 0, $vertical_rhythm * 1.25]
253
280
  title:
254
- align: center
255
- font_color: $heading_font_color
256
- font_size: $heading_h4_font_size
257
- font_style: $heading_font_style
281
+ align: center
282
+ font_color: $heading_font_color
283
+ font_size: $heading_h4_font_size
284
+ font_style: $heading_font_style
285
+
258
286
  thematic_break:
259
- border_color: $base_border_color
260
- border_style: solid
261
- border_width: $base_border_width
262
- margin_top: $vertical_rhythm * 0.5
263
- margin_bottom: $vertical_rhythm * 1.5
287
+ border_color: $base_border_color
288
+ border_style: solid
289
+ border_width: $base_border_width
290
+ margin_top: $vertical_rhythm * 0.5
291
+ margin_bottom: $vertical_rhythm * 1.5
292
+
264
293
  description_list:
265
- term_font_style: bold
266
- term_spacing: $vertical_rhythm / 4
267
- description_indent: $horizontal_rhythm * 1.25
294
+ term_font_style: bold
295
+ term_spacing: $vertical_rhythm / 4
296
+ description_indent: $horizontal_rhythm * 1.25
297
+
268
298
  outline_list:
269
- indent: $horizontal_rhythm * 1.5
299
+ indent: $horizontal_rhythm * 1.5
270
300
  #marker_font_color: 404040
271
- # NOTE outline_list_item_spacing applies to list items that do not have complex content
272
- item_spacing: $vertical_rhythm / 2
301
+ # NOTE outline_list_item_spacing applies to list items that
302
+ # do not have complex content
303
+ item_spacing: $vertical_rhythm / 2
304
+
273
305
  table:
274
- background_color: $page_background_color
275
- border_color: DDDDDD
276
- border_width: $base_border_width
277
- cell_padding: 3
306
+ background_color: $page_background_color
307
+ border_color: DDDDDD
308
+ border_width: $base_border_width
309
+ cell_padding: 3
278
310
  head:
279
- font_style: bold
280
- border_bottom_width: $base_border_width * 2.5
311
+ font_style: bold
312
+ border_bottom_width: $base_border_width * 2.5
281
313
  body:
282
- stripe_background_color: F9F9F9
314
+ stripe_background_color: F9F9F9
283
315
  foot:
284
- background_color: F0F0F0
316
+ background_color: F0F0F0
317
+
285
318
  toc:
286
- indent: $horizontal_rhythm
287
- line_height: 1.4
319
+ indent: $horizontal_rhythm
320
+ line_height: 1.4
288
321
  dot_leader:
289
322
  #content: ". "
290
- font_color: A9A9A9
323
+ font_color: A9A9A9
291
324
  #levels: 2 3
325
+
292
326
  footnotes:
293
- font_size: round($base_font_size * 0.75)
294
- item_spacing: $outline_list_item_spacing / 2
327
+ font_size: round($base_font_size * 0.75)
328
+ item_spacing: $outline_list_item_spacing / 2
329
+
295
330
  header:
296
- font_size: $base_font_size_small
297
- line_height: 1
298
- vertical_align: middle
331
+ font_size: $base_font_size_small
332
+ line_height: 1
333
+ vertical_align: middle
334
+
299
335
  footer:
300
- font_size: $base_font_size_small
301
- # NOTE if background_color is set, background and border will span width of page
302
- border_color: DDDDDD
336
+ font_size: $base_font_size_small
337
+ # NOTE if background_color is set, background and border
338
+ # will span width of page
339
+ border_color: DDDDDD
303
340
  border_width: 0.25
304
- height: $base_line_height_length * 2.5
341
+ height: $base_line_height_length * 2.5
305
342
  line_height: 1
306
- padding: [$base_line_height_length / 2, 1, 0, 1]
307
- vertical_align: top
343
+ padding: [$base_line_height_length / 2, 1, 0, 1]
344
+ vertical_align: top
308
345
  recto:
309
346
  #columns: "<50% =0% >50%"
310
347
  right:
311
- content: '{page-number}'
348
+ content: '{page-number}'
312
349
  verso:
313
350
  #columns: $footer_recto_columns
314
351
  left:
315
- content: $footer_recto_right_content
352
+ content: $footer_recto_right_content