j1-template 2021.0.2 → 2021.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (386) 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 +11 -11
  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 +32 -3
  10. data/assets/data/mmenu_toc.html +1 -1
  11. data/assets/data/quicklinks.html +2 -2
  12. data/assets/themes/j1/adapter/js/fam.js +2 -2
  13. data/assets/themes/j1/adapter/js/j1.js +11 -5
  14. data/assets/themes/j1/adapter/js/mmenu.js +18 -22
  15. data/assets/themes/j1/adapter/js/{lunr_search.js → quicksearch.js} +11 -11
  16. data/assets/themes/j1/core/css/animate.min.css +1 -7
  17. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +302 -22
  18. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  19. data/assets/themes/j1/core/css/icon-fonts/materialdesign.css +12505 -4812
  20. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -1
  21. data/assets/themes/j1/core/css/icon-fonts/twemoji.min.css +1 -1
  22. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +79 -49
  23. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +1 -6
  24. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.css +78 -48
  25. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +1 -6
  26. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +124 -52
  27. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -8
  28. data/assets/themes/j1/core/css/vendor.css +2 -2
  29. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  30. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.eot → eot/fa-brands-400.eot} +0 -0
  31. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.eot → eot/fa-regular-400.eot} +0 -0
  32. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.eot → eot/fa-solid-900.eot} +0 -0
  33. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  34. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  35. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  36. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  37. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  38. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  39. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.svg → svg/fa-brands-400.svg} +855 -597
  40. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.svg → svg/fa-regular-400.svg} +94 -96
  41. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.svg → svg/fa-solid-900.svg} +1272 -771
  42. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-brands-400.ttf → ttf/fa-brands-400.ttf} +0 -0
  43. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-regular-400.ttf → ttf/fa-regular-400.ttf} +0 -0
  44. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/{fa-solid-900.ttf → ttf/fa-solid-900.ttf} +0 -0
  45. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92/eot}/materialdesignicons-webfont.eot +0 -0
  46. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff +0 -0
  47. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92}/materialdesignicons-webfont.woff2 +0 -0
  48. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92/svg}/materialdesignicons-webfont.svg +0 -0
  49. data/assets/themes/j1/core/fonts/{materialdesign_icons/fonts → material_design_icons/fonts/_versions/v3.3.92/ttf}/materialdesignicons-webfont.ttf +0 -0
  50. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/eot/materialdesignicons-webfont.eot +0 -0
  51. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff +0 -0
  52. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/materialdesignicons-webfont.woff2 +0 -0
  53. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/preview.html +717 -0
  54. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/svg/materialdesignicons-webfont.svg +10188 -0
  55. data/assets/themes/j1/core/fonts/material_design_icons/fonts/_versions/v5.9.55/ttf/materialdesignicons-webfont.ttf +0 -0
  56. data/assets/themes/j1/core/fonts/material_design_icons/fonts/eot/materialdesignicons-webfont.eot +0 -0
  57. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff +0 -0
  58. data/assets/themes/j1/core/fonts/material_design_icons/fonts/materialdesignicons-webfont.woff2 +0 -0
  59. data/assets/themes/j1/core/fonts/material_design_icons/fonts/svg/materialdesignicons-webfont.svg +10188 -0
  60. data/assets/themes/j1/core/fonts/material_design_icons/fonts/ttf/materialdesignicons-webfont.ttf +0 -0
  61. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.json +0 -0
  62. data/assets/themes/j1/core/fonts/{materialdesign_icons → material_design_icons}/metadata/icons.yml +0 -0
  63. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.eot → eot/Roboto-Bold.eot} +0 -0
  64. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.eot → eot/Roboto-Light.eot} +0 -0
  65. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.eot → eot/Roboto-Medium.eot} +0 -0
  66. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.eot → eot/Roboto-Regular.eot} +0 -0
  67. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.eot → eot/Roboto-Thin.eot} +0 -0
  68. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Black.ttf → ttf/Roboto-Black.ttf} +0 -0
  69. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BlackItalic.ttf → ttf/Roboto-BlackItalic.ttf} +0 -0
  70. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Bold.ttf → ttf/Roboto-Bold.ttf} +0 -0
  71. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-BoldItalic.ttf → ttf/Roboto-BoldItalic.ttf} +0 -0
  72. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Italic.ttf → ttf/Roboto-Italic.ttf} +0 -0
  73. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Light.ttf → ttf/Roboto-Light.ttf} +0 -0
  74. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-LightItalic.ttf → ttf/Roboto-LightItalic.ttf} +0 -0
  75. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Medium.ttf → ttf/Roboto-Medium.ttf} +0 -0
  76. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-MediumItalic.ttf → ttf/Roboto-MediumItalic.ttf} +0 -0
  77. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Regular.ttf → ttf/Roboto-Regular.ttf} +0 -0
  78. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-Thin.ttf → ttf/Roboto-Thin.ttf} +0 -0
  79. data/assets/themes/j1/core/fonts/roboto/fonts/{Roboto-ThinItalic.ttf → ttf/Roboto-ThinItalic.ttf} +0 -0
  80. data/assets/themes/j1/core/js/template.min.js +23 -1
  81. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc.png +0 -0
  82. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_asc_disabled.png +0 -0
  83. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_both.png +0 -0
  84. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc.png +0 -0
  85. data/assets/themes/j1/modules/datatables/css/DataTables-1.10.16/images/sort_desc_disabled.png +0 -0
  86. data/assets/themes/j1/modules/datatables/css/datatables.css +1113 -0
  87. data/assets/themes/j1/modules/datatables/css/datatables.min.css +136 -0
  88. data/assets/themes/j1/modules/datatables/css/theme/uno.css +473 -0
  89. data/assets/themes/j1/modules/datatables/js/datatables.js +95360 -0
  90. data/assets/themes/j1/modules/datatables/js/datatables.min.js +533 -0
  91. data/assets/themes/j1/modules/jquery/js/jquery-3.5.1.min.map +1 -0
  92. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.css +110 -0
  93. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/css/justifiedGallery.min.css +110 -0
  94. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.js +1245 -0
  95. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/js/jquery.justifiedGallery.min.js +8 -0
  96. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.min.zip +0 -0
  97. data/assets/themes/j1/modules/justifiedGallery/_versions/v3.8.0/justifiedGallery.zip +0 -0
  98. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.css +110 -0
  99. data/assets/themes/j1/modules/justifiedGallery/css/_archived/justifiedGallery.min.css +110 -0
  100. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.css +11 -10
  101. data/assets/themes/j1/modules/justifiedGallery/css/justifiedGallery.min.css +3 -106
  102. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.js +147 -146
  103. data/assets/themes/j1/modules/justifiedGallery/js/justifiedGallery.min.js +3 -3
  104. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +1 -2
  105. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  106. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.css → quicksearch.css} +0 -0
  107. data/assets/themes/j1/modules/lunrSearch/css/{lunr_search.min.css → quicksearch.min.css} +0 -0
  108. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.js +304 -0
  109. data/assets/themes/j1/modules/lunrSearch/js/lunr.language.support.min.js +1 -0
  110. data/assets/themes/j1/modules/lunrSearch/js/{lunr_search.js → quicksearch.js} +22 -3
  111. data/assets/themes/j1/modules/lunrSearch/js/quicksearch.min.js +17 -0
  112. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.js +381 -0
  113. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ar.min.js +1 -0
  114. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.js +284 -0
  115. data/assets/themes/j1/modules/lunrSearch/languages/lunr.da.min.js +18 -0
  116. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.js +384 -0
  117. data/assets/themes/j1/modules/lunrSearch/languages/lunr.de.min.js +18 -0
  118. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.js +450 -0
  119. data/assets/themes/j1/modules/lunrSearch/languages/lunr.du.min.js +18 -0
  120. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.js +599 -0
  121. data/assets/themes/j1/modules/lunrSearch/languages/lunr.es.min.js +18 -0
  122. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.js +541 -0
  123. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fi.min.js +18 -0
  124. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.js +703 -0
  125. data/assets/themes/j1/modules/lunrSearch/languages/lunr.fr.min.js +18 -0
  126. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.js +565 -0
  127. data/assets/themes/j1/modules/lunrSearch/languages/lunr.hu.min.js +18 -0
  128. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.js +617 -0
  129. data/assets/themes/j1/modules/lunrSearch/languages/lunr.it.min.js +18 -0
  130. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.js +188 -0
  131. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ja.min.js +1 -0
  132. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.js +5 -0
  133. data/assets/themes/j1/modules/lunrSearch/languages/lunr.jp.min.js +1 -0
  134. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.js +79 -0
  135. data/assets/themes/j1/modules/lunrSearch/languages/lunr.multi.min.js +1 -0
  136. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.js +448 -0
  137. data/assets/themes/j1/modules/lunrSearch/languages/lunr.nl.min.js +18 -0
  138. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.js +258 -0
  139. data/assets/themes/j1/modules/lunrSearch/languages/lunr.no.min.js +18 -0
  140. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.js +570 -0
  141. data/assets/themes/j1/modules/lunrSearch/languages/lunr.pt.min.js +18 -0
  142. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.js +558 -0
  143. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ro.min.js +18 -0
  144. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.js +391 -0
  145. data/assets/themes/j1/modules/lunrSearch/languages/lunr.ru.min.js +18 -0
  146. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.js +256 -0
  147. data/assets/themes/j1/modules/lunrSearch/languages/lunr.sv.min.js +18 -0
  148. data/assets/themes/j1/modules/lunrSearch/languages/lunr.th.js +97 -0
  149. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.js +1087 -0
  150. data/assets/themes/j1/modules/lunrSearch/languages/lunr.tr.min.js +18 -0
  151. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.js +84 -0
  152. data/assets/themes/j1/modules/lunrSearch/languages/lunr.vi.min.js +1 -0
  153. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.css +20 -5
  154. data/assets/themes/j1/modules/mdiPreviewer/css/previewer.min.css +1 -1
  155. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.js +115 -0
  156. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +15 -0
  157. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.new.js +111 -0
  158. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.old.js +103 -0
  159. data/assets/themes/j1/modules/mmenuLight/js/mmenu.js +2 -2
  160. data/assets/themes/j1/modules/mmenuLight/js/mmenu.min.js +3 -3
  161. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.css +4 -4
  162. data/assets/themes/j1/modules/twemoji/css/picker/twemoji-picker.min.css +1 -1
  163. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +46 -45
  164. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  165. data/lib/j1/commands/generate.rb +3 -2
  166. data/lib/j1/version.rb +1 -1
  167. data/lib/starter_web/Gemfile +18 -18
  168. data/lib/starter_web/_config.yml +5 -5
  169. data/lib/starter_web/_data/apps/light_gallery.yml +1 -1
  170. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1mn-subset +26 -0
  171. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-mplus1p-subset +26 -0
  172. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoemoji-subset +3 -0
  173. data/lib/starter_web/_data/asciidoc2pdf/fonts/ABOUT-notoserif-subset +26 -0
  174. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-mplus +16 -0
  175. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoemoji +201 -0
  176. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-notoserif +201 -0
  177. data/lib/starter_web/_data/asciidoc2pdf/fonts/LICENSE-roboto +11 -0
  178. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Black.ttf +0 -0
  179. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BlackItalic.ttf +0 -0
  180. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Bold.ttf +0 -0
  181. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-BoldItalic.ttf +0 -0
  182. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Italic.ttf +0 -0
  183. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Light.ttf +0 -0
  184. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-LightItalic.ttf +0 -0
  185. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Medium.ttf +0 -0
  186. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-MediumItalic.ttf +0 -0
  187. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Regular.ttf +0 -0
  188. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-Thin.ttf +0 -0
  189. data/lib/starter_web/_data/asciidoc2pdf/fonts/Roboto-ThinItalic.ttf +0 -0
  190. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold-subset.ttf +0 -0
  191. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-bold_italic-subset.ttf +0 -0
  192. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-italic-subset.ttf +0 -0
  193. data/lib/starter_web/_data/asciidoc2pdf/fonts/mplus1mn-regular-subset.ttf +0 -0
  194. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/mplus1p-regular-fallback.ttf +0 -0
  195. data/lib/starter_web/_data/asciidoc2pdf/fonts/notoemoji-subset.ttf +0 -0
  196. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold-subset.ttf +0 -0
  197. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-bold_italic-subset.ttf +0 -0
  198. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-italic-subset.ttf +0 -0
  199. data/{assets/themes/j1/core/fonts/roboto → lib/starter_web/_data/asciidoc2pdf}/fonts/notoserif-regular-subset.ttf +0 -0
  200. data/lib/starter_web/_data/asciidoc2pdf/themes/base-theme.yml +130 -0
  201. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-theme.yml +36 -0
  202. data/lib/starter_web/_data/asciidoc2pdf/themes/default-for-print-with-fallback-font-theme.yml +15 -0
  203. data/lib/starter_web/_data/asciidoc2pdf/themes/default-theme.yml +298 -0
  204. data/lib/starter_web/_data/asciidoc2pdf/themes/default-with-fallback-font-theme.yml +21 -0
  205. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +352 -0
  206. data/lib/starter_web/_data/j1_config.yml +3 -3
  207. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  208. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +82 -0
  209. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  210. data/lib/starter_web/_data/modules/navigator.yml +4 -6
  211. data/lib/starter_web/_data/modules/navigator_menu.yml +17 -66
  212. data/lib/starter_web/_data/modules/{lunr_search.yml → quicksearch.yml} +3 -3
  213. data/lib/starter_web/_data/modules/themer.yml +1 -1
  214. data/lib/starter_web/_data/resources.yml +34 -60
  215. data/lib/starter_web/_includes/attributes.asciidoc +297 -95
  216. data/lib/starter_web/_includes/tables/jekyll_variables.asciidoc +1 -1
  217. data/lib/starter_web/_includes/tables/template_variables.asciidoc +1 -1
  218. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  219. data/lib/starter_web/_plugins/lunr_index.rb +38 -8
  220. data/lib/starter_web/_plugins/minifyJS.rb +3 -0
  221. data/lib/starter_web/assets/images/modules/attics/machine-generator-1920x1280.jpg +0 -0
  222. data/lib/starter_web/assets/images/modules/attics/modules-apps-1920x1280.jpg +0 -0
  223. data/lib/starter_web/assets/images/modules/attics/no-time-1920x1280.jpg +0 -0
  224. data/lib/starter_web/assets/images/modules/attics/responsive-text-1920x1280.jpg +0 -0
  225. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  226. data/lib/starter_web/assets/images/pages/panels/modules-apps-1920x800.jpg +0 -0
  227. data/lib/starter_web/assets/images/pages/panels/no-time-1920x800.jpg +0 -0
  228. data/lib/starter_web/assets/images/pages/panels/the-place-1920x800.jpg +0 -0
  229. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon-800x200.jpg +0 -0
  230. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_icon.jpg +0 -0
  231. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input-800x200.jpg +0 -0
  232. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_input.jpg +0 -0
  233. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll-.jpg +0 -0
  234. data/lib/starter_web/assets/images/pages/roundtrip/600_quicksearch/quicksearch_results_jekyll.jpg +0 -0
  235. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  236. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  237. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  238. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  239. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  240. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  241. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  242. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  243. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  244. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  245. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  246. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  247. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +10 -13
  248. 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
  249. 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
  250. data/lib/starter_web/collections/posts/public/featured/_posts/{2019-06-01-about-cookies.adoc → 2020-06-01-about-cookies.adoc} +10 -24
  251. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +7 -18
  252. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +7 -17
  253. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +7 -17
  254. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +7 -17
  255. data/{assets/themes/j1/modules/mdiPreviewer/js → lib/starter_web/collections/posts/public/series/_posts/_includes/documents}/readme +0 -0
  256. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-20-minneapolis.adoc +5 -4
  257. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-24-narcisse-snake-dens.adoc +13 -3
  258. data/lib/starter_web/collections/posts/public/wikipedia/_posts/2016-11-26-columbia-river.adoc +13 -3
  259. data/lib/starter_web/dot.gitattributes +2 -16
  260. data/lib/starter_web/favicon.ico +0 -0
  261. data/lib/starter_web/index.html +1 -1
  262. data/lib/starter_web/package.json +8 -8
  263. data/lib/starter_web/pages/protected/site_search.adoc +2 -7
  264. data/lib/starter_web/pages/public/about/about_site.adoc +1877 -9
  265. data/lib/starter_web/pages/public/about/become_a_patron.adoc +26 -1
  266. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  267. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  268. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  269. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  270. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  271. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  272. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  273. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  274. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  275. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  276. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  277. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  278. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  279. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  280. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  281. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  282. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  283. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  284. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  285. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  286. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  287. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  288. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  289. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  290. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  291. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  292. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  293. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  294. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  295. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  296. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  297. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  298. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  299. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  300. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  301. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  302. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  303. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  304. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  305. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  306. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  307. data/lib/starter_web/pages/public/blog/navigator/archive.html +2 -0
  308. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +3 -1
  309. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +2 -0
  310. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +2 -0
  311. data/lib/starter_web/pages/public/blog/navigator/index.html +2 -0
  312. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +8 -4
  313. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +3 -4
  314. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +2 -270
  315. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +168 -85
  316. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +6 -9
  317. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +5 -6
  318. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -55
  319. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +113 -57
  320. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +433 -0
  321. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +4 -1
  322. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  323. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  324. data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
  325. data/lib/starter_web/pages/public/legal/en/000_copyright.adoc +1 -1
  326. data/lib/starter_web/pages/public/legal/en/100_impress.adoc +1 -1
  327. data/lib/starter_web/pages/public/legal/en/200_terms_of_use.adoc +1 -1
  328. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
  329. data/lib/starter_web/pages/public/legal/en/400_license_agreement.adoc +1 -1
  330. data/lib/starter_web/pages/public/legal/en/500_support.adoc +1 -1
  331. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +16 -5
  332. data/lib/starter_web/pages/public/previewer/_includes/attributes.asciidoc +5 -81
  333. data/lib/starter_web/pages/public/previewer/_includes/documents/rouge/100_language_examples.asciidoc +119 -0
  334. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/100_absolute_sizes.asciidoc +1 -1
  335. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/110_bs_grid_sizes.asciidoc +1 -1
  336. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/120_relative_sizes.asciidoc +1 -1
  337. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/200_rotate.asciidoc +1 -1
  338. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/300_flip.asciidoc +1 -1
  339. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/400_spin_pulsed.asciidoc +4 -4
  340. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/500_bw_color_palette.asciidoc +1 -1
  341. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/510_bs_color_palette.asciidoc +1 -1
  342. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/600_md_color_palette.asciidoc +1 -1
  343. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/601_md_color_palette_indigo.asciidoc +1 -1
  344. data/lib/starter_web/pages/public/previewer/_includes/tables/mdi_icons/602_md_color_palette_pink.asciidoc +1 -1
  345. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +41 -0
  346. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/300_supported_languages.asciidoc +857 -0
  347. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_bs_sizes.asciidoc +1 -1
  348. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/100_relative_sizes.asciidoc +1 -1
  349. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/200_rotate.asciidoc +1 -1
  350. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/300_flip.asciidoc +1 -1
  351. data/lib/starter_web/pages/public/previewer/_includes/tables/twitter_emoji/400_spin_pulsed.asciidoc +1 -1
  352. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +116 -78
  353. data/lib/starter_web/pages/public/previewer/iframer.adoc +1 -1
  354. data/lib/starter_web/pages/public/previewer/justified_gallery.html +1 -1
  355. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +42 -109
  356. data/lib/starter_web/pages/public/previewer/rouge.adoc +74 -352
  357. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +3 -3
  358. data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
  359. data/lib/starter_web/utilsrv/package.json +3 -3
  360. metadata +235 -80
  361. data/assets/themes/j1/core/fonts/materialdesign_icons/license.md +0 -97
  362. data/assets/themes/j1/core/fonts/roboto/fonts/OpenSansEmoji.ttf +0 -0
  363. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold-ascii.ttf +0 -0
  364. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-bold_italic-ascii.ttf +0 -0
  365. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-italic-ascii.ttf +0 -0
  366. data/assets/themes/j1/core/fonts/roboto/fonts/mplus1mn-regular-ascii-conums.ttf +0 -0
  367. data/assets/themes/j1/modules/lunrSearch/js/lunr_search.min.js +0 -17
  368. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  369. data/lib/starter_web/_data/modules/defaults/lunr_search.yml +0 -171
  370. data/lib/starter_web/_plugins/simple_search_filter.rb +0 -32
  371. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/documents/unsplash-badge.asciidoc +0 -31
  372. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/100-docker-using-shared-folders.asciidoc +0 -430
  373. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh +0 -28
  374. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  375. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  376. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  377. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  378. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  379. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  380. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  381. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  382. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  383. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  384. data/lib/starter_web/pages/public/learn/roundtrip/600_lunr.adoc +0 -236
  385. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  386. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -1,294 +0,0 @@
