j1-template 2021.0.6 → 2021.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/global/attributes_loader.proc +2 -2
  3. data/assets/data/menu.html +32 -3
  4. data/assets/themes/j1/core/css/icon-fonts/fontawesome.css +299 -12
  5. data/assets/themes/j1/core/css/icon-fonts/fontawesome.min.css +1 -1
  6. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.css +22 -2
  7. data/assets/themes/j1/core/css/themes/uno-light/bootstrap.min.css +1 -1
  8. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-brands-400.eot +0 -0
  9. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-regular-400.eot +0 -0
  10. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/eot/fa-solid-900.eot +0 -0
  11. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff +0 -0
  12. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-brands-400.woff2 +0 -0
  13. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff +0 -0
  14. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-regular-400.woff2 +0 -0
  15. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff +0 -0
  16. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/fa-solid-900.woff2 +0 -0
  17. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-brands-400.svg +855 -597
  18. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-regular-400.svg +94 -96
  19. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/svg/fa-solid-900.svg +1272 -771
  20. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-brands-400.ttf +0 -0
  21. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-regular-400.ttf +0 -0
  22. data/assets/themes/j1/core/fonts/fontawesome_5/fonts/ttf/fa-solid-900.ttf +0 -0
  23. data/lib/j1/commands/generate.rb +3 -2
  24. data/lib/j1/version.rb +1 -1
  25. data/lib/starter_web/Gemfile +1 -1
  26. data/lib/starter_web/_config.yml +2 -2
  27. data/lib/starter_web/_data/asciidoc2pdf/themes/j1-theme.yml +225 -188
  28. data/lib/starter_web/_data/modules/defaults/navigator.yml +1 -1
  29. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  30. data/lib/starter_web/_data/modules/navigator_menu.yml +16 -3
  31. data/lib/starter_web/_includes/attributes.asciidoc +24 -10
  32. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  33. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  34. data/lib/starter_web/assets/images/modules/icons/d1/scalable/d1.svg +1 -1
  35. data/lib/starter_web/assets/images/pages/skeleton/annie-spratt-1920x1280.jpg +0 -0
  36. data/lib/starter_web/assets/images/pages/skeleton/antonino-visalli-1920x1280.jpg +0 -0
  37. data/lib/starter_web/assets/images/pages/skeleton/humble-lamb-1920x1280.jpg +0 -0
  38. data/lib/starter_web/assets/images/pages/skeleton/library-1920x1280.jpg +0 -0
  39. data/lib/starter_web/assets/images/pages/skeleton/romain-vignes-1920x1280.jpg +0 -0
  40. data/lib/starter_web/assets/images/pages/skeleton/sigmund-1920x1280.jpg +0 -0
  41. data/lib/starter_web/assets/images/pages/writers_guide/1280px-PDCA_Process.png +0 -0
  42. data/lib/starter_web/assets/images/pages/writers_guide/annie-spratt-1920x1280.jpg +0 -0
  43. data/lib/starter_web/assets/images/pages/writers_guide/deming-cycle.png +0 -0
  44. data/lib/starter_web/assets/images/pages/writers_guide/humble-lamb-1920x1280.jpg +0 -0
  45. data/lib/starter_web/assets/images/pages/writers_guide/john-schnobrich-1920x1280.jpg +0 -0
  46. data/lib/starter_web/assets/images/pages/writers_guide/sigmund-1920x1280.jpg +0 -0
  47. data/lib/starter_web/collections/posts/public/featured/_posts/2020-04-01-confusion-about-base-url.adoc +1 -1
  48. data/lib/starter_web/collections/posts/public/featured/_posts/2020-05-01-top-open-source-static-site-generators.adoc +1 -1
  49. data/lib/starter_web/collections/posts/public/featured/_posts/2020-06-01-about-cookies.adoc +1 -1
  50. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-test-series.adoc +1 -1
  51. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-test-series.adoc +1 -1
  52. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-test-series.adoc +1 -1
  53. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-04-post-test-series.adoc +1 -1
  54. data/lib/starter_web/package.json +1 -1
  55. data/lib/starter_web/pages/public/about/about_site.adoc +52 -2
  56. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/blindtext.asciidoc +11 -0
  57. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/font_icons.asciidoc +23 -0
  58. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/gallery.asciidoc +5 -0
  59. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/asciidoc-extensions/lightbox.asciidoc +7 -0
  60. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/chapter_document.asciidoc +9 -0
  61. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/documents/entry_document.asciidoc +3 -0
  62. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/images/image.asciidoc +6 -0
  63. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column.asciidoc +12 -0
  64. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_2_column_options.asciidoc +30 -0
  65. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_3_column.asciidoc +16 -0
  66. data/lib/starter_web/pages/public/asciidoc_skeletons/_templates/tables/table_4_column.asciidoc +25 -0
  67. data/lib/starter_web/pages/public/asciidoc_skeletons/book/000_intro.adoc +61 -0
  68. data/lib/starter_web/pages/public/asciidoc_skeletons/book/100_chapter.adoc +58 -0
  69. data/lib/starter_web/pages/public/asciidoc_skeletons/book/200_chapter.adoc +59 -0
  70. data/lib/starter_web/pages/public/asciidoc_skeletons/book/900_references.adoc +68 -0
  71. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/attributes.asciidoc +68 -0
  72. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/000_intro.asciidoc +33 -0
  73. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter.asciidoc +7 -0
  74. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/100_chapter_document.asciidoc +21 -0
  75. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/100_chapter/110_chapter_document.asciidoc +36 -0
  76. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter.asciidoc +5 -0
  77. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/200_chapter/200_chapter_document.asciidoc +53 -0
  78. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references.asciidoc +23 -0
  79. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/000_intro.asciidoc +23 -0
  80. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/100_chapter_document.asciidoc +33 -0
  81. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/200_chapter_document.asciidoc +26 -0
  82. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/900_references/900_sources.asciidoc +81 -0
  83. data/lib/starter_web/pages/public/asciidoc_skeletons/book/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  84. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.bat +28 -0
  85. data/lib/starter_web/pages/public/asciidoc_skeletons/book/a2p.sh +26 -0
  86. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.a2p +114 -0
  87. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.adoc +128 -0
  88. data/lib/starter_web/pages/public/asciidoc_skeletons/book/book.pdf +5440 -0
  89. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/100_chapter.asciidoc +60 -0
  90. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/200_chapter.asciidoc +59 -0
  91. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/attributes.asciidoc +63 -0
  92. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/100_chapter.asciidoc +53 -0
  93. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/200_chapter.asciidoc +53 -0
  94. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/_includes/documents/tables/110_material_design_icons.asciidoc +102 -0
  95. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +84 -0
  96. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +236 -0
  97. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +2 -2
  98. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
  99. data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -269
  100. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +163 -81
  101. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +5 -8
  102. data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +4 -5
  103. data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -54
  104. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +75 -39
  105. data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +17 -1
  106. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +1 -1
  107. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/{410_table_3_column.asciidoc → 410_table_bs_modal_examples.asciidoc} +0 -0
  108. data/lib/starter_web/pages/public/learn/roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  109. data/lib/starter_web/pages/public/learn/where_to_go.adoc +1 -1
  110. data/lib/starter_web/pages/public/previewer/_includes/tables/rouge/200_rouge_attributes.asciidoc +1 -1
  111. data/lib/starter_web/pages/public/previewer/mdi_icons_preview.adoc +1 -1
  112. data/lib/starter_web/pages/public/previewer/rouge.adoc +41 -4
  113. data/lib/starter_web/pages/public/previewer/twitter_emoji_preview.adoc +1 -1
  114. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  115. data/lib/starter_web/utilsrv/package.json +1 -1
  116. metadata +57 -16
  117. data/assets/themes/j1/modules/twemoji/js/LICENSE +0 -21
  118. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/100_meet_and_greet_jekyll.adoc +0 -79
  119. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/200_preparations.adoc +0 -77
  120. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/300_first_awesome_web.adoc +0 -75
  121. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/attributes.asciidoc +0 -176
  122. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/100_meet_and_greet_jekyll.asciidoc +0 -31
  123. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/200_preparations.asciidoc +0 -14
  124. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/documents/300_first_awesome_web.asciidoc +0 -11
  125. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/parts.asciidoc +0 -193
  126. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/debug_variables.asciidoc +0 -47
  127. data/lib/starter_web/pages/public/learn/kickstarter/web_in_a_day/_includes/tables/readme +0 -1
  128. data/lib/starter_web/pages/public/learn/roundtrip/610_fam.adoc +0 -294
  129. data/lib/starter_web/pages/public/learn/roundtrip/_includes/tables/readme +0 -0
