j1-template 2021.3.1 → 2022.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (273) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/blocks/ads/ad.html +14 -14
  3. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +4 -4
  4. data/_includes/themes/j1/layouts/content_generator_post.html +4 -4
  5. data/_includes/themes/j1/modules/navigator/generator.html +9 -11
  6. data/_includes/themes/j1/modules/search/docsearch.html +1 -1
  7. data/_includes/themes/j1/procedures/global/create_bs_button.proc +5 -5
  8. data/_includes/themes/j1/procedures/global/create_word_cloud.proc +5 -3
  9. data/_includes/themes/j1/procedures/layouts/module_writer.proc +1 -1
  10. data/_includes/themes/j1/procedures/posts/collate_timeline.proc +3 -3
  11. data/_includes/themes/j1/procedures/posts/create_series_header.proc +1 -1
  12. data/_layouts/default.html +66 -22
  13. data/_layouts/home.html +1 -1
  14. data/_layouts/raw.html +2 -1
  15. data/assets/data/article_navigator/index.html +1 -1
  16. data/assets/data/authclient.html +11 -11
  17. data/assets/data/banner.html +7 -25
  18. data/assets/data/cookieconsent.html +20 -20
  19. data/assets/data/{fam.html → fab.html} +42 -24
  20. data/assets/data/gallery_customizer.html +6 -6
  21. data/assets/data/menu.html +55 -55
  22. data/assets/data/mmenu.html +53 -53
  23. data/assets/data/panel.html +17 -23
  24. data/assets/data/private.json +5 -1
  25. data/assets/data/quicklinks.html +7 -8
  26. data/assets/data/rtext_resizer.html +1 -1
  27. data/assets/data/themes.bootswatch.json +75 -0
  28. data/assets/data/themes.json +6 -6
  29. data/assets/data/translator.html +23 -23
  30. data/assets/error_pages/HTTP445.html +110 -0
  31. data/assets/themes/j1/adapter/js/bmd.js +1 -1
  32. data/assets/themes/j1/adapter/js/clipboard.js +1 -1
  33. data/assets/themes/j1/adapter/js/cookieConsent.js +7 -1
  34. data/assets/themes/j1/adapter/js/{fam.js → fab.js} +121 -116
  35. data/assets/themes/j1/adapter/js/j1.js +242 -174
  36. data/assets/themes/j1/adapter/js/mmenu.js +18 -24
  37. data/assets/themes/j1/adapter/js/navigator.js +6 -4
  38. data/assets/themes/j1/adapter/js/themer.js +13 -4
  39. data/assets/themes/j1/adapter/js/toccer.js +37 -76
  40. data/assets/themes/j1/adapter/js/translator.js +6 -0
  41. data/assets/themes/j1/core/country-flags/css/theme/uno.min.css +15 -0
  42. data/assets/themes/j1/core/css/animate.min.css +1 -1
  43. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  44. data/assets/themes/j1/core/css/icon-fonts/materialdesign-light.min.css +1 -1
  45. data/assets/themes/j1/core/css/icon-fonts/materialdesign.min.css +1 -1
  46. data/assets/themes/j1/core/css/icon-fonts/mdi.css +22307 -0
  47. data/assets/themes/j1/core/css/icon-fonts/mdi.min.css +1 -0
  48. data/assets/themes/j1/core/css/icon-fonts/mdil.css +1222 -0
  49. data/assets/themes/j1/core/css/icon-fonts/mdil.min.css +1 -0
  50. data/assets/themes/j1/core/css/icon-fonts/twemoji.css +4 -0
  51. data/assets/themes/j1/core/css/icon-fonts/twemoji.min.css +1 -1
  52. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +5341 -4730
  53. data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +3 -1
  54. data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.css +8301 -0
  55. data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.min.css +3 -0
  56. data/assets/themes/j1/core/css/themes/{uno-dark → unodark}/bootstrap.css +5284 -4646
  57. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -0
  58. data/assets/themes/j1/core/css/themes/{uno-light → unolight}/bootstrap.css +12188 -12734
  59. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +23 -0
  60. data/assets/themes/j1/core/css/vendor.css +2 -28
  61. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  62. data/assets/themes/j1/core/js/template.js +8201 -10407
  63. data/assets/themes/j1/core/js/template.min.js +20 -30
  64. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  65. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  66. data/assets/themes/j1/modules/bmd/js/bmd.js +2280 -0
  67. data/assets/themes/j1/modules/bmd/js/bmd.min.js +20 -0
  68. data/assets/themes/j1/modules/bootstrap/js/bootstrap.js +5072 -0
  69. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js +7 -0
  70. data/assets/themes/j1/modules/bootstrap/js/bootstrap.min.js.map +1 -0
  71. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +19 -17
  72. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  73. data/assets/themes/j1/modules/datatables/js/datatables.js +1 -1
  74. data/assets/themes/j1/modules/datatables/js/datatables.min.js +5 -5
  75. data/assets/themes/j1/modules/{fam/css/theme/uno/fam.css → fab/css/theme/uno/fab.css} +32 -28
  76. data/assets/themes/j1/modules/{fam/css/theme/uno/fam.min.css → fab/css/theme/uno/fab.min.css} +3 -3
  77. data/assets/themes/j1/modules/{materialize → fab}/js/cash.js +20 -2
  78. data/assets/themes/j1/modules/{fam/js/fam.js → fab/js/fab.js} +4 -2
  79. data/assets/themes/j1/modules/{util → gtag-opt-in}/js/gtag-opt-in.js +15 -1
  80. data/assets/themes/j1/modules/gtag-opt-in/js/gtag-opt-in.min.js +15 -0
  81. data/assets/themes/j1/modules/iframeResizer/examples/frame.absolute.html +3 -3
  82. data/assets/themes/j1/modules/iframeResizer/examples/frame.content.html +6 -6
  83. data/assets/themes/j1/modules/iframeResizer/examples/frame.tolerance.html +2 -2
  84. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.js +1 -1
  85. data/assets/themes/j1/modules/iframeResizer/js/client/iframeResizer.contentWindow.min.js +1 -1
  86. data/assets/themes/j1/modules/iframeResizer/js/resizer.min.js +1 -1
  87. data/assets/themes/j1/modules/jquery/js/jquery.js +2 -2
  88. data/assets/themes/j1/modules/jquery/js/jquery.min.js +1 -1
  89. data/assets/themes/j1/modules/jquery/js/jqueryUI.js +7 -7
  90. data/assets/themes/j1/modules/jquery/js/jqueryUI.min.js +3 -3
  91. data/assets/themes/j1/modules/lightGallery/js/core/j1/lightgallery-x.min.js +1 -1
  92. data/assets/themes/j1/modules/lightGallery/js/core/lightgallery.min.js +1 -1
  93. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-video.min.js +1 -1
  94. data/assets/themes/j1/modules/lightGallery/js/modules/j1/j1-x-video.min.js +1 -1
  95. data/assets/themes/j1/modules/lightGallery/js/modules/lg-thumbnail.min.js +4 -1
  96. data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
  97. data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
  98. data/assets/themes/j1/modules/lunrSearch/js/mustache.js +1 -1
  99. data/assets/themes/j1/modules/lunrSearch/js/mustache.min.js +1 -1
  100. data/assets/themes/j1/modules/lunrSearch/js/uri.js +1 -1
  101. data/assets/themes/j1/modules/lunrSearch/js/uri.min.js +7 -7
  102. data/assets/themes/j1/modules/materialize/js/autocomplete.js +1 -1
  103. data/assets/themes/j1/modules/materialize/js/bin/materialize.js +12374 -0
  104. data/assets/themes/j1/modules/materialize/js/bin/materialize.min.js +6 -0
  105. data/assets/themes/j1/modules/materialize/js/global.js +1 -1
  106. data/assets/themes/j1/modules/materialize/js/select.js +1 -1
  107. data/assets/themes/j1/modules/materialize/js/{tapTarget.js → tapTarget.cash.js} +1 -1
  108. data/assets/themes/j1/modules/materialize/js/tapTarget.jQuery.js +187 -0
  109. data/assets/themes/j1/modules/mdiPreviewer/js/previewer.min.js +1 -1
  110. data/assets/themes/j1/modules/mdilPreviewer/js/previewer.min.js +1 -1
  111. data/assets/themes/j1/modules/msDropdown/css/themes/uno/msDropdown.css +278 -0
  112. data/assets/themes/j1/modules/popper/js/popper.js +1670 -2346
  113. data/assets/themes/j1/modules/popper/js/popper.min.js +6 -4
  114. data/assets/themes/j1/modules/popper/js/popper.min.js.map +1 -1
  115. data/assets/themes/j1/modules/scroller/js/scroller.js +2 -2
  116. data/assets/themes/j1/modules/scroller/js/scroller.min.js +1 -1
  117. data/assets/themes/j1/modules/themeSwitcher/js/switcher.js +8 -8
  118. data/assets/themes/j1/modules/themeSwitcher/js/switcher.min.js +1 -431
  119. data/assets/themes/j1/modules/translator/js/translator.js +6 -2
  120. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  121. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +3 -3
  122. data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +1 -1
  123. data/assets/themes/j1/modules/videojs/js/video.min.js +2 -2
  124. data/lib/j1/version.rb +3 -3
  125. data/lib/starter_web/Gemfile +2 -2
  126. data/lib/starter_web/_config.yml +21 -24
  127. data/lib/starter_web/_data/_defaults/j1_config.yml +1 -1
  128. data/lib/starter_web/_data/{private.default.yml → _defaults/private.yml} +2 -0
  129. data/lib/starter_web/_data/_defaults/resources.yml +1 -1
  130. data/lib/starter_web/_data/blocks/banner.yml +71 -68
  131. data/lib/starter_web/_data/blocks/defaults/banner.yml +5 -5
  132. data/lib/starter_web/_data/blocks/defaults/panel.yml +3 -3
  133. data/lib/starter_web/_data/blocks/panel.yml +171 -73
  134. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +42 -35
  135. data/lib/starter_web/_data/j1_config.yml +3 -3
  136. data/lib/starter_web/_data/layouts/article_navigator.yml +1 -1
  137. data/lib/starter_web/_data/layouts/blog_archive.yml +1 -1
  138. data/lib/starter_web/_data/layouts/collection.yml +1 -1
  139. data/lib/starter_web/_data/layouts/default.yml +1 -1
  140. data/lib/starter_web/_data/layouts/home.yml +6 -26
  141. data/lib/starter_web/_data/layouts/news_panel_posts.yml +1 -1
  142. data/lib/starter_web/_data/layouts/page.yml +1 -1
  143. data/lib/starter_web/_data/layouts/post.yml +1 -1
  144. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  145. data/lib/starter_web/_data/modules/defaults/{fam.yml → fab.yml} +8 -7
  146. data/lib/starter_web/_data/modules/defaults/navigator.yml +3 -0
  147. data/lib/starter_web/_data/modules/defaults/rtable.yml +2 -1
  148. data/lib/starter_web/_data/modules/defaults/scoller.yml +33 -0
  149. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  150. data/lib/starter_web/_data/modules/defaults/toccer.yml +5 -4
  151. data/lib/starter_web/_data/modules/{fam.yml → fab.yml} +31 -31
  152. data/lib/starter_web/_data/modules/scroller.yml +2 -2
  153. data/lib/starter_web/_data/modules/toccer.yml +3 -5
  154. data/lib/starter_web/_data/private.yml +3 -1
  155. data/lib/starter_web/_data/resources.yml +48 -34
  156. data/lib/starter_web/_includes/attributes.asciidoc +121 -122
  157. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  158. data/lib/starter_web/assets/images/pages/roundtrip/500_themes/themes-menu-1280x800.jpg +0 -0
  159. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -4
  160. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +2 -2
  161. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +2 -2
  162. data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +2 -2
  163. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
  164. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
  165. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +2 -2
  166. data/lib/starter_web/index.html +1 -1
  167. data/lib/starter_web/package.json +4 -10
  168. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +244 -0
  169. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +110 -0
  170. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +28 -0
  171. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +14 -0
  172. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +11 -0
  173. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +11 -0
  174. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +11 -0
  175. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +11 -0
  176. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +11 -0
  177. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +47 -0
  178. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +11 -0
  179. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +11 -0
  180. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +11 -0
  181. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
  182. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  183. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +220 -0
  184. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +177 -0
  185. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +148 -0
  186. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +226 -0
  187. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +109 -0
  188. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +127 -0
  189. data/lib/starter_web/pages/_test_pages/card-tester.adoc +128 -0
  190. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +96 -0
  191. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +258 -0
  192. data/lib/starter_web/pages/_test_pages/deepl.adoc +204 -0
  193. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +171 -0
  194. data/lib/starter_web/pages/_test_pages/desandro.adoc +147 -0
  195. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +308 -0
  196. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +167 -0
  197. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +727 -0
  198. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +113 -0
  199. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +233 -0
  200. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +149 -0
  201. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +239 -0
  202. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +183 -0
  203. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +235 -0
  204. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +222 -0
  205. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +119 -0
  206. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +236 -0
  207. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +225 -0
  208. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +265 -0
  209. data/lib/starter_web/pages/_test_pages/tictok.adoc +127 -0
  210. data/lib/starter_web/pages/public/about/about_site.adoc +1 -1
  211. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/000_intro.adoc +1 -1
  212. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/100_converter.adoc +1 -1
  213. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/200_themes.adoc +1 -1
  214. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.a2p +1 -1
  215. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  216. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +1 -1
  217. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +1 -1
  218. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +26 -5
  219. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +3 -3
  220. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +3 -3
  221. data/lib/starter_web/pages/public/blog/navigator/archive.html +3 -3
  222. data/lib/starter_web/pages/public/blog/navigator/index.html +1 -1
  223. data/lib/starter_web/pages/public/learn/quickstart.adoc +2 -2
  224. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  225. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +2 -2
  226. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +6 -7
  227. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +2 -2
  228. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +2 -2
  229. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +3 -3
  230. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +2 -2
  231. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +4 -4
  232. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +13 -11
  233. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  234. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_info.asciidoc +3 -3
  235. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +1 -1
  236. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +1 -1
  237. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_central_success.asciidoc +1 -1
  238. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_left_info.asciidoc +1 -1
  239. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_full_height_right_success.asciidoc +1 -1
  240. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_info.asciidoc +1 -1
  241. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_left_info.asciidoc +1 -1
  242. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/410_top_right_success.asciidoc +1 -1
  243. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +51 -51
  244. data/lib/starter_web/pages/public/learn/where_to_go.adoc +2 -2
  245. data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +2 -2
  246. data/lib/starter_web/pages/public/legal/de/100_impress.adoc +2 -2
  247. data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +6 -6
  248. data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +2 -2
  249. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +2 -2
  250. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +2 -2
  251. data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +5 -6
  252. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +2 -2
  253. data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +1 -1
  254. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +55 -0
  255. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +53 -5
  256. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +1688 -686
  257. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  258. data/lib/starter_web/utilsrv/package.json +2 -1
  259. metadata +80 -29
  260. data/assets/themes/j1/core/css/themes/uno-dark/bootstrap.min.css +0 -1
  261. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +0 -1
  262. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.css +0 -12177
  263. data/assets/themes/j1/modules/bmd/css/bootstrap-material-design.min.css +0 -8
  264. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.full.js +0 -6930
  265. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js +0 -6936
  266. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.js.map +0 -1
  267. data/assets/themes/j1/modules/bmd/js/bootstrap-material-design.min.js +0 -1
  268. data/assets/themes/j1/modules/popper/js/popper.js.map +0 -1
  269. data/assets/themes/j1/modules/util/js/domready.js +0 -146
  270. data/lib/starter_web/_data/_defaults/j1_config.1.yml +0 -478
  271. data/lib/starter_web/_data/_defaults/private.default.yml +0 -119
  272. data/lib/starter_web/_data/blocks/defaults/panel.1.yml +0 -256
  273. data/lib/starter_web/_data/blocks/defaults/panel.2.yml +0 -250
@@ -3,21 +3,19 @@ title: Theme previewer
3
3
  tagline: common components
4
4
  date: 2020-11-08 00:00:00 +100
5
5
  description: >
6
- Bootstrap is a HTML, CSS & JS Library that focuses on
7
- simplifying the development of modern web pages. The
8
- primary purpose to apply the framework to J1 is to
9
- provide a general standard colors, sizes, fonts and
10
- the overall layout of a J1-based site. Bootstrap provides
11
- basic style definitions for all common used HTML elements.
12
- The Themes Previewer provides an overview for common components
13
- of a selected theme. Find base Bootstrap features and styles for
14
- the current theme selected.
6
+ Bootstrap is a HTML, CSS and JS Library that focuses on simplifying the
7
+ development of modern web pages. The primary purpose of applying a theme
8
+ is to change the available standard colors, sizes, and fonts.
9
+ The Themes Previewer provides an overview of common components of a selected
10
+ theme. Find base Bootstrap features and styles for the current theme selected.
15
11
 
16
12
  categories: [ Previewer ]
17
13
  tags: [ Bootstrap, Themes ]
18
14
 
19
15
  scrollbar: false
16
+ scrollInPageHashes: false
20
17
  flowtext: false
18
+ fab_menu_id: page_ctrl_simple
21
19
 
22
20
  permalink: /pages/public/previewer/theme/
23
21
  regenerate: false
@@ -42,6 +40,60 @@ resource_options:
42
40
  // Enable the Liquid Preprocessor
43
41
  :page-liquid:
44
42
 
43
+ // Attribute settings for section control
44
+ //
45
+ :navbars: true
46
+ :buttons: true
47
+ :buttons_active: true
48
+ :buttons_disabled: true
49
+ :buttons_outline: true
50
+ :buttons_dropdown: true
51
+ :buttons_flat: false
52
+ :buttons_sizes: true
53
+ :buttons_pulsed: true
54
+ :buttons_blocklevel: true
55
+ :selections: true
56
+ :selections_checkboxes: true
57
+ :selections_radio_buttons: true
58
+ :selections_switches: true
59
+ :fab: true
60
+ :fab_raised: true
61
+ :fab_pulsed: true
62
+ :fab_mini: true
63
+ :fab_mini_raised: true
64
+ :fab_colors: true
65
+ :fab_disabled: true
66
+ :typography: true
67
+ :typography_headings: true
68
+ :typography_blockquotes: true
69
+ :tables: true
70
+ :forms: true
71
+ :forms_bootstrap: false
72
+ :navs: true
73
+ :navs_tabs: true
74
+ :navs_pills: true
75
+ :navs_breadcrumbs: true
76
+ :navs_pagination: true
77
+ :indicators: true
78
+ :indicators_alerts: true
79
+ :indicators_badges: true
80
+ :scrollbars: false
81
+ :progress: true
82
+ :progress_basic: true
83
+ :progress_contextual_alternatives: true
84
+ :progress_multiple_bars: true
85
+ :progress_striped: true
86
+ :progress_animated: true
87
+ :list_group: true
88
+ :list_group_basic: true
89
+ :list_group_action: true
90
+ :cards: true
91
+ :cards_simple: true
92
+ :cards_image: false
93
+ :dialogs: true
94
+ :dialogs_modals: true
95
+ :dialogs_popovers_tooltips: true
96
+
45
97
  // Set (local) page attributes here
46
98
  // -----------------------------------------------------------------------------
47
99
  // :page--attr: <attr-value>
@@ -57,59 +109,31 @@ resource_options:
57
109
  // Page content
58
110
  // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
111
 
60
- // Include sub-documents
112
+ // Include sub-documents (if any)
61
113
  // -----------------------------------------------------------------------------
62
114
  ++++