1
- ---
2
- title: Floating Action Menu
3
- tagline: using fam buttons
4
- date: 2020-11-08 12:00:00
5
- description: >
6
- A floating action button (FAB) represents the primary action/s
7
- of a page. Multiple actions can be configured as a FAM, the
8
- floating action menu. See FAM buttons and menus in action
9
-
10
- tags: [ Roundtrip, Introduction, FAM ]
11
- categories: [ Module ]
12
-
13
- toc: true
14
- advertising: false
15
- scrollbar: false
16
-
17
- image: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
18
- permalink: /pages/public/learn/roundtrip/fam/
19
- regenerate: true
20
-
21
- resources: [ lightbox, rouge, clipboard, fam ]
22
- resource_options:
23
- - attic:
24
- padding_top: 400
25
- padding_bottom: 50
26
- opacity: 0.5
27
- slides:
28
- - url: /assets/images/modules/attics/cookies-1920x1200-bw.jpg
29
- alt: jekyll.1200x600-bw.jpg
30
- ---
31
-
32
- // Page Initializer
33
- // =============================================================================
34
- // Enable the Liquid Preprocessor
35
- :page-liquid:
36
-
37
- // Set page (local) attributes here
38
- // -----------------------------------------------------------------------------
39
- // :page--attr: <attr-value>
40
- // :debug:
41
-
42
- // Load Liquid procedures
43
- // -----------------------------------------------------------------------------
44
- {% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
45
-
46
- // Load page attributes
47
- // -----------------------------------------------------------------------------
48
- {% include {{load_attributes}} scope="none" %}
49
-
50
-
51
- // Page content
52
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
- // See: https://material.io/components/buttons-floating-action-button
54
-
55
- A floating action button (FAB) represents the primary action/s
56
- of a page. Multiple actions can be configured as a FAM, the
57
- floating action menu. See FAM buttons and menus in action
58
-
59
- == Floating Action Menu (FAM)
60
-
61
- If you want a fixed floating action button, you can add multiple actions
62
- that will appear on hover. Our demo is in the bottom righthand corner of
63
- the page.
64
-
65
- [source, html]
66
- ----
67
- <div class="fam-btn">
68
- <a class="btn-fab-floating btn-large red">
69
- <i class="large material-icons">mode_edit</i>
70
- </a>
71
- <ul>
72
- <li><a class="btn-fab-floating red"><i class="material-icons">insert_chart</i></a></li>
73
- <li><a class="btn-fab-floating yellow darken-1"><i class="material-icons">format_quote</i></a></li>
74
- <li><a class="btn-fab-floating green"><i class="material-icons">publish</i></a></li>
75
- <li><a class="btn-fab-floating blue"><i class="material-icons">attach_file</i></a></li>
76
- </ul>
77
- </div>
78
- ----
79
-
80
- == Initialization
81
-
82
- [source, javascript]
83
- ----
84
- document.addEventListener('DOMContentLoaded', function() {
85
- var elems = document.querySelectorAll('.fam-btn');
86
- var instances = j1.fam.init(elems, options);
87
- });
88
- ----
89
-
90
- or using *jQuery*
91
-
92
- [source, javascript]
93
- ----
94
- $(document).ready(function(){
95
- $('.fam-btn').j1.fam();
96
- });
97
- ----
98
-
99
- === Options
100
-
101
- [cols=",,,", options="header", ]
102
- |===============================================================================
103
- |Name |Type |Default |Description
104
-
105
- |`direction`
106
- |String
107
- |`top`
108
- |Direction FAM menu opens. Can be `top`, `right`, `buttom`, or `left`
109
-
110
- |`hoverEnabled`
111
- |Boolean
112
- |`true`
113
- |If `true`, FAM menu will open on hover instead of click
114
-
115
- |`toolbarEnabled`
116
- |Boolean
117
- |`false`
118
- |Enable transit the FAM into a toolbar on click
119
-
120
- |===============================================================================
121
-
122
- == Methods
123
-
124
- Because jQuery is no longer a dependency, all the methods are called on
125
- the plugin instance. You can get the plugin instance like this:
126
-
127
- [source, javascript]
128
- ----
129
- var instance = j1.fam.getInstance(elem);
130
- ----
131
-
132
- or using *jQuery*
133
-
134
- [source, javascript]
135
- ----
136
- $('.fam-btn').fam('methodName');
137
- $('.fam-btn').fam('methodName', paramName);
138
- ----
139
-
140
- WARNING: You can still use the old jQuery plugin method calls.
141
- But you won't be able to access instance properties.
142
-
143
- === `open()`
144
-
145
- Opens a FAM.
146
-
147
- [source, javascript]
148
- ----
149
- instance.open();
150
- ----
151
-
152
- === `close()`
153
-
154
- Closes a FAM.
155
-
156
- [source, javascript]
157
- ----
158
- instance.close();
159
- ----
160
-
161
- === `destroy()`
162
-
163
- Destroy plugin instance and teardown
164
-
165
- [source, javascript]
166
- ----
167
- instance.destroy();
168
- ----
169
-
170
- === Properties
171
-
172
- [cols=",,", options="header", ]
173
- |===============================================================================
174
- |Name |Type |Description
175
-
176
- |`el`
177
- |Element
178
- |The DOM element the plugin was initialized with.
179
-
180
- |`options`
181
- |Object
182
- |The options the instance was initialized with.
183
-
184
- |`isOpen`
185
- |Boolean
186
- |Describes open/close state of the FAM.
187
-
188
- |===============================================================================
189
-
190
- == Horizontal FAM
191
-
192
- Creating a horizontal FAM is easy! Just set the direction option.
193
-
194
- [source, javascript]
195
- ----
196
- document.addEventListener('DOMContentLoaded', function() {
197
- var elems = document.querySelectorAll('.fam-btn');
198
- var instances = j1.fam.init(elems, {
199
- direction: 'left'
200
- });
201
- });
202
- ----
203
-
204
- == Click-only FAM
205
-
206
- If you want to disable the hover behaviour, and instead toggle the FAM
207
- menu when the user clicks on the large button (works great on mobile!),
208
- just add the `click-to-toggle` class to the FAM.
209
-
210
- [source, javascript]
211
- ----
212
- document.addEventListener('DOMContentLoaded', function() {
213
- var elems = document.querySelectorAll('.fam-btn');
214
- var instances = j1.fam.init(elems, {
215
- direction: 'left',
216
- hoverEnabled: false
217
- });
218
- });
219
- ----
220
-
221
- /////
222
- == FAM to Toolbar
223
-
224
- Instead of displaying individual button options, you can transition your
225
- FAM into a toolbar on click. Just add the `toolbar` class to the FAM.
226
-
227
- [source, javascript]
228
- ----
229
- document.addEventListener('DOMContentLoaded', function() {
230
- var elems = document.querySelectorAll('.fam-btn');
231
- var instances = j1.fam.init(elems, {
232
- toolbarEnabled: true
233
- });
234
- });
235
- ----
236
-
237
- Or using jQuery
238
-
239
- [source, javascript]
240
- ----
241
- $('.fam-btn').fam({
242
- toolbarEnabled: true
243
- });
244
- ----
245
- /////
246
-
247
- /////
248
- ++++
249
- <div class="fam-btn">
250
- <a id="page_ctrl_button" class="btn-fab-floating btn-large btn-md-red raised-z5"><i class="mdi mdi-chevron-down"></i></a>
251
- <ul id="page_ctrl_items">
252
- <li><a id="fam_reload_page" class="btn-fab-floating btn-md-red raised-z5"><i class="mdi mdi-reload"></i></a></li>
253
- <li><a id="open_mmenu_toc" class="btn-fab-floating btn-md-blue raised-z5"><i class="mdi mdi-wrap"></i></a></li>
254
- <li><a id="fam_scroll_to_top" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-backward-2 mdi-rotate-90"></i></a></li>
255
- <li><a id="fam_next_section" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-forward mdi-rotate-90"></i></a></li>
256
- <li><a id="fam_previous_section" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-backward mdi-rotate-90"></i></a></li>
257
- <!--
258
- <li><a id="ssm_scroll_to_bottom" class="btn-fab-floating btn-md-green raised-z5"><i class="mdi mdi-step-forward-2 mdi-rotate-90"></i></a></li>
259
- -->
260
- </ul>
261
- </div>
262
- ++++
263
-
264
-
265
- ++++
266
- <script>
267
- $(document).ready(function() {
268
- var FloatingActionOptions = { direction: 'top',
269
- hoverEnabled: true,
270
- toolbarEnabled: false };
271
-
272
- var elems = document.querySelectorAll('.fam-btn');
273
- var instances = j1.fam.init(elems, FloatingActionOptions);
274
- // var $instances = $('.fam-btn').j1.fam(FloatingActionOptions);
275
- var $ActionButton = $('#page_ctrl_button');
276
-
277
- if (FloatingActionOptions.hoverEnabled) {
278
- $ActionButton.hover(
279
- function() {
280
- $('.mdi').toggleClass('mdi-chevron-down mdi-chevron-up');
281
- }, function() {
282
- $('.mdi').toggleClass('mdi-chevron-down mdi-chevron-up');
283
- }
284
- );
285
- } else {
286
- $ActionButton.on('click', function (e) {
287
- $('.mdi').toggleClass('mdi-chevron-down mdi-chevron-up');
288
- });
289
- }
290
-
291
- });
292
- </script>
293
- ++++
294
- /////