@@ -32,7 +32,7 @@ resource_options:
32
32
  // Enable the Liquid Preprocessor
33
33
  :page-liquid:
34
34
 
35
- // Set page (local) attributes here
35
+ // Set (local) page attributes here
36
36
  // -----------------------------------------------------------------------------
37
37
  // :page--attr: <attr-value>
38
38
  :images-dir: {imagesdir}/pages/roundtrip/100_present_images
@@ -71,9 +71,8 @@ critical messages.
71
71
  NOTE: For more information on how to use Bootstrap’s JavaScript modal
72
72
  plugin, refer to: link:{bs_doc_components_modal}[Bootstrap Docs, {browser-window--new}].
73
73
 
74
- // Include sub-documents
75
- // -----------------------------------------------------------------------------
76
- include::{documentdir}/410_table_3_column.asciidoc[]
74
+ // include::{documentdir}/tables/bs_modal_examples.asciidoc[]
75
+ include::{documentdir}/410_table_bs_modal_examples.asciidoc[]
77
76
 
78
77
  == Whats next
79
78
 
@@ -89,5 +88,5 @@ what the link:{roundtrip-responsive-tables}[BS tables extensions] can do!
89
88
 
90
89
 
91
90
  // Include the modals HTML portion
92
- // -------------------------------------------------------------------
91
+ // -----------------------------------------------------------------------------
93
92
  include::{documentdir}/419_advanced_modals_demo.asciidoc[]
