j1-template 2022.4.7 → 2022.4.10
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/blocks/footer/boxes/contacts_box.proc +3 -3
- data/_includes/themes/j1/blocks/footer/boxes/legal_statements.proc +7 -7
- data/_includes/themes/j1/blocks/footer/boxes/links_box.proc +1 -1
- data/_includes/themes/j1/blocks/footer/boxes/news_box.proc +1 -1
- data/_includes/themes/j1/modules/attics/generator.html +7 -7
- data/_includes/themes/j1/modules/navigator/generator.html +30 -30
- data/_includes/themes/j1/procedures/global/create_bs_button.proc +1 -1
- data/_includes/themes/j1/procedures/posts/collate_timeline.proc +1 -1
- data/assets/data/authclient.html +16 -14
- data/assets/data/banner.html +6 -2
- data/assets/data/carousel.json +10 -0
- data/assets/data/cookieconsent.html +3 -1
- data/assets/data/fab.html +27 -12
- data/assets/data/footer.html +10 -10
- data/assets/data/galleries.json +7 -0
- data/assets/data/gallery_customizer.html +13 -10
- data/assets/data/iso-639-language-codes-flags.json +9 -0
- data/assets/data/iso-639-language-codes.json +9 -0
- data/assets/data/j1_config.json +8 -2
- data/assets/data/masterslider.html +342 -0
- data/assets/data/mdi_icons.json +5 -0
- data/assets/data/mdil_icons.json +5 -0
- data/assets/data/menu.html +56 -53
- data/assets/data/mmenu.html +44 -40
- data/assets/data/mmenu_sidebar.html +15 -13
- data/assets/data/mmenu_toc.html +11 -8
- data/assets/data/nbinteract.html +3 -2
- data/assets/data/panel.html +16 -14
- data/assets/data/private.json +2 -2
- data/assets/data/quicklinks.html +11 -9
- data/assets/data/rtext_resizer.html +11 -7
- data/assets/data/themes.bootswatch.json +4 -0
- data/assets/data/themes.json +4 -0
- data/assets/data/translator.html +3 -1
- data/assets/data/twa_v1.json +6 -0
- data/assets/themes/j1/adapter/js/advertising.js +2 -0
- data/assets/themes/j1/adapter/js/algolia.js +3 -1
- data/assets/themes/j1/adapter/js/analytics.js +2 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +16 -0
- data/assets/themes/j1/adapter/js/attic.js +5 -4
- data/assets/themes/j1/adapter/js/bmd.js +16 -0
- data/assets/themes/j1/adapter/js/carousel.js +8 -7
- data/assets/themes/j1/adapter/js/clipboard.js +2 -1
- data/assets/themes/j1/adapter/js/comments.js +2 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +3 -1
- data/assets/themes/j1/adapter/js/customFunctions.js +3 -1
- data/assets/themes/j1/adapter/js/customModule.js +5 -3
- data/assets/themes/j1/adapter/js/dropdowns.js +3 -1
- data/assets/themes/j1/adapter/js/fab.js +3 -1
- data/assets/themes/j1/adapter/js/framer.js +3 -1
- data/assets/themes/j1/adapter/js/j1.js +25 -19
- data/assets/themes/j1/adapter/js/justifiedGallery.js +3 -1
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +2 -0
- data/assets/themes/j1/adapter/js/lightbox.js +3 -1
- data/assets/themes/j1/adapter/js/logger.js +2 -0
- data/assets/themes/j1/adapter/js/lunr.js +2 -0
- data/assets/themes/j1/adapter/js/masterslider.js +529 -0
- data/assets/themes/j1/adapter/js/mmenu.js +2 -0
- data/assets/themes/j1/adapter/js/navigator.js +716 -72
- data/assets/themes/j1/adapter/js/nbinteract.js +10 -8
- data/assets/themes/j1/adapter/js/rangeSlider.js +3 -1
- data/assets/themes/j1/adapter/js/rouge.js +7 -0
- data/assets/themes/j1/adapter/js/rtable.js +3 -1
- data/assets/themes/j1/adapter/js/rtextResizer.js +2 -1
- data/assets/themes/j1/adapter/js/scroller.js +2 -0
- data/assets/themes/j1/adapter/js/themer.js +26 -34
- data/assets/themes/j1/adapter/js/toccer.js +24 -78
- data/assets/themes/j1/adapter/js/translator.js +3 -1
- data/assets/themes/j1/core/css/animate.css +1282 -504
- data/assets/themes/j1/core/css/animate.min.css +1 -1
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.css +1938 -1379
- data/assets/themes/j1/core/css/themes/bootstrap/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.css +1939 -1380
- data/assets/themes/j1/core/css/themes/theme_vapor/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +2189 -1486
- data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +3 -3
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +2168 -1502
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +10 -9
- data/assets/themes/j1/core/js/template.js +3 -3
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +2 -2
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.js +1 -1
- data/assets/themes/j1/modules/lightbox/js/lightbox.min.js +1 -1
- data/assets/themes/j1/modules/masterslider/css/blank.gif +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/grab.cur +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/grab.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/grabbing.cur +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/grabbing.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/loading-1-dark.gif +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/loading-1.gif +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/loading-2-dark.gif +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/loading-2-light.gif +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/loading-2.gif +0 -0
- data/assets/themes/j1/modules/masterslider/css/common/video-close-btn.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/masterslider.css +2637 -0
- data/assets/themes/j1/modules/masterslider/css/masterslider.min.css +2655 -0
- data/assets/themes/j1/modules/masterslider/css/skins/black-skin-1-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/black-skin-1.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/black-skin-2-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/black-skin-2.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/contrast-skin-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/contrast-skin.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-1-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-1.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-2-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-2.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-3-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-3.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-4-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-4.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-5-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-5.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-6-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/light-skin-6.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/metro-skin-retina.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/metro-skin.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/skins/minimal.svg +11 -0
- data/assets/themes/j1/modules/masterslider/css/templates/device-skin.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/display.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/flat-display.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/flat-laptop.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/flat-phone-land.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/flat-phone.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/flat-tablet-land.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/flat-tablet.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/gallery-btns.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/laptop.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/phone-land.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/phone.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/staff-arrows.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/tablet-land.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/tablet.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/templates/vertical-arrows.png +0 -0
- data/assets/themes/j1/modules/masterslider/css/theme/uno.css +95 -0
- data/assets/themes/j1/modules/masterslider/css/theme/uno.min.css +95 -0
- data/assets/themes/j1/modules/masterslider/css/themes/ms-skin-sample.css +172 -0
- data/assets/themes/j1/modules/masterslider/css/themes/ms-skin-sample.min.css +172 -0
- data/assets/themes/j1/modules/masterslider/js/addons/masterslider.flickr.min.js +1 -0
- data/assets/themes/j1/modules/masterslider/js/addons/public.js +10 -0
- data/assets/themes/j1/modules/masterslider/js/masterslider.js +5544 -0
- data/assets/themes/j1/modules/masterslider/js/masterslider.min.js +11 -0
- data/assets/themes/j1/modules/masterslider/js/plugins/jquery.easing.js +211 -0
- data/assets/themes/j1/modules/masterslider/js/plugins/jquery.easing.min.js +51 -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/rouge/css/uno.dark/theme.css +11 -11
- data/assets/themes/j1/modules/rouge/css/uno.light/theme.css +24 -18
- data/assets/themes/j1/modules/translator/js/translator.js +2 -2
- data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.js +2 -2
- data/assets/themes/j1/modules/twemoji/js/picker/twemoji-picker.min.js +304 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +8 -5
- data/lib/starter_web/_data/blocks/footer.yml +1 -1
- data/lib/starter_web/_data/modules/attics.yml +16 -4
- data/lib/starter_web/_data/modules/defaults/attics.yml +12 -5
- data/lib/starter_web/_data/modules/defaults/lightbox.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/masterslider.yml +235 -0
- data/lib/starter_web/_data/modules/defaults/navigator.yml +7 -5
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +39 -118
- data/lib/starter_web/_data/modules/lightbox.yml +4 -2
- data/lib/starter_web/_data/modules/masterslider.yml +1153 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +234 -5
- data/lib/starter_web/_data/resources.yml +166 -95
- data/lib/starter_web/_plugins/asciidoctor-extensions/masterslider-block.rb +47 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-4.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-5.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-6.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-7.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_1/cat-8.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_10/panorama-bg-slide1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_10/panorama-bg-slide2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_2/andreas-brucker.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_2/denys-nevozhai-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_2/denys-nevozhai-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_2/luca-bravo.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_2/thomas-tucker.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_3/ms-free-food-family-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_3/ms-free-food-hamburger.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_3/ms-free-food-restaurant.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-1-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-2-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-3-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-4-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-4.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-5-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-5.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-6-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-6.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-7-100x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_4/ms-free-animals-7.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-2-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-3-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-family.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-hamburger-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-hamburger.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-pizza-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-pizza.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-restaurant-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-restaurant.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-man-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-man.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-woman-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-single-woman.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-table-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-table.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-woman-hand-140x80.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_5/ms-free-food-woman-hand.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876385555_74a0d7d7ee_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876387431_d86867a3d9_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876388511_d618d53455_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876389463_db27a377e1_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_6_7/6876390339_2e4dd9dbbb_b.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider-5-img-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider-5-img-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider-5-img-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_8/postslider6-bg-slide2-1024x622.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_9/1-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_9/5-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_9/6-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_9/6-3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_9/8-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/slider_9/8.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/unify-examples/charity-white-tile-bg.png +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/unify-examples/fashion2-controller-arrow-next.png +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/unify-examples/fashion2-controller-arrow-prv.png +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/unify-examples/fashion2-img-slide1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/unify-examples/fashion2-img-slide2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/unify-examples/fashion2-img-slide3.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/wp-examples/ms-free-business-1.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/wp-examples/ms-free-business-2.jpg +0 -0
- data/lib/starter_web/assets/images/modules/masterslider/wp-examples/ms-free-business-3.jpg +0 -0
- data/lib/starter_web/index.html +0 -1
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/features/general.adoc +1 -1
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +747 -747
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +1250 -1250
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
- data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
- data/lib/starter_web/pages/public/learn/quickstart.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +90 -7
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/200_typography.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/410_bs_modals_extentions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/420_responsive_tables_extensions.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
- data/lib/starter_web/pages/public/learn/roundtrip/600_quicksearch.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/100_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/de/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/300_privacy.adoc +1 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/panel.adoc +1 -1
- data/lib/starter_web/pages/public/plans/plans.adoc +1 -1
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +143 -132
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +143 -3
- data/_includes/themes/j1/procedures/global/create_bs_button.1.proc +0 -172
@@ -107,6 +107,8 @@ regenerate: true
|
|
107
107
|
{% assign animate_duration = 1 %}
|
108
108
|
{% endif %}
|
109
109
|
|
110
|
+
{% comment %} Detect prod mode
|
111
|
+
-------------------------------------------------------------------------------- {% endcomment %}
|
110
112
|
{% assign production = false %}
|
111
113
|
{% if environment == 'prod' or environment == 'production' %}
|
112
114
|
{% assign production = true %}
|
@@ -413,17 +415,27 @@ j1.adapter.navigator = (function (j1, window) {
|
|
413
415
|
// -----------------------------------------------------------------
|
414
416
|
var dependencies_met_initialized = setInterval(function() {
|
415
417
|
if (themerEnabled) {
|
416
|
-
// for themes, initialize if
|
417
|
-
if (j1.getState() === 'finished') {
|
418
|
+
// for themes, initialize if themer is finished
|
419
|
+
if (j1.adapter.themer.getState() === 'finished') {
|
418
420
|
_this.setState('processing');
|
419
421
|
|
420
|
-
//
|
421
|
-
|
422
|
-
_this.setCSS (
|
422
|
+
// apply module configuration settings
|
423
|
+
_this.applyNavigatorSettings (
|
423
424
|
navDefaults, navBarOptions, navMenuOptions,
|
424
425
|
navQuicklinksOptions, navTopsearchOptions
|
425
426
|
);
|
426
427
|
|
428
|
+
// (static) delay applying styles until added CSS data
|
429
|
+
// of the theme is processed by the browser
|
430
|
+
setTimeout (function() {
|
431
|
+
// set general|global theme colors
|
432
|
+
logger.info('\n' + 'initializing dynamic CSS styles');
|
433
|
+
_this.applyThemeSettings (
|
434
|
+
navDefaults, navBarOptions, navMenuOptions,
|
435
|
+
navQuicklinksOptions, navTopsearchOptions
|
436
|
+
);
|
437
|
+
}, 500);
|
438
|
+
|
427
439
|
logger.info('\n' + 'init auth client');
|
428
440
|
_this.initAuthClient(_this.navAuthManagerConfig);
|
429
441
|
|
@@ -439,7 +451,7 @@ j1.adapter.navigator = (function (j1, window) {
|
|
439
451
|
|
440
452
|
// set general|global theme colors
|
441
453
|
logger.info('\n' + 'apply dynamic CSS styles');
|
442
|
-
_this.
|
454
|
+
_this.applyThemeSettings (
|
443
455
|
navDefaults, navBarOptions, navMenuOptions,
|
444
456
|
navQuicklinksOptions, navTopsearchOptions
|
445
457
|
);
|
@@ -639,11 +651,11 @@ j1.adapter.navigator = (function (j1, window) {
|
|
639
651
|
}, // END modalEventHandler
|
640
652
|
|
641
653
|
// -------------------------------------------------------------------------
|
642
|
-
//
|
643
|
-
//
|
654
|
+
// applyThemeSettings
|
655
|
+
// Apply CSS styles from current theme
|
644
656
|
// -------------------------------------------------------------------------
|
645
|
-
|
646
|
-
var logger = log4javascript.getLogger('j1.adapter.navigator.
|
657
|
+
applyThemeSettings: function (navDefaults, navBarOptions, navMenuOptions, navQuicklinksOptions, navTopsearchOptions) {
|
658
|
+
var logger = log4javascript.getLogger('j1.adapter.navigator.applyThemeSettings');
|
647
659
|
var gridBreakpoint_lg = '992px';
|
648
660
|
var gridBreakpoint_md = '768px';
|
649
661
|
var gridBreakpoint_sm = '576px';
|
@@ -683,9 +695,8 @@ j1.adapter.navigator = (function (j1, window) {
|
|
683
695
|
|
684
696
|
// Set dymanic styles
|
685
697
|
// -----------------------------------------------------------------------
|
698
|
+
var style;
|
686
699
|
|
687
|
-
// navBar styles
|
688
|
-
// -----------------------------------------------------------------------
|
689
700
|
// read current background colors
|
690
701
|
var bg_primary = $('#bg-primary').css('background-color');
|
691
702
|
var bg_table = $('body').css('background-color');
|
@@ -694,101 +705,734 @@ j1.adapter.navigator = (function (j1, window) {
|
|
694
705
|
var bg_scrolled = bg_primary;
|
695
706
|
var bg_collapsed = bg_primary;
|
696
707
|
|
708
|
+
// navBar styles
|
709
|
+
// -----------------------------------------------------------------------
|
710
|
+
|
697
711
|
// set current body background color for all tables
|
698
712
|
$('table').css('background', bg_table);
|
699
713
|
|
700
|
-
|
714
|
+
// // $('head').append('<style>.mdi-bg-primary {color: ' +bg_scrolled+ ';}</style>');
|
715
|
+
// style = '<style>';
|
716
|
+
// style += ' .mdi-bg-primary {';
|
717
|
+
// style += ' color: ' + bg_scrolled;
|
718
|
+
// style += ' }';
|
719
|
+
// style += '</style>';
|
720
|
+
// $('head').append(style);
|
721
|
+
//
|
722
|
+
// // Size of brand image
|
723
|
+
// // $('head').append('<style>.navbar-brand > img { height: {{brand_image_height}}px !important; }</style>');
|
724
|
+
// style = '<style>';
|
725
|
+
// style += ' .navbar-brand > img {';
|
726
|
+
// style += ' height: {{brand_image_height}}px !important;';
|
727
|
+
// style += ' }';
|
728
|
+
// style += '</style>';
|
729
|
+
// $('head').append(style);
|
730
|
+
//
|
731
|
+
// // Navbar transparent-light (light)
|
732
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
733
|
+
// style = '<style>';
|
734
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
735
|
+
// style += ' nav.navbar.navigator.navbar-transparent.light {';
|
736
|
+
// style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
737
|
+
// style += ' border-bottom: solid 0px !important;';
|
738
|
+
// style += ' }';
|
739
|
+
// style += ' }';
|
740
|
+
// style += '</style>';
|
741
|
+
// $('head').append(style);
|
742
|
+
//
|
743
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
744
|
+
// // style = '<style>';
|
745
|
+
// // style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
746
|
+
// // style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
747
|
+
// // style += ' background-color: ' + bg_scrolled + ' !important;';
|
748
|
+
// // style += ' }';
|
749
|
+
// // style += ' }';
|
750
|
+
// // style += '</style>';
|
751
|
+
// // $('head').append(style);
|
752
|
+
//
|
753
|
+
// // $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
754
|
+
// style = '<style id="dynNav">';
|
755
|
+
// style += ' @media screen and (max-width: ' + gridBreakpoint_md + ') {';
|
756
|
+
// style += ' nav.navbar.navigator.navbar-transparent.light {';
|
757
|
+
// style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
758
|
+
// style += ' border-bottom: solid 0px !important;';
|
759
|
+
// style += ' }';
|
760
|
+
// style += ' }';
|
761
|
+
// style += '</style>';
|
762
|
+
// $('head').append(style);
|
763
|
+
//
|
764
|
+
// // $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
765
|
+
// // style = '<style id="dynNav">';
|
766
|
+
// // style += ' @media screen and (max-width: ' + gridBreakpoint_md + ') {';
|
767
|
+
// // style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
768
|
+
// // style += ' background-color: ' + bg_scrolled + ' !important;';
|
769
|
+
// // style += ' }';
|
770
|
+
// // style += ' }';
|
771
|
+
// // style += '</style>';
|
772
|
+
// // $('head').append(style);
|
773
|
+
//
|
774
|
+
// // $('head').append('<style id="dynNav">@media (min-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
775
|
+
// style = '<style id="dynNav">';
|
776
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_md + ') {';
|
777
|
+
// style += ' nav.navbar.navigator.navbar-transparent.light {';
|
778
|
+
// style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
779
|
+
// style += ' border-bottom: solid 0px !important;';
|
780
|
+
// style += ' }';
|
781
|
+
// style += ' }';
|
782
|
+
// style += '</style>';
|
783
|
+
// $('head').append(style);
|
784
|
+
//
|
785
|
+
// // $('head').append('<style id="dynNav">@media (min-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
786
|
+
// // style = '<style id="dynNav">';
|
787
|
+
// // style += ' @media screen and (min-width: ' + gridBreakpoint_md + ') {';
|
788
|
+
// // style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
789
|
+
// // style += ' background-color: ' + bg_scrolled + ' !important;';
|
790
|
+
// // style += ' }';
|
791
|
+
// // style += ' }';
|
792
|
+
// // style += '</style>';
|
793
|
+
// // $('head').append(style);
|
794
|
+
//
|
795
|
+
// // $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_sm+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
796
|
+
// style = '<style id="dynNav">';
|
797
|
+
// style += ' @media screen and (max-width: ' + gridBreakpoint_sm + ') {';
|
798
|
+
// style += ' nav.navbar.navigator.navbar-transparent.light {';
|
799
|
+
// style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
800
|
+
// style += ' border-bottom: solid 0px !important;';
|
801
|
+
// style += ' }';
|
802
|
+
// style += ' }';
|
803
|
+
// style += '</style>';
|
804
|
+
// $('head').append(style);
|
805
|
+
//
|
806
|
+
// // $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_sm+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
807
|
+
// // style = '<style id="dynNav">';
|
808
|
+
// // style += ' @media screen and (max-width: ' + gridBreakpoint_sm + ') {';
|
809
|
+
// // style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
810
|
+
// // style += ' background-color: ' + bg_scrolled + ' !important;';
|
811
|
+
// // style += ' }';
|
812
|
+
// // style += ' }';
|
813
|
+
// // style += '</style>';
|
814
|
+
// // $('head').append(style);
|
815
|
+
//
|
816
|
+
//
|
817
|
+
// // navQuicklinks styles
|
818
|
+
// // -----------------------------------------------------------------------
|
819
|
+
// // $('head').append('<style>.quicklink-nav> ul > li > a { color: ' +navQuicklinksOptions.icon_color+ ' !important; }</style>');
|
820
|
+
// style = '<style>';
|
821
|
+
// style += ' .quicklink-nav> ul > li > a {';
|
822
|
+
// style += ' color: ' + navQuicklinksOptions.icon_color + ' !important;';
|
823
|
+
// style += ' }';
|
824
|
+
// style += '</style>';
|
825
|
+
// $('head').append(style);
|
826
|
+
//
|
827
|
+
// // $('head').append('<style>.quicklink-nav> ul > li > a:hover { color: ' +navQuicklinksOptions.icon_color_hover+ ' !important; }</style>');
|
828
|
+
// style = '<style>';
|
829
|
+
// style += ' .quicklink-nav> ul > li > a:hover {';
|
830
|
+
// style += ' color: ' + navQuicklinksOptions.icon_color_hover + ' !important;';
|
831
|
+
// style += ' }';
|
832
|
+
// style += '</style>';
|
833
|
+
// $('head').append(style);
|
834
|
+
//
|
835
|
+
//
|
836
|
+
// // navMenu styles
|
837
|
+
// // -----------------------------------------------------------------------
|
838
|
+
//
|
839
|
+
// // $('head').append('<style>.dropdown-menu > .active > a { background-color: transparent !important; }</style>');
|
840
|
+
// // Remove background for anchor
|
841
|
+
// style = '<style>';
|
842
|
+
// style += ' .dropdown-menu > .active > a {';
|
843
|
+
// style += ' background-color: transparent !important;';
|
844
|
+
// style += ' }';
|
845
|
+
// style += '</style>';
|
846
|
+
// $('head').append(style);
|
847
|
+
//
|
848
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator .dropdown-item:focus, nav.navbar.navigator .dropdown-item:hover, nav.navbar.navigator .nav-sub-item:focus, nav.navbar.navigator .nav-sub-item:hover { background: ' +navMenuOptions.dropdown_background_color_hover+ ' !important; }}</style>');
|
849
|
+
// // hover menu-item|menu-sub-item
|
850
|
+
// style = '<style>';
|
851
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
852
|
+
// style += ' nav.navbar.navigator .dropdown-item:focus,';
|
853
|
+
// style += ' nav.navbar.navigator .dropdown-item:hover,';
|
854
|
+
// style += ' nav.navbar.navigator .nav-sub-item:focus,';
|
855
|
+
// style += ' nav.navbar.navigator .nav-sub-item:hover {';
|
856
|
+
// style += ' background: ' + navMenuOptions.dropdown_background_color_hover + ' !important;';
|
857
|
+
// style += ' }';
|
858
|
+
// style += ' }';
|
859
|
+
// style += '</style>';
|
860
|
+
// $('head').append(style);
|
861
|
+
//
|
862
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav.navbar-right .dropdown-menu .dropdown-menu { left: -' +navMenuOptions.dropdown_item_min_width+ 'rem !important; } }</style>');
|
863
|
+
// // Limit 1st dropdown item width
|
864
|
+
// style = '<style>';
|
865
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
866
|
+
// style += ' nav.navbar.navigator ul.nav.navbar-right .dropdown-menu .dropdown-menu {';
|
867
|
+
// style += ' left: -' + navMenuOptions.dropdown_item_min_width + 'rem !important;';
|
868
|
+
// style += ' }';
|
869
|
+
// style += ' }';
|
870
|
+
// style += '</style>';
|
871
|
+
// $('head').append(style);
|
872
|
+
//
|
873
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator li.dropdown ul.dropdown-menu ul.dropdown-menu { top: -' +navMenuOptions.dropdown_border_top+ 'px !important; max-height: ' +navMenuOptions.dropdown_menu_max_height+ 'em; } }</style>');
|
874
|
+
// // Limit last (2nd) dropdown in height
|
875
|
+
// style = '<style>';
|
876
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
877
|
+
// style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu ul.dropdown-menu {';
|
878
|
+
// style += ' top: -' + navMenuOptions.dropdown_border_top + 'px !important;';
|
879
|
+
// style += ' max-height: ' + navMenuOptions.dropdown_menu_max_height + 'em;';
|
880
|
+
// style += ' }';
|
881
|
+
// style += ' }';
|
882
|
+
// style += '</style>';
|
883
|
+
//
|
884
|
+
// // Set dropdown item colors
|
885
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav > li > a { color: ' +navMenuOptions.menu_item_color+ ' !important; } }</style>');
|
886
|
+
// style = '<style>';
|
887
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
888
|
+
// style += ' nav.navbar.navigator ul.nav > li > a {';
|
889
|
+
// style += ' color: ' + navMenuOptions.menu_item_color + ' !important;';
|
890
|
+
// style += ' }';
|
891
|
+
// style += ' }';
|
892
|
+
// style += '</style>';
|
893
|
+
//
|
894
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav > li > a:hover { color: ' +navMenuOptions.menu_item_color_hover+ ' !important; } }</style>');
|
895
|
+
// style = '<style>';
|
896
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
897
|
+
// style += ' nav.navbar.navigator ul.nav > li > a:hover {';
|
898
|
+
// style += ' color: ' + navMenuOptions.menu_item_color_hover + ' !important;';
|
899
|
+
// style += ' }';
|
900
|
+
// style += ' }';
|
901
|
+
// style += '</style>';
|
902
|
+
//
|
903
|
+
// // $('head').append('<style>@media (min-width: ' + gridBreakpoint_lg + ') { nav.navbar.navigator li.dropdown ul.dropdown-menu { animation-duration: ' +navMenuOptions.dropdown_animate_duration+ 's !important; color: #616161 !important; min-width: ' +navMenuOptions.dropdown_item_min_width+ 'rem !important; border-top: solid ' +navMenuOptions.dropdown_border_top+ 'px !important; border-radius: ' +navMenuOptions.dropdown_border_radius+ 'px !important; left: 0; } }</style>');
|
904
|
+
// // Dropdown menu styles
|
905
|
+
// style = '<style>';
|
906
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
907
|
+
// style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu {';
|
908
|
+
// style += ' animation-duration: ' + navMenuOptions.dropdown_animate_duration + 's !important;';
|
909
|
+
// style += ' color: #616161 !important;';
|
910
|
+
// style += ' min-width: ' + navMenuOptions.dropdown_item_min_width + 'rem !important;';
|
911
|
+
// style += ' border-top: solid ' + navMenuOptions.dropdown_border_top + 'px !important;';
|
912
|
+
// style += ' border-radius: ' + navMenuOptions.dropdown_border_radius + 'px !important;';
|
913
|
+
// style += ' left: 0;';
|
914
|
+
// style += ' }';
|
915
|
+
// style += ' }';
|
916
|
+
// style += '</style>';
|
917
|
+
// $('head').append(style);
|
918
|
+
//
|
919
|
+
//
|
920
|
+
// {% if dropdown_style == 'raised' %}
|
921
|
+
// // $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator li.dropdown ul.dropdown-menu { box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; } }</style>');
|
922
|
+
// style = '<style>';
|
923
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
924
|
+
// style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu {';
|
925
|
+
// style += ' box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important;';
|
926
|
+
// style += ' }';
|
927
|
+
// style += ' }';
|
928
|
+
// style += '</style>';
|
929
|
+
// $('head').append(style);
|
930
|
+
// {% endif %}
|
931
|
+
//
|
932
|
+
// // $('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>');
|
933
|
+
// // configure dropdown_font_size|color
|
934
|
+
// style = '<style>';
|
935
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
936
|
+
// style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu > li > a {';
|
937
|
+
// style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
|
938
|
+
// style += ' font-size: ' + navMenuOptions.dropdown_font_size + ' !important;';
|
939
|
+
// style += ' font-weight: 400;';
|
940
|
+
// style += ' }';
|
941
|
+
// style += ' }';
|
942
|
+
// style += '</style>';
|
943
|
+
// $('head').append(style);
|
944
|
+
//
|
945
|
+
// // $('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>');
|
946
|
+
// style = '<style>';
|
947
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
948
|
+
// style += ' nav.navbar.navigator ul.dropdown-menu.megamenu-content .content ul.menu-col li a {';
|
949
|
+
// style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
|
950
|
+
// style += ' font-size: ' + navMenuOptions.megamenu_font_size + ' !important;';
|
951
|
+
// style += ' font-weight: 400;';
|
952
|
+
// style += ' }';
|
953
|
+
// style += ' }';
|
954
|
+
// style += '</style>';
|
955
|
+
// $('head').append(style);
|
956
|
+
//
|
957
|
+
// // navQuicklinks|navTopSearch
|
958
|
+
// // -----------------------------------------------------------------------
|
959
|
+
// // $('head').append('<style>.top-search { background-color: ' +navTopsearchOptions.background_color+ ' !important; }</style>');
|
960
|
+
// style = '<style>';
|
961
|
+
// style += ' .top-search {';
|
962
|
+
// style += ' background-color: ' + navTopsearchOptions.background_color + ' !important;';
|
963
|
+
// style += ' }';
|
964
|
+
// style += '</style>';
|
965
|
+
// $('head').append(style);
|
966
|
+
//
|
967
|
+
// // $('head').append('<style>.top-search input.form-control { color: ' +navTopsearchOptions.input_color+ ' !important; }</style>');
|
968
|
+
// style = '<style>';
|
969
|
+
// style += ' .top-search input.form-control {';
|
970
|
+
// style += ' color: ' + navTopsearchOptions.input_color + ' !important;';
|
971
|
+
// style += ' }';
|
972
|
+
// style += '</style>';
|
973
|
+
// $('head').append(style);
|
701
974
|
|
702
|
-
//
|
703
|
-
|
975
|
+
// Timeline styles
|
976
|
+
// -----------------------------------------------------------------------
|
977
|
+
style = '<style>';
|
978
|
+
style += ' .timeline > li > .timeline-panel:after {';
|
979
|
+
style += ' border-left: 14px solid ' + bg_scrolled + ';';
|
980
|
+
style += ' border-right: 0 solid ' + bg_scrolled + ';';
|
981
|
+
style += ' }';
|
982
|
+
style += '</style>';
|
983
|
+
$('head').append(style);
|
984
|
+
|
985
|
+
style = '<style>';
|
986
|
+
style += ' .tmicon {';
|
987
|
+
style += ' background: ' + bg_scrolled + ';';
|
988
|
+
style += ' }';
|
989
|
+
style += '</style>';
|
990
|
+
$('head').append(style);
|
704
991
|
|
705
|
-
//
|
706
|
-
|
707
|
-
|
992
|
+
// Heading styles
|
993
|
+
// -----------------------------------------------------------------------
|
994
|
+
// $('head').append('<style>.heading:after {background: ' +bg_scrolled+ ' !important;}</style>');
|
995
|
+
style = '<style>';
|
996
|
+
style += ' .heading:after {';
|
997
|
+
style += ' background: ' + bg_scrolled + ' !important;';
|
998
|
+
style += ' }';
|
999
|
+
style += '</style>';
|
1000
|
+
$('head').append(style);
|
708
1001
|
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
1002
|
+
// Tag Cloud styles
|
1003
|
+
// -----------------------------------------------------------------------
|
1004
|
+
// $('head').append('<style>.tag-cloud ul li a {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
1005
|
+
style = '<style>';
|
1006
|
+
style += ' .tag-cloud ul li a {';
|
1007
|
+
style += ' background: ' + bg_scrolled + ' !important;';
|
1008
|
+
style += ' }';
|
1009
|
+
style += '</style>';
|
1010
|
+
$('head').append(style);
|
713
1011
|
|
714
|
-
|
715
|
-
|
1012
|
+
// Toccer styles
|
1013
|
+
// -----------------------------------------------------------------------
|
1014
|
+
// $('head').append('<style>.is-active-link::before {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
1015
|
+
style = '<style>';
|
1016
|
+
style += ' .is-active-link::before {';
|
1017
|
+
style += ' background-color: ' + bg_scrolled + ' !important;';
|
1018
|
+
style += ' }';
|
1019
|
+
style += '</style>';
|
1020
|
+
$('head').append(style);
|
716
1021
|
|
717
|
-
//
|
1022
|
+
// BS extended Modal styles
|
718
1023
|
// -----------------------------------------------------------------------
|
719
|
-
|
720
|
-
|
1024
|
+
// $('head').append('<style>.modal-dialog.modal-notify.modal-primary .modal-header {background-color: ' +bg_scrolled+ ';}</style>');
|
1025
|
+
style = '<style>';
|
1026
|
+
style += ' .modal-dialog.modal-notify.modal-primary .modal-header {';
|
1027
|
+
style += ' background-color: ' + bg_scrolled + ' !important;';
|
1028
|
+
style += ' }';
|
1029
|
+
style += '</style>';
|
1030
|
+
$('head').append(style);
|
721
1031
|
|
722
|
-
//
|
1032
|
+
// BS nav|pills styles
|
723
1033
|
// -----------------------------------------------------------------------
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
1034
|
+
// $('head').append('<style>.nav-pills .nav-link.active, .nav-pills .show > .nav-link {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
1035
|
+
style = '<style>';
|
1036
|
+
style += ' .nav-pills .nav-link.active, .nav-pills .show > .nav-link {';
|
1037
|
+
style += ' background-color: ' + bg_scrolled + ' !important;';
|
1038
|
+
style += ' }';
|
1039
|
+
style += '</style>';
|
1040
|
+
$('head').append(style);
|
728
1041
|
|
729
|
-
|
730
|
-
|
1042
|
+
return true;
|
1043
|
+
}, // END applyThemeSettings
|
731
1044
|
|
732
|
-
|
733
|
-
|
734
|
-
|
1045
|
+
// -------------------------------------------------------------------------
|
1046
|
+
// applyNavigatorSettings
|
1047
|
+
// Apply settings from configuration
|
1048
|
+
// -------------------------------------------------------------------------
|
1049
|
+
applyNavigatorSettings: function (navDefaults, navBarOptions, navMenuOptions, navQuicklinksOptions, navTopsearchOptions) {
|
1050
|
+
var logger = log4javascript.getLogger('j1.adapter.navigator.applyThemeSettings');
|
1051
|
+
var gridBreakpoint_lg = '992px';
|
1052
|
+
var gridBreakpoint_md = '768px';
|
1053
|
+
var gridBreakpoint_sm = '576px';
|
1054
|
+
var navPrimaryColor = navDefaults.nav_primary_color;
|
735
1055
|
|
736
|
-
|
737
|
-
$('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav > li > a { color: ' +navMenuOptions.menu_item_color+ ' !important; } }</style>');
|
738
|
-
$('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav > li > a:hover { color: ' +navMenuOptions.menu_item_color_hover+ ' !important; } }</style>');
|
1056
|
+
logger.info('\n' + 'set dynamic styles for the theme loaded');
|
739
1057
|
|
740
|
-
//
|
741
|
-
//
|
742
|
-
|
743
|
-
|
744
|
-
$('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator li.dropdown ul.dropdown-menu { animation-duration: ' +navMenuOptions.dropdown_animate_duration+ 's !important; color: #616161 !important; min-width: ' +navMenuOptions.dropdown_item_min_width+ 'rem !important; border-top: solid ' +navMenuOptions.dropdown_border_top+ 'px !important; border-radius: ' +navMenuOptions.dropdown_border_radius+ 'px !important; left: 0; } }</style>');
|
1058
|
+
// Set|Resolve navMenuOptions
|
1059
|
+
// ------------------------------------------------------------------------
|
1060
|
+
navMenuOptions.dropdown_font_size = navMenuOptions.dropdown_font_size;
|
1061
|
+
navMenuOptions.megamenu_font_size = navMenuOptions.megamenu_font_size;
|
745
1062
|
|
746
|
-
|
747
|
-
|
748
|
-
|
1063
|
+
// Set|Resolve navBarOptions
|
1064
|
+
// -----------------------------------------------------------------------
|
1065
|
+
navBarOptions.background_color_full = navBarOptions.background_color_full;
|
749
1066
|
|
750
|
-
//
|
751
|
-
|
752
|
-
|
1067
|
+
// Set|Resolve navMenuOptions
|
1068
|
+
// -----------------------------------------------------------------------
|
1069
|
+
navMenuOptions.menu_item_color = navMenuOptions.menu_item_color;
|
1070
|
+
navMenuOptions.menu_item_color_hover = navMenuOptions.menu_item_color_hover;
|
1071
|
+
navMenuOptions.menu_item_dropdown_color = navMenuOptions.menu_item_dropdown_color;
|
1072
|
+
navMenuOptions.dropdown_item_color = navMenuOptions.dropdown_item_color;
|
1073
|
+
navMenuOptions.dropdown_background_color_hover = navMenuOptions.dropdown_background_color_hover;
|
1074
|
+
navMenuOptions.dropdown_background_color_active = navMenuOptions.dropdown_background_color_active;
|
1075
|
+
navMenuOptions.dropdown_border_color = navMenuOptions.dropdown_border_color;
|
753
1076
|
|
754
|
-
//
|
1077
|
+
// Set|Resolve navQuicklinksOptions
|
755
1078
|
// -----------------------------------------------------------------------
|
1079
|
+
navQuicklinksOptions.icon_color = navQuicklinksOptions.icon_color;
|
1080
|
+
navQuicklinksOptions.icon_color_hover = navQuicklinksOptions.icon_color_hover;
|
1081
|
+
navQuicklinksOptions.background_color = navQuicklinksOptions.background_color;
|
756
1082
|
|
757
|
-
//
|
1083
|
+
// Set|Resolve navTopsearchOptions
|
758
1084
|
// -----------------------------------------------------------------------
|
759
|
-
|
760
|
-
|
761
|
-
$('head').append('<style>.top-search { background-color: ' +navTopsearchOptions.background_color+ ' !important; }</style>');
|
762
|
-
$('head').append('<style>.top-search input.form-control { color: ' +navTopsearchOptions.input_color+ ' !important; }</style>');
|
1085
|
+
navTopsearchOptions.input_color = navTopsearchOptions.input_color;
|
1086
|
+
navTopsearchOptions.background_color = navTopsearchOptions.background_color;
|
763
1087
|
|
764
|
-
//
|
1088
|
+
// Set dymanic styles
|
765
1089
|
// -----------------------------------------------------------------------
|
766
|
-
|
767
|
-
$('head').append('<style>.tmicon {background: ' +bg_scrolled+ ';}</style>');
|
1090
|
+
var style;
|
768
1091
|
|
769
|
-
//
|
1092
|
+
// read current background colors
|
1093
|
+
var bg_primary = $('#bg-primary').css('background-color');
|
1094
|
+
var bg_table = $('body').css('background-color');
|
1095
|
+
|
1096
|
+
// set navbar background colors
|
1097
|
+
var bg_scrolled = bg_primary;
|
1098
|
+
var bg_collapsed = bg_primary;
|
1099
|
+
|
1100
|
+
// navBar styles
|
770
1101
|
// -----------------------------------------------------------------------
|
771
|
-
$('head').append('<style>.heading:after {background: ' +bg_scrolled+ ' !important;}</style>');
|
772
1102
|
|
773
|
-
//
|
1103
|
+
// set current body background color for all tables
|
1104
|
+
$('table').css('background', bg_table);
|
1105
|
+
|
1106
|
+
// $('head').append('<style>.mdi-bg-primary {color: ' +bg_scrolled+ ';}</style>');
|
1107
|
+
style = '<style>';
|
1108
|
+
style += ' .mdi-bg-primary {';
|
1109
|
+
style += ' color: ' + bg_scrolled;
|
1110
|
+
style += ' }';
|
1111
|
+
style += '</style>';
|
1112
|
+
$('head').append(style);
|
1113
|
+
|
1114
|
+
// Size of brand image
|
1115
|
+
// $('head').append('<style>.navbar-brand > img { height: {{brand_image_height}}px !important; }</style>');
|
1116
|
+
style = '<style>';
|
1117
|
+
style += ' .navbar-brand > img {';
|
1118
|
+
style += ' height: {{brand_image_height}}px !important;';
|
1119
|
+
style += ' }';
|
1120
|
+
style += '</style>';
|
1121
|
+
$('head').append(style);
|
1122
|
+
|
1123
|
+
// Navbar transparent-light (light)
|
1124
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
1125
|
+
style = '<style>';
|
1126
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1127
|
+
style += ' nav.navbar.navigator.navbar-transparent.light {';
|
1128
|
+
style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
1129
|
+
style += ' border-bottom: solid 0px !important;';
|
1130
|
+
style += ' }';
|
1131
|
+
style += ' }';
|
1132
|
+
style += '</style>';
|
1133
|
+
$('head').append(style);
|
1134
|
+
|
1135
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
1136
|
+
// style = '<style>';
|
1137
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1138
|
+
// style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
1139
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1140
|
+
// style += ' }';
|
1141
|
+
// style += ' }';
|
1142
|
+
// style += '</style>';
|
1143
|
+
// $('head').append(style);
|
1144
|
+
|
1145
|
+
// $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
1146
|
+
style = '<style id="dynNav">';
|
1147
|
+
style += ' @media screen and (max-width: ' + gridBreakpoint_md + ') {';
|
1148
|
+
style += ' nav.navbar.navigator.navbar-transparent.light {';
|
1149
|
+
style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
1150
|
+
style += ' border-bottom: solid 0px !important;';
|
1151
|
+
style += ' }';
|
1152
|
+
style += ' }';
|
1153
|
+
style += '</style>';
|
1154
|
+
$('head').append(style);
|
1155
|
+
|
1156
|
+
// $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
1157
|
+
// style = '<style id="dynNav">';
|
1158
|
+
// style += ' @media screen and (max-width: ' + gridBreakpoint_md + ') {';
|
1159
|
+
// style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
1160
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1161
|
+
// style += ' }';
|
1162
|
+
// style += ' }';
|
1163
|
+
// style += '</style>';
|
1164
|
+
// $('head').append(style);
|
1165
|
+
|
1166
|
+
// $('head').append('<style id="dynNav">@media (min-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
1167
|
+
style = '<style id="dynNav">';
|
1168
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_md + ') {';
|
1169
|
+
style += ' nav.navbar.navigator.navbar-transparent.light {';
|
1170
|
+
style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
1171
|
+
style += ' border-bottom: solid 0px !important;';
|
1172
|
+
style += ' }';
|
1173
|
+
style += ' }';
|
1174
|
+
style += '</style>';
|
1175
|
+
$('head').append(style);
|
1176
|
+
|
1177
|
+
// $('head').append('<style id="dynNav">@media (min-width: ' +gridBreakpoint_md+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
1178
|
+
// style = '<style id="dynNav">';
|
1179
|
+
// style += ' @media screen and (min-width: ' + gridBreakpoint_md + ') {';
|
1180
|
+
// style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
1181
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1182
|
+
// style += ' }';
|
1183
|
+
// style += ' }';
|
1184
|
+
// style += '</style>';
|
1185
|
+
// $('head').append(style);
|
1186
|
+
|
1187
|
+
// $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_sm+ ') { nav.navbar.navigator.navbar-transparent.light { background-color: ' +navBarOptions.background_color_full+ ' !important; border-bottom: solid 0px !important; } }</style>');
|
1188
|
+
style = '<style id="dynNav">';
|
1189
|
+
style += ' @media screen and (max-width: ' + gridBreakpoint_sm + ') {';
|
1190
|
+
style += ' nav.navbar.navigator.navbar-transparent.light {';
|
1191
|
+
style += ' background-color: ' + navBarOptions.background_color_full + ' !important;';
|
1192
|
+
style += ' border-bottom: solid 0px !important;';
|
1193
|
+
style += ' }';
|
1194
|
+
style += ' }';
|
1195
|
+
style += '</style>';
|
1196
|
+
$('head').append(style);
|
1197
|
+
|
1198
|
+
// $('head').append('<style id="dynNav">@media (max-width: ' +gridBreakpoint_sm+ ') { nav.navbar.navigator.navbar-scrolled.light { background-color: ' +bg_scrolled+ ' !important; } }</style>');
|
1199
|
+
// style = '<style id="dynNav">';
|
1200
|
+
// style += ' @media screen and (max-width: ' + gridBreakpoint_sm + ') {';
|
1201
|
+
// style += ' nav.navbar.navigator.navbar-scrolled.light {';
|
1202
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1203
|
+
// style += ' }';
|
1204
|
+
// style += ' }';
|
1205
|
+
// style += '</style>';
|
1206
|
+
// $('head').append(style);
|
1207
|
+
|
1208
|
+
|
1209
|
+
// navQuicklinks styles
|
774
1210
|
// -----------------------------------------------------------------------
|
775
|
-
|
776
|
-
|
1211
|
+
// $('head').append('<style>.quicklink-nav> ul > li > a { color: ' +navQuicklinksOptions.icon_color+ ' !important; }</style>');
|
1212
|
+
style = '<style>';
|
1213
|
+
style += ' .quicklink-nav> ul > li > a {';
|
1214
|
+
style += ' color: ' + navQuicklinksOptions.icon_color + ' !important;';
|
1215
|
+
style += ' }';
|
1216
|
+
style += '</style>';
|
1217
|
+
$('head').append(style);
|
1218
|
+
|
1219
|
+
// $('head').append('<style>.quicklink-nav> ul > li > a:hover { color: ' +navQuicklinksOptions.icon_color_hover+ ' !important; }</style>');
|
1220
|
+
style = '<style>';
|
1221
|
+
style += ' .quicklink-nav> ul > li > a:hover {';
|
1222
|
+
style += ' color: ' + navQuicklinksOptions.icon_color_hover + ' !important;';
|
1223
|
+
style += ' }';
|
1224
|
+
style += '</style>';
|
1225
|
+
$('head').append(style);
|
777
1226
|
|
778
|
-
|
1227
|
+
|
1228
|
+
// navMenu styles
|
779
1229
|
// -----------------------------------------------------------------------
|
780
|
-
$('head').append('<style>.is-active-link::before {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
781
1230
|
|
782
|
-
|
1231
|
+
// $('head').append('<style>.dropdown-menu > .active > a { background-color: transparent !important; }</style>');
|
1232
|
+
// Remove background for anchor
|
1233
|
+
style = '<style>';
|
1234
|
+
style += ' .dropdown-menu > .active > a {';
|
1235
|
+
style += ' background-color: transparent !important;';
|
1236
|
+
style += ' }';
|
1237
|
+
style += '</style>';
|
1238
|
+
$('head').append(style);
|
1239
|
+
|
1240
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator .dropdown-item:focus, nav.navbar.navigator .dropdown-item:hover, nav.navbar.navigator .nav-sub-item:focus, nav.navbar.navigator .nav-sub-item:hover { background: ' +navMenuOptions.dropdown_background_color_hover+ ' !important; }}</style>');
|
1241
|
+
// hover menu-item|menu-sub-item
|
1242
|
+
style = '<style>';
|
1243
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1244
|
+
style += ' nav.navbar.navigator .dropdown-item:focus,';
|
1245
|
+
style += ' nav.navbar.navigator .dropdown-item:hover,';
|
1246
|
+
style += ' nav.navbar.navigator .nav-sub-item:focus,';
|
1247
|
+
style += ' nav.navbar.navigator .nav-sub-item:hover {';
|
1248
|
+
style += ' background: ' + navMenuOptions.dropdown_background_color_hover + ' !important;';
|
1249
|
+
style += ' }';
|
1250
|
+
style += ' }';
|
1251
|
+
style += '</style>';
|
1252
|
+
$('head').append(style);
|
1253
|
+
|
1254
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav.navbar-right .dropdown-menu .dropdown-menu { left: -' +navMenuOptions.dropdown_item_min_width+ 'rem !important; } }</style>');
|
1255
|
+
// Limit 1st dropdown item width
|
1256
|
+
style = '<style>';
|
1257
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1258
|
+
style += ' nav.navbar.navigator ul.nav.navbar-right .dropdown-menu .dropdown-menu {';
|
1259
|
+
style += ' left: -' + navMenuOptions.dropdown_item_min_width + 'rem !important;';
|
1260
|
+
style += ' }';
|
1261
|
+
style += ' }';
|
1262
|
+
style += '</style>';
|
1263
|
+
$('head').append(style);
|
1264
|
+
|
1265
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator li.dropdown ul.dropdown-menu ul.dropdown-menu { top: -' +navMenuOptions.dropdown_border_top+ 'px !important; max-height: ' +navMenuOptions.dropdown_menu_max_height+ 'em; } }</style>');
|
1266
|
+
// Limit last (2nd) dropdown in height
|
1267
|
+
style = '<style>';
|
1268
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1269
|
+
style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu ul.dropdown-menu {';
|
1270
|
+
style += ' top: -' + navMenuOptions.dropdown_border_top + 'px !important;';
|
1271
|
+
style += ' max-height: ' + navMenuOptions.dropdown_menu_max_height + 'em;';
|
1272
|
+
style += ' }';
|
1273
|
+
style += ' }';
|
1274
|
+
style += '</style>';
|
1275
|
+
|
1276
|
+
// Set dropdown item colors
|
1277
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav > li > a { color: ' +navMenuOptions.menu_item_color+ ' !important; } }</style>');
|
1278
|
+
style = '<style>';
|
1279
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1280
|
+
style += ' nav.navbar.navigator ul.nav > li > a {';
|
1281
|
+
style += ' color: ' + navMenuOptions.menu_item_color + ' !important;';
|
1282
|
+
style += ' }';
|
1283
|
+
style += ' }';
|
1284
|
+
style += '</style>';
|
1285
|
+
|
1286
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator ul.nav > li > a:hover { color: ' +navMenuOptions.menu_item_color_hover+ ' !important; } }</style>');
|
1287
|
+
style = '<style>';
|
1288
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1289
|
+
style += ' nav.navbar.navigator ul.nav > li > a:hover {';
|
1290
|
+
style += ' color: ' + navMenuOptions.menu_item_color_hover + ' !important;';
|
1291
|
+
style += ' }';
|
1292
|
+
style += ' }';
|
1293
|
+
style += '</style>';
|
1294
|
+
|
1295
|
+
// $('head').append('<style>@media (min-width: ' + gridBreakpoint_lg + ') { nav.navbar.navigator li.dropdown ul.dropdown-menu { animation-duration: ' +navMenuOptions.dropdown_animate_duration+ 's !important; color: #616161 !important; min-width: ' +navMenuOptions.dropdown_item_min_width+ 'rem !important; border-top: solid ' +navMenuOptions.dropdown_border_top+ 'px !important; border-radius: ' +navMenuOptions.dropdown_border_radius+ 'px !important; left: 0; } }</style>');
|
1296
|
+
// Dropdown menu styles
|
1297
|
+
style = '<style>';
|
1298
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1299
|
+
style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu {';
|
1300
|
+
style += ' animation-duration: ' + navMenuOptions.dropdown_animate_duration + 's !important;';
|
1301
|
+
style += ' color: #616161 !important;';
|
1302
|
+
style += ' min-width: ' + navMenuOptions.dropdown_item_min_width + 'rem !important;';
|
1303
|
+
style += ' border-top: solid ' + navMenuOptions.dropdown_border_top + 'px !important;';
|
1304
|
+
style += ' border-radius: ' + navMenuOptions.dropdown_border_radius + 'px !important;';
|
1305
|
+
style += ' left: 0;';
|
1306
|
+
style += ' }';
|
1307
|
+
style += ' }';
|
1308
|
+
style += '</style>';
|
1309
|
+
$('head').append(style);
|
1310
|
+
|
1311
|
+
|
1312
|
+
{% if dropdown_style == 'raised' %}
|
1313
|
+
// $('head').append('<style>@media (min-width: ' +gridBreakpoint_lg+ ') { nav.navbar.navigator li.dropdown ul.dropdown-menu { box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; } }</style>');
|
1314
|
+
style = '<style>';
|
1315
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1316
|
+
style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu {';
|
1317
|
+
style += ' box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important;';
|
1318
|
+
style += ' }';
|
1319
|
+
style += ' }';
|
1320
|
+
style += '</style>';
|
1321
|
+
$('head').append(style);
|
1322
|
+
{% endif %}
|
1323
|
+
|
1324
|
+
// $('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>');
|
1325
|
+
// configure dropdown_font_size|color
|
1326
|
+
style = '<style>';
|
1327
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1328
|
+
style += ' nav.navbar.navigator li.dropdown ul.dropdown-menu > li > a {';
|
1329
|
+
style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
|
1330
|
+
style += ' font-size: ' + navMenuOptions.dropdown_font_size + ' !important;';
|
1331
|
+
style += ' font-weight: 400;';
|
1332
|
+
style += ' }';
|
1333
|
+
style += ' }';
|
1334
|
+
style += '</style>';
|
1335
|
+
$('head').append(style);
|
1336
|
+
|
1337
|
+
// $('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>');
|
1338
|
+
style = '<style>';
|
1339
|
+
style += ' @media screen and (min-width: ' + gridBreakpoint_lg + ') {';
|
1340
|
+
style += ' nav.navbar.navigator ul.dropdown-menu.megamenu-content .content ul.menu-col li a {';
|
1341
|
+
style += ' color: ' + navMenuOptions.dropdown_item_color + ' !important;';
|
1342
|
+
style += ' font-size: ' + navMenuOptions.megamenu_font_size + ' !important;';
|
1343
|
+
style += ' font-weight: 400;';
|
1344
|
+
style += ' }';
|
1345
|
+
style += ' }';
|
1346
|
+
style += '</style>';
|
1347
|
+
$('head').append(style);
|
1348
|
+
|
1349
|
+
// navQuicklinks|navTopSearch
|
783
1350
|
// -----------------------------------------------------------------------
|
784
|
-
|
1351
|
+
// $('head').append('<style>.top-search { background-color: ' +navTopsearchOptions.background_color+ ' !important; }</style>');
|
1352
|
+
style = '<style>';
|
1353
|
+
style += ' .top-search {';
|
1354
|
+
style += ' background-color: ' + navTopsearchOptions.background_color + ' !important;';
|
1355
|
+
style += ' }';
|
1356
|
+
style += '</style>';
|
1357
|
+
$('head').append(style);
|
1358
|
+
|
1359
|
+
// $('head').append('<style>.top-search input.form-control { color: ' +navTopsearchOptions.input_color+ ' !important; }</style>');
|
1360
|
+
style = '<style>';
|
1361
|
+
style += ' .top-search input.form-control {';
|
1362
|
+
style += ' color: ' + navTopsearchOptions.input_color + ' !important;';
|
1363
|
+
style += ' }';
|
1364
|
+
style += '</style>';
|
1365
|
+
$('head').append(style);
|
785
1366
|
|
786
|
-
//
|
1367
|
+
// Timeline styles
|
787
1368
|
// -----------------------------------------------------------------------
|
788
|
-
|
1369
|
+
// style = '<style>';
|
1370
|
+
// style += ' .timeline > li > .timeline-panel:after {';
|
1371
|
+
// style += ' border-left: 14px solid ' + bg_scrolled + ';';
|
1372
|
+
// style += ' border-right: 0 solid ' + bg_scrolled + ';';
|
1373
|
+
// style += ' }';
|
1374
|
+
// style += '</style>';
|
1375
|
+
// $('head').append(style);
|
1376
|
+
//
|
1377
|
+
// style = '<style>';
|
1378
|
+
// style += ' .tmicon {';
|
1379
|
+
// style += ' background: ' + bg_scrolled + ';';
|
1380
|
+
// style += ' }';
|
1381
|
+
// style += '</style>';
|
1382
|
+
// $('head').append(style);
|
1383
|
+
//
|
1384
|
+
// // Heading styles
|
1385
|
+
// // -----------------------------------------------------------------------
|
1386
|
+
// // $('head').append('<style>.heading:after {background: ' +bg_scrolled+ ' !important;}</style>');
|
1387
|
+
// style = '<style>';
|
1388
|
+
// style += ' .heading:after {';
|
1389
|
+
// style += ' background: ' + bg_scrolled + ' !important;';
|
1390
|
+
// style += ' }';
|
1391
|
+
// style += '</style>';
|
1392
|
+
// $('head').append(style);
|
1393
|
+
//
|
1394
|
+
// // Tag Cloud styles
|
1395
|
+
// // -----------------------------------------------------------------------
|
1396
|
+
// // $('head').append('<style>.tag-cloud ul li a {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
1397
|
+
// style = '<style>';
|
1398
|
+
// style += ' .tag-cloud ul li a {';
|
1399
|
+
// style += ' background: ' + bg_scrolled + ' !important;';
|
1400
|
+
// style += ' }';
|
1401
|
+
// style += '</style>';
|
1402
|
+
// $('head').append(style);
|
1403
|
+
//
|
1404
|
+
// // Toccer styles
|
1405
|
+
// // -----------------------------------------------------------------------
|
1406
|
+
// // $('head').append('<style>.is-active-link::before {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
1407
|
+
// style = '<style>';
|
1408
|
+
// style += ' .is-active-link::before {';
|
1409
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1410
|
+
// style += ' }';
|
1411
|
+
// style += '</style>';
|
1412
|
+
// $('head').append(style);
|
1413
|
+
//
|
1414
|
+
// // BS extended Modal styles
|
1415
|
+
// // -----------------------------------------------------------------------
|
1416
|
+
// // $('head').append('<style>.modal-dialog.modal-notify.modal-primary .modal-header {background-color: ' +bg_scrolled+ ';}</style>');
|
1417
|
+
// style = '<style>';
|
1418
|
+
// style += ' .modal-dialog.modal-notify.modal-primary .modal-header {';
|
1419
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1420
|
+
// style += ' }';
|
1421
|
+
// style += '</style>';
|
1422
|
+
// $('head').append(style);
|
1423
|
+
//
|
1424
|
+
// // BS nav|pills styles
|
1425
|
+
// // -----------------------------------------------------------------------
|
1426
|
+
// // $('head').append('<style>.nav-pills .nav-link.active, .nav-pills .show > .nav-link {background-color: ' +bg_scrolled+ ' !important;}</style>');
|
1427
|
+
// style = '<style>';
|
1428
|
+
// style += ' .nav-pills .nav-link.active, .nav-pills .show > .nav-link {';
|
1429
|
+
// style += ' background-color: ' + bg_scrolled + ' !important;';
|
1430
|
+
// style += ' }';
|
1431
|
+
// style += '</style>';
|
1432
|
+
// $('head').append(style);
|
789
1433
|
|
790
1434
|
return true;
|
791
|
-
}, // END
|
1435
|
+
}, // END applyThemeSettings
|
792
1436
|
|
793
1437
|
// -------------------------------------------------------------------------
|
794
1438
|
// messageHandler
|