63
- <!-- Prepend H1 tag here -->
64
- <div id="theme" class="row ml-0 mb-3">
65
-
66
- <!-- Load the previously selected theme from the (user state) cookie -->
67
- <script>
68
- $(document).ready(function() {
69
- var interval_count = 0;
70
- var max_count = 10;
71
- var cookie_names = j1.getCookieNames();
72
- var user_state = {};
73
- var themeName;
74
- var themeNameHeadline;
75
- var user_state_detected;
76
-
77
- var dependencies_met_themer = setInterval(function() {
78
- interval_count += 1;
79
- // if ( j1.adapter.themer.getState() == 'finished' ) {
80
- if (j1.getState() == 'finished') {
81
- user_state_detected = j1.existsCookie (cookie_names.user_state);
82
- if ( user_state_detected ) {
83
- user_state = j1.readCookie(cookie_names.user_state);
84
- themeName = user_state.theme_name;
85
- } else {
86
- themeName = 'J1 Default';
87
- }
88
- var themeNameHeadline = '<h2 id="theme_name">Theme ' +themeName+ '</h2>';
89
- $('#theme').prepend(themeNameHeadline);
90
- clearInterval(dependencies_met_themer);
91
- }
92
- if (interval_count > max_count) {
93
- clearInterval(dependencies_met_themer);
94
- }
95
- }, 25);
96
- });
97
- </script>
98
- </div>
99
- ++++
100
-
101
- Themes step in the framework to further adjust the appearance of a website
102
- based on the core CSS rules and definitions of Bootstrap. Themes does not
103
- change the functionality of the framwork, but modifies rule-based e.g. the
104
- color scheme, fonts, sizes or the appearance of more complex elements like
105
- forms or tables. Additionally, a theme may add additonal components but in
106
- the *sense* of Bootstrap's framework rules and philosophy.
115
+ <!-- Add H1 (document title) tag here -->
116
+ <div id="theme" class="document-title row g-0 mb-2"></div>
117
+ ++++
118
+
119
+ Bootstrap is a HTML, CSS and JS Library that focuses on simplifying the
120
+ development of modern web pages. The primary purpose of applying a theme
121
+ is to change the available standard colors, sizes, fonts and predefined
122
+ HTML elememts like buttons, forms, inputs, or navgation elements.
107
123
 
124
+ Themes for Bootstrap are used to customize the appearance of a website based
125
+ on the basic rules and definitions of Bootstrap's (CSS) styles. The use or
126
+ change of a theme does not alter the functionality of the underlying Bootstrap
127
+ framework but modifies, for example, the color scheme, fonts, or font sizes.
128
+ Furthermore, the appearance of selected predefined HTML elememts like buttons,
129
+ forms or navigation elements may be adapted by a theme.
130
+
131
+ ifeval::[{navbars} == true]
108
132
  == Navbars
109
133
 
110
- See examples for Bootstrap’s powerful, responsive navigation header, the
111
- navbar. Includes support for branding, navigation, and more, including
112
- support for the collapse plugin.
134
+ A navbar is an elementary page element, usually integrated at the top of
135
+ your page for navigation. Bootstrap offers many navigation functions that
136
+ are minimized on smartphones and thus always remain easy to use.
113
137
 
114
138
  mdi:bootstrap[24px, mdi-md-deep-purple]
115
139
  link:{url-bs-docs--components-navbar}[Bootstrap Docs {char-middot} Navbar, {browser-window--new}]
@@ -121,206 +145,402 @@ colors. Then, customize with `.bg-*` utilities.
121
145
 
122
146
  ++++
123
147
  <div class="doc-example mb-3">
124
- <nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-1">
125
- <a href="#void" class="navbar-brand">Navbar<div class="ripple-container"></div></a>
126
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
127
- <span class="navbar-toggler-icon"></span>
128
- </button>
148
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary mb-3">
149
+ <div class="container-fluid">
150
+ <a class="navbar-brand" href="#">Navbar</a>
151
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
152
+ data-bs-target="#navbarColor01" aria-controls="navbarColor01"
153
+ aria-expanded="false" aria-label="Toggle navigation">
154
+ <span class="navbar-toggler-icon"></span>
155
+ </button>
129
156
 
130
- <div class="collapse navbar-collapse" id="navbarColor01">
131
- <ul class="navbar-nav mr-auto">
132
- <li class="nav-item active">
133
- <a href="#void" class="nav-link">Home <span class="sr-only">(current)</span></a>
134
- </li>
135
- <li class="nav-item">
136
- <a href="#void" class="nav-link">Features</a>
137
- </li>
138
- <li class="nav-item">
139
- <a href="#void" class="nav-link">Pricing</a>
140
- </li>
141
- <li class="nav-item">
142
- <a href="#void" class="nav-link">About</a>
143
- </li>
144
- </ul>
145
- <form class="form-inline">
146
- <span class="bmd-form-group"><input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"></span>
147
- <button class="btn btn-outline-info my-2 my-sm-0" type="submit">Search</button>
148
- </form>
157
+ <div class="collapse navbar-collapse" id="navbarColor01">
158
+ <ul class="navbar-nav me-auto">
159
+ <li class="nav-item">
160
+ <a class="nav-link active" href="#">Home
161
+ <span class="visually-hidden">(current)</span>
162
+ </a>
163
+ </li>
164
+ <li class="nav-item">
165
+ <a class="nav-link" href="#">Features</a>
166
+ </li>
167
+ <li class="nav-item">
168
+ <a class="nav-link" href="#">Pricing</a>
169
+ </li>
170
+ <li class="nav-item">
171
+ <a class="nav-link" href="#">About</a>
172
+ </li>
173
+ <li class="nav-item dropdown">
174
+ <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
175
+ href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
176
+ <div class="dropdown-menu">
177
+ <a class="dropdown-item" href="#">Action</a>
178
+ <a class="dropdown-item" href="#">Another action</a>
179
+ <a class="dropdown-item" href="#">Something else here</a>
180
+ <div class="dropdown-divider"></div>
181
+ <a class="dropdown-item" href="#">Separated link</a>
182
+ </div>
183
+ </li>
184
+ </ul>
185
+ <form class="d-flex">
186
+ <input class="form-control me-sm-2" type="text" placeholder="Search">
187
+ <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
188
+ </form>
189
+ </div>
149
190
  </div>
150
191
  </nav>
151
192
 
152
- <nav class="navbar navbar-expand-lg navbar-dark bg-primary mb-1">
153
- <a href="#void" class="navbar-brand">Navbar</a>
154
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor02" aria-controls="navbarColor02" aria-expanded="false" aria-label="Toggle navigation">
155
- <span class="navbar-toggler-icon"></span>
156
- </button>
193
+ <nav class="navbar navbar-expand-lg navbar-dark bg-dark mb-3">
194
+ <div class="container-fluid">
195
+ <a class="navbar-brand" href="#">Navbar</a>
196
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
197
+ data-bs-target="#navbarColor02" aria-controls="navbarColor02"
198
+ aria-expanded="false" aria-label="Toggle navigation">
199
+ <span class="navbar-toggler-icon"></span>
200
+ </button>
157
201
 
158
- <div class="collapse navbar-collapse" id="navbarColor02">
159
- <ul class="navbar-nav mr-auto">
160
- <li class="nav-item active">
161
- <a href="#void" class="nav-link">Home <span class="sr-only">(current)</span></a>
162
- </li>
163
- <li class="nav-item">
164
- <a href="#void" class="nav-link">Features</a>
165
- </li>
166
- <li class="nav-item">
167
- <a href="#void" class="nav-link">Pricing</a>
168
- </li>
169
- <li class="nav-item">
170
- <a href="#void" class="nav-link">About</a>
171
- </li>
172
- </ul>
173
- <form class="form-inline">
174
- <span class="bmd-form-group"><input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"></span>
175
- <button class="btn btn-outline-light my-2 my-sm-0" type="submit">Search</button>
176
- </form>
202
+ <div class="collapse navbar-collapse" id="navbarColor02">
203
+ <ul class="navbar-nav me-auto">
204
+ <li class="nav-item">
205
+ <a class="nav-link active" href="#">Home
206
+ <span class="visually-hidden">(current)</span>
207
+ </a>
208
+ </li>
209
+ <li class="nav-item">
210
+ <a class="nav-link" href="#">Features</a>
211
+ </li>
212
+ <li class="nav-item">
213
+ <a class="nav-link" href="#">Pricing</a>
214
+ </li>
215
+ <li class="nav-item">
216
+ <a class="nav-link" href="#">About</a>
217
+ </li>
218
+ <li class="nav-item dropdown">
219
+ <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
220
+ href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
221
+ <div class="dropdown-menu">
222
+ <a class="dropdown-item" href="#">Action</a>
223
+ <a class="dropdown-item" href="#">Another action</a>
224
+ <a class="dropdown-item" href="#">Something else here</a>
225
+ <div class="dropdown-divider"></div>
226
+ <a class="dropdown-item" href="#">Separated link</a>
227
+ </div>
228
+ </li>
229
+ </ul>
230
+ <form class="d-flex">
231
+ <input class="form-control me-sm-2" type="text" placeholder="Search">
232
+ <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
233
+ </form>
234
+ </div>
235
+ </div>
236
+ </nav>
237
+
238
+ <nav class="navbar navbar-expand-lg navbar-light bg-light">
239
+ <div class="container-fluid">
240
+ <a class="navbar-brand" href="#">Navbar</a>
241
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
242
+ data-bs-target="#navbarColor03" aria-controls="navbarColor03"
243
+ aria-expanded="false" aria-label="Toggle navigation">
244
+ <span class="navbar-toggler-icon"></span>
245
+ </button>
246
+
247
+ <div class="collapse navbar-collapse" id="navbarColor03">
248
+ <ul class="navbar-nav me-auto">
249
+ <li class="nav-item">
250
+ <a class="nav-link active" href="#">Home
251
+ <span class="visually-hidden">(current)</span>
252
+ </a>
253
+ </li>
254
+ <li class="nav-item">
255
+ <a class="nav-link" href="#">Features</a>
256
+ </li>
257
+ <li class="nav-item">
258
+ <a class="nav-link" href="#">Pricing</a>
259
+ </li>
260
+ <li class="nav-item">
261
+ <a class="nav-link" href="#">About</a>
262
+ </li>
263
+ <li class="nav-item dropdown">
264
+ <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
265
+ ref="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
266
+ <div class="dropdown-menu">
267
+ <a class="dropdown-item" href="#">Action</a>
268
+ <a class="dropdown-item" href="#">Another action</a>
269
+ <a class="dropdown-item" href="#">Something else here</a>
270
+ <div class="dropdown-divider"></div>
271
+ <a class="dropdown-item" href="#">Separated link</a>
272
+ </div>
273
+ </li>
274
+ </ul>
275
+ <form class="d-flex">
276
+ <input class="form-control me-sm-2" type="text" placeholder="Search">
277
+ <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
278
+ </form>
279
+ </div>
177
280
  </div>
178
281
  </nav>
282
+ </div>
283
+ ++++
179
284
 
180
- <nav class="navbar navbar-expand-lg navbar-light" style="background-color: #e3f2fd;">
181
- <a href="#void" class="navbar-brand">Navbar</a>
182
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor03" aria-controls="navbarColor03" aria-expanded="false" aria-label="Toggle navigation">
285
+ [source, html]
286
+ ----
287
+ <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
288
+ <div class="container-fluid">
289
+ <a class="navbar-brand" href="#">Navbar</a>
290
+ <button class="navbar-toggler" type="button" data-bs-toggle="collapse"
291
+ data-bs-target="#navbarColor01" aria-controls="navbarColor01"
292
+ aria-expanded="false" aria-label="Toggle navigation">
183
293
  <span class="navbar-toggler-icon"></span>
184
294
  </button>
185
295
 
186
- <div class="collapse navbar-collapse" id="navbarColor03">
187
- <ul class="navbar-nav mr-auto">
188
- <li class="nav-item active">
189
- <a href="#void" class="nav-link">Home <span class="sr-only">(current)</span></a>
296
+ <div class="collapse navbar-collapse" id="navbarColor01">
297
+ <ul class="navbar-nav me-auto">
298
+ <li class="nav-item">
299
+ <a class="nav-link active" href="#">Home
300
+ <span class="visually-hidden">(current)</span>
301
+ </a>
190
302
  </li>
191
303
  <li class="nav-item">
192
- <a href="#void" class="nav-link">Features</a>
304
+ <a class="nav-link" href="#">Features</a>
193
305
  </li>
194
306
  <li class="nav-item">
195
- <a href="#void" class="nav-link">Pricing</a>
307
+ <a class="nav-link" href="#">Pricing</a>
196
308
  </li>
197
309
  <li class="nav-item">
198
- <a href="#void" class="nav-link">About</a>
310
+ <a class="nav-link" href="#">About</a>
311
+ </li>
312
+ <li class="nav-item dropdown">
313
+ <a class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
314
+ href="#" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
315
+ <div class="dropdown-menu">
316
+ <a class="dropdown-item" href="#">Action</a>
317
+ <a class="dropdown-item" href="#">Another action</a>
318
+ <a class="dropdown-item" href="#">Something else here</a>
319
+ <div class="dropdown-divider"></div>
320
+ <a class="dropdown-item" href="#">Separated link</a>
321
+ </div>
199
322
  </li>
200
323
  </ul>
201
- <form class="form-inline">
202
- <span class="bmd-form-group"><input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search"></span>
203
- <button class="btn btn-outline-primary my-2 my-sm-0" type="submit">Search</button>
324
+ <form class="d-flex">
325
+ <input class="form-control me-sm-2" type="text" placeholder="Search">
326
+ <button class="btn btn-secondary my-2 my-sm-0" type="submit">Search</button>
204
327
  </form>
205
328
  </div>
329
+ </div>
206
330
  </nav>
207
- </div>
208
- ++++
209
-
210
- [source, html, role="noclip"]
211
331
  ----
212
- <nav class="navbar navbar-dark bg-dark">
213
- <!-- Navbar content -->
214
- </nav>
332
+ endif::[]
215
333
 
216
- <nav class="navbar navbar-dark bg-primary">
217
- <!-- Navbar content -->
218
- </nav>
334
+ ifeval::[{buttons} == true]
335
+ == Buttons
219
336
 
220
- <nav class="navbar navbar-light" style="background-color: #e3f2fd;">
221
- <!-- Navbar content -->
222
- </nav>
223
- ----
337
+ Buttons are important visual anchors that encourage visitors to click on
338
+ them to call up to click on certain pages and offers on a website.
339
+ Well-designed buttons are usable instead of simple text links. With the use
340
+ of buttons, a higher visiting rate (click-through rate) of important pages
341
+ of a site is achievable.
224
342
 
343
+ The Bootstrap framework offers different buttons out of the box, which is
344
+ sufficient for most use cases. Buttons are suitable for the following HTML
345
+ elements:
225
346
 
226
- == Buttons
347
+ * Links (anchors)
348
+ * Form buttons (input)
349
+ * General buttons (button)
227
350
 
228
- Use Bootstrap’s custom button styles for actions in forms, dialogs, and
229
- more with support for multiple sizes, states, and more. Bootstrap includes
230
- several predefined button styles, each serving its own semantic purpose,
231
- with a few extras thrown in for more control.
351
+ Defining a standard button in Bootstrap is very simple: assign the CSS class
352
+ `.btn` to an HTML element. The following sections describe the different
353
+ types of available buttons and how they are to be defined.
232
354
 
233
- // pass:[<i class="mdi mdi-bootstrap mdi-md-deep-purple mdi-24px"></i>]
234
- // mdi:bootstrap[24px, mdi-pulsed mdi-md-deep-purple]
235
355
  mdi:bootstrap[24px, mdi-md-deep-purple]
236
356
  link:{url-bs-docs--components-buttons}[Bootstrap Docs {char-middot} Buttons, {browser-window--new}]
237
357
 
358
+ ifeval::[{buttons_active} == true]
238
359
  === Active buttons
239
360
 
240
- Buttons will appear pressed (with a darker background, darker border, and
241
- inset shadow) when active.
361
+ Active buttons will appear with a darker background and border. If pressed,
362
+ a *ripple* effect is shown for feedback.
363
+
242
364
  ++++
243
365
  <div class="doc-example mb-3">
244
- <button type="button" class="btn btn-primary btn-raised">Primary</button>
245
- <button type="button" class="btn btn-primary btn-raised">Secondary</button>
246
- <button type="button" class="btn btn-success btn-raised">Success</button>
247
- <button type="button" class="btn btn-info btn-raised">Info</button>
248
- <button type="button" class="btn btn-warning btn-raised">Warning</button>
249
- <button type="button" class="btn btn-danger btn-raised">Danger</button>
250
- <button type="button" class="btn btn-link btn-raised">Link</button>
366
+ <button type="button" class="btn btn-primary">Primary</button>
367
+ <button type="button" class="btn btn-secondary">Secondary</button>
368
+ <button type="button" class="btn btn-success">Success</button>
369
+ <button type="button" class="btn btn-info">Info</button>
370
+ <button type="button" class="btn btn-warning">Warning</button>
371
+ <button type="button" class="btn btn-danger">Danger</button>
372
+ <button type="button" class="btn btn-link">Link</button>
251
373
  </div>
252
374
  ++++
253
375
 
254
- [source, html, role="noclip"]
376
+ [source, html]
255
377
  ----
256
- <button type="button" class="btn btn-primary btn-raised">Primary</button>
257
- <button type="button" class="btn btn-primary btn-raised">Secondary</button>
258
- <button type="button" class="btn btn-success btn-raised">Success</button>
259
- <button type="button" class="btn btn-info btn-raised">Info</button>
260
- <button type="button" class="btn btn-warning btn-raised">Warning</button>
261
- <button type="button" class="btn btn-danger btn-raised">Danger</button>
262
- <button type="button" class="btn btn-link btn-raised">Link</button>
378
+ <button type="button" class="btn btn-primary">Primary</button>
379
+ <button type="button" class="btn btn-secondary">Secondary</button>
380
+ <button type="button" class="btn btn-success">Success</button>
381
+ <button type="button" class="btn btn-info">Info</button>
382
+ <button type="button" class="btn btn-warning">Warning</button>
383
+ <button type="button" class="btn btn-danger">Danger</button>
384
+ <button type="button" class="btn btn-link">Link</button>
263
385
  ----
386
+ endif::[]
264
387
 
265
-
388
+ ifeval::[{buttons_disabled} == true]
266
389
  === Disabled buttons
267
390
 
268
- Buttons look inactive by adding the disabled boolean attribute to any
269
- <button> element.
391
+ Buttons look *inactive* by adding the *disabled* boolean attribute to any
392
+ `<button>` element.
393
+
270
394
  ++++
271
395
  <div class="doc-example mb-3">
272
- <button type="button" class="btn btn-primary btn-raised disabled">Primary</button>
273
- <button type="button" class="btn btn-primary btn-raised disabled">Secondary</button>
274
- <button type="button" class="btn btn-success btn-raised disabled">Success</button>
275
- <button type="button" class="btn btn-info btn-raised disabled">Info</button>
276
- <button type="button" class="btn btn-warning btn-raised disabled">Warning</button>
277
- <button type="button" class="btn btn-danger btn-raised disabled">Danger</button>
278
- <button type="button" class="btn btn-link btn-raised disabled">Link</button>
396
+ <button type="button" class="btn btn-primary disabled">Primary</button>
397
+ <button type="button" class="btn btn-secondary disabled">Secondary</button>
398
+ <button type="button" class="btn btn-success disabled">Success</button>
399
+ <button type="button" class="btn btn-info disabled">Info</button>
400
+ <button type="button" class="btn btn-warning disabled">Warning</button>
401
+ <button type="button" class="btn btn-danger disabled">Danger</button>
402
+ <button type="button" class="btn btn-light disabled">Light</button>
403
+ <button type="button" class="btn btn-dark disabled">Dark</button>
404
+ <button type="button" class="btn btn-link disabled">Link</button>
279
405
  </div>
280
406
  ++++
281
407
 
282
- [source, html, role="noclip"]
408
+ [source, html]
283
409
  ----