@@ -35,10 +35,9 @@ resource_options:
35
35
  // Enable the Liquid Preprocessor
36
36
  :page-liquid:
37
37
 
38
- // Set page (local) attributes here
38
+ // Set (local) page attributes here
39
39
  // -----------------------------------------------------------------------------
40
40
  // :page--attr: <attr-value>
41
- :debug:
42
41
  :images-dir: {imagesdir}/pages/roundtrip/100_present_images
43
42
 
44
43
  // Load Liquid procedures
@@ -57,58 +56,6 @@ Creating a design for responsive tables is challenging. The approach used by
57
56
  J1 Template is based on pure CSS on top of the classic Bootstrap styles for
58
57
  simplicity and portability to be viewed best on all devices and browsers.
59
58
 
60
- ifdef::debug[]
61
-
62
- .Source, options NOT set
63
- [source, md, role="noclip"]
64
- ----
65
- [cols=",", options="header", ]
66
- |===============================================================================
67
- |Bratze |Bru
68
-
69
- |Fick
70
- |dich
71
-
72
- |===============================================================================
73
- ----
74
-
75
-
76
- .Options NOT set
77
- [cols=",", options="header", ]
78
- |===============================================================================
79
- |Bratze |Bru
80
-
81
- |Fick
82
- |dich
83
-
84
- |===============================================================================
85
-
86
- .Source, options SET
87
- [source, adoc, role="noclip"]
88
- ----
89
- [cols="6a,6a", options="header", width="100%", role="table-responsive mt-3"]
90
- |===============================================================================
91
- |Bratze |Bru
92
-
93
- |Fick
94
- |dich
95
-
96
- |===============================================================================
97
- ----
98
-
99
- .options set
100
- [cols="6a,6a", options="header", width="100%", role="table-responsive mt-3"]
101
- |===============================================================================
102
- |Bratze |Bru
103
-
104
- |Fick
105
- |dich
106
-
107
- |===============================================================================
108
- endif::[]
109
-
110
-
111
-
112
59
  == Table types
113
60
 
114
61
  But, for sure, the solution provided is a compromise. To fit the common needs
@@ -11,6 +11,8 @@ description: >
11
11
  tags: [ Bootstrap, Themes ]
12
12
  categories: [ Introduction, Features ]
13
13
 
14
+ scrollbar: false
15
+
14
16
  permalink: /pages/public/learn/roundtrip/themes/
15
17
  regenerate: false
16
18
 
@@ -34,7 +36,7 @@ resource_options:
34
36
  // Enable the Liquid Preprocessor
35
37
  :page-liquid:
36
38
 
37
- // Set page (local) attributes here
39
+ // Set (local) page attributes here
38
40
  // -----------------------------------------------------------------------------
39
41
  // :page--attr: <attr-value>
40
42
  :images-dir: {imagesdir}/pages/roundtrip/100_present_images
@@ -125,7 +127,6 @@ not all of them for now.
125
127
  Simply select a theme from this menu, and a new BS-based stylesheet is
126
128
  automatically applied to your pages.
127
129
 
128
-
129
130
  == Code Highlighter Rouge
130
131
 
131
132
  _Rouge_ is a pure Ruby and themeable syntax highlighter. It can highlight
