j1-template 2023.0.17 → 2023.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (293) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/layouts/content_generator_collection.html +2 -3
  3. data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -2
  4. data/_includes/themes/j1/modules/attics/generator.html +3 -1
  5. data/_includes/themes/j1/modules/navigator/generator.html +2 -2
  6. data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
  7. data/_layouts/{paginator/autopage_category.html → autopage_category.html} +1 -1
  8. data/_layouts/{paginator/autopage_collection.html → autopage_collection.html} +1 -6
  9. data/_layouts/{paginator/autopage_collections_tags.html → autopage_collections_tags.html} +1 -1
  10. data/_layouts/category.html +67 -0
  11. data/_layouts/readme +2 -0
  12. data/assets/data/banner.html +8 -6
  13. data/assets/data/masonry.html +397 -0
  14. data/assets/data/panel.html +1 -1
  15. data/assets/data/quicklinks.html +12 -12
  16. data/assets/data/slick.html +288 -0
  17. data/assets/error_pages/HTTP204.html +1 -1
  18. data/assets/error_pages/HTTP400.html +1 -1
  19. data/assets/error_pages/HTTP401.html +1 -1
  20. data/assets/error_pages/HTTP403.html +1 -1
  21. data/assets/error_pages/HTTP404.html +1 -1
  22. data/assets/error_pages/HTTP444.html +1 -1
  23. data/assets/error_pages/HTTP445.html +1 -1
  24. data/assets/error_pages/HTTP446.html +1 -1
  25. data/assets/error_pages/HTTP447.html +1 -1
  26. data/assets/error_pages/HTTP448.html +1 -1
  27. data/assets/error_pages/HTTP500.html +1 -1
  28. data/assets/error_pages/HTTP501.html +1 -1
  29. data/assets/error_pages/HTTP502.html +1 -1
  30. data/assets/error_pages/HTTP503.html +1 -1
  31. data/assets/themes/j1/adapter/js/attic.js +31 -16
  32. data/assets/themes/j1/adapter/js/j1.js +55 -21
  33. data/assets/themes/j1/adapter/js/masonry.js +119 -49
  34. data/assets/themes/j1/adapter/js/mmenu.js +4 -3
  35. data/assets/themes/j1/adapter/js/navigator.js +69 -19
  36. data/assets/themes/j1/adapter/js/slick.js +293 -44
  37. data/assets/themes/j1/adapter/js/toccer.js +27 -14
  38. data/assets/themes/j1/adapter/js/waves.js +3 -1
  39. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +294 -364
  40. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  41. data/assets/themes/j1/core/js/template.js +56 -60
  42. data/assets/themes/j1/core/js/template.min.js +6 -6
  43. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  44. data/assets/themes/j1/modules/masonry/css/theme/uno.css +35 -0
  45. data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +15 -0
  46. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +3 -3
  47. data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
  48. data/assets/themes/j1/modules/slick/lightbox/LICENSE +20 -0
  49. data/assets/themes/j1/modules/slick/lightbox/README.md +138 -0
  50. data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.css +128 -0
  51. data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.min.css +1 -0
  52. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
  53. data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
  54. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +353 -0
  55. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +2 -0
  56. data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +1 -0
  57. data/assets/themes/j1/modules/slick/{README.md → slider/README.md} +13 -14
  58. data/assets/themes/j1/modules/slick/{css → slider/css}/slick.css +16 -10
  59. data/assets/themes/j1/modules/slick/slider/css/slick.min.css +15 -0
  60. data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +292 -0
  61. data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +15 -0
  62. data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.svg +14 -14
  63. data/assets/themes/j1/modules/slick/slider/js/slick.js +3037 -0
  64. data/assets/themes/j1/modules/translator/css/translator.css +3 -19
  65. data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
  66. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/fastfilereaderext.so +0 -0
  67. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/rubyeventmachine.so +0 -0
  68. data/lib/j1/version.rb +1 -1
  69. data/lib/j1_app/log4r/yamlconfigurator.rb +41 -41
  70. data/lib/starter_web/Gemfile +4 -4
  71. data/lib/starter_web/README.md +142 -143
  72. data/lib/starter_web/_config.yml +55 -25
  73. data/lib/starter_web/_data/blocks/banner.yml +45 -46
  74. data/lib/starter_web/_data/blocks/defaults/banner.yml +4 -4
  75. data/lib/starter_web/_data/blocks/defaults/panel.yml +11 -11
  76. data/lib/starter_web/_data/blocks/footer.yml +2 -2
  77. data/lib/starter_web/_data/blocks/panel.yml +9 -9
  78. data/lib/starter_web/_data/layouts/collection.yml +9 -0
  79. data/lib/starter_web/_data/layouts/home.yml +51 -21
  80. data/lib/starter_web/_data/layouts/page.yml +36 -3
  81. data/lib/starter_web/_data/layouts/post.yml +36 -3
  82. data/lib/starter_web/_data/layouts/raw.yml +35 -3
  83. data/lib/starter_web/_data/modules/advertising.yml +1 -2
  84. data/lib/starter_web/_data/modules/analytics.yml +1 -2
  85. data/lib/starter_web/_data/modules/attics.yml +2 -2
  86. data/lib/starter_web/_data/modules/blog_navigator.yml +1 -2
  87. data/lib/starter_web/_data/modules/carousel.yml +1 -2
  88. data/lib/starter_web/_data/modules/comments.yml +1 -2
  89. data/lib/starter_web/_data/modules/cookieconsent.yml +1 -2
  90. data/lib/starter_web/_data/modules/cookies.yml +1 -2
  91. data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -2
  92. data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -2
  93. data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
  94. data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -2
  95. data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
  96. data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -2
  97. data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
  98. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -2
  99. data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -2
  100. data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -2
  101. data/lib/starter_web/_data/modules/defaults/fab.yml +1 -2
  102. data/lib/starter_web/_data/modules/defaults/framer.yml +1 -2
  103. data/lib/starter_web/_data/modules/defaults/justifiedGallery.yml +1 -2
  104. data/lib/starter_web/_data/modules/defaults/lightGallery.yml +1 -2
  105. data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -2
  106. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -2
  107. data/lib/starter_web/_data/modules/defaults/log4r.yml +7 -9
  108. data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -2
  109. data/lib/starter_web/_data/modules/defaults/masonry.yml +52 -23
  110. data/lib/starter_web/_data/modules/defaults/navigator.yml +13 -12
  111. data/lib/starter_web/_data/modules/defaults/nbinteract.yml +1 -2
  112. data/lib/starter_web/_data/modules/defaults/particles.yml +1 -2
  113. data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -2
  114. data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -2
  115. data/lib/starter_web/_data/modules/defaults/{scoller.yml → scroller.yml} +8 -2
  116. data/lib/starter_web/_data/modules/defaults/slick.yml +493 -0
  117. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -2
  118. data/lib/starter_web/_data/modules/defaults/toccer.yml +2 -3
  119. data/lib/starter_web/_data/modules/defaults/translator.yml +2 -3
  120. data/lib/starter_web/_data/modules/defaults/waves.yml +1 -2
  121. data/lib/starter_web/_data/modules/dropdowns.yml +1 -2
  122. data/lib/starter_web/_data/modules/fab.yml +1 -2
  123. data/lib/starter_web/_data/modules/framer.yml +1 -2
  124. data/lib/starter_web/_data/modules/justifiedGallery.yml +1 -2
  125. data/lib/starter_web/_data/modules/lightGallery.yml +1 -2
  126. data/lib/starter_web/_data/modules/lightbox.yml +1 -2
  127. data/lib/starter_web/_data/modules/log4r.yml +140 -7
  128. data/lib/starter_web/_data/modules/lunr.yml +1 -2
  129. data/lib/starter_web/_data/modules/masonry.yml +293 -24
  130. data/lib/starter_web/_data/modules/masterslider.yml +2 -1
  131. data/lib/starter_web/_data/modules/navigator.yml +13 -25
  132. data/lib/starter_web/_data/modules/navigator_menu.yml +632 -560
  133. data/lib/starter_web/_data/modules/particles.yml +1 -2
  134. data/lib/starter_web/_data/modules/rangeSlider.yml +1 -2
  135. data/lib/starter_web/_data/modules/rtable.yml +1 -2
  136. data/lib/starter_web/_data/modules/scroller.yml +9 -3
  137. data/lib/starter_web/_data/modules/slick.yml +501 -0
  138. data/lib/starter_web/_data/modules/themer.yml +1 -2
  139. data/lib/starter_web/_data/modules/toccer.yml +1 -2
  140. data/lib/starter_web/_data/modules/translator.yml +1 -2
  141. data/lib/starter_web/_data/modules/waves.yml +1 -2
  142. data/lib/starter_web/_data/plugins/defaults/paginator.yml +23 -4
  143. data/lib/starter_web/_data/plugins/paginator.yml +10 -13
  144. data/lib/starter_web/_data/puma/config.rb +10 -0
  145. data/lib/starter_web/_data/resources.yml +36 -29
  146. data/lib/starter_web/_data/templates/feed.xml +1 -1
  147. data/lib/starter_web/_data/utilities/defaults/util_srv.yml +2 -2
  148. data/lib/starter_web/_data/utilities/util_srv.yml +2 -3
  149. data/lib/starter_web/_includes/attributes.asciidoc +24 -0
  150. data/lib/starter_web/_includes/custom/static/readme +1 -1
  151. data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
  152. data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -0
  153. data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
  154. data/lib/starter_web/_includes/custom/templates/readme +1 -1
  155. data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
  156. data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
  157. data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
  158. data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
  159. data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +50 -0
  160. data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +7 -6
  161. data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
  162. data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
  163. data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +49 -0
  164. data/lib/starter_web/_plugins/index/lunr.rb +1 -1
  165. data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
  166. data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
  167. data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
  168. data/lib/starter_web/assets/images/collections/portfolio/1.jpg +0 -0
  169. data/lib/starter_web/assets/images/collections/portfolio/2.jpg +0 -0
  170. data/lib/starter_web/assets/images/collections/portfolio/3.jpg +0 -0
  171. data/lib/starter_web/assets/images/collections/portfolio/4.jpg +0 -0
  172. data/lib/starter_web/assets/images/collections/portfolio/5.jpg +0 -0
  173. data/lib/starter_web/assets/images/collections/portfolio/6.jpg +0 -0
  174. data/lib/starter_web/assets/images/custom/header/avatar.svg +248 -0
  175. data/lib/starter_web/assets/images/custom/header/family.svg +2209 -0
  176. data/lib/starter_web/assets/images/icons/controls/close-icon.svg +1 -0
  177. data/lib/starter_web/assets/images/icons/controls/up.svg +1 -0
  178. data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
  179. data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
  180. data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
  181. data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
  182. data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
  183. data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
  184. data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
  185. data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
  186. data/lib/starter_web/assets/images/posts/natural_food/post-1.jpg +0 -0
  187. data/lib/starter_web/assets/images/posts/natural_food/post-10.jpg +0 -0
  188. data/lib/starter_web/assets/images/posts/natural_food/post-11.jpg +0 -0
  189. data/lib/starter_web/assets/images/posts/natural_food/post-12.jpg +0 -0
  190. data/lib/starter_web/assets/images/posts/natural_food/post-13.jpg +0 -0
  191. data/lib/starter_web/assets/images/posts/natural_food/post-2.jpg +0 -0
  192. data/lib/starter_web/assets/images/posts/natural_food/post-3.jpg +0 -0
  193. data/lib/starter_web/assets/images/posts/natural_food/post-4.jpg +0 -0
  194. data/lib/starter_web/assets/images/posts/natural_food/post-5.jpg +0 -0
  195. data/lib/starter_web/assets/images/posts/natural_food/post-6.jpg +0 -0
  196. data/lib/starter_web/assets/images/posts/natural_food/post-7.jpg +0 -0
  197. data/lib/starter_web/assets/images/posts/natural_food/post-8.jpg +0 -0
  198. data/lib/starter_web/assets/images/posts/natural_food/post-9.jpg +0 -0
  199. data/lib/starter_web/assets/images/posts/post-img.jpg +0 -0
  200. data/lib/starter_web/assets/images/posts/post-single.jpg +0 -0
  201. data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +12 -8
  202. data/lib/starter_web/collections/_biography/becoming.adoc +11 -8
  203. data/lib/starter_web/collections/_biography/born-to-run.adoc +11 -8
  204. data/lib/starter_web/collections/_biography/forty-autumns.adoc +11 -7
  205. data/lib/starter_web/collections/_biography/not-dead-yet.adoc +11 -9
  206. data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +11 -7
  207. data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +12 -10
  208. data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +92 -0
  209. data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +92 -0
  210. data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +88 -0
  211. data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +94 -0
  212. data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +88 -0
  213. data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +86 -0
  214. data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
  215. data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
  216. data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
  217. data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
  218. data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
  219. data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
  220. data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
  221. data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
  222. data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
  223. data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +95 -0
  224. data/lib/starter_web/collections/_romance/dressmaker-the.adoc +86 -0
  225. data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +97 -0
  226. data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +92 -0
  227. data/lib/starter_web/collections/_romance/outlander-novel.adoc +105 -0
  228. data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +92 -0
  229. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +49 -6
  230. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +0 -13
  231. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
  232. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  233. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +118 -0
  234. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +118 -0
  235. data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +118 -0
  236. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +117 -0
  237. data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +117 -0
  238. data/lib/starter_web/dot.bundle/config +2 -0
  239. data/lib/starter_web/index.html +19 -4
  240. data/lib/starter_web/package.json +9 -9
  241. data/lib/starter_web/pages/public/about/site.adoc +2 -2
  242. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
  243. data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
  244. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
  245. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
  246. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
  247. data/lib/starter_web/pages/public/features/template.adoc +1 -1
  248. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
  249. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +98 -0
  250. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +86 -0
  251. data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +87 -0
  252. data/lib/starter_web/pages/public/{bookshelf/whats_up.adoc → learn/bookshelf/jekyll_collections.adoc} +31 -23
  253. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
  254. data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +8 -4
  255. data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +21 -13
  256. data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -1
  257. data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +22 -5
  258. data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +14 -8
  259. data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +61 -5
  260. data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +15 -3
  261. data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +13 -1
  262. data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +10 -3
  263. data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +4 -4
  264. data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
  265. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +117 -116
  266. data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
  267. data/lib/starter_web/utilsrv/package.json +2 -2
  268. metadata +120 -38
  269. data/_layouts/paginator/readme +0 -2
  270. data/assets/themes/j1/modules/slick/css/slick.min.css +0 -15
  271. data/assets/themes/j1/modules/slick/js/slick.js +0 -2295
  272. data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
  273. data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
  274. data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
  275. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +0 -144
  276. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +0 -103
  277. data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +0 -117
  278. data/lib/starter_web/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -44
  279. data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/readme +0 -0
  280. data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/readme +0 -0
  281. data/lib/starter_web/pages/public/bookshelf/viewer_biography.adoc +0 -58
  282. /data/_layouts/{paginator/autopage_tags.html → autopage_tags.html} +0 -0
  283. /data/assets/themes/j1/modules/slick/{LICENSE → slider/LICENSE} +0 -0
  284. /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.eot +0 -0
  285. /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.ttf +0 -0
  286. /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.woff +0 -0
  287. /data/assets/themes/j1/modules/slick/{ajax-loader.gif → slider/images/ajax-loader.gif} +0 -0
  288. /data/assets/themes/j1/modules/slick/{js → slider/js}/slick.min.js +0 -0
  289. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
  290. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
  291. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
  292. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
  293. /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/static-web-access.png +0 -0