284
- <button type="button" class="btn btn-primary btn-raised disabled">Primary</button>
285
- <button type="button" class="btn btn-primary btn-raised disabled">Secondary</button>
286
- <button type="button" class="btn btn-success btn-raised disabled">Success</button>
287
- <button type="button" class="btn btn-info btn-raised disabled">Info</button>
288
- <button type="button" class="btn btn-warning btn-raised disabled">Warning</button>
289
- <button type="button" class="btn btn-danger btn-raised disabled">Danger</button>
290
- <button type="button" class="btn btn-link btn-raised disabled">Link</button>
410
+ <button type="button" class="btn btn-primary disabled">Primary</button>
411
+ <button type="button" class="btn btn-secondary disabled">Secondary</button>
412
+ <button type="button" class="btn btn-success disabled">Success</button>
413
+ <button type="button" class="btn btn-info disabled">Info</button>
414
+ <button type="button" class="btn btn-warning disabled">Warning</button>
415
+ <button type="button" class="btn btn-danger disabled">Danger</button>
416
+ <button type="button" class="btn btn-light disabled">Light</button>
417
+ <button type="button" class="btn btn-dark disabled">Dark</button>
418
+ <button type="button" class="btn btn-link disabled">Link</button>
291
419
  ----
420
+ endif::[]
292
421
 
422
+ ifeval::[{buttons_outline} == true]
293
423
  === Outline buttons
294
424
 
295
- In need of a button, but not the hefty background colors they bring? Replace
296
- the default modifier classes with the `.btn-outline-*` ones to remove all
425
+ In need of a button, but not a hefty background color they bring? Replace
426
+ the default modifier with the class `.btn-outline-*` to remove all
297
427
  background images and colors on any button.
298
428
 
299
429
  ++++
300
430
  <div class="doc-example mb-3">
301
- <button type="button" class="btn btn-outline-primary btn-raised">Primary</button>
302
- <button type="button" class="btn btn-outline-secondary btn-raised">Secondary</button>
303
- <button type="button" class="btn btn-outline-success btn-raised">Success</button>
304
- <button type="button" class="btn btn-outline-info btn-raised">Info</button>
305
- <button type="button" class="btn btn-outline-warning btn-raised">Warning</button>
306
- <button type="button" class="btn btn-outline-danger btn-raised">Danger</button>
431
+ <button type="button" class="btn btn-outline-primary">Primary</button>
432
+ <button type="button" class="btn btn-outline-secondary">Secondary</button>
433
+ <button type="button" class="btn btn-outline-success">Success</button>
434
+ <button type="button" class="btn btn-outline-info">Info</button>
435
+ <button type="button" class="btn btn-outline-warning">Warning</button>
436
+ <button type="button" class="btn btn-outline-danger">Danger</button>
437
+ <button type="button" class="btn btn-outline-light">Light</button>
438
+ <button type="button" class="btn btn-outline-dark">Dark</button>
439
+ </div>
440
+ ++++
441
+
442
+ [source, html]
443
+ ----
444
+ <button type="button" class="btn btn-outline-primary">Primary</button>
445
+ <button type="button" class="btn btn-outline-secondary">Secondary</button>
446
+ <button type="button" class="btn btn-outline-success">Success</button>
447
+ <button type="button" class="btn btn-outline-info">Info</button>
448
+ <button type="button" class="btn btn-outline-warning">Warning</button>
449
+ <button type="button" class="btn btn-outline-danger">Danger</button>
450
+ <button type="button" class="btn btn-outline-light">Light</button>
451
+ <button type="button" class="btn btn-outline-dark">Dark</button>
452
+ ----
453
+ endif::[]
454
+
455
+ ifeval::[{buttons_dropdown} == true]
456
+ === Dropdown buttons
457
+
458
+ In need of a button having a little menu, buttons with a (nested)
459
+ *dropdown* (menu) can be used.
460
+
461
+ ++++
462
+ <div class="doc-example mb-3">
463
+ <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
464
+ <button type="button" class="btn btn-primary">Primary</button>
465
+ <div class="btn-group" role="group">
466
+ <button id="btnGroupDrop1" type="button"
467
+ class="btn btn-primary dropdown-toggle"
468
+ data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
469
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop1" style="">
470
+ <a class="dropdown-item" href="#">Dropdown link</a>
471
+ <a class="dropdown-item" href="#">Dropdown link</a>
472
+ </div>
473
+ </div>
474
+ </div>
475
+
476
+ <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
477
+ <button type="button" class="btn btn-success">Success</button>
478
+ <div class="btn-group" role="group">
479
+ <button id="btnGroupDrop2" type="button"
480
+ class="btn btn-success dropdown-toggle"
481
+ data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
482
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop2" style="">
483
+ <a class="dropdown-item" href="#">Dropdown link</a>
484
+ <a class="dropdown-item" href="#">Dropdown link</a>
485
+ </div>
486
+ </div>
487
+ </div>
488
+
489
+ <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
490
+ <button type="button" class="btn btn-info">Info</button>
491
+ <div class="btn-group" role="group">
492
+ <button id="btnGroupDrop3" type="button"
493
+ class="btn btn-info dropdown-toggle"
494
+ data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
495
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop3" style="">
496
+ <a class="dropdown-item" href="#">Dropdown link</a>
497
+ <a class="dropdown-item" href="#">Dropdown link</a>
498
+ </div>
499
+ </div>
500
+ </div>
501
+
502
+ <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
503
+ <button type="button" class="btn btn-danger">Danger</button>
504
+ <div class="btn-group" role="group">
505
+ <button id="btnGroupDrop4" type="button"
506
+ class="btn btn-danger dropdown-toggle"
507
+ data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"></button>
508
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop4" style="">
509
+ <a class="dropdown-item" href="#">Dropdown link</a>
510
+ <a class="dropdown-item" href="#">Dropdown link</a>
511
+ </div>
512
+ </div>
513
+ </div>
307
514
  </div>
308
515
  ++++
309
516
 
310
- [source, html, role="noclip"]
517
+ [source, html]
311
518
  ----
312
- <button type="button" class="btn btn-outline-primary btn-raised">Primary</button>
313
- <button type="button" class="btn btn-outline-secondary btn-raised">Secondary</button>
314
- <button type="button" class="btn btn-outline-success btn-raised">Success</button>
315
- <button type="button" class="btn btn-outline-info btn-raised">Info</button>
316
- <button type="button" class="btn btn-outline-warning btn-raised">Warning</button>
317
- <button type="button" class="btn btn-outline-danger btn-raised">Danger</button>
519
+ <div class="btn-group" role="group" aria-label="Button group with nested dropdown">
520
+ <button type="button" class="btn btn-primary">Primary</button>
521
+ <div class="btn-group" role="group">
522
+ <button id="btnGroupDrop1" type="button"
523
+ class="btn btn-primary dropdown-toggle"
524
+ data-bs-toggle="dropdown"
525
+ aria-haspopup="true"
526
+ aria-expanded="false">
527
+ </button>
528
+ <div class="dropdown-menu" aria-labelledby="btnGroupDrop1">
529
+ <a class="dropdown-item" href="#">Dropdown link</a>
530
+ <a class="dropdown-item" href="#">Dropdown link</a>
531
+ </div>
532
+ </div>
533
+ </div>
318
534
  ----
535
+ endif::[]
319
536
 
537
+
538
+ ifeval::[{buttons_flat} == true]
320
539
  === Flat buttons
321
540
 
322
- Flat buttons are text-only buttons. They may be used in dialogs, toolbars,
323
- or inline. They do not lift, but fill with color on press.
541
+ *Flat* buttons are text-only buttons. They may be used in dialogs, toolbars,
542
+ or inline. They do not lift, but *hightlighted* on mouse *hover* and *focussed*
543
+ on press.
324
544
 
325
545
  ++++
326
546
  <div class="doc-example">
@@ -334,7 +554,7 @@ or inline. They do not lift, but fill with color on press.
334
554
  </div>
335
555
  ++++
336
556
 
337
- [source, html, role="noclip"]
557
+ [source, html]
338
558
  ----
339
559
  <button type="button" class="btn btn-primary">Primary</button>
340
560
  <button type="button" class="btn btn-secondary">Secondary</button>
@@ -344,210 +564,632 @@ or inline. They do not lift, but fill with color on press.
344
564
  <button type="button" class="btn btn-danger">Danger</button>
345
565
  <button type="button" class="btn btn-link">Link</button>
346
566
  ----
567
+ endif::[]
347
568
 
348
-
569
+ ifeval::[{buttons_sizes} == true]
349
570
  === Button sizes
350
571
 
351
- Beside the default size, small and large buttons are available.
572
+ Beside the *default* size, small and large buttons are available.
573
+
574
+ ++++
575
+ <div class="doc-example mb-3">
576
+ <button type="button" class="btn btn-primary btn-lg">Large button</button>
577
+ <button type="button" class="btn btn-primary">Default button</button>
578
+ <button type="button" class="btn btn-primary btn-sm">Small button</button>
579
+ </div>
580
+ ++++
581
+
582
+ [source, html]
583
+ ----
584
+ <button type="button" class="btn btn-primary btn-lg">Large button</button>
585
+ <button type="button" class="btn btn-primary">Default button</button>
586
+ <button type="button" class="btn btn-primary btn-sm">Small button</button>
587
+ ----
588
+ endif::[]
589
+
590
+ ifeval::[{buttons_pulsed} == true]
591
+ === Pulsed button
592
+
593
+ Draw attention to a button, e.g for a *recommended* action.
352
594
 
353
595
  ++++
354
596
  <div class="doc-example mb-3">
355
- <button type="button" class="btn btn-primary btn-raised btn-lg">Large button</button>
356
- <button type="button" class="btn btn-primary btn-raised">Default button</button>
357
- <button type="button" class="btn btn-primary btn-raised btn-sm">Small button</button>
597
+ <button type="button" class="btn btn-primary pulsed-z2">Recommend</button>
358
598
  </div>
359
599
  ++++
360
600
 
361
- [source, html, role="noclip"]
601
+ [source, html]
362
602
  ----
363
- <button type="button" class="btn btn-primary btn-raised btn-lg">Large button</button>
364
- <button type="button" class="btn btn-primary btn-raised">Default button</button>
365
- <button type="button" class="btn btn-primary btn-raised btn-sm">Small button</button>
603
+ <button type="button" class="btn btn-primary pulsed-z2">Primary</button>
366
604
  ----
605
+ endif::[]
367
606
 
607
+ ifeval::[{buttons_blocklevel} == true]
368
608
  === Block level button
369
609
 
370
- Create block level buttons—those that span the full width of a parent—by
371
- adding .btn-block.
610
+ Create responsive stacks of full-width *block buttons* like those in BS@4
611
+ with a mix of *display* and *gap* utilities. By using *utilities* instead of
612
+ button specific classes, you have much greater control over spacing, alignment,
613
+ and responsive behaviors.
372
614
 
373
615
  ++++
374
616
  <div class="doc-example mb-3">
375
- <button type="button" class="btn btn-primary btn-lg btn-block btn-raised">Block level button</button>
376
- <button type="button" class="btn btn-secondary btn-lg btn-block btn-raised">Block level button</button>
617
+ <div class="d-grid gap-2">
618
+ <button type="button" class="btn btn-primary btn-lg">Block level button</button>
619
+ <button type="button" class="btn btn-secondary">Block level button</button>
620
+ </div>
377
621
  </div>
378
622
  ++++
379
623
 
380
- [source, html, role="noclip"]
624
+ [source, html]
381
625
  ----
382
- <button type="button"
383
- class="btn btn-primary btn-lg btn-block btn-raised">
384
- Block level button
385
- </button>
386
- <button type="button"
387
- class="btn btn-secondary btn-lg btn-block btn-raised">
388
- Block level button
389
- </button>
626
+ <div class="d-grid gap-2">
627
+ <button type="button" class="btn btn-primary btn-lg">Block level button</button>
628
+ <button type="button" class="btn btn-secondary">Block level button</button>
629
+ </div>
390
630
  ----
631
+ endif::[]
632
+ endif::[]
633
+
634
+ ifeval::[{selections} == true]
635
+ == Selections
636
+
637
+ J1 Template support two *selection* elements: checkboxes and radio buttons.
638
+ These selection elements *replace* the default Bootstrap **toggle**-buttons
639
+ for a better *style*.
640
+
641
+ ifeval::[{selections_checkboxes} == true]
642
+ === Checkboxes
391
643
 
392
- === Toggle button
644
+ Checkboxes are used if you want users to select *any* number of options
645
+ from a list of *preset* (available) options.
393
646
 
394
647
  ++++
395
648
  <div class="doc-example mb-3">
396
- <button type="button" class="btn btn-primary btn-raised" data-toggle="button" aria-pressed="false" autocomplete="off">
397
- Single toggle
398
- </button>
649
+ <div class="checkbox">
650
+ <label>
651
+ <input type="checkbox">
652
+ Unchecked Checkbox
653
+ </label>
654
+ </div>
655
+ <div class="checkbox">
656
+ <label>
657
+ <input type="checkbox" checked>
658
+ Checked Checkbox
659
+ </label>
660
+ </div>
661
+ <div class="checkbox disabled">
662
+ <label>
663
+ <input type="checkbox" disabled>
664
+ Disabled Checkbox
665
+ </label>
666
+ </div>
667
+ <div class="checkbox disabled">
668
+ <label>
669
+ <input type="checkbox" disabled checked>
670
+ Checked but disabled Checkbox
671
+ </label>
672
+ </div>
399
673
  </div>
400
674
  ++++
401
675
 
402
- [source, html, role="noclip"]
676
+ [source, html]
403
677
  ----
404
- <button type="button" class="btn btn-primary btn-raised"
405
- data-toggle="button" aria-pressed="false" autocomplete="off">
406
- Single toggle
407
- </button>
678
+ <div class="checkbox">
679
+ <label>
680
+ <input type="checkbox">
681
+ Unchecked Checkbox
682
+ </label>
683
+ </div>
684
+ <div class="checkbox">
685
+ <label>
686
+ <input type="checkbox" checked>
687
+ Checked Checkbox
688
+ </label>
689
+ </div>
690
+ <div class="checkbox disabled">
691
+ <label>
692
+ <input type="checkbox" disabled>
693
+ Disabled Checkbox
694
+ </label>
695
+ </div>
696
+ <div class="checkbox disabled">
697
+ <label>
698
+ <input type="checkbox" disabled checked>
699
+ Checked but disabled checkbox
700
+ </label>
701
+ </div>
408
702
  ----
703
+ endif::[]
409
704
 
410
- === Checkboxes and Radio buttons
705
+ ifeval::[{selections_radio_buttons} == true]
706
+ === Radio buttons
411
707
 
412
- Bootstrap’s .button styles can be applied to other elements, such as
413
- `<label>`, to provide checkbox or radio style button toggling. The checked
414
- state for these buttons is only updated via click event on the button.
708
+ Radio buttons are used if you want to *limit* users to just *one*
709
+ selection from a list of *preset* (available) options.
415
710
 
416
711
  ++++
417
712
  <div class="doc-example mb-3">
418
- <div class="btn-group btn-group-toggle" data-toggle="buttons">
419
- <label class="btn btn-primary btn-raised btn-flex active">
420
- <input type="radio" name="options" id="option1" autocomplete="off" checked> Active
713
+ <div class="radio">
714
+ <label>
715
+ <input type="radio" name="radio">
716
+ Unchecked Radio button
717
+ </label>
718
+ </div>
719
+ <div class="radio">
720
+ <label>
721
+ <input type="radio" name="radio" checked>
722
+ Checked Radio button
421
723
  </label>
422
- <label class="btn btn-primary btn-raised btn-flex">
423
- <input type="radio" name="options" id="option2" autocomplete="off"> Radio
724
+ </div>
725
+ <div class="radio">
726
+ <label>
727
+ <input type="radio" name="radio" disabled>
728
+ Disabled Radio button
424
729
  </label>
425
- <label class="btn btn-primary btn-raised btn-flex">
426
- <input type="radio" name="options" id="option3" autocomplete="off"> Radio
730
+ </div>
731
+ <div class="radio">
732
+ <label>
733
+ <input type="radio" disabled checked>
734
+ Checked but disabled Radio button
427
735
  </label>
428
736
  </div>
429
737
  </div>
430
738
  ++++
431
739
 
432
- [source, html, role="noclip"]
740
+ [source, html]
741
+ ----
742
+ <div class="radio">
743
+ <label>
744
+ <input type="radio" name="radio">
745
+ Unchecked Radio button
746
+ </label>
747
+ </div>
748
+ <div class="radio">
749
+ <label>
750
+ <input type="radio" name="radio" checked>
751
+ Checked Radio button
752
+ </label>
753
+ </div>
754
+ <div class="radio">
755
+ <label>
756
+ <input type="radio" name="radio" disabled>
757
+ Disabled Radio button
758
+ </label>
759
+ </div>
760
+ <div class="radio">
761
+ <label>
762
+ <input type="radio" disabled checked>
763
+ Checked but disabled Radio button
764
+ </label>
765
+ </div>
433
766
  ----
434
- <div class="btn-group btn-group-toggle" data-toggle="buttons">
435
- <label class="btn btn-primary btn-raised btn-flex active">
436
- <input type="radio" name="options" id="option1" autocomplete="off" checked> Active
437
- </label>
438
- <label class="btn btn-primary btn-raised btn-flex">
439
- <input type="radio" name="options" id="option2" autocomplete="off"> Radio
440
- </label>
441
- <label class="btn btn-primary btn-raised btn-flex">
442
- <input type="radio" name="options" id="option3" autocomplete="off"> Radio
443
- </label>
767
+ endif::[]
768
+
769
+ ifeval::[{selections_switches} == true]
770
+ === Switches
771
+
772
+ You can use an *alternative* to standard J1 checkboxes: the Material Design
773
+ styled element *switch*. Switches behave the same as checkboxes to want users
774
+ to select *any number* of options from a list of *preset* (available) options.
775
+
776
+ ++++
777
+ <div class="doc-example mb-3">
778
+ <div class="switch">
779
+ <label>
780
+ <input type="checkbox">
781
+ Unchecked Switch
782
+ </label>
783
+ </div>
784
+ <div class="switch">
785
+ <label>
786
+ <input type="checkbox" checked>
787
+ Checked Switch
788
+ </label>
789
+ </div>
790
+ <div class="switch">
791
+ <label>
792
+ <input type="checkbox" disabled>
793
+ Disabled Switch
794
+ </label>
795
+ </div>
796
+ <div class="switch">
797
+ <label>
798
+ <input type="checkbox" disabled checked>
799
+ Checked but disabled Switch
800
+ </label>
801
+ </div>
444
802
  </div>
803
+ ++++
804
+
805
+ [source, html]
806
+ ----
807
+ <div class="switch">
808
+ <label>
809
+ <input type="checkbox">
810
+ Unchecked Switch
811
+ </label>
812
+ </div>
813
+ <div class="switch">
814
+ <label>
815
+ <input type="checkbox" checked>
816
+ Checked Switch
817
+ </label>
818
+ </div>
819
+ <div class="switch">
820
+ <label>
821
+ <input type="checkbox" disabled>
822
+ Disabled Switch
823
+ </label>
824
+ </div>
825
+ <div class="switch">
826
+ <label>
827
+ <input type="checkbox" disabled checked>
828
+ Checked but disabled Switch
829
+ </label>
830
+ </div>
445
831
  ----
832
+ endif::[]
446
833
 
447
- === Floating action buttons
834
+ ifeval::[{fab} == true]
835
+ === Floating Action Button (FAB)
448
836
 
449
- A floating action button represents the primary action in an application,
450
- it is used for a promoted action.
837
+ Floating Action Buttons are adopted navigation elements from mobile devices
838
+ (Android) but are used today quite often for web pages as well. Floating action
839
+ buttons (FABs) for the web typically provide *additional* actions for a page,
840
+ for example, in-page navigation.
451
841
 
452
842
  mdi:bootstrap[24px, mdi-md-deep-purple]