@@ -133,39 +134,80 @@ _Rouge_ is a pure Ruby and themeable syntax highlighter. It can highlight
133
134
  this section all available themes and examples for several lanuguages how
134
135
  highlightning works using _Rouge_.
135
136
 
137
+ For the default theme `Uno` of J1 Template, the following _Rouge_ themes
138
+ are used:
139
+
140
+ * light: `igorpro`
141
+ * dark: `monokai.sublime`
142
+
143
+ NOTE: The default themes used for J1 Template can be configured with the
144
+ global template config file `~/_data/j1_config.yml`.
145
+
146
+
136
147
  === Apply a theme
137
148
 
138
- Make a selection of theme below to preview a theme.
149
+ Make a selection of a theme below to preview.
139
150
 
140
151
  ++++
141
152
  <div class="btn-group">
142
- <button class="btn btn-primary btn-raised btn-flex btn-lg dropdown-toggle" type="button" data-toggle="dropdown" data-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
143
- Select a theme<span class="caret"></span>
153
+ <!-- See: https://stackoverflow.com/questions/47242702/force-bootstrap-dropdown-menu-to-always-display-at-the-bottom-and-allow-it-go-of -->
154
+ <!-- NOTE: control the behaviour of popper.js for positioning -->
155
+ <!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
156
+ <button class="btn btn-primary btn-raised btn-flex btn-lg dropdown-toggle" data-flip="false" type="button" data-toggle="dropdown" data-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
157
+ Select Theme<span class="caret"></span>
144
158
  </button>
