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.
- checksums.yaml +4 -4
- data/_includes/themes/j1/layouts/content_generator_collection.html +2 -3
- data/_includes/themes/j1/layouts/content_generator_news_panel_posts.html +2 -2
- data/_includes/themes/j1/modules/attics/generator.html +3 -1
- data/_includes/themes/j1/modules/navigator/generator.html +2 -2
- data/_includes/themes/j1/procedures/collections/create_collection_article_preview.proc +1 -1
- data/_layouts/{paginator/autopage_category.html → autopage_category.html} +1 -1
- data/_layouts/{paginator/autopage_collection.html → autopage_collection.html} +1 -6
- data/_layouts/{paginator/autopage_collections_tags.html → autopage_collections_tags.html} +1 -1
- data/_layouts/category.html +67 -0
- data/_layouts/readme +2 -0
- data/assets/data/banner.html +8 -6
- data/assets/data/masonry.html +397 -0
- data/assets/data/panel.html +1 -1
- data/assets/data/quicklinks.html +12 -12
- data/assets/data/slick.html +288 -0
- data/assets/error_pages/HTTP204.html +1 -1
- data/assets/error_pages/HTTP400.html +1 -1
- data/assets/error_pages/HTTP401.html +1 -1
- data/assets/error_pages/HTTP403.html +1 -1
- data/assets/error_pages/HTTP404.html +1 -1
- data/assets/error_pages/HTTP444.html +1 -1
- data/assets/error_pages/HTTP445.html +1 -1
- data/assets/error_pages/HTTP446.html +1 -1
- data/assets/error_pages/HTTP447.html +1 -1
- data/assets/error_pages/HTTP448.html +1 -1
- data/assets/error_pages/HTTP500.html +1 -1
- data/assets/error_pages/HTTP501.html +1 -1
- data/assets/error_pages/HTTP502.html +1 -1
- data/assets/error_pages/HTTP503.html +1 -1
- data/assets/themes/j1/adapter/js/attic.js +31 -16
- data/assets/themes/j1/adapter/js/j1.js +55 -21
- data/assets/themes/j1/adapter/js/masonry.js +119 -49
- data/assets/themes/j1/adapter/js/mmenu.js +4 -3
- data/assets/themes/j1/adapter/js/navigator.js +69 -19
- data/assets/themes/j1/adapter/js/slick.js +293 -44
- data/assets/themes/j1/adapter/js/toccer.js +27 -14
- data/assets/themes/j1/adapter/js/waves.js +3 -1
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +294 -364
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
- data/assets/themes/j1/core/js/template.js +56 -60
- data/assets/themes/j1/core/js/template.min.js +6 -6
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/masonry/css/theme/uno.css +35 -0
- data/assets/themes/j1/modules/masonry/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.css +3 -3
- data/assets/themes/j1/modules/mmenuLight/css/theme/uno/mmenu.min.css +1 -1
- data/assets/themes/j1/modules/slick/lightbox/LICENSE +20 -0
- data/assets/themes/j1/modules/slick/lightbox/README.md +138 -0
- data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.css +128 -0
- data/assets/themes/j1/modules/slick/lightbox/css/slick-lightbox.min.css +1 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.css +36 -0
- data/assets/themes/j1/modules/slick/lightbox/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.js +353 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js +2 -0
- data/assets/themes/j1/modules/slick/lightbox/js/slick-lightbox.min.js.map +1 -0
- data/assets/themes/j1/modules/slick/{README.md → slider/README.md} +13 -14
- data/assets/themes/j1/modules/slick/{css → slider/css}/slick.css +16 -10
- data/assets/themes/j1/modules/slick/slider/css/slick.min.css +15 -0
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.css +292 -0
- data/assets/themes/j1/modules/slick/slider/css/theme/uno.min.css +15 -0
- data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.svg +14 -14
- data/assets/themes/j1/modules/slick/slider/js/slick.js +3037 -0
- data/assets/themes/j1/modules/translator/css/translator.css +3 -19
- data/assets/themes/j1/modules/translator/css/translator.min.css +1 -1
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/fastfilereaderext.so +0 -0
- data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.2/rubyeventmachine.so +0 -0
- data/lib/j1/version.rb +1 -1
- data/lib/j1_app/log4r/yamlconfigurator.rb +41 -41
- data/lib/starter_web/Gemfile +4 -4
- data/lib/starter_web/README.md +142 -143
- data/lib/starter_web/_config.yml +55 -25
- data/lib/starter_web/_data/blocks/banner.yml +45 -46
- data/lib/starter_web/_data/blocks/defaults/banner.yml +4 -4
- data/lib/starter_web/_data/blocks/defaults/panel.yml +11 -11
- data/lib/starter_web/_data/blocks/footer.yml +2 -2
- data/lib/starter_web/_data/blocks/panel.yml +9 -9
- data/lib/starter_web/_data/layouts/collection.yml +9 -0
- data/lib/starter_web/_data/layouts/home.yml +51 -21
- data/lib/starter_web/_data/layouts/page.yml +36 -3
- data/lib/starter_web/_data/layouts/post.yml +36 -3
- data/lib/starter_web/_data/layouts/raw.yml +35 -3
- data/lib/starter_web/_data/modules/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/analytics.yml +1 -2
- data/lib/starter_web/_data/modules/attics.yml +2 -2
- data/lib/starter_web/_data/modules/blog_navigator.yml +1 -2
- data/lib/starter_web/_data/modules/carousel.yml +1 -2
- data/lib/starter_web/_data/modules/comments.yml +1 -2
- data/lib/starter_web/_data/modules/cookieconsent.yml +1 -2
- data/lib/starter_web/_data/modules/cookies.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/advertising.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/analytics.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/attics.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/blog_navigator.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/carousel.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/comments.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/cookies.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/dropdowns.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/fab.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/justifiedGallery.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/lightGallery.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +7 -9
- data/lib/starter_web/_data/modules/defaults/lunr.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/masonry.yml +52 -23
- data/lib/starter_web/_data/modules/defaults/navigator.yml +13 -12
- data/lib/starter_web/_data/modules/defaults/nbinteract.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/particles.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/rangeSlider.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/rtable.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/{scoller.yml → scroller.yml} +8 -2
- data/lib/starter_web/_data/modules/defaults/slick.yml +493 -0
- data/lib/starter_web/_data/modules/defaults/themer.yml +1 -2
- data/lib/starter_web/_data/modules/defaults/toccer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/translator.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/waves.yml +1 -2
- data/lib/starter_web/_data/modules/dropdowns.yml +1 -2
- data/lib/starter_web/_data/modules/fab.yml +1 -2
- data/lib/starter_web/_data/modules/framer.yml +1 -2
- data/lib/starter_web/_data/modules/justifiedGallery.yml +1 -2
- data/lib/starter_web/_data/modules/lightGallery.yml +1 -2
- data/lib/starter_web/_data/modules/lightbox.yml +1 -2
- data/lib/starter_web/_data/modules/log4r.yml +140 -7
- data/lib/starter_web/_data/modules/lunr.yml +1 -2
- data/lib/starter_web/_data/modules/masonry.yml +293 -24
- data/lib/starter_web/_data/modules/masterslider.yml +2 -1
- data/lib/starter_web/_data/modules/navigator.yml +13 -25
- data/lib/starter_web/_data/modules/navigator_menu.yml +632 -560
- data/lib/starter_web/_data/modules/particles.yml +1 -2
- data/lib/starter_web/_data/modules/rangeSlider.yml +1 -2
- data/lib/starter_web/_data/modules/rtable.yml +1 -2
- data/lib/starter_web/_data/modules/scroller.yml +9 -3
- data/lib/starter_web/_data/modules/slick.yml +501 -0
- data/lib/starter_web/_data/modules/themer.yml +1 -2
- data/lib/starter_web/_data/modules/toccer.yml +1 -2
- data/lib/starter_web/_data/modules/translator.yml +1 -2
- data/lib/starter_web/_data/modules/waves.yml +1 -2
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +23 -4
- data/lib/starter_web/_data/plugins/paginator.yml +10 -13
- data/lib/starter_web/_data/puma/config.rb +10 -0
- data/lib/starter_web/_data/resources.yml +36 -29
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_data/utilities/defaults/util_srv.yml +2 -2
- data/lib/starter_web/_data/utilities/util_srv.yml +2 -3
- data/lib/starter_web/_includes/attributes.asciidoc +24 -0
- data/lib/starter_web/_includes/custom/static/readme +1 -1
- data/lib/starter_web/_includes/custom/templates/collection_panel.html +131 -0
- data/lib/starter_web/_includes/custom/templates/custom_header.html +98 -0
- data/lib/starter_web/_includes/custom/templates/people_panel.html +144 -0
- data/lib/starter_web/_includes/custom/templates/readme +1 -1
- data/lib/starter_web/_plugins/asciidoctor/carousel-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gallery-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/gist-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/lightbox-block.rb +1 -1
- data/lib/starter_web/_plugins/asciidoctor/masonry-block.rb +50 -0
- data/lib/starter_web/_plugins/asciidoctor/masterslider-block.rb +7 -6
- data/lib/starter_web/_plugins/asciidoctor/mdil-icon-inline.rb +10 -0
- data/lib/starter_web/_plugins/asciidoctor/placeholder-inline.rb +44 -0
- data/lib/starter_web/_plugins/asciidoctor/slick-block.rb +49 -0
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/images/collections/people/diana-petersen.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/larry-parker.jpg +0 -0
- data/lib/starter_web/assets/images/collections/people/parveen-anand.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/1.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/2.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/3.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/4.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/5.jpg +0 -0
- data/lib/starter_web/assets/images/collections/portfolio/6.jpg +0 -0
- data/lib/starter_web/assets/images/custom/header/avatar.svg +248 -0
- data/lib/starter_web/assets/images/custom/header/family.svg +2209 -0
- data/lib/starter_web/assets/images/icons/controls/close-icon.svg +1 -0
- data/lib/starter_web/assets/images/icons/controls/up.svg +1 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/images/modules/attics/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/images/modules/gallery/old_times/image_02.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/featured/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-1.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-10.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-11.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-12.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-13.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-2.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-3.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-4.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-5.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-6.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-7.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-8.jpg +0 -0
- data/lib/starter_web/assets/images/posts/natural_food/post-9.jpg +0 -0
- data/lib/starter_web/assets/images/posts/post-img.jpg +0 -0
- data/lib/starter_web/assets/images/posts/post-single.jpg +0 -0
- data/lib/starter_web/collections/_biography/a-life-in-questions.adoc +12 -8
- data/lib/starter_web/collections/_biography/becoming.adoc +11 -8
- data/lib/starter_web/collections/_biography/born-to-run.adoc +11 -8
- data/lib/starter_web/collections/_biography/forty-autumns.adoc +11 -7
- data/lib/starter_web/collections/_biography/not-dead-yet.adoc +11 -9
- data/lib/starter_web/collections/_biography/princess-diarist-the.adoc +11 -7
- data/lib/starter_web/collections/_biography/when-breath-becomes-air.adoc +12 -10
- data/lib/starter_web/collections/_fantasy/harry-potter-deathly-hallows.adoc +92 -0
- data/lib/starter_web/collections/_fantasy/harry-potter-philosophers-stone.adoc +92 -0
- data/lib/starter_web/collections/_fantasy/mistborn-trilogy.adoc +88 -0
- data/lib/starter_web/collections/_fantasy/ready-player-one.adoc +94 -0
- data/lib/starter_web/collections/_fantasy/sword-of-destiny.adoc +88 -0
- data/lib/starter_web/collections/_fantasy/terry-pratchet-diary-2017.adoc +86 -0
- data/lib/starter_web/collections/_people/diana-petersen.adoc +167 -0
- data/lib/starter_web/collections/_people/larry-parker.adoc +167 -0
- data/lib/starter_web/collections/_people/parveen-anand.adoc +167 -0
- data/lib/starter_web/collections/_portfolio/branding.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/graphic_design.adoc +97 -0
- data/lib/starter_web/collections/_portfolio/identity.adoc +99 -0
- data/lib/starter_web/collections/_portfolio/illustration.adoc +101 -0
- data/lib/starter_web/collections/_portfolio/photography.adoc +100 -0
- data/lib/starter_web/collections/_portfolio/web_design.adoc +109 -0
- data/lib/starter_web/collections/_romance/breath-of-snow-and-ashes-a.adoc +95 -0
- data/lib/starter_web/collections/_romance/dressmaker-the.adoc +86 -0
- data/lib/starter_web/collections/_romance/fiery-cross-the.adoc +97 -0
- data/lib/starter_web/collections/_romance/it-ends-with-us.adoc +92 -0
- data/lib/starter_web/collections/_romance/outlander-novel.adoc +105 -0
- data/lib/starter_web/collections/_romance/virgins-outlander-short-story.adoc +92 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +49 -6
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +0 -13
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-static-site-generators.adoc +2 -2
- data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-01-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-02-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-08-03-organize-your-life.adoc +118 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-01-organize-your-life.adoc +117 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2022-09-02-organize-your-life.adoc +117 -0
- data/lib/starter_web/dot.bundle/config +2 -0
- data/lib/starter_web/index.html +19 -4
- data/lib/starter_web/package.json +9 -9
- data/lib/starter_web/pages/public/about/site.adoc +2 -2
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/allview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +1 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +1 -1
- data/lib/starter_web/pages/public/features/template.adoc +1 -1
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_all_books.adoc +107 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_biography.adoc +98 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_fantasy.adoc +86 -0
- data/lib/starter_web/pages/public/learn/bookshelf/article_previewer/viewer_romance.adoc +87 -0
- data/lib/starter_web/pages/public/{bookshelf/whats_up.adoc → learn/bookshelf/jekyll_collections.adoc} +31 -23
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +2 -2
- data/lib/starter_web/pages/public/learn/roundtrip/asciidoc_extensions.adoc +8 -4
- data/lib/starter_web/pages/public/learn/roundtrip/bootstrap_themes.adoc +21 -13
- data/lib/starter_web/pages/public/learn/roundtrip/icon_fonts.adoc +10 -1
- data/lib/starter_web/pages/public/learn/roundtrip/lunr_search.adoc +22 -5
- data/lib/starter_web/pages/public/learn/roundtrip/modal_extentions.adoc +14 -8
- data/lib/starter_web/pages/public/learn/roundtrip/present_images.adoc +61 -5
- data/lib/starter_web/pages/public/learn/roundtrip/present_videos.adoc +15 -3
- data/lib/starter_web/pages/public/learn/roundtrip/responsive_tables.adoc +13 -1
- data/lib/starter_web/pages/public/learn/roundtrip/typography.adoc +10 -3
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +4 -4
- data/lib/starter_web/pages/public/plans/plans.adoc +25 -12
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +117 -116
- data/lib/starter_web/utilsrv/_defaults/package.json +2 -2
- data/lib/starter_web/utilsrv/package.json +2 -2
- metadata +120 -38
- data/_layouts/paginator/readme +0 -2
- data/assets/themes/j1/modules/slick/css/slick.min.css +0 -15
- data/assets/themes/j1/modules/slick/js/slick.js +0 -2295
- data/lib/starter_web/assets/images/collections/blog/wikipedia/columbia-river.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/minneapolis.1200x400.jpg +0 -0
- data/lib/starter_web/assets/images/collections/blog/wikipedia/narcise-snake-pits.1200x400.jpg +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +0 -144
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +0 -103
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +0 -117
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/attributes.asciidoc +0 -44
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/documents/readme +0 -0
- data/lib/starter_web/collections/posts/public/series/_posts/_includes/tables/readme +0 -0
- data/lib/starter_web/pages/public/bookshelf/viewer_biography.adoc +0 -58
- /data/_layouts/{paginator/autopage_tags.html → autopage_tags.html} +0 -0
- /data/assets/themes/j1/modules/slick/{LICENSE → slider/LICENSE} +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.eot +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.ttf +0 -0
- /data/assets/themes/j1/modules/slick/{fonts → slider/fonts}/slick.woff +0 -0
- /data/assets/themes/j1/modules/slick/{ajax-loader.gif → slider/images/ajax-loader.gif} +0 -0
- /data/assets/themes/j1/modules/slick/{js → slider/js}/slick.min.js +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/dynamic-web-access.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jamstack-generators.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.1200x400.png +0 -0
- /data/lib/starter_web/assets/images/{collections/blog → posts}/featured/jekyll.png +0 -0
- /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
|
139
|
-
var 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
|
-
|
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 = $('
|
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.
|
2443
|
-
|
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.
|
2461
|
+
}, {{template_config.timeoutScrollStaticPages}} );
|
2446
2462
|
clearInterval(dependencies_met_page_displayed);
|
2447
2463
|
} else if (j1['pageMonitor'].pageType == 'dynamic') {
|
2448
2464
|
setTimeout (function() {
|
2449
|
-
|
2465
|
+
scrollOffsetCorrection = scrollerOptions.smoothscroll.offsetCorrection;
|
2466
|
+
scrollOffset = j1.getScrollOffset(scrollOffsetCorrection);
|
2450
2467
|
j1.scrollTo(scrollOffset);
|
2451
|
-
logger.
|
2452
|
-
|
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.
|
2459
|
-
|
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
|
-
|
2502
|
-
|
2503
|
-
|
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
|
-
|
116
|
-
|
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 =
|
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
|
150
|
-
{% if
|
151
|
-
{% assign 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
|
169
|
-
{% if
|
170
|
-
{% if
|
171
|
-
{% if
|
172
|
-
{% if
|
173
|
-
{% if
|
174
|
-
{% if
|
175
|
-
{% if
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
//
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
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
|
239
|
+
logger.info('\n' + 'found grid disabled on id: {{grid.id}}');
|
240
|
+
{% if masonryOptions.hideDisabled %}
|
205
241
|
// hide a grid if disabled
|
206
|
-
|
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
|
-
$('#' + '
|
388
|
-
$('#' +
|
389
|
-
$('#' + navMenuOptions.
|
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 =
|
265
|
-
navMenuOptions =
|
266
|
-
navQuicklinksOptions =
|
267
|
-
navAuthClientConfig =
|
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
|
-
|
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
|
-
|
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 += ' }';
|