453
- https://material.io/components/buttons-floating-action-button#types-of-transitions[Google Material Design {char-middot} Floating action buttons, {browser-window--new}]
843
+ https://material.io/components/buttons-floating-action-button/android#using-fabs[Google Material Design {char-middot} Floating action buttons, {browser-window--new}]
844
+
845
+ ++++
846
+ <div class="doc-example">
847
+ <button type="button" class="btn btn-fab btn-primary" aria-label="fab-button">
848
+ <i class="mdi mdi-plus"></i>
849
+ </button>
850
+ </div>
851
+ ++++
852
+
853
+ [source, html]
854
+ ----
855
+ <button type="button" class="btn btn-fab btn-primary" aria-label="fab-button">
856
+ <i class="mdi mdi-plus"></i>
857
+ </button>
858
+ ----
859
+
860
+ ifeval::[{fab_raised} == true]
861
+ ==== Raised FAB
862
+
863
+ To put a 3D effect on floating action buttons, buttons can be *raised* by
864
+ adding the additional CSS class `raised-zX`. J1 supports 25 levels of
865
+ raising HTML elements ranging from 0 to 24.
866
+
867
+ ++++
868
+ <div class="doc-example">
869
+ <button type="button" class="btn btn-fab btn-primary raised-z5 mr-3" aria-label="fab-button">
870
+ <i class="mdi mdi-plus"></i>
871
+ </button>
872
+ <button type="button" class="btn btn-fab btn-primary raised-z10 mr-3" aria-label="fab-button">
873
+ <i class="mdi mdi-plus"></i>
874
+ </button>
875
+ <button type="button" class="btn btn-fab btn-primary raised-z24" aria-label="fab-button">
876
+ <i class="mdi mdi-plus"></i>
877
+ </button>
878
+ </div>
879
+ ++++
880
+
881
+ [source, html]
882
+ ----
883
+ <button type="button" class="btn btn-fab btn-primary raised-z5" aria-label="fab-button">
884
+ <i class="mdi mdi-plus"></i>
885
+ </button>
886
+ <button type="button" class="btn btn-fab btn-primary raised-z10" aria-label="fab-button">
887
+ <i class="mdi mdi-plus"></i>
888
+ </button>
889
+ <button type="button" class="btn btn-fab btn-primary raised-z24" aria-label="fab-button">
890
+ <i class="mdi mdi-plus"></i>
891
+ </button>
892
+ ----
893
+ endif::[]
894
+
895
+ ifeval::[{fab_pulsed} == true]
896
+ ==== Pulsed FAB
897
+
898
+ Draw *attention* to floating action buttons (FAB) with this subtle but
899
+ captivating effect.
900
+
901
+ ++++
902
+ <div class="doc-example">
903
+ <button type="button" class="btn btn-fab btn-primary pulsed-z3" aria-label="fab-button">
904
+ <i class="mdi mdi-plus"></i>
905
+ </button>
906
+ </div>
907
+ ++++
908
+
909
+ [source, html]
910
+ ----
911
+ <button type="button" class="btn btn-fab btn-primary pulsed-z3" aria-label="fab-button">
912
+ <i class="mdi mdi-plus"></i>
913
+ </button>
914
+ ----
915
+ endif::[]
916
+
917
+ ifeval::[{fab_mini} == true]
918
+ ==== Mini FAB
919
+
920
+ A smaller sized, *mini* floating action button (FAB) is also available.
921
+
922
+ ++++
923
+ <div class="doc-example">
924
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary" aria-label="fab-button-small">
925
+ <i class="mdi mdi-plus"></i>
926
+ </button>
927
+ </div>
928
+ ++++
929
+
930
+ [source, html]
931
+ ----
932
+ <button type="button" class="btn btn-danger btn-fab btn-fab-sm" aria-label="fab-button-small">
933
+ <i class="mdi mdi-plus"></i>
934
+ </button>
935
+ ----
936
+ endif::[]
937
+
938
+ ifeval::[{fab_mini_raised} == true]
939
+ ==== Mini FAB raised
940
+
941
+ Mini FAB buttons can be *raised* as well by adding the additional CSS class
942
+ `raised-zX`. J1 supports 25 levels of raising HTML elements ranging from 0
943
+ to 24.
454
944
 
455
945
  ++++
456
946
  <div class="doc-example">
457
- <button type="button" class="btn bmd-btn-fab btn-primary" aria-label="fab-button">
947
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary raised-z5 mr-3" aria-label="fab-button">
948
+ <i class="mdi mdi-plus"></i>
949
+ </button>
950
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary raised-z10 mr-3" aria-label="fab-button">
951
+ <i class="mdi mdi-plus"></i>
952
+ </button>
953
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary raised-z24" aria-label="fab-button">
458
954
  <i class="mdi mdi-plus"></i>
459
955
  </button>
460
956
  </div>
461
957
  ++++
462
958
 
463
- [source, html, role="noclip"]
959
+ [source, html]
464
960
  ----
465
- <button type="button" class="btn bmd-btn-fab" aria-label="fab-button">
961
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary raised-z5 mr-3" aria-label="fab-button">
466
962
  <i class="mdi mdi-plus"></i>
467
963
  </button>
468
964
  ----
965
+ endif::[]
469
966
 
967
+
968
+ ifeval::[{fab_colors} == true]
470
969
  ==== Colors
471
970
 
971
+ For floating action buttons (FAB), all Bootstrap button *color classes* can
972
+ be applied.
973
+
974
+ ++++
975
+ <div class="doc-example">
976
+ <button type="button" class="btn btn-fab btn-primary" aria-label="fab-button-primary">
977
+ <i class="mdi mdi-plus"></i>
978
+ </button>
979
+ <button type="button" class="btn btn-fab btn-secondary" aria-label="fab-button-secondary">
980
+ <i class="mdi mdi-plus"></i>
981
+ </button>
982
+ <button type="button" class="btn btn-fab btn-danger" aria-label="fab-button-danger">
983
+ <i class="mdi mdi-plus"></i>
984
+ </button>
985
+ <button type="button" class="btn btn-fab btn-info" aria-label="fab-button-info">
986
+ <i class="mdi mdi-plus"></i>
987
+ </button>
988
+ <button type="button" class="btn btn-fab btn-success" aria-label="fab-button-success">
989
+ <i class="mdi mdi-plus"></i>
990
+ </button>
991
+ <button type="button" class="btn btn-fab btn-warning" aria-label="fab-button-warning">
992
+ <i class="mdi mdi-plus"></i>
993
+ </button>
994
+ <button type="button" class="btn btn-fab btn-dark" aria-label="fab-button-dark">
995
+ <i class="mdi mdi-plus"></i>
996
+ </button>
997
+ <button type="button" class="btn btn-fab btn-light" aria-label="fab-button-light">
998
+ <i class="mdi mdi-plus"></i>
999
+ </button>
1000
+ </div>
1001
+ ++++
1002
+
1003
+ [source, html]
1004
+ ----
1005
+ <button type="button" class="btn btn-fab btn-primary" aria-label="fab-button-primary">
1006
+ <i class="mdi mdi-plus"></i>
1007
+ </button>
1008
+ <button type="button" class="btn btn-fab btn-secondary" aria-label="fab-button-secondary">
1009
+ <i class="mdi mdi-plus"></i>
1010
+ </button>
1011
+ <button type="button" class="btn btn-fab btn-danger" aria-label="fab-button-danger">
1012
+ <i class="mdi mdi-plus"></i>
1013
+ </button>
1014
+ <button type="button" class="btn btn-fab btn-info" aria-label="fab-button-info">
1015
+ <i class="mdi mdi-plus"></i>
1016
+ </button>
1017
+ <button type="button" class="btn btn-fab btn-success" aria-label="fab-button-success">
1018
+ <i class="mdi mdi-plus"></i>
1019
+ </button>
1020
+ <button type="button" class="btn btn-fab btn-warning" aria-label="fab-button-warning">
1021
+ <i class="mdi mdi-plus"></i>
1022
+ </button>
1023
+ <button type="button" class="btn btn-fab btn-dark" aria-label="fab-button-dark">
1024
+ <i class="mdi mdi-plus"></i>
1025
+ </button>
1026
+ <button type="button" class="btn btn-fab btn-light" aria-label="fab-button-light">
1027
+ <i class="mdi mdi-plus"></i>
1028
+ </button>
1029
+ ----
1030
+
1031
+ ++++
1032
+ <div class="doc-example">
1033
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary" aria-label="fab-button-primary">
1034
+ <i class="mdi mdi-plus"></i>
1035
+ </button>
1036
+ <button type="button" class="btn btn-fab btn-fab-sm btn-secondary" aria-label="fab-button-secondary">
1037
+ <i class="mdi mdi-plus"></i>
1038
+ </button>
1039
+ <button type="button" class="btn btn-fab btn-fab-sm btn-danger" aria-label="fab-button-danger">
1040
+ <i class="mdi mdi-plus"></i>
1041
+ </button>
1042
+ <button type="button" class="btn btn-fab btn-fab-sm btn-info" aria-label="fab-button-info">
1043
+ <i class="mdi mdi-plus"></i>
1044
+ </button>
1045
+ <button type="button" class="btn btn-fab btn-fab-sm btn-success" aria-label="fab-button-success">
1046
+ <i class="mdi mdi-plus"></i>
1047
+ </button>
1048
+ <button type="button" class="btn btn-fab btn-fab-sm btn-warning" aria-label="fab-button-warning">
1049
+ <i class="mdi mdi-plus"></i>
1050
+ </button>
1051
+ <button type="button" class="btn btn-fab btn-fab-sm btn-dark" aria-label="fab-button-dark">
1052
+ <i class="mdi mdi-plus"></i>
1053
+ </button>
1054
+ <button type="button" class="btn btn-fab btn-fab-sm btn-light" aria-label="fab-button-light">
1055
+ <i class="mdi mdi-plus"></i>
1056
+ </button>
1057
+ </div>
1058
+ ++++
1059
+
1060
+ [source, html]
1061
+ ----
1062
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary" aria-label="fab-button-primary">
1063
+ <i class="mdi mdi-plus"></i>
1064
+ </button>
1065
+ <button type="button" class="btn btn-fab btn-fab-sm btn-secondary" aria-label="fab-button-secondary">
1066
+ <i class="mdi mdi-plus"></i>
1067
+ </button>
1068
+ <button type="button" class="btn btn-fab btn-fab-sm btn-danger" aria-label="fab-button-danger">
1069
+ <i class="mdi mdi-plus"></i>
1070
+ </button>
1071
+ <button type="button" class="btn btn-fab btn-fab-sm btn-info" aria-label="fab-button-info">
1072
+ <i class="mdi mdi-plus"></i>
1073
+ </button>
1074
+ <button type="button" class="btn btn-fab btn-fab-sm btn-success" aria-label="fab-button-success">
1075
+ <i class="mdi mdi-plus"></i>
1076
+ </button>
1077
+ <button type="button" class="btn btn-fab btn-fab-sm btn-warning" aria-label="fab-button-warning">
1078
+ <i class="mdi mdi-plus"></i>
1079
+ </button>
1080
+ <button type="button" class="btn btn-fab btn-fab-sm btn-dark" aria-label="fab-button-dark">
1081
+ <i class="mdi mdi-plus"></i>
1082
+ </button>
1083
+ <button type="button" class="btn btn-fab btn-fab-sm btn-light" aria-label="fab-button-light">
1084
+ <i class="mdi mdi-plus"></i>
1085
+ </button>
1086
+ ----
1087
+ endif::[]
1088
+
1089
+ ifeval::[{fab_disabled} == true]
1090
+ ==== Disabled FAB
1091
+
1092
+ FAB Buttons look inactive by adding the `disabled` boolean attribute to the
1093
+ `<button>` element.
1094
+
472
1095
  ++++
473
1096
  <div class="doc-example">
474
- <button type="button" class="btn bmd-btn-fab btn-primary" aria-label="fab-button-primary">
1097
+ <button type="button" class="btn btn-fab btn-primary disabled" aria-label="fab-button-primary">
475
1098
  <i class="mdi mdi-plus"></i>
476
1099
  </button>
477
- <button type="button" class="btn bmd-btn-fab btn-secondary" aria-label="fab-button-secondary">
1100
+ <button type="button" class="btn btn-fab btn-secondary disabled" aria-label="fab-button-secondary">
478
1101
  <i class="mdi mdi-plus"></i>
479
1102
  </button>
480
- <button type="button" class="btn bmd-btn-fab btn-danger" aria-label="fab-button-danger">
1103
+ <button type="button" class="btn btn-fab btn-danger disabled" aria-label="fab-button-danger">
481
1104
  <i class="mdi mdi-plus"></i>
482
1105
  </button>
483
- <button type="button" class="btn bmd-btn-fab btn-info" aria-label="fab-button-info">
1106
+ <button type="button" class="btn btn-fab btn-info disabled" aria-label="fab-button-info">
484
1107
  <i class="mdi mdi-plus"></i>
485
1108
  </button>
486
- <button type="button" class="btn bmd-btn-fab btn-success" aria-label="fab-button-success">
1109
+ <button type="button" class="btn btn-fab btn-success disabled" aria-label="fab-button-success">
1110
+ <i class="mdi mdi-plus"></i>
1111
+ </button>
1112
+ <button type="button" class="btn btn-fab btn-warning disabled" aria-label="fab-button-warning">
1113
+ <i class="mdi mdi-plus"></i>
1114
+ </button>
1115
+ <button type="button" class="btn btn-fab btn-dark disabled" aria-label="fab-button-dark">
1116
+ <i class="mdi mdi-plus"></i>
1117
+ </button>
1118
+ <button type="button" class="btn btn-fab btn-light disabled" aria-label="fab-button-light">
1119
+ <i class="mdi mdi-plus"></i>
1120
+ </button>
1121
+ </div>
1122
+ ++++
1123
+
1124
+ [source, html]
1125
+ ----
1126
+ <button type="button" class="btn btn-fab btn-primary disabled" aria-label="fab-button">
487
1127
  <i class="mdi mdi-plus"></i>
488
1128
  </button>
489
- <button type="button" class="btn bmd-btn-fab btn-warning" aria-label="fab-button-warning">
1129
+ ----
1130
+
1131
+ ++++
1132
+ <div class="doc-example">
1133
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary disabled" aria-label="fab-button-primary">
490
1134
  <i class="mdi mdi-plus"></i>
491
1135
  </button>
492
- <button type="button" class="btn bmd-btn-fab btn-dark" aria-label="fab-button-dark">
1136
+ <button type="button" class="btn btn-fab btn-fab-sm btn-secondary disabled" aria-label="fab-button-secondary">
493
1137
  <i class="mdi mdi-plus"></i>
494
1138
  </button>
495
- <button type="button" class="btn bmd-btn-fab btn-light" aria-label="fab-button-light">
1139
+ <button type="button" class="btn btn-fab btn-fab-sm btn-danger disabled" aria-label="fab-button-danger">
496
1140
  <i class="mdi mdi-plus"></i>
497
1141
  </button>
498
- </div>
499
- ++++
500
-
501
- [source, html, role="noclip"]
502
- ----
503
- <button type="button" class="btn bmd-btn-fab btn-primary" aria-label="fab-button-primary">
1142
+ <button type="button" class="btn btn-fab btn-fab-sm btn-info disabled" aria-label="fab-button-info">
504
1143
  <i class="mdi mdi-plus"></i>
505
1144
  </button>
506
- <button type="button" class="btn bmd-btn-fab btn-secondary" aria-label="fab-button-secondary">
1145
+ <button type="button" class="btn btn-fab btn-fab-sm btn-success disabled" aria-label="fab-button-success">
507
1146
  <i class="mdi mdi-plus"></i>
508
1147
  </button>
509
- ...
510
- <button type="button" class="btn bmd-btn-fab btn-dark" aria-label="fab-button-dark">
1148
+ <button type="button" class="btn btn-fab btn-fab-sm btn-warning disabled" aria-label="fab-button-warning">
511
1149
  <i class="mdi mdi-plus"></i>
512
1150
  </button>
513
- <button type="button" class="btn bmd-btn-fab btn-light" aria-label="fab-button-light">
1151
+ <button type="button" class="btn btn-fab btn-fab-sm btn-dark disabled" aria-label="fab-button-dark">
514
1152
  <i class="mdi mdi-plus"></i>
515
1153
  </button>
516
- ----
517
-
518
- ==== Sizes
519
-
520
- A smaller sized, i.e. mini floating action button, is also available.
521
-
522
- ++++
523
- <div class="doc-example">
524
- <button type="button" class="btn btn-danger bmd-btn-fab bmd-btn-fab-sm" aria-label="fab-button-small">
1154
+ <button type="button" class="btn btn-fab btn-fab-sm btn-light disabled" aria-label="fab-button-light">
525
1155
  <i class="mdi mdi-plus"></i>
526
1156
  </button>
527
1157
  </div>
528
1158
  ++++
529
1159
 
530
- [source, html, role="noclip"]
1160
+ [source, html]
531
1161
  ----
532
- <button type="button" class="btn btn-danger bmd-btn-fab bmd-btn-fab-sm" aria-label="fab-button-small">
1162
+ <button type="button" class="btn btn-fab btn-fab-sm btn-primary disabled" aria-label="fab-button">
533
1163
  <i class="mdi mdi-plus"></i>
534
1164
  </button>
535
1165
  ----
1166
+ endif::[]
1167
+ endif::[]
536
1168
 
1169
+ ifeval::[{typography} == true]
537
1170
  == Typography
538
1171
 
539
- Bootstrap sets basic global display, typography, and link styles. When more
540
- control is needed, check out the textual utility classes.
1172
+ Typography is a feature of Bootstrap for styling and formatting the text
1173
+ content. It is used to create customized headings, inline subheadings, lists,
1174
+ paragraphs, aligning, adding more design-oriented font styles, and much more.
541
1175
 
542
- For a more inclusive and accessible type scale, it is assuemed that
543
- the browser default root font-size (typically 16px) so visitors can
544
- customize their browser defaults as needed.
1176
+ The base for all typography features is the default *font family*. J1 is using
1177
+ *Roboto* for the default font at a font size of *16px*. This setting is
1178
+ different from the standard Bootstrap configuration using the font family of
1179
+ *Helvetica* for the default.
545
1180
 
546
1181
  mdi:bootstrap[24px, mdi-md-deep-purple]
547
1182
  link:{url-bs-docs--content-typography}[Bootstrap Docs {char-middot} Typography, {browser-window--new}]
548
1183
 
1184
+ ifeval::[{typography_headings} == true]
549
1185
  === Headings
550
1186
 
1187
+ HTML headings provide valuable information by highlighting important topics
1188
+ and the structure of the document. The HTML5 standard offers six levels of
1189
+ heading tags, ranging from <h1> through <h6>. The lower the heading level, the
1190
+ higher its importance. Therefore <h1> tag defines the most important heading,
1191
+ whereas the <h6> tag defines the least important heading in a document.
1192
+
551
1193
  ++++
552
1194
  <div class="doc-example mb-3">
553
1195
  <div class="row mb-5">