145
- <div class="dropdown-menu">
146
- <a class="dropdown-item" active="true" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a>
147
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.dark</a>
148
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.light</a>
149
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai</a>
150
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.dark</a>
151
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.light</a>
152
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized</a>
153
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.dark</a>
154
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.light</a>
155
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('colorful')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>colorful</a>
156
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('github')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>github</a>
157
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('gruvbox')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox</a>
158
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('gruvbox.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox.light</a>
159
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('igorpro')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>igorpro</a>
160
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('molokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>molokai</a>
161
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai</a>
162
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('monokai.sublime')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai.sublime</a>
163
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('pastie')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>pastie</a>
164
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('thankful_eyes')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>thankful_eyes</a>
165
- <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('tulip')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>tulip</a>
166
- </div>
159
+ <ul class="dropdown-menu scrollable-menu" role="menu">
160
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a></li>
161
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.dark</a></li>
162
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.light</a></li>
163
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai</a></li>
164
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.dark</a></li>
165
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai.light</a></li>
166
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized</a></li>
167
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.dark</a></li>
168
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.solarized.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.solarized.light</a></li>
169
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('colorful')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>colorful</a></li>
170
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('github')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>github</a></li>
171
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('gruvbox')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox</a></li>
172
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('gruvbox.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>gruvbox.light</a></li>
173
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('igorpro')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>igorpro</a></li>
174
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('molokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>molokai</a></li>
175
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai</a></li>
176
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('monokai.sublime')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>monokai.sublime</a></li>
177
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('pastie')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>pastie</a></li>
178
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('thankful_eyes')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>thankful_eyes</a></li>
179
+ <li><a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('tulip')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>tulip</a></li>
180
+ </ul>
167
181
  </div>
168
182
  <div id="selected" class="mt-1 mb-3"></div>
183
+
184
+ <style>
185
+ /* jadams, 2021-02-16: unclear why global styles defined in CSS file */
186
+ /* (bootsttrap.css) not applied. For that reason, given locally for now */
187
+ .scrollable-menu {
188
+ height: auto;
189
+ max-height: 300px;
190
+ overflow-x: hidden;
191
+ }
192
+
193
+ .scrollable-menu::-webkit-scrollbar {
194
+ -webkit-appearance: none;
195
+ width: 12px;
196
+ background-color: #f5f5f5;
197
+ }
198
+
199
+ .scrollable-menu::-webkit-scrollbar-thumb {
200
+ border-radius: 10px;
201
+ -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
202
+ background-color: #424242;
203
+ }
204
+
205
+ .scrollable-menu::-webkit-scrollbar-track {
206
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
207
+ border-radius: 0px;
208
+ background-color: #f5f5f5;
209
+ }
210
+ </style>
169
211
  ++++
170
212
 
171
213
  === Highlight Liquid code
@@ -227,16 +269,10 @@ end
227
269
 
228
270
  == Whats next
229
271
 
230
- You've explored some of the possibilities J1 offers for
231
- managing themes. But much, much more can the J1 do for your website.
232
-
233
- This was the last place to go for the roundtrip. More details of the most
234
- common elements of Bootstrap can be found on the previewer for a theme. Have
235
- a look at the link:{previewer-theme}[Theme previewer].
236
-
237
- To make things real for your new site, go for Web in a day. This tutorial
238
- guides you through all the steps on how to build a website - your site using
239
- Jekyll and the template system J1. It's really a pleasant journey to learn to
240
- create today's static webs.
272
+ Using a theme, the character of a website can change a lot. If you don't want
273
+ to support multiple themes with your site, a theme is a good base to create
274
+ your own theme, anayway.
241
275
 
242
- Start your journey from here: link:{kickstarter-web-in-a-day}[Web in a day].
276
+ An important feature for larger webs is searching. The visitors should be able
277
+ to search your site to find pages and posts they are interested in. Check what
278
+ is searching a J1 websites all about at link:{roundtrip-quicksearch}[Quicksearch].
@@ -37,7 +37,7 @@ resource_options:
37
37
  // Enable the Liquid Preprocessor
38
38
  :page-liquid:
39
39
 
40
- // Set page (local) attributes here
40
+ // Set (local) page attributes here
41
41
  // -----------------------------------------------------------------------------
42
42
  // :page--attr: <attr-value>
43
43
 
@@ -415,3 +415,19 @@ To simulate a logical *AND* search of documents that contains the word `jekyll`
415
415
  ----
416
416
  +jekyll +collection
417
417
  ----
418
+
419
+
420
+ == Whats next
421
+
422
+ You've explored some of the possibilities J1 offers for websites. But much,
423
+ much more can J1 do for your project. This was the last place to go for the
424
+ roundtrip. More details of the most common elements of Bootstrap can be found
425
+ on the previewer for a theme. Have a look at the
426
+ link:{previewer-theme}[Theme previewer].
427
+
428
+ To make things real for your new site, go for *Web in a day*. This tutorial
429
+ guides you through all the steps on how to build a website. Your site using
430
+ Jekyll and the template system J1. It's really a pleasant journey to learn what
431
+ modern static webs can offer today.
432
+
433
+ // Start your journey from here: link:{kickstarter-web-in-a-day}[Web in a day].
@@ -53,7 +53,7 @@ tag::urls[]
53
53
  :roundtrip-icon-fonts: /pages/public/learn/roundtrip/mdi_icon_font/
54
54
  :roundtrip-responsive-tables: /pages/public/learn/roundtrip/responsive_tables/
55
55
  :roundtrip-themes: /pages/public/learn/roundtrip/themes/
56
- :roundtrip-search-engine: /pages/public/learn/roundtrip/search_engine/
56
+ :roundtrip-quicksearch: /pages/public/learn/roundtrip/quicksearch/
57
57
 
58
58
  :github-gist-home: https://gist.github.com/
59
59
  :asciidoc-extensions-gist-example: https://gist.github.com/mojavelinux/5546622
@@ -0,0 +1,47 @@
1
+
2
+ .Selected extended BS modal examples
3
+ [cols="6a,3a,3a", options="header", width="100%", role="rtable"]
4
+ |===============================================================================
5
+ |Postion |Class | Example
6
+
7
+ |`top`
8
+ |`info`
9
+ |
10
+ include::../410_top_info.asciidoc[]
11
+
12
+ |`top-right`
13
+ |`success`
14
+ |
15
+ include::../410_top_right_success.asciidoc[]
16
+
17
+ |`top-left`
18
+ |`info`
19
+ |
20
+ include::../410_top_left_info.asciidoc[]
21
+
22
+ |`bottom`
23
+ |`info`
24
+ |
25
+ include::../410_bottom_info.asciidoc[]
26
+
27
+ |`bottom-right`
28
+ |`danger`
29
+ |
30
+ include::../410_bottom_right_danger.asciidoc[]
31
+
32
+ |`bottom-left`
33
+ |`warning`
34
+ |
35
+ include::../410_bottom_left_warning.asciidoc[]
36
+
37
+ |`full-height right`
38
+ |`success`
39
+ |
40
+ include::../410_full_height_right_success.asciidoc[]
41
+
42
+ |`full-height left`
43
+ |`info`
44
+ |
45
+ include::../410_full_height_left_info.asciidoc[]
46
+
47
+ |===============================================================================
@@ -35,7 +35,7 @@ resource_options:
35
35
  // Enable the Liquid Preprocessor
36
36
  :page-liquid:
37
37
 
38
- // Set page (local) attributes here
38
+ // Set (local) page attributes here
39
39
  // -----------------------------------------------------------------------------
40
40
  // :page--attr: <attr-value>
41
41
 
@@ -1,5 +1,5 @@
1
1
  .Rouge attributes
2
- [cols="3,9a", subs=+macros, options="header", role="rtable mb-5"]
2
+ [cols="3,9a", subs=+macros, options="header", role="rtable mt-3 mb-5"]
3
3
  |===============================================================================
4
4
  |Attribute |Description
5
5
 
@@ -32,7 +32,7 @@ resource_options:
32
32
  // Enable the Liquid Preprocessor
33
33
  :page-liquid:
34
34
 
35
- // Set page (local) attributes here
35
+ // Set (local) page attributes here
36
36
  // -----------------------------------------------------------------------------
37
37
  //:my-asciidoc-attribute:
38
38
 
@@ -67,18 +67,27 @@ resource_options:
67
67
 
68
68
  == Theme selector
69
69
 
70
- Make a selection of theme below to preview a theme.
70
+ For the default theme `Uno` of J1 Template, the following _Rouge_ themes
71
+ are used:
72
+
73
+ * light: `igorpro`
74
+ * dark: `monokai.sublime`
75
+
76
+ NOTE: The default themes used for J1 Template can be configured with the
77
+ global template config file `~/_data/j1_config.yml`.
78
+
79
+ Make a selection of theme below to preview.
71
80
 
72
81
  ++++
73
82
  <div class="btn-group">
74
83
  <!-- See: https://stackoverflow.com/questions/47242702/force-bootstrap-dropdown-menu-to-always-display-at-the-bottom-and-allow-it-go-of -->
75
84
  <!-- NOTE: control the behaviour of popper.js for positioning -->
76
- <!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
85
+ <!-- NOTE: set attribute data-flip="false" to open the SELECT list at the BOTTOM of the BUTTON -->
77
86
  <button class="btn btn-primary btn-raised btn-flex btn-lg dropdown-toggle" data-flip="false" type="button" data-toggle="dropdown" data-target="#navbarDropdown" aria-haspopup="true" aria-expanded="false">
78
87
  Select Theme<span class="caret"></span>
79
88
  </button>
80
- <div class="dropdown-menu">
81
- <a class="dropdown-item" active="true" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a>
89
+ <div class="dropdown-menu scrollable-menu">
90
+ <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16</a>
82
91
  <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.dark')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.dark</a>
83
92
  <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.light')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.light</a>
84
93
  <a class="dropdown-item" href="javascript:void(0)" onclick="j1.adapter.rouge.reaplyStyles('base16.monokai')"> <i class="mdi mdi-view-quilt mdi-18px mr-2" style="color: #9E9E9E"></i>base16.monokai</a>
@@ -101,6 +110,34 @@ Make a selection of theme below to preview a theme.
101
110
  </div>
102
111
  </div>
103
112
  <div id="selected" class="mt-1 mb-3"></div>
113
+
114
+ <style>
115
+ /* jadams, 2021-02-16: unclear why global styles defined in CSS file */
116
+ /* (bootsttrap.css) not applied. For that reason, given locally for now */
117
+ .scrollable-menu {
118
+ height: auto;
119
+ max-height: 300px;
120
+ overflow-x: hidden;
121
+ }
122
+
123
+ .scrollable-menu::-webkit-scrollbar {
124
+ -webkit-appearance: none;
125
+ width: 12px;
126
+ background-color: #f5f5f5;
127
+ }
128
+
129
+ .scrollable-menu::-webkit-scrollbar-thumb {
130
+ border-radius: 10px;
131
+ -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
132
+ background-color: #424242;
133
+ }
134
+
135
+ .scrollable-menu::-webkit-scrollbar-track {
136
+ -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
137
+ border-radius: 0px;
138
+ background-color: #f5f5f5;
139
+ }
140
+ </style>
104
141
  ++++
105
142
 
106
143
  === Language examples
@@ -35,7 +35,7 @@ resource_options:
35
35
  // Enable the Liquid Preprocessor
36
36
  :page-liquid:
37
37
 
38
- // Set page (local) attributes here
38
+ // Set (local) page attributes here
39
39
  // -----------------------------------------------------------------------------
40
40
  :jollygoodcode--emoji: https://github.com/jollygoodcode/twemoji
41
41