@@ -60,6 +60,9 @@ regenerate: true
60
60
  {% assign themer_defaults = modules.defaults.themer.defaults %}
61
61
  {% assign themer_settings = modules.themer.settings %}
62
62
 
63
+ {% assign scroller_defaults = modules.defaults.scroller.defaults %}
64
+ {% assign scroller_settings = modules.scroller.settings %}
65
+
63
66
  {% assign tracking_enabled = modules.analytics.enabled %}
64
67
  {% assign tracking_id = modules.analytics.google.trackingID %}
65
68
 
@@ -135,10 +138,13 @@ var j1 = (function (options) {
135
138
  // globals
136
139
  // ---------------------------------------------------------------------------
137
140
  // base page resources
138
- var rePager = new RegExp('navigator|dateview|tagview|archive');
139
- var environment = '{{environment}}';
140
- var moduleOptions = {};
141
- var j1_runtime_data = {};
141
+ var rePager = new RegExp('navigator|dateview|tagview|archive');
142
+ var environment = '{{environment}}';
143
+ var moduleOptions = {};
144
+ var j1_runtime_data = {};
145
+ var scrollerSettings = {};
146
+ var scrollerOptions = {};
147
+ var scrollerDefaults = {};
142
148
  var _this;
143
149
  var settings;
144
150
  var json_data;
@@ -147,6 +153,9 @@ var j1 = (function (options) {
147
153
  var referrer;
148
154
  var documentHeight;
149
155
 
156
+ var scrollOffset;
157
+ var scrollOffsetCorrection;
158
+
150
159
  // defaults for status information
151
160
  var state = 'not_started';
152
161
  var mode = 'not_detected';
@@ -301,6 +310,11 @@ var j1 = (function (options) {
301
310
  // create settings object from frontmatter options
302
311
  var frontmatterOptions = options != null ? $.extend({}, options) : {};
303
312
 
313
+ // Load scroller module DEFAULTS|CONFIGs
314
+ scrollerDefaults = $.extend({}, {{scroller_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
315
+ scrollerSettings = $.extend({}, {{scroller_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
316
+ scrollerOptions = $.extend(true, {}, scrollerDefaults, scrollerSettings);
317
+
304
318
  // settings for dynamic pages
305
319
  scrollDynamicPagesTopOnChange = frontmatterOptions.scrollDynamicPagesTopOnChange ? frontmatterOptions.scrollDynamicPagesTopOnChange : '{{template_config.scrollDynamicPagesTopOnChange}}';
306
320
  scrollDynamicPagesTopOnChange = j1.stringToBoolean(scrollDynamicPagesTopOnChange);
@@ -1311,12 +1325,12 @@ var j1 = (function (options) {
1311
1325
  // getScrollOffset()
1312
1326
  // Calculate offset for a correct (smooth) scroll position
1313
1327
  // -------------------------------------------------------------------------
1314
- getScrollOffset: function () {
1315
- var scrollOffset;
1316
- var offsetCorrection = 0;
1328
+ getScrollOffset: function (offsetCorrection) {
1329
+ // var scrollOffset;
1330
+ // var offsetCorrection = 0;
1317
1331
 
1318
1332
  var $pagehead = $('.attic');
1319
- var $navbar = $('nav.navbar');
1333
+ var $navbar = $('#navigator_nav_navbar');
1320
1334
  var $adblock = $('#adblock');
1321
1335
  var navbarType = $navbar.hasClass('navbar-fixed') ? 'fixed' : 'scrolled';
1322
1336
  var fontSize = $('body').css('font-size').replace('px','');
@@ -2430,6 +2444,7 @@ var j1 = (function (options) {
2430
2444
  // -------------------------------------------------------------------------
2431
2445
  scrollToAnchor: function () {
2432
2446
  var logger = log4javascript.getLogger('j1.adapter.scrollToAnchor');
2447
+ var scrollOffset;
2433
2448
 
2434
2449
  var dependencies_met_page_displayed = setInterval (function () {
2435
2450
  var pageState = $('#no_flicker').css("display");
@@ -2439,24 +2454,26 @@ var j1 = (function (options) {
2439
2454
  // TODO: Check why a timeout is required to run the smmoth scroller (j1.scrollTo)
2440
2455
  if (j1['pageMonitor'].pageType == 'static') {
2441
2456
  setTimeout (function() {
2442
- logger.info('\n' + 'Scroller: Scroll static page')
2443
- const scrollOffset = j1.getScrollOffset();
2457
+ logger.debug('\n' + 'Scroller: Scroll static page');
2458
+ scrollOffsetCorrection = scrollerOptions.smoothscroll.offsetCorrection;
2459
+ scrollOffset = j1.getScrollOffset(scrollOffsetCorrection);
2444
2460
  j1.scrollTo(scrollOffset);
2445
- }, {{template_config.page_on_load_timeout}} );
2461
+ }, {{template_config.timeoutScrollStaticPages}} );
2446
2462
  clearInterval(dependencies_met_page_displayed);
2447
2463
  } else if (j1['pageMonitor'].pageType == 'dynamic') {
2448
2464
  setTimeout (function() {
2449
- const scrollOffset = j1.getScrollOffset();
2465
+ scrollOffsetCorrection = scrollerOptions.smoothscroll.offsetCorrection;
2466
+ scrollOffset = j1.getScrollOffset(scrollOffsetCorrection);
2450
2467
  j1.scrollTo(scrollOffset);
2451
- logger.info('\n' + 'Scroller: Scroll dynamic page on timeout')
2452
- // }, timeoutScrollDynamicPages);
2453
- }, {{template_config.page_on_load_timeout}} );
2468
+ logger.debug('\n' + 'Scroller: Scroll dynamic page on timeout');
2469
+ }, {{template_config.timeoutScrollDynamicPages}} );
2454
2470
  clearInterval(dependencies_met_page_displayed);
2455
2471
  } else {
2456
2472
  // failsave fallback
2457
2473
  setTimeout (function() {
2458
- logger.warn('\n' + 'Scroller: Scroll page of unknown type')
2459
- const scrollOffset = j1.getScrollOffset();
2474
+ logger.debug('\n' + 'Scroller: Scroll page of unknown type');
2475
+ scrollOffsetCorrection = scrollerOptions.smoothscroll.offsetCorrection;
2476
+ scrollOffset = j1.getScrollOffset(scrollOffsetCorrection);
2460
2477
  j1.scrollTo(scrollOffset);
2461
2478
  }, {{template_config.page_on_load_timeout}} );
2462
2479
  clearInterval(dependencies_met_page_displayed);
@@ -2498,9 +2515,10 @@ var j1 = (function (options) {
2498
2515
  // see: https://stackoverflow.com/questions/14866775/detect-document-height-change
2499
2516
  //
2500
2517
  const observer = new ResizeObserver(entries => {
2501
- const body = document.body,
2502
- html = document.documentElement,
2503
- scrollOffset = j1.getScrollOffset();
2518
+ var scrollOffsetCorrection = scrollerOptions.smoothscroll.offsetCorrection;
2519
+ const body = document.body,
2520
+ html = document.documentElement,
2521
+ scrollOffset = j1.getScrollOffset(scrollOffsetCorrection);
2504
2522
 
2505
2523
  // get the page height from the DOM
2506
2524
  //
@@ -2618,7 +2636,23 @@ var j1 = (function (options) {
2618
2636
  window.onkeyup = function (event) {
2619
2637
  if (event.keyCode == 27) window.history.back();
2620
2638
  };
2621
- }
2639
+
2640
+ $("a[href*='#']:not([href='#'])").click(function() {
2641
+ if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
2642
+ var target = $(this.hash);
2643
+ target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
2644
+ if (target.length) {
2645
+ var scrollOffsetCorrection = scrollerOptions.smoothscroll.offsetCorrectionLocal;
2646
+ var offset = target.offset().top + scrollOffsetCorrection;
2647
+ $('html,body').animate({
2648
+ scrollTop: offset
2649
+ }, 1000);
2650
+ return false;
2651
+ }
2652
+ }
2653
+ });
2654
+
2655
+ } // END registerEvents
2622
2656
  };
2623
2657
  }) (j1, window);
2624
2658
 
@@ -111,9 +111,9 @@ var logText;
111
111
  // adapter initializer
112
112
  // -------------------------------------------------------------------------
113
113
  init: function (options) {
114
-
115
- // [INFO ] [j1.adapter.comments ] [ detected comments provider (j1_config): {{comments_provider}}} ]
116
- // [INFO ] [j1.adapter.comments ] [ start processing load region head, layout: {{page.layout}} ]
114
+ var xhrLoadState = 'pending'; // (initial) load state for the HTML portion of the slider
115
+ var load_dependencies = {};
116
+ var dependency;
117
117
 
118
118
  // -----------------------------------------------------------------------
119
119
  // Default module settings
@@ -133,24 +133,29 @@ var logText;
133
133
  // Load module DEFAULTS|CONFIG
134
134
  masonryDefaults = $.extend({}, {{masonry_defaults | replace: 'nil', 'null' | replace: '=>', ':' }});
135
135
  masonrySettings = $.extend({}, {{masonry_settings | replace: 'nil', 'null' | replace: '=>', ':' }});
136
- masonryOptions = $.extend({}, masonryDefaults, masonrySettings);
137
-
136
+ masonryOptions = $.extend(true, {}, masonryDefaults, masonrySettings);
137
+
138
+ // load HTML portion for all grids
139
+ console.debug('loading HTML portion for all Masonry grids configured');
140
+ _this.loadGridHTML(masonryOptions, masonryOptions.grids);
141
+
138
142
  // -----------------------------------------------------------------------
139
143
  // initializer
140
144
  // -----------------------------------------------------------------------
141
145
  var dependencies_met_page_ready = setInterval (function (options) {
146
+ var pageState = $('#no_flicker').css("display");
147
+ var pageVisible = (pageState == 'block') ? true: false;
142
148
 
143
- if ( j1.getState() === 'finished' ) {
149
+ if ( j1.getState() === 'finished' && pageVisible ) {
144
150
 
145
151
  _this.setState('started');
146
152
  logger.debug('\n' + 'state: ' + _this.getState());
147
153
  logger.info('\n' + 'module is being initialized');
148
154
 
149
- {% for item in masonry_options.grids %}
150
- {% if item.grid.enabled %}
151
- {% assign grid_id = item.grid.id %}
152
-
153
- logger.info('\n' + 'found masonry on id: ' + '{{grid_id}}');
155
+ {% for grid in masonry_settings.grids %}
156
+ {% if grid.enabled %}
157
+ {% assign grid_id = grid.id %}
158
+ logger.info('\n' + 'found masonry grid on id: ' + '{{grid_id}}');
154
159
 
155
160
  {% comment %} load default grid options
156
161
  ------------------------------------------------------------------ {% endcomment %}
@@ -162,53 +167,84 @@ var logText;
162
167
  {% assign transition_duration = masonry_defaults.transitionDuration %}
163
168
  {% assign stagger_duration = masonry_defaults.stagger %}
164
169
  {% assign gutter_size = masonry_defaults.gutter %}
170
+ {% assign resize = masonry_defaults.resize %}
171
+ {% assign itemSelector = masonry_defaults.itemSelector %}
172
+ {% assign containerStyle = masonry_defaults.containerStyle %}
173
+ {% assign columnWidth = masonry_defaults.columnWidth %}
165
174
 
166
175
  {% comment %} overload defaults by grid element options
167
176
  ------------------------------------------------------------------ {% endcomment %}
168
- {% if item.grid.percentPosition %} {% assign percent_position = item.grid.percentPosition %} {% endif %}
169
- {% if item.grid.horizontalOrder %} {% assign horizontal_order = item.grid.horizontalOrder %} {% endif %}
170
- {% if item.grid.originLeft %} {% assign origin_left = item.grid.originLeft %} {% endif %}
171
- {% if item.grid.originTop %} {% assign origin_top = item.grid.originTop %} {% endif %}
172
- {% if item.grid.initLayout %} {% assign init_layout = item.grid.initLayout %} {% endif %}
173
- {% if item.grid.transitionDuration %} {% assign transition_duration = item.grid.transitionDuration %} {% endif %}
174
- {% if item.grid.stagger %} {% assign stagger_duration = item.grid.stagger %} {% endif %}
175
- {% if item.grid.gutter %} {% assign gutter_size = item.grid.gutter %} {% endif %}
176
-
177
- var $grid_{{grid_id}} = $('#{{grid_id}}');
178
-
179
- logger.info('\n' + 'initialize grid on id: ' + '{{grid_id}}');
180
- // initialize the (masonry) grid
181
- //
182
- $grid_{{grid_id}}.masonry({
183
- percentPosition: {{percent_position}},
184
- horizontalOrder: {{horizontal_order}},
185
- originLeft: {{origin_left}},
186
- originTop: {{origin_top}},
187
- initLayout: {{init_layout}},
188
- transitionDuration: "{{transition_duration}}s",
189
- stagger: "{{stagger_duration}}",
190
- });
191
-
192
- logger.info('\n' + 'install event handlers on id: ' + '{{grid_id}}');
193
- // grid event handler
194
- //
195
- $grid_{{grid_id}}.on( 'click', '.card', function() {
196
- // remove clicked element
197
- // layout remaining item elements
198
- $grid_{{grid_id}}.masonry('remove', this).masonry('layout');
199
- $grid_{{grid_id}}.masonry('reloadItems');
200
- });
177
+ {% if grid.options.percentPosition %} {% assign percent_position = grid.options.percentPosition %} {% endif %}
178
+ {% if grid.options.horizontalOrder %} {% assign horizontal_order = grid.options.horizontalOrder %} {% endif %}
179
+ {% if grid.options.originLeft %} {% assign origin_left = grid.options.originLeft %} {% endif %}
180
+ {% if grid.options.originTop %} {% assign origin_top = grid.options.originTop %} {% endif %}
181
+ {% if grid.options.initLayout %} {% assign init_layout = grid.options.initLayout %} {% endif %}
182
+ {% if grid.options.transitionDuration %} {% assign transition_duration = grid.options.transitionDuration %} {% endif %}
183
+ {% if grid.options.stagger %} {% assign stagger_duration = grid.options.stagger %} {% endif %}
184
+ {% if grid.options.gutter %} {% assign gutter_size = grid.options.gutter %} {% endif %}
185
+ {% if grid.options.resize %} {% assign resize = grid.options.resize %} {% endif %}
186
+ {% if grid.options.itemSelector %} {% assign itemSelector = grid.options.itemSelector %} {% endif %}
187
+ {% if grid.options.containerStyle %} {% assign containerStyle = grid.options.containerStyle %} {% endif %}
188
+ {% if grid.options.columnWidth %} {% assign columnWidth = grid.options.columnWidth %} {% endif %}
189
+
190
+ // create dynamic loader variable|s
191
+ dependency = 'dependencies_met_html_loaded_{{grid.id}}';
192
+ load_dependencies[dependency] = '';
193
+
194
+ // initialize the grid if HTML portion successfully loaded
195
+ load_dependencies['dependencies_met_html_loaded_{{grid.id}}'] = setInterval (function (options) {
196
+ // check if HTML portion of the slider is loaded successfully (loadSliderHTML)
197
+ xhrLoadState = j1.xhrDOMState['#{{grid.id}}_parent'];
198
+ if ( xhrLoadState === 'success' ) {
199
+ setTimeout (function() {
200
+ var $grid_{{grid_id}} = $('#{{grid_id}}');
201
+ logger.info('\n' + 'initialize grid on id: ' + '{{grid_id}}');
202
+
203
+ // grid event handler
204
+ logger.info('\n' + 'install event handlers for grid on id: ' + '{{grid_id}}');
205
+ $grid_{{grid_id}}.on('layoutComplete', function() {
206
+ // initializing (grid layout) completed
207
+ logger.debug('\n' + 'initializing layout completed for grid on id: ' + '{{grid_id}}');
208
+
209
+ // correct position for artice modals (previwes)
210
+ logger.debug('\n' + 'adjust positions of all modals on id: {{grid_id.id}}');
211
+ var preview_modals = $("#{{grid_id}} > .article-modal");
212
+ $.each($(preview_modals), function(index, modal) {
213
+ $(modal).attr('style', 'left: 0%');
214
+ });
215
+
216
+ });
217
+
218
+ // setup the grid
219
+ logger.info('\n' + 'grid is being setup on id: ' + '{{grid.id}}');
220
+ $grid_{{grid_id}}.masonry({
221
+ percentPosition: {{percent_position}},
222
+ horizontalOrder: {{horizontal_order}},
223
+ originLeft: {{origin_left}},
224
+ originTop: {{origin_top}},
225
+ initLayout: {{init_layout}},
226
+ transitionDuration: "{{transition_duration}}s",
227
+ stagger: "{{stagger_duration}}s",
228
+ resize: {{resize}},
229
+ gutter: {{gutter_size}},
230
+ // containerStyle: "{{containerStyle}}",
231
+ // columnWidth: {{columnWidth}},
232
+ });
233
+ }, masonryOptions.initTimeout);
234
+ }
235
+ clearInterval(load_dependencies['dependencies_met_html_loaded_{{grid.id}}']);
236
+ }, 25); // END dependencies_met_html_loaded
201
237
 
202
238
  {% else %}
203
-
204
- {% if item.grid.hideDisabled %}
239
+ logger.info('\n' + 'found grid disabled on id: {{grid.id}}');
240
+ {% if masonryOptions.hideDisabled %}
205
241
  // hide a grid if disabled
206
- $('#{{item.grid.id}}').hide();
242
+ logger.debug('\n' + 'hide grid disabled on id: {{grid.id}}');
243
+ $('#{{grid.id}}').hide();
207
244
  {% endif %}
208
-
209
245
  {% endif %} // ENDIF grid enabled
210
- {% endfor %} // ENDFOR (all) grids
211
246
 
247
+ {% endfor %} // ENDFOR (all) grids
212
248
  logger.info('\n' + 'initializing module finished');
213
249
  clearInterval(dependencies_met_page_ready);
214
250
  }
@@ -216,6 +252,40 @@ var logText;
216
252
 
217
253
  }, // END init
218
254
 
255
+ // -------------------------------------------------------------------------
256
+ // loadGridHTML()
257
+ // loads the HTML portion via AJAX (j1.loadHTML) for all grids configured.
258
+ // NOTE: Make sure the placeholder DIV is available in the content
259
+ // page e.g. using the asciidoc extension masonry::
260
+ // -------------------------------------------------------------------------
261
+ loadGridHTML: function (options, grid) {
262
+ var numGrids = Object.keys(grid).length;
263
+ var active_grids = numGrids;
264
+ var xhr_data_path = options.xhr_data_path + '/index.html';
265
+ var xhr_container_id;
266
+
267
+ console.debug('number of grids found: ' + numGrids);
268
+
269
+ _this.setState('load_data');
270
+ Object.keys(grid).forEach(function(key) {
271
+ if (grid[key].enabled) {
272
+ xhr_container_id = grid[key].id + '_parent';
273
+
274
+ console.debug('load HTML portion on grid id: ' + grid[key].id);
275
+ j1.loadHTML({
276
+ xhr_container_id: xhr_container_id,
277
+ xhr_data_path: xhr_data_path,
278
+ xhr_data_element: grid[key].id
279
+ });
280
+ } else {
281
+ console.debug('grid found disabled on id: ' + grid[key].id);
282
+ active_grids--;
283
+ }
284
+ });
285
+ console.debug('grids loaded in page enabled|all: ' + active_grids + '|' + numGrids);
286
+ _this.setState('data_loaded');
287
+ }, // END loadSliderHTML
288
+
219
289
  // -------------------------------------------------------------------------
220
290
  // messageHandler()
221
291
  // manage messages send from other J1 modules
@@ -384,9 +384,10 @@ j1.adapter.mmenu = (function (j1, window) {
384
384
  callback: function (event) {
385
385
  logger.debug('\n' + 'hide|show the nav menu');
386
386
  // switch off|on the (main) nav menu
387
- $('#' + 'navbar-brand').toggle();
388
- $('#' + navMenuOptions.nav_main_menu).toggle();
389
- $('#' + navMenuOptions.nav_quicklinks).toggle();
387
+ $('#' + 'navigator_nav_navbar').toggle();
388
+ // $('#' + 'navbar-brand').toggle();
389
+ // $('#' + navMenuOptions.nav_main_menu).toggle();
390
+ // $('#' + navMenuOptions.nav_quicklinks).toggle();
390
391
  }
391
392
  });
392
393
 
@@ -261,10 +261,10 @@ j1.adapter.navigator = (function (j1, window) {
261
261
 
262
262
  // Merge|Overload module CONFIG by DEFAULTS
263
263
  //
264
- navBarOptions = j1.mergeData(navBarConfig, navDefaults.nav_bar);
265
- navMenuOptions = j1.mergeData(navMenuConfig, navDefaults.nav_menu);
266
- navQuicklinksOptions = j1.mergeData(navQuicklinksConfig, navDefaults.nav_quicklinks);
267
- navAuthClientConfig = j1.mergeData(navAuthClientConfig, navDefaults.nav_authclient);
264
+ navBarOptions = $.extend(true, {}, navDefaults.nav_bar, navBarConfig);
265
+ navMenuOptions = $.extend(true, {}, navDefaults.nav_menu, navMenuConfig);
266
+ navQuicklinksOptions = $.extend(true, {}, navDefaults.nav_bar, navQuicklinksConfig,);
267
+ navAuthClientConfig = $.extend(true, {}, navAuthClientConfig, navDefaults.nav_authclient);
268
268
 
269
269
  // save config settings into the adapter object for global access
270
270
  //
@@ -406,8 +406,10 @@ j1.adapter.navigator = (function (j1, window) {
406
406
  // event handler|css styles
407
407
  // -----------------------------------------------------------------
408
408
  var dependencies_met_initialized = setInterval(function() {
409
+ var pageState = $('#no_flicker').css("display");
410
+ var pageVisible = (pageState == 'block') ? true: false;
409
411
  // initialize if page and themer ready
410
- if (j1.getState() === 'finished' && j1.adapter.themer.getState() === 'finished') {
412
+ if (j1.getState() === 'finished' && j1.adapter.themer.getState() === 'finished' && pageVisible) {
411
413
  _this.setState('processing');
412
414
 
413
415
  // apply module configuration settings
@@ -789,8 +791,6 @@ j1.adapter.navigator = (function (j1, window) {
789
791
 
790
792
  $('head').append(navbar_scrolled_style);
791
793
 
792
-
793
-
794
794
  logger.info('\n' + 'set dynamic styles for the theme loaded');
795
795
 
796
796
  // Set|Resolve navMenuOptions
@@ -837,6 +837,56 @@ j1.adapter.navigator = (function (j1, window) {
837
837
  // set current body background color for all tables
838
838
  $('table').css('background', bg_table);
839
839
 
840
+ // jadams, 2023-02-26: navbar settings
841
+ style = '<style>';
842
+ style += ' li.nav-item > a {';
843
+ style += ' color: ' + navBarOptions.nav_item_color + ' !important;';
844
+ style += ' }';
845
+ style += '</style>';
846
+ $('head').append(style);
847
+
848
+ // jadams, 2023-02-26: navbar settings
849
+ style = '<style>';
850
+ style += ' li.nav-item > a:hover {';
851
+ style += ' color: ' + navBarOptions.nav_item_color_hover + ' !important;';
852
+ style += ' }';
853
+ style += '</style>';
854
+ $('head').append(style);
855
+
856
+ // jadams, 2023-02-26: navmenu settings
857
+ style = '<style>';
858
+ style += ' li.dropdown.nav-item > a {';
859
+ style += ' color: ' + navMenuOptions.menu_item_color + ' !important;';
860
+ style += ' }';
861
+ style += '</style>';
862
+ $('head').append(style);
863
+
864
+ // jadams, 2023-02-26: navmenu settings
865
+ style = '<style>';
866
+ style += ' li.dropdown.nav-item > a:hover {';
867
+ style += ' color: ' + navMenuOptions.menu_item_color_hover + ' !important;';
868
+ style += ' }';
869
+ style += '</style>';
870
+ $('head').append(style);
871
+
872
+ // jadams, 2023-02-26: navicon settings
873
+ style = '<style>';
874
+ style += ' .nav-icon {';
875
+ style += ' color: ' + navQuicklinksOptions.icon_color + ' !important;';
876
+ style += ' }';
877
+ style += '</style>';
878
+ $('head').append(style);
879
+
880
+ // jadams, 2023-02-26: navicon settings
881
+ style = '<style>';
882
+ style += ' .nav-icon:hover {';
883
+ style += ' color: ' + navQuicklinksOptions.icon_color_hover + ' !important;';
884
+ style += ' }';
885
+ style += '</style>';
886
+ $('head').append(style);
887
+
888
+
889
+
840
890
  // $('head').append('<style>.mdi-bg-primary {color: ' +bg_scrolled+ ';}</style>');
841
891
  style = '<style>';
842
892
  style += ' .mdi-bg-primary {';
@@ -1022,7 +1072,7 @@ j1.adapter.navigator = (function (j1, window) {
1022
1072
  style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu {';
1023
1073
  style += ' max-height: ' + navMenuOptions.dropdown_menu_max_height + 'rem !important;';
1024
1074
  style += ' animation-duration: ' + navMenuOptions.dropdown_animate_duration + 's !important;';
1025
- style += ' color: #616161 !important;';
1075
+ // style += ' color: #616161 !important;';
1026
1076
  style += ' min-width: ' + navMenuOptions.dropdown_item_min_width + 'rem !important;';
1027
1077
  style += ' border-top: solid ' + navMenuOptions.dropdown_border_top + 'px !important;';
1028
1078
  style += ' border-radius: ' + navMenuOptions.dropdown_border_radius + 'px !important;';
@@ -1057,22 +1107,22 @@ j1.adapter.navigator = (function (j1, window) {
1057
1107
 
1058
1108
  // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator li.dropdown ul.dropdown-menu > li > a { color: ' +navMenuOptions.dropdown_item_color+ ' !important; font-size: ' +navMenuOptions.dropdown_font_size+ ' !important; font-weight: 400; } }</style>');
1059
1109
  // configure dropdown_font_size|color
1060
- style = '<style>';
1061
- style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
1062
- style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu > li > a {';
1063
- style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
1064
- style += ' font-size: ' + navMenuOptions.dropdown_font_size + ' !important;';
1065
- style += ' font-weight: 400;';
1066
- style += ' }';
1067
- style += ' }';
1068
- style += '</style>';
1069
- $('head').append(style);
1110
+ // style = '<style>';
1111
+ // style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
1112
+ // style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu > li > a {';
1113
+ // style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
1114
+ // style += ' font-size: ' + navMenuOptions.dropdown_font_size + ' !important;';
1115
+ // style += ' font-weight: 400;';
1116
+ // style += ' }';
1117
+ // style += ' }';
1118
+ // style += '</style>';
1119
+ // $('head').append(style);
1070
1120
 
1071
1121
  // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.dropdown-menu.megamenu-content .content ul.menu-col li a { color: ' +navMenuOptions.dropdown_item_color+ ' !important; font-size: ' +navMenuOptions.megamenu_font_size+ ' !important; font-weight: 400; } }</style>');
1072
1122
  style = '<style>';
1073
1123
  style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
1074
1124
  style += ' nav.navbar.navigator ul.dropdown-menu.megamenu-content .content ul.menu-col li a {';
1075
- style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
1125
+ // style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
1076
1126
  style += ' font-size: ' + navMenuOptions.megamenu_font_size + ' !important;';
1077
1127
  style += ' font-weight: 400;';
1078
1128
  style += ' }';