@@ -566,7 +1208,7 @@ link:{url-bs-docs--content-typography}[Bootstrap Docs {char-middot} Typography,
566
1208
  </div>
567
1209
  <div class="col-md-4">
568
1210
  <h3 class="notoc">Example body text</h2>
569
- <p>Nullam quis risus eget <a href="#void">urna mollis ornare</a> vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
1211
+ <p>Nullam quis risus eget <a href="#">urna mollis ornare</a> vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
570
1212
  <p><small>This line of text is meant to be treated as fine print.</small></p>
571
1213
  <p>The following is <strong>rendered as bold text</strong>.</p>
572
1214
  <p>The following is <em>rendered as italicized text</em>.</p>
@@ -584,93 +1226,110 @@ link:{url-bs-docs--content-typography}[Bootstrap Docs {char-middot} Typography,
584
1226
  </div>
585
1227
  </div>
586
1228
  ++++
1229
+ endif::[]
587
1230
 
1231
+ ifeval::[{typography_blockquotes} == true]
588
1232
  === Blockquotes
589
1233
 
1234
+ The HTML element `<blockquote>` specifies a section with content quoted
1235
+ from another source. Blockquotes are generally displayed with indented
1236
+ left and right margins, along with a little extra space added above and
1237
+ below.
1238
+
1239
+ For Bootstrap, are more complex styling of cites is available with the
1240
+ `<blockquote>` elements respectively the additional CSS class `.blockquote`.
1241
+
590
1242
  ++++
591
1243
  <div class="doc-example mb-3">
592
- <div class="row">
593
- <div class="col-md-6 p-0">
594
- <blockquote class="blockquote">
595
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
596
- <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
597
- </blockquote>
598
- </div>
599
- <div class="col-md-6 p-0">
600
- <blockquote class="blockquote blockquote-reverse">
601
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
602
- <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
603
- </blockquote>
604
- </div>
605
- </div>
1244
+ <blockquote class="blockquote">
1245
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
1246
+ <footer class="blockquote-footer">Someone famous in
1247
+ <cite title="Source Title">history</cite>
1248
+ </footer>
1249
+ </blockquote>
606
1250
  </div>
607
1251
  ++++
1252
+ endif::[]
1253
+ endif::[]
608
1254
 
1255
+ ifeval::[{tables} == true]
609
1256
  == Tables
610
1257
 
611
- Due to the widespread use of tables across third-party widgets like calendars
612
- and date pickers, we’ve designed our tables to be opt-in. Just add the base
613
- class `.table` to any `<table>`, then extend with custom styles or our various
614
- included modifier classes.
615
-
616
- Using the most basic table markup, here’s how .table-based tables look in
617
- Bootstrap. All table styles are inherited in Bootstrap 4, meaning any nested
618
- tables will be styled in the same manner as the parent.
1258
+ Creating a design for tables is challenging. The approach used by J1 Template
1259
+ is based on pure CSS on top of the classic Bootstrap styles for simplicity
1260
+ and portability to be viewed best on all devices and browsers.
619
1261
 
620
1262
  mdi:bootstrap[24px, mdi-md-deep-purple]
621
1263
  link:{url-bs-docs--content-tables}[Bootstrap Docs {char-middot} Tables, {browser-window--new}]
622
1264
 
623
-
624
1265
  ++++
625
1266
  <div class="doc-example mb-3">
626
- <table class="table table-striped table-hover table-bordered">
1267
+ <table class="table table-hover">
627
1268
  <thead>
628
1269
  <tr>
629
- <th>#</th>
630
- <th>Column heading</th>
631
- <th>Column heading</th>
632
- <th>Column heading</th>
1270
+ <th scope="col">Type</th>
1271
+ <th scope="col">Column heading</th>
1272
+ <th scope="col">Column heading</th>
1273
+ <th scope="col">Column heading</th>
633
1274
  </tr>
634
1275
  </thead>
635
1276
  <tbody>
636
- <tr>
637
- <td>1</td>
1277
+ <tr class="table-active">
1278
+ <th scope="row">Active</th>
638
1279
  <td>Column content</td>
639
1280
  <td>Column content</td>
640
1281
  <td>Column content</td>
641
1282
  </tr>
642
1283
  <tr>
643
- <td>2</td>
1284
+ <th scope="row">Default</th>
644
1285
  <td>Column content</td>
645
1286
  <td>Column content</td>
646
1287
  <td>Column content</td>
647
1288
  </tr>
648
- <tr class="table-info">
649
- <td>3</td>
1289
+ <tr class="table-primary">
1290
+ <th scope="row">Primary</th>
1291
+ <td>Column content</td>
1292
+ <td>Column content</td>
1293
+ <td>Column content</td>
1294
+ </tr>
1295
+ <tr class="table-secondary">
1296
+ <th scope="row">Secondary</th>
650
1297
  <td>Column content</td>
651
1298
  <td>Column content</td>
652
1299
  <td>Column content</td>
653
1300
  </tr>
654
1301
  <tr class="table-success">
655
- <td>4</td>
1302
+ <th scope="row">Success</th>
656
1303
  <td>Column content</td>
657
1304
  <td>Column content</td>
658
1305
  <td>Column content</td>
659
1306
  </tr>
660
1307
  <tr class="table-danger">
661
- <td>5</td>
1308
+ <th scope="row">Danger</th>
662
1309
  <td>Column content</td>
663
1310
  <td>Column content</td>
664
1311
  <td>Column content</td>
665
1312
  </tr>
666
1313
  <tr class="table-warning">
667
- <td>6</td>
1314
+ <th scope="row">Warning</th>
668
1315
  <td>Column content</td>
669
1316
  <td>Column content</td>
670
1317
  <td>Column content</td>
671
1318
  </tr>
672
- <tr class="table-active">
673
- <td>7</td>
1319
+ <tr class="table-info">
1320
+ <th scope="row">Info</th>
1321
+ <td>Column content</td>
1322
+ <td>Column content</td>
1323
+ <td>Column content</td>
1324
+ </tr>
1325
+ <tr class="table-light">
1326
+ <th scope="row">Light</th>
1327
+ <td>Column content</td>
1328
+ <td>Column content</td>
1329
+ <td>Column content</td>
1330
+ </tr>
1331
+ <tr class="table-dark">
1332
+ <th scope="row">Dark</th>
674
1333
  <td>Column content</td>
675
1334
  <td>Column content</td>
676
1335
  <td>Column content</td>
@@ -679,20 +1338,24 @@ link:{url-bs-docs--content-tables}[Bootstrap Docs {char-middot} Tables, {browser
679
1338
  </table>
680
1339
  </div>
681
1340
  ++++
1341
+ endif::[]
682
1342
 
1343
+ ifeval::[{forms} == true]
683
1344
  == Forms
684
1345
 
685
- Bootstrap’s form controls expand on our Rebooted form styles with classes.
686
- Use these classes to opt into their customized displays for a more consistent
687
- rendering across browsers and devices.
688
-
689
- Be sure to use an appropriate type attribute on all inputs (e.g., email
690
- for email address or number for numerical information) to take advantage
691
- of newer input controls like email verification, number selection, and more.
1346
+ For collecting structured data, forms are essential. So-called Web forms,
1347
+ in short forms, are one of the main points of interaction between a user
1348
+ and a website or application. Forms allow users to enter data, which is sent,
1349
+ e.g., to a web server for processing.
692
1350
 
693
- Here’s a quick example to demonstrate Bootstrap’s form styles. Keep reading
1351
+ Here are some examples to demonstrate Bootstrap’s form styles. Keep reading
694
1352
  for documentation on required classes, form layout, and more.
695
1353
 
1354
+ Be sure to use an appropriate type attribute on all inputs (e.g., email
1355
+ for the email address or the number for numerical information) to take
1356
+ advantage of newer input controls like email verification, number selection,
1357
+ and more.
1358
+
696
1359
  mdi:bootstrap[24px, mdi-md-deep-purple]
697
1360
  link:{url-bs-docs--components-forms}[Bootstrap Docs {char-middot} Forms, {browser-window--new}]
698
1361
 
@@ -710,18 +1373,35 @@ link:{url-bs-docs--components-forms}[Bootstrap Docs {char-middot} Forms, {browse
710
1373
  <label for="exampleInputPassword1" class="bmd-label-floating">Password</label>
711
1374
  <span class="form-clear d-none"><i class="mdi mdi-2x mdi-format-clear"></i></span>
712
1375
  </div>
713
- <div class="form-group form-check">
714
- <input type="checkbox" class="form-check-input" id="exampleCheck1">
715
- <label class="form-check-label" for="exampleCheck1">Check me out</label>
1376
+ <div class="form-group">
1377
+ <div class="checkbox">
1378
+ <label>
1379
+ <input type="checkbox">
1380
+ Option 1
1381
+ </label>
1382
+ </div>
1383
+
1384
+ <div class="radio">
1385
+ <label>
1386
+ <input type="radio" name="radio">
1387
+ Option 2
1388
+ </label>
1389
+ </div>
1390
+ <div class="radio">
1391
+ <label>
1392
+ <input type="radio" name="radio" checked>
1393
+ Option 3
1394
+ </label>
1395
+ </div>
716
1396
  </div>
717
- <button type="submit" class="btn btn-primary btn-raised">Submit</button>
1397
+ <button type="submit" class="btn btn-primary mt-3">Submit</button>
718
1398
  </form>
719
1399
  </div>
720
1400
  ++++
721
1401
 
722
- Textual form controlslike <input>s, <select>s, and <textarea>s—are styled with
723
- the .form-control class. Included are styles for general appearance, focus
724
- state, sizing, and more.
1402
+ Textual form controls-like `<input>`, `<select>`, and `<textarea>` are styled
1403
+ with the `.form-control` class. Included are styles for general appearance,
1404
+ focus state, sizing, and more.
725
1405
 
726
1406
  ++++
727
1407
  <div class="doc-example mb-3">
@@ -756,33 +1436,232 @@ state, sizing, and more.
756
1436
  </div>
757
1437
  ++++
758
1438
 
759
- For file inputs, swap the .form-control for .form-control-file.
1439
+ For file inputs, swap the `.form-control` for `.form-control-file`.
1440
+
1441
+ // ++++
1442
+ // <div class="doc-example mb-3">
1443
+ // <form>
1444
+ // <div class="form-group">
1445
+ // <input type="file" class="form-control-file" id="exampleFormControlFile1">
1446
+ // <label for="exampleFormControlFile1" class="bmd-label-floating">Example file input</label>
1447
+ // </div>
1448
+ // </form>
1449
+ // </div>
1450
+ // ++++
1451
+
1452
+ ++++
1453
+ <div class="doc-example mb-3">
1454
+ <div class="form-group">
1455
+ <label for="formFile" class="form-label mt-4">Default file input example</label>
1456
+ <input class="form-control" type="file" id="formFile">
1457
+ </div>
1458
+ </div>
1459
+ ++++
1460
+
1461
+ ifeval::[{forms_bootstrap} == true]
1462
+ === Bootstrap Forms
760
1463
 
761
1464
  ++++
762
1465
  <div class="doc-example mb-3">
763
1466
  <form>
1467
+ <fieldset>
1468
+ <div class="form-group row">
1469
+ <label for="staticEmail" class="col-sm-2 col-form-label">Email</label>
1470
+ <div class="col-sm-10">
1471
+ <input type="text" readonly="" class="form-control-plaintext" id="staticEmail" value="email@example.com">
1472
+ </div>
1473
+ </div>
1474
+ <div class="form-group">
1475
+ <label for="exampleInputEmail11" class="form-label mt-4">Email address</label>
1476
+ <input type="email" class="form-control" id="exampleInputEmail11" aria-describedby="emailHelp" placeholder="Enter email">
1477
+ <small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
1478
+ </div>
1479
+ <div class="form-group">
1480
+ <label for="exampleInputPassword11" class="form-label mt-4">Password</label>
1481
+ <input type="password" class="form-control" id="exampleInputPassword11" placeholder="Password">
1482
+ </div>
1483
+ <div class="form-group">
1484
+ <label for="exampleSelect1" class="form-label mt-4">Example select</label>
1485
+ <select class="form-select" id="exampleSelect1">
1486
+ <option>1</option>
1487
+ <option>2</option>
1488
+ <option>3</option>
1489
+ <option>4</option>
1490
+ <option>5</option>
1491
+ </select>
1492
+ </div>
1493
+ <div class="form-group">
1494
+ <label for="exampleSelect2" class="form-label mt-4">Example multiple select</label>
1495
+ <select multiple="" class="form-select" id="exampleSelect2">
1496
+ <option>1</option>
1497
+ <option>2</option>
1498
+ <option>3</option>
1499
+ <option>4</option>
1500
+ <option>5</option>
1501
+ </select>
1502
+ </div>
1503
+ <div class="form-group">
1504
+ <label for="exampleTextarea" class="form-label mt-4">Example textarea</label>
1505
+ <textarea class="form-control" id="exampleTextarea" rows="3"></textarea>
1506
+ </div>
1507
+ <div class="form-group">
1508
+ <label for="formFile" class="form-label mt-4">Default file input example</label>
1509
+ <input class="form-control" type="file" id="formFile">
1510
+ </div>
1511
+ <fieldset class="form-group">
1512
+ <legend class="mt-4">Radio buttons</legend>
1513
+ <div class="form-check">
1514
+ <label class="form-check-label">
1515
+ <input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios1" value="option1" checked="">
1516
+ Option one is this and that—be sure to include why it's great
1517
+ </label>
1518
+ </div>
1519
+ <div class="form-check">
1520
+ <label class="form-check-label">
1521
+ <input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios2" value="option2">
1522
+ Option two can be something else and selecting it will deselect option one
1523
+ </label>
1524
+ </div>
1525
+ <div class="form-check disabled">
1526
+ <label class="form-check-label">
1527
+ <input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios3" value="option3" disabled="">
1528
+ Option three is disabled
1529
+ </label>
1530
+ </div>
1531
+ </fieldset>
1532
+ <fieldset class="form-group">
1533
+ <legend class="mt-4">Checkboxes</legend>
1534
+ <div class="form-check">
1535
+ <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault">
1536
+ <label class="form-check-label" for="flexCheckDefault">
1537
+ Default checkbox
1538
+ </label>
1539
+ </div>
1540
+ <div class="form-check">
1541
+ <input class="form-check-input" type="checkbox" value="" id="flexCheckChecked" checked="">
1542
+ <label class="form-check-label" for="flexCheckChecked">
1543
+ Checked checkbox
1544
+ </label>
1545
+ </div>
1546
+ </fieldset>
1547
+ <fieldset>
1548
+ <legend class="mt-4">Switches</legend>
1549
+ <div class="form-check form-switch">
1550
+ <input class="form-check-input" type="checkbox" id="flexSwitchCheckDefault">
1551
+ <label class="form-check-label" for="flexSwitchCheckDefault">Default switch checkbox input</label>
1552
+ </div>
1553
+ <div class="form-check form-switch">
1554
+ <input class="form-check-input" type="checkbox" id="flexSwitchCheckChecked" checked="">
1555
+ <label class="form-check-label" for="flexSwitchCheckChecked">Checked switch checkbox input</label>
1556
+ </div>
1557
+ </fieldset>
1558
+ <fieldset class="form-group">
1559
+ <legend class="mt-4">Ranges</legend>
1560
+ <label for="customRange1" class="form-label">Example range</label>
1561
+ <input type="range" class="form-range" id="customRange1">
1562
+ <label for="disabledRange" class="form-label">Disabled range</label>
1563
+ <input type="range" class="form-range" id="disabledRange" disabled="">
1564
+ <label for="customRange3" class="form-label">Example range</label>
1565
+ <input type="range" class="form-range" min="0" max="5" step="0.5" id="customRange3">
1566
+ </fieldset>
1567
+ <!-- button type="submit" class="btn btn-primary">Submit</button -->
1568
+ </fieldset>
1569
+ </form>
1570
+ </div>
1571
+ ++++
1572
+
1573
+ === Bootstrap Inputs
1574
+
1575
+ ++++
1576
+ <div class="doc-example mb-3">
1577
+ <div class="form-group">
1578
+ <fieldset disabled="">
1579
+ <label class="form-label" for="disabledInput">Disabled input</label>
1580
+ <input class="form-control" id="disabledInput" type="text" placeholder="Disabled input here..." disabled="">
1581
+ </fieldset>
1582
+ </div>
1583
+
1584
+ <div class="form-group">
1585
+ <fieldset>
1586
+ <label class="form-label mt-4" for="readOnlyInput">Readonly input</label>
1587
+ <input class="form-control" id="readOnlyInput" type="text" placeholder="Readonly input here..." readonly="">
1588
+ </fieldset>
1589
+ </div>
1590
+
1591
+ <div class="form-group has-success">
1592
+ <label class="form-label mt-4" for="inputValid">Valid input</label>
1593
+ <input type="text" value="correct value" class="form-control is-valid" id="inputValid">
1594
+ <div class="valid-feedback">Success! You've done it.</div>
1595
+ </div>
1596
+
1597
+ <div class="form-group has-danger">
1598
+ <label class="form-label mt-4" for="inputInvalid">Invalid input</label>
1599
+ <input type="text" value="wrong value" class="form-control is-invalid" id="inputInvalid">
1600
+ <div class="invalid-feedback">Sorry, that username's taken. Try another?</div>
1601
+ </div>
1602
+
1603
+ <div class="form-group">
1604
+ <label class="col-form-label col-form-label-lg mt-4" for="inputLarge">Large input</label>
1605
+ <input class="form-control form-control-lg" type="text" placeholder=".form-control-lg" id="inputLarge">
1606
+ </div>
1607
+
1608
+ <div class="form-group">
1609
+ <label class="col-form-label mt-4" for="inputDefault">Default input</label>
1610
+ <input type="text" class="form-control" placeholder="Default input" id="inputDefault">
1611
+ </div>
1612
+
1613
+ <div class="form-group">
1614
+ <label class="col-form-label col-form-label-sm mt-4" for="inputSmall">Small input</label>
1615
+ <input class="form-control form-control-sm" type="text" placeholder=".form-control-sm" id="inputSmall">
1616
+ </div>
1617
+
1618
+ <div class="form-group">
1619
+ <label class="form-label mt-4">Input addons</label>
764
1620
  <div class="form-group">
765
- <input type="file" class="form-control-file" id="exampleFormControlFile1">
766
- <label for="exampleFormControlFile1" class="bmd-label-floating">Example file input</label>
1621
+ <div class="input-group mb-3">
1622
+ <span class="input-group-text">$</span>
1623
+ <input type="text" class="form-control" aria-label="Amount (to the nearest dollar)">
1624
+ <span class="input-group-text">.00</span>
1625
+ </div>
1626
+ <div class="input-group mb-3">
1627
+ <input type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="button-addon2">
1628
+ <button class="btn btn-primary" type="button" id="button-addon2">Button</button>
1629
+ </div>
767
1630
  </div>
768
- </form>
1631
+ </div>
1632
+
1633
+ <div class="form-group">
1634
+ <label class="form-label mt-4">Floating labels</label>
1635
+ <div class="form-floating mb-3">
1636
+ <input type="email" class="form-control" id="floatingInput" placeholder="name@example.com">
1637
+ <label for="floatingInput">Email address</label>
1638
+ </div>
1639
+ <div class="form-floating">
1640
+ <input type="password" class="form-control" id="floatingPassword" placeholder="Password">
1641
+ <label for="floatingPassword">Password</label>
1642
+ </div>
1643
+ </div>
769
1644
  </div>
770
1645
  ++++
1646
+ endif::[]
1647
+ endif::[]
771
1648
 
1649
+ ifeval::[{navs} == true]
772
1650
  == Navs
773
1651
 
774
- Navigation available in Bootstrap share general markup and styles, from the
1652
+ Navigation available in Bootstrap shares general markup and styles, from the
775
1653
  base .nav class to the active and disabled states. Swap modifier classes to
776
1654
  switch between each style.
777
1655
 
778
- The base .nav component is built with flexbox and provide a strong foundation
779
- for building all types of navigation components. It includes some style
780
- overrides (for working with lists), some link padding for larger hit areas,
1656
+ The base .nav component is built with a flexbox and provides a strong foundation
1657
+ for building all navigation components. It includes some style
1658
+ overrides (for working with lists), link padding for larger hit areas,
781
1659
  and basic disabled styling.
782
1660
 
783
1661
  mdi:bootstrap[24px, mdi-md-deep-purple]
784
1662
  link:{url-bs-docs--components-navs}[Bootstrap Docs {char-middot} Navs, {browser-window--new}]
785
1663
 
1664
+ ifeval::[{navs_tabs} == true]
786
1665
  === Tabs
787
1666
 
788
1667
  Tabs takes the basic nav from above and adds the .nav-tabs class to generate
@@ -791,29 +1670,29 @@ JavaScript plugin.
791
1670
 
792
1671
  ++++
793
1672
  <div class="doc-example mb-3">
794
- <ul class="nav nav-tabs">
1673
+ <ul class="nav nav-tabs mb-3">
795
1674
  <li class="nav-item">
796
- <a class="nav-link active" data-toggle="tab" href="#home">Home</a>
1675
+ <a class="nav-link active" data-bs-toggle="tab" href="#home">Home</a>
797
1676
  </li>
798
1677
  <li class="nav-item">
799
- <a class="nav-link" data-toggle="tab" href="#profile">Profile</a>
1678
+ <a class="nav-link" data-bs-toggle="tab" href="#profile">Profile</a>
800
1679
  </li>
801
1680
  <li class="nav-item dropdown">
802
- <a href="#void" class="nav-link dropdown-toggle" data-toggle="dropdown"
1681
+ <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown"
803
1682
  role="button"
804
1683
  aria-haspopup="true" aria-expanded="false">
805
1684
  Dropdown
806
1685
  </a>
807
1686
  <div class="dropdown-menu">
808
- <a href="#void" class="dropdown-item">Action</a>
809
- <a href="#void" class="dropdown-item">Another action</a>
810
- <a href="#void" class="dropdown-item">Something else here</a>
1687
+ <a href="#" class="dropdown-item">Action</a>
1688
+ <a href="#" class="dropdown-item">Another action</a>
1689
+ <a href="#" class="dropdown-item">Something else here</a>
811
1690
  <div class="dropdown-divider"></div>
812
- <a href="#void" class="dropdown-item">Separated link</a>
1691
+ <a href="#" class="dropdown-item">Separated link</a>
813
1692
  </div>
814
1693
  </li>
815
1694
  <li class="nav-item">
816
- <a href="#void" class="nav-link disabled">Disabled</a>
1695
+ <a href="#" class="nav-link disabled">Disabled</a>
817
1696
  </li>
818
1697
  </ul>
819
1698
  <div id="myTabContent" class="tab-content">
@@ -832,8 +1711,9 @@ JavaScript plugin.
832
1711
  </div>
833
1712
  </div>
834
1713
  ++++
1714
+ endif::[]
835
1715
 
836
-
1716
+ ifeval::[{navs_pills} == true]
837
1717
  === Pills
838
1718
 
839
1719
  Take that same HTML as Tabs, but use .nav-pills class instead.
@@ -846,23 +1726,23 @@ Take that same HTML as Tabs, but use .nav-pills class instead.
846
1726
  <h4 class="notoc">Standard Pills</h4>
847
1727
  <ul class="nav nav-pills">
848
1728
  <li class="nav-item mr-1 mb-2">
849
- <a href="#void" class="nav-link active">Active</a>
1729
+ <a href="#" class="nav-link active">Active</a>
850
1730
  </li>
851
1731
  <li class="nav-item dropdown mr-1">
852
- <a href="#void" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
1732
+ <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
853
1733
  <div class="dropdown-menu">
854
- <a href="#void" class="dropdown-item">Action</a>
855
- <a href="#void" class="dropdown-item">Another action</a>
856
- <a href="#void" class="dropdown-item">Something else here</a>
1734
+ <a href="#" class="dropdown-item">Action</a>
1735
+ <a href="#" class="dropdown-item">Another action</a>
1736
+ <a href="#" class="dropdown-item">Something else here</a>
857
1737
  <div class="dropdown-divider"></div>
858
- <a href="#void" class="dropdown-item">Separated link</a>
1738
+ <a href="#" class="dropdown-item">Separated link</a>
859
1739
  </div>
860
1740
  </li>
861
1741
  <li class="nav-item mr-1 mb-2">
862
- <a href="#void" class="nav-link">Link</a>
1742
+ <a href="#" class="nav-link">Link</a>
863
1743
  </li>
864
1744
  <li class="nav-item mr-1 mb-2">
865
- <a href="#void" class="nav-link disabled">Disabled</a>
1745
+ <a href="#" class="nav-link disabled">Disabled</a>
866
1746
  </li>
867
1747
  </ul>
868
1748
  </div>
@@ -870,30 +1750,32 @@ Take that same HTML as Tabs, but use .nav-pills class instead.
870
1750
  <h5 class="notoc">Stacked Pills (vertical)</h5>
871
1751
  <ul class="nav nav-pills flex-column mb-4">
872
1752
  <li class="nav-item mb-2">
873
- <a href="#void" class="nav-link active">Active</a>
1753
+ <a href="#" class="nav-link active">Active</a>
874
1754
  </li>
875
1755
  <li class="nav-item dropdown mb-1">
876
- <a href="#void" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
1756
+ <a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown</a>
877
1757
  <div class="dropdown-menu">
878
- <a href="#void" class="dropdown-item">Action</a>
879
- <a href="#void" class="dropdown-item">Another action</a>
880
- <a href="#void" class="dropdown-item">Something else here</a>
1758
+ <a href="#" class="dropdown-item">Action</a>
1759
+ <a href="#" class="dropdown-item">Another action</a>
1760
+ <a href="#" class="dropdown-item">Something else here</a>
881
1761
  <div class="dropdown-divider"></div>
882
- <a href="#void" class="dropdown-item">Separated link</a>
1762
+ <a href="#" class="dropdown-item">Separated link</a>
883
1763
  </div>
884
1764
  </li>
885
1765
  <li class="nav-item mb-2">
886
- <a href="#void" class="nav-link">Link</a>
1766
+ <a href="#" class="nav-link">Link</a>
887
1767
  </li>
888
1768
  <li class="nav-item mb-2">
889
- <a href="#void" class="nav-link disabled">Disabled</a>
1769
+ <a href="#" class="nav-link disabled">Disabled</a>
890
1770
  </li>
891
1771
  </ul>
892
1772
  </div>
893
1773
  </div>
894
1774
  </div>
895
1775
  ++++
1776
+ endif::[]
896
1777
 
1778
+ ifeval::[{navs_breadcrumbs} == true]
897
1779
  === Breadcrumbs
898
1780
 
899
1781
  Breadcrumbs indicate the current page’s location within a navigational
@@ -907,17 +1789,19 @@ Separators are automatically added in CSS through ::before and content.
907
1789
  <li class="breadcrumb-item active">Home</li>
908
1790
  </ol>
909
1791
  <ol class="breadcrumb">
910
- <li class="breadcrumb-item"><a href="#void">Home</a></li>
1792
+ <li class="breadcrumb-item"><a href="#">Home</a></li>
911
1793
  <li class="breadcrumb-item active">Library</li>
912
1794
  </ol>
913
1795
  <ol class="breadcrumb">
914
- <li class="breadcrumb-item"><a href="#void">Home</a></li>
915
- <li class="breadcrumb-item"><a href="#void">Library</a></li>
1796
+ <li class="breadcrumb-item"><a href="#">Home</a></li>
1797
+ <li class="breadcrumb-item"><a href="#">Library</a></li>
916
1798
  <li class="breadcrumb-item active">Data</li>
917
1799
  </ol>
918
1800
  </div>
919
1801
  ++++
1802
+ endif::[]
920
1803
 
1804
+ ifeval::[{navs_pagination} == true]
921
1805
  === Pagination
922
1806
 
923
1807
  We use a large block of connected links for our pagination, making links
@@ -931,81 +1815,84 @@ it as a navigation section to screen readers and other assistive technologies.
931
1815
  <div>
932
1816
  <ul class="pagination">
933
1817
  <li class="page-item disabled">
934
- <a href="#void" class="page-link">&laquo;</a>
1818
+ <a href="#" class="page-link">&laquo;</a>
935
1819
  </li>
936
1820
  <li class="page-item active">
937
- <a href="#void" class="page-link">1</a>
1821
+ <a href="#" class="page-link">1</a>
938
1822
  </li>
939
1823
  <li class="page-item">
940
- <a href="#void" class="page-link">2</a>
1824
+ <a href="#" class="page-link">2</a>
941
1825
  </li>
942
1826
  <li class="page-item">
943
- <a href="#void" class="page-link">3</a>
1827
+ <a href="#" class="page-link">3</a>
944
1828
  </li>
945
1829
  <li class="page-item">
946
- <a href="#void" class="page-link">4</a>
1830
+ <a href="#" class="page-link">4</a>
947
1831
  </li>
948
1832
  <li class="page-item">
949
- <a href="#void" class="page-link">5</a>
1833
+ <a href="#" class="page-link">5</a>
950
1834
  </li>
951
1835
  <li class="page-item">
952
- <a href="#void" class="page-link">&raquo;</a>
1836
+ <a href="#" class="page-link">&raquo;</a>
953
1837
  </li>
954
1838
  </ul>
955
1839
  </div>
956
1840
  <div>
957
1841
  <ul class="pagination pagination-lg">
958
1842
  <li class="page-item disabled">
959
- <a href="#void" class="page-link">&laquo;</a>
1843
+ <a href="#" class="page-link">&laquo;</a>
960
1844
  </li>
961
1845
  <li class="page-item active">
962
- <a href="#void" class="page-link">1</a>
1846
+ <a href="#" class="page-link">1</a>
963
1847
  </li>
964
1848
  <li class="page-item">
965
- <a href="#void" class="page-link">2</a>
1849
+ <a href="#" class="page-link">2</a>
966
1850
  </li>
967
1851
  <li class="page-item">
968
- <a href="#void" class="page-link">3</a>
1852
+ <a href="#" class="page-link">3</a>
969
1853
  </li>
970
1854
  <li class="page-item">
971
- <a href="#void" class="page-link">4</a>
1855
+ <a href="#" class="page-link">4</a>
972
1856
  </li>
973
1857
  <li class="page-item">
974
- <a href="#void" class="page-link">5</a>
1858
+ <a href="#" class="page-link">5</a>
975
1859
  </li>
976
1860
  <li class="page-item">
977
- <a href="#void" class="page-link">&raquo;</a>
1861
+ <a href="#" class="page-link">&raquo;</a>
978
1862
  </li>
979
1863
  </ul>
980
1864
  </div>
981
1865
  <div>
982
1866
  <ul class="pagination pagination-sm">
983
1867
  <li class="page-item disabled">
984
- <a href="#void" class="page-link">&laquo;</a>
1868
+ <a href="#" class="page-link">&laquo;</a>
985
1869
  </li>
986
1870
  <li class="page-item active">
987
- <a href="#void" class="page-link">1</a>
1871
+ <a href="#" class="page-link">1</a>
988
1872
  </li>
989
1873
  <li class="page-item">
990
- <a href="#void" class="page-link">2</a>
1874
+ <a href="#" class="page-link">2</a>
991
1875
  </li>
992
1876
  <li class="page-item">
993
- <a href="#void" class="page-link">3</a>
1877
+ <a href="#" class="page-link">3</a>
994
1878
  </li>
995
1879
  <li class="page-item">
996
- <a href="#void" class="page-link">4</a>
1880
+ <a href="#" class="page-link">4</a>
997
1881
  </li>
998
1882
  <li class="page-item">
999
- <a href="#void" class="page-link">5</a>
1883
+ <a href="#" class="page-link">5</a>
1000
1884
  </li>
1001
1885
  <li class="page-item">
1002
- <a href="#void" class="page-link">&raquo;</a>
1886
+ <a href="#" class="page-link">&raquo;</a>
1003
1887
  </li>
1004
1888
  </ul>
1005
1889
  </div>
1006
1890
  </div>
1007
1891
  ++++
1892
+ endif::[]
1893
+ endif::[]
1008
1894
 
1895
+ ifeval::[{indicators} == true]
1009
1896
  == Indicators
1010
1897
 
1011
1898
  With Bootstrap, indicators are elememts to raise the users awareness. Alerts
@@ -1013,6 +1900,7 @@ are dynamic elememts that can be used to *indicate* success or something went
1013
1900
  wrong. Contrasting *Badges, static BS elememts, to raise attention e.g for
1014
1901
  something *new*.
1015
1902
 
1903
+ ifeval::[{indicators_alerts} == true]
1016
1904
  === Alerts
1017
1905
 
1018
1906
  Alerts provide contextual feedback messages for typical user actions with the
@@ -1027,39 +1915,42 @@ mdi:bootstrap[24px, mdi-md-deep-purple]
1027
1915
  link:{url-bs-docs--components-alerts}[Bootstrap Docs {char-middot} Alerts, {browser-window--new}]
1028
1916
 
1029
1917
  ++++
1030
- <div class="doc-example mb-3">
1031
- <div class="row mb-3">
1918
+ <div class="doc-example">
1919
+ <div class="row">
1032
1920
  <div class="col-md-12">
1033
- <div class="alert alert-dismissible alert-warning">
1034
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1921
+ <div class="alert alert-warning alert-dismissible" role="alert">
1035
1922
  <h4 class="alert-heading notoc">Warning!</h4>
1036
- <p class="mb-0">Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna, <a href="#void" class="alert-link">vel scelerisque nisl consectetur et</a>.</p>
1923
+ <p class="mb-0">Best check yo self, you're not looking too good. Nulla vitae elit libero, a pharetra augue. Praesent commodo cursus magna,
1924
+ <a href="#" class="alert-link">vel scelerisque nisl consectetur et</a>.</p>
1925
+ <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
1037
1926
  </div>
1038
1927
  </div>
1039
1928
  </div>
1040
- <div class="row mb-5">
1929
+ <div class="row">
1041
1930
  <div class="col-md-4">
1042
- <div class="alert alert-dismissible alert-danger">
1043
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1044
- <strong>Oh snap!</strong> <a href="#void" class="alert-link">Change a few things up</a> and try submitting again.
1931
+ <div class="alert alert-danger alert-dismissible" role="alert">
1932
+ <strong>Oh snap!</strong> <a href="#" class="alert-link">Change a few things up</a> and try submitting again.
1933
+ <button type="button" class="btn-close" data-bs-dismiss="alert"</button>
1045
1934
  </div>
1046
1935
  </div>
1047
1936
  <div class="col-md-4">
1048
- <div class="alert alert-dismissible alert-success">
1049
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1050
- <strong>Well done!</strong> You successfully read <a href="#void" class="alert-link">this important alert message</a>.
1937
+ <div class="alert alert-success alert-dismissible" role="alert">
1938
+ <strong>Well done!</strong> You successfully read <a href="#" class="alert-link">this important alert message</a>.
1939
+ <button type="button" class="btn-close" data-bs-dismiss="alert"</button>
1051
1940
  </div>
1052
1941
  </div>
1053
1942
  <div class="col-md-4">
1054
- <div class="alert alert-dismissible alert-info">
1055
- <button type="button" class="close" data-dismiss="alert">&times;</button>
1056
- <strong>Heads up!</strong> This <a href="#void" class="alert-link">alert needs your attention</a>, but it's not super important.
1943
+ <div class="alert alert-info alert-dismissible" role="alert">
1944
+ <strong>Heads up!</strong> This <a href="#" class="alert-link">alert needs your attention</a>, but it's not super important.
1945
+ <button type="button" class="btn-close" data-bs-dismiss="alert"</button>
1057
1946
  </div>
1058
1947
  </div>
1059
1948
  </div>
1060
1949
  </div>
1061
1950
  ++++
1951
+ endif::[]
1062
1952
 
1953
+ ifeval::[{indicators_badges} == true]
1063
1954
  === Badges
1064
1955
 
1065
1956
  Badges are small count and labeling components. They scale to match the size
@@ -1076,42 +1967,44 @@ mdi:bootstrap[24px, mdi-md-deep-purple]
1076
1967
  link:{url-bs-docs--components-badges}[Bootstrap Docs {char-middot} Badge, {browser-window--new}]
1077
1968
 
1078
1969
  ++++
1079
- <div class="doc-example mb-3">
1970
+ <div class="doc-example">
1080
1971
  <div class="bs-component mb-3">
1081
- <span class="badge badge-primary">Primary</span>
1082
- <span class="badge badge-secondary">Secondary</span>
1083
- <span class="badge badge-success">Success</span>
1084
- <span class="badge badge-danger">Danger</span>
1085
- <span class="badge badge-warning">Warning</span>
1086
- <span class="badge badge-info">Info</span>
1087
- <span class="badge badge-light">Light</span>
1088
- <span class="badge badge-dark">Dark</span>
1089
- </div>
1090
- <div class="bs-component mb-4">
1091
- <span class="badge badge-pill badge-primary">Primary</span>
1092
- <span class="badge badge-pill badge-secondary">Secondary</span>
1093
- <span class="badge badge-pill badge-success">Success</span>
1094
- <span class="badge badge-pill badge-danger">Danger</span>
1095
- <span class="badge badge-pill badge-warning">Warning</span>
1096
- <span class="badge badge-pill badge-info">Info</span>
1097
- <span class="badge badge-pill badge-light">Light</span>
1098
- <span class="badge badge-pill badge-dark">Dark</span>
1972
+ <span class="badge bg-primary">Primary</span>
1973
+ <span class="badge bg-secondary">Secondary</span>
1974
+ <span class="badge bg-success">Success</span>
1975
+ <span class="badge bg-danger">Danger</span>
1976
+ <span class="badge bg-warning">Warning</span>
1977
+ <span class="badge bg-info">Info</span>
1978
+ <span class="badge bg-light">Light</span>
1979
+ <span class="badge bg-dark">Dark</span>
1980
+ </div>
1981
+ <div class="bs-component">
1982
+ <span class="badge rounded-pill bg-primary">Primary</span>
1983
+ <span class="badge rounded-pill bg-secondary">Secondary</span>
1984
+ <span class="badge rounded-pill bg-success">Success</span>
1985
+ <span class="badge rounded-pill bg-danger">Danger</span>
1986
+ <span class="badge rounded-pill bg-warning">Warning</span>
1987
+ <span class="badge rounded-pill bg-info">Info</span>
1988
+ <span class="badge rounded-pill bg-light">Light</span>
1989
+ <span class="badge rounded-pill bg-dark">Dark</span>
1099
1990
  </div>
1100
1991
  </div>
1101
1992
  ++++
1993
+ endif::[]
1994
+ endif::[]
1102
1995
 
1103
- ifdef::scrollbars[]
1104
- === Scrollbars
1996
+ ifeval::[{scrollbars} == true]
1997
+ == Scrollbars
1105
1998
 
1106
1999
  Chromium-based browsers like Chrome, Edge, Safari or Opera support the *webkit*
1107
2000
  `::-webkit-scrollbar` pseudo element, which allows to modify the look of the
1108
2001
  browser's scrollbar.
1109
2002
 
1110
- NOTE: Custom (webkit-based) scrollbars are not supported with the Firefox
2003
+ NOTE: Custom webkit-based scrollbars are *not* supported with the *Firefox*
1111
2004
  browser.
1112
2005
 
1113
- .Default scrollbar J1 Template
1114
- [source, css, role="noclip"]
2006
+ .Default scrollbar (J1 Template)
2007
+ [source, css]
1115
2008
  ----
1116
2009
  ::-webkit-scrollbar {
1117
2010
  width: 12px;
@@ -1128,76 +2021,53 @@ browser.
1128
2021
  }
1129
2022
  ----
1130
2023
 
1131
- For J1 Template, following flavours are implemented.
2024
+ For the following flavours are implemented.
1132
2025
 
1133
2026
  [subs="attributes"]
1134
2027
  ++++
1135
- <div>
1136
- <div class="row">
1137
- <div class="scrollbar" id="style-default">
1138
- <div class="force-overflow"></div>
1139
- </div>
1140
-
1141
- <div class="scrollbar scroller-1">
1142
- <div class="force-overflow"></div>
1143
- </div>
1144
-
1145
- <div class="scrollbar scroller-2">
1146
- <div class="force-overflow"></div>
1147
- </div>
1148
-
1149
- <div class="scrollbar scroller-3">
1150
- <div class="force-overflow"></div>
1151
- </div>
1152
-
1153
- <div class="scrollbar scroller-4">
1154
- <div class="force-overflow"></div>
1155
- </div>
1156
- </div>
1157
-
1158
- <div class="row">
1159
- <div class="scrollbar scroller-5">
1160
- <div class="force-overflow"></div>
1161
- </div>
1162
-
1163
- <div class="scrollbar scroller-6">
1164
- <div class="force-overflow"></div>
1165
- </div>
1166
-
1167
- <div class="scrollbar scroller-7">
1168
- <div class="force-overflow"></div>
1169
- </div>
1170
-
1171
- <div class="scrollbar scroller-8">
1172
- <div class="force-overflow"></div>
1173
- </div>
1174
-
1175
- <div class="scrollbar scroller-9">
1176
- <div class="force-overflow"></div>
1177
- </div>
1178
- </div>
1179
-
1180
- <div class="row">
1181
- <div class="scrollbar scroller-10">
1182
- <div class="force-overflow"></div>
1183
- </div>
1184
-
1185
- <div class="scrollbar scroller-11">
1186
- <div class="force-overflow"></div>
1187
- </div>
1188
-
1189
- <div class="scrollbar scroller-13">
1190
- <div class="force-overflow"></div>
2028
+ <div class="doc-example mb-3">
2029
+ <div class="row">
2030
+ <div class="scrollbar" id="style-default">
2031
+ <div class="force-overflow"></div>
2032
+ </div>
2033
+ <div class="scrollbar scroller-1">
2034
+ <div class="force-overflow"></div>
2035
+ </div>
2036
+ <div class="scrollbar scroller-2">
2037
+ <div class="force-overflow"></div>
2038
+ </div>
2039
+ <div class="scrollbar scroller-3">
2040
+ <div class="force-overflow"></div>
2041
+ </div>
2042
+ <div class="scrollbar scroller-4">
2043
+ <div class="force-overflow"></div>
2044
+ </div><div class="scrollbar scroller-5">
2045
+ <div class="force-overflow"></div>
2046
+ </div><div class="scrollbar scroller-6">
2047
+ <div class="force-overflow"></div>
2048
+ </div>
1191
2049
  </div>
1192
2050
 
1193
- <div class="scrollbar scroller-14">
1194
- <div class="force-overflow"></div>
2051
+ <div class="row">
2052
+ <div class="scrollbar scroller-7">
2053
+ <div class="force-overflow"></div>
2054
+ </div>
2055
+ <div class="scrollbar scroller-8">
2056
+ <div class="force-overflow"></div>
2057
+ </div>
2058
+ <div class="scrollbar scroller-9">
2059
+ <div class="force-overflow"></div>
2060
+ </div><div class="scrollbar scroller-10">
2061
+ <div class="force-overflow"></div>
2062
+ </div><div class="scrollbar scroller-11">
2063
+ <div class="force-overflow"></div>
2064
+ </div><div class="scrollbar scroller-12">
2065
+ <div class="force-overflow"></div>
2066
+ </div><div class="scrollbar scroller-14">
2067
+ <div class="force-overflow"></div>
2068
+ </div>
1195
2069
  </div>
1196
2070
 
1197
- <div class="scrollbar scroller-15">
1198
- <div class="force-overflow"></div>
1199
- </div>
1200
- </div>
1201
2071
  </div>
1202
2072
 
1203
2073
  <!-- script>
@@ -1209,6 +2079,7 @@ if (!$.browser.webkit) {
1209
2079
  ++++
1210
2080
  endif::[]
1211
2081
 
2082
+ ifeval::[{progress} == true]
1212
2083
  == Progress
1213
2084
 
1214
2085
  Bootstrap custom progress bars featuring support for stacked bars, animated
@@ -1220,6 +2091,7 @@ and place text labels over them.
1220
2091
  mdi:bootstrap[24px, mdi-md-deep-purple]
1221
2092
  link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {browser-window--new}]
1222
2093
 
2094
+ ifeval::[{progress_basic} == true]
1223
2095
  === Basic
1224
2096
 
1225
2097
  ++++
@@ -1231,7 +2103,7 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1231
2103
  ++++
1232
2104
 
1233
2105
  .Basic progressbar
1234
- [source, html, role="noclip"]
2106
+ [source, html]
1235
2107
  ----
1236
2108
  <div class="progress">
1237
2109
  <div class="progress-bar" role="progressbar"
@@ -1242,7 +2114,9 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1242
2114
  </div>
1243
2115
  </div>
1244
2116
  ----
2117
+ endif::[]
1245
2118
 
2119
+ ifeval::[{progress_contextual_alternatives} == true]
1246
2120
  === Contextual alternatives
1247
2121
 
1248
2122
  ++++
@@ -1263,7 +2137,7 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1263
2137
  ++++
1264
2138
 
1265
2139
  .Progressbar SUCCESS
1266
- [source, html, role="noclip"]
2140
+ [source, html]
1267
2141
  ----
1268
2142
  <div class="progress">
1269
2143
  <div class="progress-bar bg-success" role="progressbar"
@@ -1274,7 +2148,9 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1274
2148
  </div>
1275
2149
  </div>
1276
2150
  ----
2151
+ endif::[]
1277
2152
 
2153
+ ifeval::[{progress_multiple_bars} == true]
1278
2154
  === Multiple bars
1279
2155
 
1280
2156
  ++++
@@ -1286,7 +2162,9 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1286
2162
  </div>
1287
2163
  </div>
1288
2164
  ++++
2165
+ endif::[]
1289
2166
 
2167
+ ifeval::[{progress_striped} == true]
1290
2168
  === Striped
1291
2169
 
1292
2170
  ++++
@@ -1308,7 +2186,9 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1308
2186
  </div>
1309
2187
  </div>
1310
2188
  ++++
2189
+ endif::[]
1311
2190
 
2191
+ ifeval::[{progress_animated} == true]
1312
2192
  === Animated
1313
2193
 
1314
2194
  ++++
@@ -1318,107 +2198,118 @@ link:{url-bs-docs--components-progress}[Bootstrap Docs {char-middot} Progress, {
1318
2198
  </div>
1319
2199
  </div>
1320
2200
  ++++
2201
+ endif::[]
2202
+ endif::[]
1321
2203
 
1322
- == Containers
1323
-
1324
- In sense of Bootstrap, *containers* are more complex, eye-catching elements to
1325
- showcase facts or topics of a site. Typical elements are:
1326
-
1327
- * Jumbotron
1328
- * Lists
1329
- * Cards
1330
-
1331
- Find below examples how BS can support the users awarenes.
2204
+ ifeval::[{list_group} == true]
2205
+ == List Group
1332
2206
 
2207
+ mdi:bootstrap[24px, mdi-md-deep-purple]
2208
+ link:{url-bs-docs--components-badges}[Bootstrap Docs {char-middot} List group, {browser-window--new}]
1333
2209
 
1334
- === Jumbotron
2210
+ List groups are a flexible and powerful component for displaying a *series*
2211
+ of content within an *single* HTML element.
1335
2212
 
1336
- Lightweight, flexible component for showcasing hero unit style content.
2213
+ ifeval::[{list_group_basic} == true]
2214
+ === Basic
1337
2215
 
1338
- mdi:bootstrap[24px, mdi-md-deep-purple]
1339
- link:{url-bs-docs--components-jumbotron}[Bootstrap Docs {char-middot} Jumbotron, {browser-window--new}]
2216
+ The most basic list group is an unordered list with simple list items. Build
2217
+ upon it with the options that follow, or with your own CSS as needed.
1340
2218
 
1341
2219
  ++++
1342
2220
  <div class="doc-example mb-3">
1343
- <div class="jumbotron">
1344
- <h1 class="display-3">Hello, world!</h1>
1345
- <p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
1346
- <hr class="my-4">
1347
- <p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
1348
- <p class="lead">
1349
- <a href="#void" class="btn btn-primary btn-raised btn-lg" role="button">Learn more</a>
1350
- </p>
1351
- </div>
2221
+ <ul class="list-group">
2222
+ <li class="list-group-item">An item</li>
2223
+ <li class="list-group-item">A second item</li>
2224
+ <li class="list-group-item">A third item</li>
2225
+ <li class="list-group-item">A fourth item</li>
2226
+ <li class="list-group-item">And a fifth one</li>
2227
+ </ul>
1352
2228
  </div>
1353
2229
  ++++
1354
2230
 
1355
- === List groups
2231
+ .Basic list group
2232
+ [source, html]
2233
+ ----
2234
+ <div>
2235
+ <ul class="list-group">
2236
+ <li class="list-group-item">An item</li>
2237
+ <li class="list-group-item">A second item</li>
2238
+ <li class="list-group-item">A third item</li>
2239
+ <li class="list-group-item">A fourth item</li>
2240
+ <li class="list-group-item">And a fifth one</li>
2241
+ </ul>
2242
+ </div>
2243
+ ----
2244
+ endif::[]
1356
2245
 
1357
- List groups are a flexible and powerful component for displaying a series of
1358
- content. Modify and extend them to support just about any content within.
2246
+ ifeval::[{list_group_action} == true]
2247
+ === Actionable
1359
2248
 
1360
- mdi:bootstrap[24px, mdi-md-deep-purple]
1361
- link:{url-bs-docs--components-list_group}[Bootstrap Docs {char-middot} List group, {browser-window--new}]
2249
+ Use `<a>` or `<button>` elements to create *actionable* list group items with
2250
+ hover, disabled, and active states by adding `.list-group-item-action`.
2251
+ We separate these pseudo-classes to ensure list groups made of non-interactive
2252
+ elements (like `<li>` or `<div>` elements) don’t provide a click or tap
2253
+ affordance.
1362
2254
 
1363
2255
  ++++
1364
2256
  <div class="doc-example mb-3">
1365
- <div class="row mb-5">
1366
- <div class="col-md-4">
1367
- <ul class="list-group">
1368
- <li class="list-group-item d-flex justify-content-between align-items-center">
1369
- Describe item #1
1370
- <span class="badge badge-primary badge-pill">14</span>
1371
- </li>
1372
- <li class="list-group-item d-flex justify-content-between align-items-center">
1373
- Describe item #2
1374
- <span class="badge badge-primary badge-pill">2</span>
1375
- </li>
1376
- <li class="list-group-item d-flex justify-content-between align-items-center">
1377
- Describe item #3
1378
- <span class="badge badge-primary badge-pill">1</span>
1379
- </li>
1380
- </ul>
1381
- </div>
1382
-
1383
- <div class="col-md-4">
1384
- <div class="list-group">
1385
- <a href="#void" class="list-group-item list-group-item-action active">
1386
- Describe item #1
1387
- </a>
1388
- <a href="#void" class="list-group-item list-group-item-action">Describe item #2
1389
- </a>
1390
- <a href="#void" class="list-group-item list-group-item-action disabled">Describe item #3
1391
- </a>
1392
- </div>
1393
- </div>
1394
-
1395
- <div class="col-md-4">
1396
- <div class="list-group">
1397
- <a href="#void" class="list-group-item list-group-item-action flex-column align-items-start active">
1398
- <div class="d-flex w-100 justify-content-between">
1399
- <h4 class="mb-1 notoc">List group item heading</h4>
1400
- <small>3 days ago</small>
1401
- </div>
1402
- <p class="mb-1">Some quick example text to build on a list and make up the bulk of the list group's content.</p>
1403
- <small>Summarize whats all about.</small>
1404
- </a>
1405
- <a href="#void" class="list-group-item list-group-item-action flex-column align-items-start">
1406
- <div class="d-flex w-100 justify-content-between">
1407
- <h5 class="mb-1 notoc">List group item heading</h5>
1408
- <small class="text-muted">3 days ago</small>
1409
- </div>
1410
- <p class="mb-1">Some quick example text to build on a list and make up the bulk of the list group's content.</p>
1411
- <small class="text-muted">Summarize whats all about.</small>
1412
- </a>
1413
- </div>
1414
- </div>
1415
-
2257
+ <div class="list-group">
2258
+ <a href="#" class="list-group-item list-group-item-action active" aria-current="true"> The current link item </a>
2259
+ <a href="#" class="list-group-item list-group-item-action">A second link item</a>
2260
+ <a href="#" class="list-group-item list-group-item-action">A third link item</a>
2261
+ <a href="#" class="list-group-item list-group-item-action">A fourth link item</a>
2262
+ <a href="#" class="list-group-item list-group-item-action disabled" tabindex="-1" aria-disabled="true">A disabled link item</a>
1416
2263
  </div>
1417
2264
  </div>
1418
2265
  ++++
1419
2266
 
2267
+ .Actionable list group
2268
+ [source, html]
2269
+ ----
2270
+ <div class="list-group">
2271
+ <a href="#" class="list-group-item list-group-item-action active"
2272
+ aria-current="true"> The current link item </a>
2273
+ <a href="#" class="list-group-item list-group-item-action">
2274
+ A second link item</a>
2275
+ <a href="#" class="list-group-item list-group-item-action">
2276
+ A third link item</a>
2277
+ <a href="#" class="list-group-item list-group-item-action">
2278
+ A fourth link item</a>
2279
+ <a href="#" class="list-group-item list-group-item-action
2280
+ disabled" tabindex="-1"
2281
+ aria-disabled="true">
2282
+ A disabled link item</a>
2283
+ </div>
2284
+ ----
2285
+ endif::[]
1420
2286
 
1421
- === Cards
2287
+ // === Numbered
2288
+ //
2289
+ // Add the .list-group-numbered modifier class (and optionally use an
2290
+ // <ol> element) to opt into numbered list group items. Numbers are
2291
+ // generated via CSS (as opposed to a <ol>s default browser styling) for
2292
+ // better placement inside list group items and to allow for better
2293
+ // customization.
2294
+ //
2295
+ // Numbers are generated by counter-reset on the <ol>, and then styled
2296
+ // and placed with a ::before pseudo-element on the <li> with counter-increment
2297
+ // and content.
2298
+
2299
+ // === With badges
2300
+ //
2301
+ // Add badges to any list group item to show unread counts, activity, and more
2302
+ // with the help of some utilities.
2303
+
2304
+ // === Custom content
2305
+ //
2306
+ // Add nearly any HTML within, even for linked list groups like the one below,
2307
+ // with the help of flexbox utilities.
2308
+
2309
+ endif::[]
2310
+
2311
+ ifeval::[{cards} == true]
2312
+ == Cards
1422
2313
 
1423
2314
  Bootstrap’s cards provide a flexible and extensible content container with
1424
2315
  multiple variants and options. A card is a flexible and extensible content
@@ -1437,7 +2328,8 @@ They have no margin by default, so use spacing utilities as needed.
1437
2328
  mdi:bootstrap[24px, mdi-md-deep-purple]
1438
2329
  link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser-window--new}]
1439
2330
 
1440
- ==== Simple cards
2331
+ ifeval::[{cards_simple} == true]
2332
+ === Simple cards
1441
2333
  ++++
1442
2334
  <div class="doc-example mb-3">
1443
2335
 
@@ -1448,8 +2340,8 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1448
2340
  <h4 class="card-title notoc">Card title</h4>
1449
2341
  <h5 class="card-subtitle mb-2 text-muted notoc">Card subtitle</h5>
1450
2342
  <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
1451
- <a href="#void" class="card-link">Card link</a>
1452
- <a href="#void" class="card-link">Another link</a>
2343
+ <a href="#" class="card-link">Card link</a>
2344
+ <a href="#" class="card-link">Another link</a>
1453
2345
  </div>
1454
2346
  </div>
1455
2347
  </div>
@@ -1459,8 +2351,8 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1459
2351
  <h4 class="card-title notoc">Card title</h4>
1460
2352
  <h6 class="card-subtitle mb-2 text-muted notoc">Card subtitle</h6>
1461
2353
  <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
1462
- <a href="#void" class="card-link">Card link</a>
1463
- <a href="#void" class="card-link">Another link</a>
2354
+ <a href="#" class="card-link">Card link</a>
2355
+ <a href="#" class="card-link">Another link</a>
1464
2356
  </div>
1465
2357
  </div>
1466
2358
  </div>
@@ -1470,8 +2362,8 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1470
2362
  <h4 class="card-title notoc">Card title</h4>
1471
2363
  <h6 class="card-subtitle mb-2 text-muted notoc">Card subtitle</h6>
1472
2364
  <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
1473
- <a href="#void" class="card-link">Card link</a>
1474
- <a href="#void" class="card-link">Another link</a>
2365
+ <a href="#" class="card-link">Card link</a>
2366
+ <a href="#" class="card-link">Another link</a>
1475
2367
  </div>
1476
2368
  </div>
1477
2369
  </div>
@@ -1525,7 +2417,7 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1525
2417
  </div>
1526
2418
  <div class="card-footer r-text-200">
1527
2419
  <a class="card-link bs-info font-weight-bold g-font-size-12 text-uppercase"
1528
- href="#void">Action · Footer Link
2420
+ href="#">Action · Footer Link
1529
2421
  </a>
1530
2422
  </div>
1531
2423
  </div>
@@ -1541,7 +2433,7 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1541
2433
  </div>
1542
2434
  <div class="card-footer r-text-200">
1543
2435
  <a class="card-link bs-warning font-weight-bold g-font-size-12 text-uppercase"
1544
- href="#void">Action · Footer Link
2436
+ href="#">Action · Footer Link
1545
2437
  </a>
1546
2438
  </div>
1547
2439
  </div>
@@ -1556,7 +2448,7 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1556
2448
  <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
1557
2449
  </div>
1558
2450
  <div class="card-footer r-text-200">
1559
- <a href="#void" class="card-link bs-danger font-weight-bold g-font-size-12 text-uppercase">
2451
+ <a href="#" class="card-link bs-danger font-weight-bold g-font-size-12 text-uppercase">
1560
2452
  Action · Footer Link
1561
2453
  </a>
1562
2454
  </div>
@@ -1565,8 +2457,10 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1565
2457
  </div>
1566
2458
  </div>
1567
2459
  ++++
2460
+ endif::[]
1568
2461
 
1569
- ==== Image cards
2462
+ ifeval::[{cards_image} == true]
2463
+ === Image cards
1570
2464
  ++++
1571
2465
  <div class="doc-example mb-3">
1572
2466
 
@@ -1616,8 +2510,8 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1616
2510
  </div>
1617
2511
 
1618
2512
  <div class="card-body">
1619
- <a href="#void" class="card-link">Card link</a>
1620
- <a href="#void" class="card-link">Another link</a>
2513
+ <a href="#" class="card-link">Card link</a>
2514
+ <a href="#" class="card-link">Another link</a>
1621
2515
  </div>
1622
2516
  <div class="card-footer text-muted">
1623
2517
  2 days ago
@@ -1627,12 +2521,16 @@ link:{url-bs-docs--components-cards}[Bootstrap Docs {char-middot} Card, {browser
1627
2521
  </div>
1628
2522
  </div>
1629
2523
  ++++
2524
+ endif::[]
2525
+ endif::[]
1630
2526
 
2527
+ ifeval::[{dialogs} == true]
1631
2528
  == Dialogs
1632
2529
 
1633
2530
  Dialogs are important, interactive UI (user interface) components in Bootstrap
1634
2531
  to *inform* visitor of an website.
1635
2532
 
2533
+ ifeval::[{dialogs_modals} == true]
1636
2534
  === Modals
1637
2535
 
1638
2536
  Use Bootstrap’s JavaScript modal plugin to add dialogs to your site for
@@ -1646,7 +2544,7 @@ link:{url-bs-docs--components-modal}[Bootstrap Docs {char-middot} Modal, {browse
1646
2544
 
1647
2545
  .Modal types
1648
2546
  [cols="2a,8a,2a", options="header", width="100%", role="rtable"]
1649
- |===============================================================================
2547
+ |===
1650
2548
  |Type |Description |Launch Example
1651
2549
 
1652
2550
  |*Base*
@@ -1657,9 +2555,9 @@ from the top of the page.
1657
2555
  <div class="ml-0">
1658
2556
  <!-- Button trigger modal -->
1659
2557
  <button type="button"
1660
- class="btn btn-primary btn-raised"
1661
- data-toggle="modal"
1662
- data-target="#exampleSimpleModal">
2558
+ class="btn btn-primary"
2559
+ data-bs-toggle="modal"
2560
+ data-bs-target="#exampleSimpleModal">
1663
2561
  Launch Example
1664
2562
  </button>
1665
2563
  </div>
@@ -1674,16 +2572,16 @@ from the top of the page.
1674
2572
  <div class="modal-content">
1675
2573
  <div class="modal-header">
1676
2574
  <h5 id="exampleSimpleModalLabel" class="modal-title notoc">Modal title</h5>
1677
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1678
- <span aria-hidden="true">&times;</span>
2575
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
2576
+ <span aria-hidden="true"</span>
1679
2577
  </button>
1680
2578
  </div>
1681
2579
  <div class="modal-body">
1682
2580
  <p>Modal body text goes here.</p>
1683
2581
  </div>
1684
2582
  <div class="modal-footer">
1685
- <button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
1686
- <button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
2583
+ <button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
2584
+ <button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
1687
2585
  </div>
1688
2586
  </div>
1689
2587
  </div>
@@ -1698,9 +2596,9 @@ it (the backdrop).
1698
2596
  <div class="ml-0">
1699
2597
  <!-- Button trigger modal -->
1700
2598
  <button type="button"
1701
- class="btn btn-primary btn-raised"
1702
- data-toggle="modal"
1703
- data-target="#exampleStaticModal">
2599
+ class="btn btn-primary"
2600
+ data-bs-toggle="modal"
2601
+ data-bs-target="#exampleStaticModal">
1704
2602
  Launch Example
1705
2603
  </button>
1706
2604
  </div>
@@ -1717,16 +2615,16 @@ it (the backdrop).
1717
2615
  <div class="modal-content">
1718
2616
  <div class="modal-header">
1719
2617
  <h5 id="exampleStatcModalLabel" class="modal-title notoc">Modal title</h5>
1720
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1721
- <span aria-hidden="true">&times;</span>
2618
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
2619
+ <span aria-hidden="true"</span>
1722
2620
  </button>
1723
2621
  </div>
1724
2622
  <div class="modal-body">
1725
2623
  <p>Modal body text goes here.</p>
1726
2624
  </div>
1727
2625
  <div class="modal-footer">
1728
- <button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
1729
- <button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
2626
+ <button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
2627
+ <button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
1730
2628
  </div>
1731
2629
  </div>
1732
2630
  </div>
@@ -1742,9 +2640,9 @@ the height.
1742
2640
  <div class="ml-0">
1743
2641
  <!-- Button trigger modal -->
1744
2642
  <button type="button"
1745
- class="btn btn-primary btn-raised"
1746
- data-toggle="modal"
1747
- data-target="#exampleModalLong">
2643
+ class="btn btn-primary"
2644
+ data-bs-toggle="modal"
2645
+ data-bs-target="#exampleModalLong">
1748
2646
  Launch Example
1749
2647
  </button>
1750
2648
  </div>
@@ -1760,8 +2658,8 @@ the height.
1760
2658
  <div class="modal-content">
1761
2659
  <div class="modal-header">
1762
2660
  <h5 id="exampleModalLongTitle" class="modal-title notoc">The Extremes of Good and Evil</h5>
1763
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1764
- <span aria-hidden="true">&times;</span>
2661
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
2662
+ <span aria-hidden="true"</span>
1765
2663
  </button>
1766
2664
  </div>
1767
2665
  <div class="modal-body">
@@ -1801,8 +2699,8 @@ the height.
1801
2699
  </p>
1802
2700
  </div>
1803
2701
  <div class="modal-footer">
1804
- <button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
1805
- <button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
2702
+ <button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
2703
+ <button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
1806
2704
  </div>
1807
2705
  </div>
1808
2706
  </div>
@@ -1817,9 +2715,9 @@ modal body. Try the demo and scroll the content.
1817
2715
  <div class="ml-0">
1818
2716
  <!-- Button trigger modal -->
1819
2717
  <button type="button"
1820
- class="btn btn-primary btn-raised"
1821
- data-toggle="modal"
1822
- data-target="#exampleModalLongScrollable">
2718
+ class="btn btn-primary"
2719
+ data-bs-toggle="modal"
2720
+ data-bs-target="#exampleModalLongScrollable">
1823
2721
  Launch Example
1824
2722
  </button>
1825
2723
  </div>
@@ -1835,8 +2733,8 @@ modal body. Try the demo and scroll the content.
1835
2733
  <div class="modal-content">
1836
2734
  <div class="modal-header">
1837
2735
  <h5 id="exampleModalLongScrollableTitle" class="modal-title notoc">The Extremes of Good and Evil</h5>
1838
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1839
- <span aria-hidden="true">&times;</span>
2736
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
2737
+ <span aria-hidden="true"</span>
1840
2738
  </button>
1841
2739
  </div>
1842
2740
  <div class="modal-body">
@@ -1876,8 +2774,8 @@ modal body. Try the demo and scroll the content.
1876
2774
  </p>
1877
2775
  </div>
1878
2776
  <div class="modal-footer">
1879
- <button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
1880
- <button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
2777
+ <button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
2778
+ <button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
1881
2779
  </div>
1882
2780
  </div>
1883
2781
  </div>
@@ -1891,8 +2789,8 @@ modal body. Try the demo and scroll the content.
1891
2789
  <div class="ml-0">
1892
2790
  <!-- Button trigger modal -->
1893
2791
  <button type="button"
1894
- class="btn btn-primary btn-raised"
1895
- data-toggle="modal" data-target="#exampleModalVerticalCenter">
2792
+ class="btn btn-primary"
2793
+ data-bs-toggle="modal" data-bs-target="#exampleModalVerticalCenter">
1896
2794
  Launch Example
1897
2795
  </button>
1898
2796
  </div>
@@ -1907,8 +2805,8 @@ modal body. Try the demo and scroll the content.
1907
2805
  <div class="modal-content">
1908
2806
  <div class="modal-header">
1909
2807
  <h5 id="exampleModalVerticalCenterTitle" class="modal-title notoc">Modal title</h5>
1910
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1911
- <span aria-hidden="true">&times;</span>
2808
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
2809
+ <span aria-hidden="true"</span>
1912
2810
  </button>
1913
2811
  </div>
1914
2812
  <div class="modal-body">
@@ -1917,8 +2815,8 @@ modal body. Try the demo and scroll the content.
1917
2815
  voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
1918
2816
  </div>
1919
2817
  <div class="modal-footer">
1920
- <button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
1921
- <button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
2818
+ <button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
2819
+ <button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
1922
2820
  </div>
1923
2821
  </div>
1924
2822
  </div>
@@ -1933,9 +2831,9 @@ closed, any tooltips and popovers within are also automatically dismissed.
1933
2831
  <div class="ml-0">
1934
2832
  <!-- Button trigger modal -->
1935
2833
  <button type="button"
1936
- class="btn btn-primary btn-raised"
1937
- data-toggle="modal"
1938
- data-target="#exampleModalTooltip">
2834
+ class="btn btn-primary"
2835
+ data-bs-toggle="modal"
2836
+ data-bs-target="#exampleModalTooltip">
1939
2837
  Launch Example
1940
2838
  </button>
1941
2839
  </div>
@@ -1950,36 +2848,36 @@ closed, any tooltips and popovers within are also automatically dismissed.
1950
2848
  <div class="modal-content">
1951
2849
  <div class="modal-header">
1952
2850
  <h4 id="exampleModalTooltipTitle" class="modal-title notoc">Modal title</h4>
1953
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
1954
- <span aria-hidden="true">&times;</span>
2851
+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close">
2852
+ <span aria-hidden="true"</span>
1955
2853
  </button>
1956
2854
  </div>
1957
2855
  <div class="modal-body">
1958
2856
  <h4 class="notoc">Popover in a modal</h4>
1959
- <p>This <a href="#void" role="button" class="btn btn-primary btn-raised popover-test" data-toggle="popover" title="Popover title" data-content="Popover body content is set in this attribute.">button</a> triggers a popover on hover or click.</p>
2857
+ <p>This <a href="#" role="button" class="btn btn-primary popover-test" data-bs-toggle="popover" title="Popover title" data-content="Popover body content is set in this attribute.">button</a> triggers a popover on hover or click.</p>
1960
2858
  <hr>
1961
2859
  <h4 class="notoc">Tooltips in a modal</h4>
1962
- <p><a href="#void" class="tooltip-test" data-toggle="tooltip" title="Tooltip">This link</a> and <a href="#void" class="tooltip-test" data-toggle="tooltip" title="Tooltip">that link</a> have tooltips on hover.</p>
2860
+ <p><a href="#" class="tooltip-test" data-bs-toggle="tooltip" title="Tooltip">This link</a> and <a href="#" class="tooltip-test" data-bs-toggle="tooltip" title="Tooltip">that link</a> have tooltips on hover.</p>
1963
2861
  </div>
1964
2862
  <div class="modal-footer">
1965
- <button type="button" class="btn btn-primary btn-flex btn-raised mr-2">Do nothing</button>
1966
- <button type="button" class="btn btn-secondary btn-flex btn-raised" data-dismiss="modal">Close</button>
2863
+ <button type="button" class="btn btn-primary btn-flex mr-2">Do nothing</button>
2864
+ <button type="button" class="btn btn-secondary btn-flex" data-bs-dismiss="modal">Close</button>
1967
2865
  </div>
1968
2866
  </div>
1969
2867
  </div>
1970
2868
  </div>
1971
2869
  ++++
1972
- |===============================================================================
2870
+ |===
1973
2871
 
1974
2872
  .Base Modal example
1975
- [source, html, role="noclip"]
2873
+ [source, html]
1976
2874
  ----
1977
2875
  <!-- Trigger Button (modal) -->
1978
2876
  <div class="ml-0">
1979
2877
  <button type="button"
1980
- class="btn btn-primary btn-raised"
1981
- data-toggle="modal"
1982
- data-target="#exampleSimpleModal">
2878
+ class="btn btn-primary"
2879
+ data-bs-toggle="modal"
2880
+ data-bs-target="#exampleSimpleModal">
1983
2881
  Launch Example
1984
2882
  </button>
1985
2883
  </div>
@@ -1997,10 +2895,10 @@ closed, any tooltips and popovers within are also automatically dismissed.
1997
2895
  <h5 id="exampleSimpleModalLabel" class="modal-title notoc">Modal title</h5>
1998
2896
  <button
1999
2897
  type="button"
2000
- class="close"
2001
- data-dismiss="modal"
2898
+ class="btn-close"
2899
+ data-bs-dismiss="modal"
2002
2900
  aria-label="Close">
2003
- <span aria-hidden="true">&times;</span>
2901
+ <span aria-hidden="true"</span>
2004
2902
  </button>
2005
2903
  </div>
2006
2904
  <div class="modal-body">
@@ -2008,73 +2906,177 @@ closed, any tooltips and popovers within are also automatically dismissed.
2008
2906
  </div>
2009
2907
  <div class="modal-footer">
2010
2908
  <button type="button"
2011
- class="btn btn-primary btn-flex btn-raised mr-2"> Do nothing
2909
+ class="btn btn-primary btn-flex mr-2"> Do nothing
2012
2910
  </button>
2013
2911
  <button
2014
2912
  type="button"
2015
- class="btn btn-secondary btn-flex btn-raised"
2016
- data-dismiss="modal"> Close
2913
+ class="btn btn-secondary btn-flex"
2914
+ data-bs-dismiss="modal"> Close
2017
2915
  </button>
2018
2916
  </div>
2019
2917
  </div>
2020
2918
  </div>
2021
2919
  </div>
2022
2920
  ----
2921
+ endif::[]
2023
2922
 
2024
- === Popovers and Tooltips
2923
+ ifeval::[{dialogs_popovers_tooltips} == true]
2924
+ === Tooltips and Popovers
2025
2925
 
2026
2926
  Popovers and Tooltips rely on the 3rd party library __Popper.js__ for positioning.
2027
2927
  To make them properly positioned, the Javascript library `popper.min.js` has to
2028
2928
  be included before `bootstrap.js` in order to make popovers and tooltips to work.
2029
2929
 
2030
- mdi:bootstrap[24px, mdi-md-deep-purple]
2031
- link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {browser-window--new}] +
2930
+ ==== Tooltips
2931
+
2932
+ Bla bla blu.
2933
+
2032
2934
  mdi:bootstrap[24px, mdi-md-deep-purple]
2033
2935
  link:{url-bs-docs--components-tooltips}[Bootstrap Docs {char-middot} Tooltips, {browser-window--new}]
2034
2936
 
2035
- NOTE: Popovers and Tooltips require the BS tooltip plugin as a dependency.
2036
-
2037
2937
  ++++
2038
2938
  <div class="doc-example mb-3">
2039
- <div class="row mb-5">
2939
+ <div class="row d-flex justify-content-center">
2040
2940
  <div class="col-md-6 p-0">
2041
- <h5 class="mb-5 notoc">Popovers</h5>
2042
- <button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top</button>
2043
- <button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Bottom</button>
2044
- <button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Right</button>
2045
- <button type="button" class="btn btn-primary btn-raised" title="Popover Title" data-container="body" data-toggle="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Left</button>
2046
- </div>
2047
- <div class="col-md-6 p-0">
2048
- <h5 class="mb-5 notoc">Tooltips</h5>
2049
- <button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="top" title="Tooltip on top">Top</button>
2050
- <button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom">Bottom</button>
2051
- <button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="right" title="Tooltip on right">Right</button>
2052
- <button type="button" class="btn btn-primary btn-raised" data-toggle="tooltip" data-placement="left" title="Tooltip on left">Left</button>
2941
+ <button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="left" title="Tooltip on left">Left</button>
2942
+ <button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="top" title="Tooltip on top">Top</button>
2943
+ <button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Tooltip on bottom">Bottom</button>
2944
+ <button type="button" class="btn btn-primary" data-bs-toggle="tooltip" data-bs-placement="right" title="Tooltip on right">Right</button>
2053
2945
  </div>
2054
2946
  </div>
2055
2947
  </div>
2056
2948
  ++++
2057
2949
 
2058
- .Example for Popovers and Tooltips
2059
- [source, html, role="noclip"]
2950
+ .Examples for Tooltips
2951
+ [source, html]
2060
2952
  ----
2061
- <div class="row mb-5">
2062
- <div class="col-md-6 p-0">
2063
- <h5 class="mb-5 notoc">Popovers</h5>
2064
- <button type="button" class="btn btn-primary btn-raised"
2065
- title="Popover Title" data-container="body"
2066
- data-toggle="popover" data-placement="top"
2067
- data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top
2068
- </button>
2069
- ...
2070
- </div>
2953
+ <button type="button" class="btn btn-primary"
2954
+ data-bs-toggle="tooltip"
2955
+ data-bs-placement="top"
2956
+ title="Tooltip on top">Top
2957
+ </button>
2958
+ <button type="button" class="btn btn-primary"
2959
+ data-bs-toggle="tooltip"
2960
+ data-bs-placement="bottom"
2961
+ title="Tooltip on bottom">Bottom
2962
+ </button>
2963
+ <button type="button" class="btn btn-primary"
2964
+ data-bs-toggle="tooltip"
2965
+ data-bs-placement="right"
2966
+ title="Tooltip on right">Right
2967
+ </button>
2968
+ <button type="button" class="btn btn-primary"
2969
+ data-bs-toggle="tooltip"
2970
+ data-bs-placement="left"
2971
+ title="Tooltip on left">Left
2972
+ </button>
2973
+ ----
2974
+
2975
+ ==== Popovers
2976
+
2977
+ Bla bla blu.
2978
+
2979
+ mdi:bootstrap[24px, mdi-md-deep-purple]
2980
+ link:{url-bs-docs--components-popovers}[Bootstrap Docs {char-middot} Popovers, {browser-window--new}]
2981
+
2982
+ ++++
2983
+ <div class="doc-example mb-3">
2984
+ <div class="row d-flex justify-content-center">
2071
2985
  <div class="col-md-6 p-0">
2072
- <h5 class="mb-5 notoc">Tooltips</h5>
2073
- <button type="button" class="btn btn-primary btn-raised"
2074
- data-toggle="tooltip" data-placement="top"
2075
- title="Tooltip on top">Top
2076
- </button>
2077
- ...
2986
+ <button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="left" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Left</button>
2987
+ <button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="top" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Top</button>
2988
+ <button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="bottom" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Bottom</button>
2989
+ <button type="button" class="btn btn-primary" title="Popover Title" data-container="body" data-bs-toggle="popover" data-bs-placement="right" data-bs-trigger="hover focus" data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">Right</button>
2078
2990
  </div>
2079
2991
  </div>
2992
+ </div>
2993
+ ++++
2994
+
2995
+ .Examples for Popovers
2996
+ [source, html]
2997
+ ----
2998
+ <button type="button" class="btn btn-primary"
2999
+ title="Popover Title"
3000
+ data-container="body"
3001
+ data-bs-toggle="popover"
3002
+ data-bs-placement="top"
3003
+ data-bs-trigger="hover focus"
3004
+ data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
3005
+ Top
3006
+ </button>
3007
+ <button type="button" class="btn btn-primary"
3008
+ title="Popover Title"
3009
+ data-container="body"
3010
+ data-bs-toggle="popover"
3011
+ data-bs-placement="bottom"
3012
+ data-bs-trigger="hover focus"
3013
+ data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
3014
+ Bottom
3015
+ </button>
3016
+ <button type="button" class="btn btn-primary"
3017
+ title="Popover Title" data-container="body"
3018
+ data-bs-toggle="popover"
3019
+ data-bs-placement="right"
3020
+ data-bs-trigger="hover focus"
3021
+ data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
3022
+ Right
3023
+ </button>
3024
+ <button type="button" class="btn btn-primary"
3025
+ title="Popover Title"
3026
+ data-container="body"
3027
+ data-bs-toggle="popover"
3028
+ data-bs-placement="left"
3029
+ data-bs-trigger="hover focus"
3030
+ data-bs-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus.">
3031
+ Left
3032
+ </button>
2080
3033
  ----
3034
+ endif::[]
3035
+ endif::[]
3036
+
3037
+ ++++
3038
+ <script>
3039
+ var cookie_names = j1.getCookieNames();
3040
+ var user_state = j1.readCookie(cookie_names.user_state);
3041
+ var theme_slogans = {};
3042
+ var theme_slogan;
3043
+ var themeName;
3044
+ var themeNameHeadline;
3045
+
3046
+ theme_slogans.UnoLight = 'An universial light theme';
3047
+ theme_slogans.UnoDark = 'An universial dark theme';
3048
+ theme_slogans.Bootstrap = 'Bootstrap V5 default theme';
3049
+
3050
+ theme_slogans.Cerulean = 'A calm blue sky';
3051
+ theme_slogans.Cosmo = 'An ode to Metro';
3052
+ theme_slogans.Cyborg = 'Jet black and electric blue';
3053
+ theme_slogans.Darkly = 'Theme Flatly in night mode';
3054
+ theme_slogans.Flatly = 'Flat and modern';
3055
+ theme_slogans.Journal = 'Crisp like a new sheet of paper';
3056
+ theme_slogans.Litera = 'The medium is the message';
3057
+ theme_slogans.Lumen = 'Light and shadow';
3058
+ theme_slogans.Materia = 'Material is the metaphor';
3059
+ theme_slogans.Minty = 'A fresh feel';
3060
+ theme_slogans.Morph = 'A neumorphic layer';
3061
+ theme_slogans.Pulse = 'A trace of purple';
3062
+ theme_slogans.Quartz = 'A glassmorphic layer';
3063
+ theme_slogans.Sandstone = 'A touch of warmth';
3064
+ theme_slogans.Simplex = 'Mini and minimalist';
3065
+ theme_slogans.Slate = 'Shades of gunmetal gray';
3066
+ theme_slogans.Solar = 'A spin on Solarized';
3067
+ theme_slogans.Spacelab = 'Silvery and sleek';
3068
+ theme_slogans.Superhero = 'The brave and the blue';
3069
+ theme_slogans.United = 'Ubuntu orange and unique font';
3070
+ theme_slogans.Vapor = 'A cyberpunk aesthetic';
3071
+ theme_slogans.Yeti = 'A friendly foundation';
3072
+ theme_slogans.Zephyr = 'Breezy and beautiful';
3073
+
3074
+ themeName = user_state.theme_name;
3075
+ theme_slogan = theme_slogans[themeName];
3076
+ themeNameHeadline = '<h1 id="theme_name" class="mb-0">Theme ' +themeName+ '</h1>';
3077
+
3078
+ $('#theme').prepend(themeNameHeadline);
3079
+ $('#theme').append('<p class="tagline mb-2"><b>' + theme_slogan + '</b></p>');
3080
+ $('#theme').append('<div class="d-inline-block g-width-50 g-height-2 bg-primary mb-2"></div>');
3081
+ </script>
3082
+ ++++