j1-template 2024.3.22 → 2024.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/data/{galeries.html → gallery_app.html} +106 -18
- data/assets/theme/bla +0 -0
- data/assets/theme/j1/adapter/js/amplitude.js +144 -52
- data/assets/theme/j1/adapter/js/gallery.js +14 -3
- data/assets/theme/j1/adapter/js/themes.js +41 -69
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.css +48 -52
- data/assets/theme/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/theme/j1/core/css/vendor.css +1 -1
- data/assets/theme/j1/core/css/vendor.min.css +1 -1
- data/assets/theme/j1/modules/amplitudejs/js/tech/ytp.js +466 -396
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.css +3 -126
- data/assets/theme/j1/modules/lightGallery/css/lg-transitions.min.css +3 -10
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.css +70 -237
- data/assets/theme/j1/modules/lightGallery/css/lightgallery-bundle.min.css +4 -10
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.css +276 -0
- data/assets/theme/j1/modules/lightGallery/css/theme/uno/uno.min.css +17 -0
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.js +196 -134
- data/assets/theme/j1/modules/lightGallery/js/lightgallery.min.js +3 -10
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-autoplay.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-comment.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-fullscreen.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-hash.min.js +5 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-medium-zoom.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-pager.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.js +179 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-relative-caption.min.js +32 -0
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-rotate.min.js +6 -6
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-share.min.js +6 -7
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.js +27 -20
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.js +489 -411
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-video.min.js +3 -10
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.js +4 -4
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-vimeo-thumbnail.min.js +5 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.js +11 -5
- data/assets/theme/j1/modules/lightGallery/js/plugins/lg-zoom.min.js +5 -5
- data/assets/theme/j1/modules/rtable/css/theme/uno/rtable.css +11 -1
- data/assets/theme/j1/modules/themeSwitcher/js/switcher.js +13 -12
- data/assets/theme/j1/modules/videoPlayer/tiktoc/README.md +1 -0
- data/assets/theme/j1/modules/videojs/assets/README.md +1 -0
- data/assets/theme/j1/modules/videojs/assets/icons/speedometer-medium.svg +35 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.ttf +0 -0
- data/assets/theme/j1/modules/videojs/css/font/VideoJS.woff +0 -0
- data/assets/theme/j1/modules/videojs/css/themes/uno.css +189 -42
- data/assets/theme/j1/modules/videojs/css/themes/uno.min.css +1 -1
- data/assets/theme/j1/modules/videojs/css/videojs.css +674 -316
- data/assets/theme/j1/modules/videojs/css/videojs.min.css +4 -3
- data/assets/theme/j1/modules/videojs/js/video.js +15893 -12288
- data/assets/theme/j1/modules/videojs/js/video.min.js +22 -23
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/!examples/index.html +26 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/README.md +69 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/css/aspect-ratio-panel.min.css +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.js +339 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/aspect-ratio-panel/js/aspect-ratio-panel.min.js +2 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.js +0 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys/examples → plugins/controls/hotkeys/!examples}/example.html +1 -1
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/!examples/index.html +25 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/README.md +90 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.js +120 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/persist-settings/js/videojs-persist.min.js +2 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/!examples/index.html +32 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/LICENSE +19 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/README.md +61 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.js +94 -0
- data/assets/theme/j1/modules/videojs/plugins/controls/playbackrate-adjuster/js/playbackrate-adjuster.min.js +20 -0
- data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/skipbuttons/README.md +25 -11
- data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/zoom/css}/zoom.css +7 -6
- data/assets/theme/j1/modules/videojs/plugins/controls/zoom/css/zoom.min.css +22 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-controls.html +4 -4
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-javascript.html +3 -3
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/dailymotion-playlist.html +3 -3
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/global-parameters.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/dm/!examples/simple.html +31 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/examples → plugins/players/dm/!examples}/switch.html +3 -3
- data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/index.html +3 -3
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/examples → plugins/players/vm/!examples}/player/index.html +3 -3
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.0.js +521 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.1.js +605 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.3.js +643 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.4.js +583 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.5.js +665 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.6.js +642 -0
- data/assets/theme/j1/modules/videojs/plugins/players/vm/!unused/vimeo.7.js +673 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api → plugins/players/vm/api/js}/vimeo.min.js +1 -1
- data/assets/theme/j1/modules/videojs/{js/plugins/players/vm → plugins/players/vm/js}/vimeo.js +4 -5
- data/assets/theme/j1/modules/videojs/plugins/players/vm/js/vimeo.min.js +28 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.0.js +395 -0
- data/assets/theme/j1/modules/videojs/plugins/players/wt/!unused/wistia.1.js +401 -0
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/global-parameters.html +5 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/simple.html +5 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/switch.html +5 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-controls.html +5 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-javascript.html +5 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-list.html +5 -5
- data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/examples → plugins/players/yt/!examples}/youtube-playlist.html +5 -5
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/README.md +5 -5
- data/lib/starter_web/_config.yml +1 -1
- data/lib/starter_web/_data/blocks/banner.yml +2 -2
- data/lib/starter_web/_data/modules/amplitude_playlists.yml +16 -1
- data/lib/starter_web/_data/modules/attics.yml +11 -0
- data/lib/starter_web/_data/modules/carousel.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/gallery.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/masonry.yml +115 -22
- data/lib/starter_web/_data/modules/gallery.yml +225 -281
- data/lib/starter_web/_data/modules/masonry.yml +6 -0
- data/lib/starter_web/_data/modules/navigator_menu.yml +3 -3
- data/lib/starter_web/_data/resources.yml +16 -12
- data/lib/starter_web/_data/templates/feed.xml +1 -1
- data/lib/starter_web/_includes/attributes.asciidoc +7 -0
- data/lib/starter_web/_plugins/asciidoctor/videojs-block.rb +50 -30
- data/lib/starter_web/_plugins/asciidoctor/youtube-block.rb +37 -23
- data/lib/starter_web/_plugins/index/lunr.rb +1 -1
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-redl.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexander-shatov.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/alexey-ruban.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/andrea-badino.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bootstrap-modal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bp-miller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brad-neathery.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/brigitta-schneiter.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/build-with-gemini.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/clem-onojeghuo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/crawford-jolly.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/eleni-afiontzi.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/fly-d.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/guillaume-bolduc.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/ideas-start-here-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/isaac-davis.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-3.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-starter-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/john-schnobrich-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josep-martins.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/josh-liu.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kelly-sikkemal.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kira-auf-der-heide.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/kristopher-roller.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/markus-spiske.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/martin-sanchez.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/material_symbols.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/matthaeus.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/melanie-deziel.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/milad-fakurian.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/mohammad-rahmani.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/nasa.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/quino-al-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/towfiqu-barbhuiya.jpg +0 -0
- data/lib/starter_web/assets/image/page/tour/bootswatch-themes.jpg +0 -0
- data/lib/starter_web/assets/video/poster/vimeo/fall_2011.jpg +0 -0
- data/lib/starter_web/index.html +3 -2
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/pages/public/tools/previewer/preview_bootstrap_theme.adoc +5 -5
- data/lib/starter_web/pages/public/tools/tester/app_tester_amplitudejs_yt.adoc +7 -3
- data/lib/starter_web/pages/public/tools/tester/app_tester_swiperjs.adoc +7 -3
- data/lib/starter_web/pages/public/tools/tester/videojs_macro_tester.adoc +297 -0
- data/lib/starter_web/pages/public/tour/_includes/attributes.asciidoc +1 -2
- data/lib/starter_web/pages/public/tour/_includes/documents/themes_bootstrap.asciidoc +1 -1
- data/lib/starter_web/pages/public/tour/asciidoc_extensions.adoc +7 -3
- data/lib/starter_web/pages/public/tour/bootstrap_themes.adoc +62 -7
- data/lib/starter_web/pages/public/tour/icon_fonts.adoc +4 -8
- data/lib/starter_web/pages/public/tour/modal_extentions.adoc +2 -2
- data/lib/starter_web/pages/public/tour/responsive_tables.adoc +21 -15
- data/lib/starter_web/pages/public/tour/typography.adoc +5 -5
- data/lib/starter_web/pages/public/tour/video_data.adoc +25 -5
- metadata +142 -118
- data/assets/data/swiper_app.2.html +0 -757
- data/assets/data/swiper_app.4.html +0 -769
- data/assets/theme/j1/modules/lightGallery/css/themes/uno/uno.css +0 -140
- data/assets/theme/j1/modules/lightGallery/css/themes/uno/uno.min.css +0 -19
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/j1-video.js +0 -402
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/j1-video.min.js +0 -7
- data/assets/theme/j1/modules/lightGallery/js/plugins/j1/lg-video.1.js +0 -585
- data/assets/theme/j1/modules/videojs/css/font/video-js-cdn.css +0 -2012
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.0.css +0 -32
- data/assets/theme/j1/modules/videojs/css/plugins/controls/skipbuttons.1.css +0 -31
- data/assets/theme/j1/modules/videojs/css/plugins/controls/zoom.min.css +0 -21
- data/assets/theme/j1/modules/videojs/js/plugins/players/dm/examples/simple.html +0 -20
- data/assets/theme/j1/modules/videojs/js/plugins/players/vm/vimeo.min.js +0 -16
- data/assets/theme/j1/modules/videojs/js/plugins/players/wt/api/src/WistiaPlayer.ts +0 -1617
- data/lib/starter_web/_data/modules/gallery_app.yml +0 -1002
- data/lib/starter_web/_data/modules/gallery_playlists.yml +0 -534
- data/lib/starter_web/assets/image/module/attic/1920x1280/alina-grubnyak.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/bruno-figueiredo.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/harpal-singh.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/hayden-mills-2.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/j1-content-mockup-1.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/recha-oktaviani.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/1920x1280/tiny_desk.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280-bw.jpg +0 -0
- data/lib/starter_web/assets/image/module/attic/ideas-start-here-1920x1280.jpg +0 -0
- data/lib/starter_web/assets/video/poster/vimeo/stay_colorful.jpg +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/animation-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/customize-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/dynamic-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/facebook-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/googleplus-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/html5-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/linked-in.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/module-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/play-button-hover.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/play-button.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/play-button.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/responsive-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/thumb-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/touch-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/twitter-icon.svg +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/twitter.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/video1-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/zoom-w.png +0 -0
- /data/assets/theme/j1/modules/lightGallery/css/{themes → theme}/uno/icons/zoom.png +0 -0
- /data/assets/theme/j1/modules/videoPlayer/dailymotion/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/tiktoc/{js/player.min.js → player.min.js} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/vimeo/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videoPlayer/wistia/js/{!readme → README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/autocaption/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/autocaption → plugins/controls/autocaption/js}/autocaption.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/hotkeys/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/hotkeys → plugins/controls/hotkeys/js}/hotkeys.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.css +0 -0
- /data/assets/theme/j1/modules/videojs/{css/plugins/controls → plugins/controls/skipbuttons/css}/skipbuttons.min.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/skipbuttons → plugins/controls/skipbuttons/js}/skipbuttons.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.html +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/index.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom/examples → plugins/controls/zoom/!examples}/styles.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/LICENSE.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/controls/zoom/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/controls/zoom → plugins/controls/zoom/js}/zoom.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/doc → plugins/players/dm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/api/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api/doc → plugins/players/dm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm/api → plugins/players/dm/api/js}/dailymotion.sdk.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/dm/icon/scalable/dailymotion.svg +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/dm → plugins/players/dm/js}/dailymotion.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/doc → plugins/players/vm}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/vm/api/doc → plugins/players/vm/api}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/embed.player.uno.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/vm/api/css/player.css +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/doc → plugins/players/wt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api/doc/Readme.txt → plugins/players/wt/api/README.md} +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt/api → plugins/players/wt/api/js}/wistia.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/wt → plugins/players/wt/js}/wistia.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/v3.0.0 → plugins/players/yt/!v3.0.0}/youtube.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins → plugins}/players/yt/LICENSE +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/doc → plugins/players/yt}/README.md +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt/api → plugins/players/yt/api/js}/youtube.min.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.js +0 -0
- /data/assets/theme/j1/modules/videojs/{js/plugins/players/yt → plugins/players/yt/js}/youtube.min.js +0 -0
@@ -0,0 +1,297 @@
|
|
1
|
+
---
|
2
|
+
title: VideoJS over YT
|
3
|
+
title_extention: Custom progressControlSlider
|
4
|
+
tagline: Custom progressControlSlider
|
5
|
+
|
6
|
+
date: 2025-06-05
|
7
|
+
last_modified: 2025-06-08
|
8
|
+
|
9
|
+
description: >
|
10
|
+
Test the VideoJS ADOC Macro for
|
11
|
+
custom AJS progressControlSilder
|
12
|
+
keywords: >
|
13
|
+
open source, free, template, jekyll,
|
14
|
+
jekyllone, web, sites, static, jamstack,
|
15
|
+
bootstrap, html, html5, video, support,
|
16
|
+
videojs
|
17
|
+
|
18
|
+
categories: [ Tester ]
|
19
|
+
tags: [ Module, VideoJS ]
|
20
|
+
|
21
|
+
image:
|
22
|
+
path: /assets/image/module/attic/markus-spiske-1920x1280.jpg
|
23
|
+
width: 1920
|
24
|
+
height: 1280
|
25
|
+
|
26
|
+
attic: false
|
27
|
+
regenerate: false
|
28
|
+
personalization: true
|
29
|
+
permalink: /pages/public/tester/videojs_yt/
|
30
|
+
|
31
|
+
resources: [ gallery, lightgallery, videojs ]
|
32
|
+
resource_options:
|
33
|
+
- toccer:
|
34
|
+
collapseDepth: 3
|
35
|
+
- attic:
|
36
|
+
slides:
|
37
|
+
- url: /assets/image/module/attic/1920x1280/markus-spiske.jpg
|
38
|
+
alt: Photo by Markus Spiske on Unsplash
|
39
|
+
badge:
|
40
|
+
type: unsplash
|
41
|
+
author: Markus Spiske
|
42
|
+
href: https://unsplash.com/de/@markusspiske/
|
43
|
+
---
|
44
|
+
|
45
|
+
// Page Initializer
|
46
|
+
// =============================================================================
|
47
|
+
// Enable the Liquid Preprocessor
|
48
|
+
:page-liquid:
|
49
|
+
|
50
|
+
// Attribute settings for section control
|
51
|
+
//
|
52
|
+
:swiper--features: false
|
53
|
+
|
54
|
+
// Set (local) page attributes here
|
55
|
+
// -----------------------------------------------------------------------------
|
56
|
+
// :page--attr: <attr-value>
|
57
|
+
|
58
|
+
// Load Liquid procedures
|
59
|
+
// -----------------------------------------------------------------------------
|
60
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
61
|
+
|
62
|
+
// Load page attributes
|
63
|
+
// -----------------------------------------------------------------------------
|
64
|
+
{% include {{load_attributes}} scope="global" %}
|
65
|
+
|
66
|
+
|
67
|
+
// Page content
|
68
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
69
|
+
[role="dropcap"]
|
70
|
+
Swiper, the free and most modern mobile touch slider with hardware accelerated
|
71
|
+
transitions and amazing native behavior. It is intended to be used in mobile
|
72
|
+
websites, mobile web apps, and mobile native/hybrid apps.
|
73
|
+
|
74
|
+
// Include sub-documents (if any)
|
75
|
+
// -----------------------------------------------------------------------------
|
76
|
+
[role="mt-4"]
|
77
|
+
== lightGallery (YouTube)
|
78
|
+
|
79
|
+
The galley maker *justifiedGallery* in combination with the *lightbox*
|
80
|
+
lightGallery is a great toolset for creating dynamic video galleries.
|
81
|
+
The module combinati0n makes creating a gallery to access videos easy.
|
82
|
+
|
83
|
+
.YouTube Video · justifiedGallery + LightGallery
|
84
|
+
gallery::jg_video_youtube_james_and_adele[role="mb-4"]
|
85
|
+
|
86
|
+
|
87
|
+
== VideoJS Player over YouTube
|
88
|
+
|
89
|
+
lorem:sentences[3]
|
90
|
+
|
91
|
+
++++
|
92
|
+
<style>
|
93
|
+
|
94
|
+
/* -----------------------------------------------------------------------------
|
95
|
+
styles moved to VJS theme uno at:
|
96
|
+
assets/theme/j1/modules/videojs/css/themes/uno.css
|
97
|
+
*/
|
98
|
+
|
99
|
+
</style>
|
100
|
+
++++
|
101
|
+
|
102
|
+
++++
|
103
|
+
<div class="video-title">
|
104
|
+
<i class="mdib mdib-video mdib-24px mr-2"></i>
|
105
|
+
The Breathtaking Beauty of Nature
|
106
|
+
</div>
|
107
|
+
|
108
|
+
<div class="mb-8">
|
109
|
+
<video
|
110
|
+
id="2rtQOsWaAXc"
|
111
|
+
class="video-js vjs-theme-uno"
|
112
|
+
controls
|
113
|
+
width="640"
|
114
|
+
height="360"
|
115
|
+
poster="//img.youtube.com/vi/IUN664s7N-c/maxresdefault.jpg" alt="Beauty of Nature"
|
116
|
+
aria-label="The Breathtaking Beauty of Nature"
|
117
|
+
data-setup='{
|
118
|
+
"fluid" : true,
|
119
|
+
"techOrder": [
|
120
|
+
"youtube", "html5"
|
121
|
+
],
|
122
|
+
"sources": [{
|
123
|
+
"type": "video/youtube",
|
124
|
+
"src": "//youtube.com/watch?v=IUN664s7N-c"
|
125
|
+
}],
|
126
|
+
"controlBar": {
|
127
|
+
"pictureInPictureToggle": false,
|
128
|
+
"volumePanel": {
|
129
|
+
"inline": false
|
130
|
+
}
|
131
|
+
}
|
132
|
+
}'
|
133
|
+
></video>
|
134
|
+
</div>
|
135
|
+
++++
|
136
|
+
|
137
|
+
++++
|
138
|
+
<script>
|
139
|
+
|
140
|
+
$(function() {
|
141
|
+
// ===========================================================================
|
142
|
+
// take over VideoJS configuration data (JSON data from Ruby)
|
143
|
+
// ---------------------------------------------------------------------------
|
144
|
+
//
|
145
|
+
const videojsDefaultConfigJson = '{"description":{"title":"J1 VideoJS","scope":"Default settings","location":"_data/modules/defaults/videojs.yml"},"defaults":{"enabled":false,"playbackRates":{"enabled":false,"values":[0.25,0.5,1,1.5,2]},"players":{"youtube":{"autoplay":0,"cc_load_policy":0,"controls":0,"disablekb":1,"enablejsapi":1,"fs":0,"iv_load_policy":3,"loop":0,"modestbranding":1,"rel":0,"showinfo":0,"default_poster":"/assets/image/icon/videojs/videojs-poster.png","poster":"maxresdefault.jpg","end":true,"start":true}},"plugins":{"autoCaption":{"enabled":false},"hotKeys":{"enabled":false,"seekStep":15,"volumeStep":0.1,"alwaysCaptureHotkeys":true,"captureDocumentHotkeys":false,"hotkeysFocusElementFilter":"function () { return false }","enableFullscreen":true,"enableHoverScroll":true,"enableInactiveFocus":true,"enableJogStyle":false,"enableMute":true,"enableModifiersForNumbers":true,"enableNumbers":false,"enableVolumeScroll":true,"skipInitialFocus":false},"skipButtons":{"enabled":false,"surroundPlayButton":false,"backwardIndex":1,"forwardIndex":1,"forward":10,"backward":10},"zoomButtons":{"enabled":false,"moveX":0,"moveY":0,"rotate":0,"zoom":1}}}}';
|
146
|
+
|
147
|
+
const videojsUserConfigJson = '{"description":{"title":"J1 VideoJS","scope":"User settings","location":"_data/modules/videojs.yml"},"settings":{"enabled":true,"playbackRates":{"enabled":true},"plugins":{"hotKeys":{"enabled":false,"enableInactiveFocus":false},"skipButtons":{"enabled":true,"surroundPlayButton":true},"zoomButtons":{"enabled":false}}}}';
|
148
|
+
|
149
|
+
// ===========================================================================
|
150
|
+
// create config objects from JSON data
|
151
|
+
// ---------------------------------------------------------------------------
|
152
|
+
const videojsDefaultSettings = JSON.parse(videojsDefaultConfigJson);
|
153
|
+
const videojsUserSettings = JSON.parse(videojsUserConfigJson);
|
154
|
+
const videojsConfig = $.extend(true, {}, videojsDefaultSettings.defaults, videojsUserSettings.settings);
|
155
|
+
|
156
|
+
// ===========================================================================
|
157
|
+
// VideoJS player settings
|
158
|
+
// ---------------------------------------------------------------------------
|
159
|
+
const vjsPlayerType = 'ytp';
|
160
|
+
const vjsPlaybackRates = videojsConfig.playbackRates.values;
|
161
|
+
|
162
|
+
// ===========================================================================
|
163
|
+
// VideoJS plugin settings
|
164
|
+
// -----------------------------------------------------------------
|
165
|
+
const piAutoCaption = videojsConfig.plugins.autoCaption;
|
166
|
+
const piHotKeys = videojsConfig.plugins.hotKeys;
|
167
|
+
const piSkipButtons = videojsConfig.plugins.skipButtons;
|
168
|
+
const piZoomButtons = videojsConfig.plugins.zoomButtons;
|
169
|
+
|
170
|
+
// ===========================================================================
|
171
|
+
// helper functions
|
172
|
+
// ---------------------------------------------------------------------------
|
173
|
+
function addCaptionAfterImage(imageSrc) {
|
174
|
+
const image = document.querySelector(`img[src="${imageSrc}"]`);
|
175
|
+
|
176
|
+
if (image) {
|
177
|
+
// create div|caption container
|
178
|
+
const newDiv = document.createElement('div');
|
179
|
+
newDiv.classList.add('caption');
|
180
|
+
newDiv.textContent = 'The Breathtaking Beauty of Nature';
|
181
|
+
|
182
|
+
// insert div|caption container AFTER the image
|
183
|
+
image.parentNode.insertBefore(newDiv, image.nextSibling);
|
184
|
+
} else {
|
185
|
+
console.error(`No image found at: ${imageSrc}`);
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
// ===========================================================================
|
190
|
+
// initialize the VideoJS player (on page ready)
|
191
|
+
// ---------------------------------------------------------------------------
|
192
|
+
var dependencies_met_page_ready = setInterval(function(options) {
|
193
|
+
var pageState = $('#content').css("display");
|
194
|
+
var pageVisible = (pageState == 'block') ? true : false;
|
195
|
+
var j1CoreFinished = (j1.getState() === 'finished') ? true : false;
|
196
|
+
|
197
|
+
if (j1CoreFinished && pageVisible) {
|
198
|
+
const vjs_player = document.getElementById("2rtQOsWaAXc");
|
199
|
+
|
200
|
+
// add captions (on poster image)
|
201
|
+
addCaptionAfterImage('//img.youtube.com/vi/IUN664s7N-c/maxresdefault.jpg');
|
202
|
+
|
203
|
+
// scroll page to the players top position
|
204
|
+
// -----------------------------------------------------------------------
|
205
|
+
vjs_player.addEventListener('click', function(event) {
|
206
|
+
const targetDiv = document.getElementById("2rtQOsWaAXc");
|
207
|
+
const targetDivPosition = targetDiv.offsetTop;
|
208
|
+
const scrollOffset = (window.innerWidth >= 720) ? -130 : -110;
|
209
|
+
|
210
|
+
// scroll player to top position
|
211
|
+
window.scrollTo(0, targetDivPosition + scrollOffset);
|
212
|
+
});// END EventListener 'click'
|
213
|
+
|
214
|
+
clearInterval(dependencies_met_page_ready);
|
215
|
+
}
|
216
|
+
}, 10);
|
217
|
+
|
218
|
+
// customize the yt player created
|
219
|
+
// ---------------------------------------------------------------------------
|
220
|
+
var dependencies_met_vjs_player_exist = setInterval(function(options) {
|
221
|
+
var vjsPlayerExist = document.getElementById("2rtQOsWaAXc") ? true : false;
|
222
|
+
|
223
|
+
if (vjsPlayerExist) {
|
224
|
+
|
225
|
+
// apply player customization on 'player ready'
|
226
|
+
videojs("2rtQOsWaAXc").ready(function() {
|
227
|
+
const vjsPlayer = this;
|
228
|
+
|
229
|
+
// create customControlContainer for progressControlSilder|time (display) elements
|
230
|
+
const customProgressContainer = vjsPlayer.controlBar.addChild('Component', {
|
231
|
+
el: videojs.dom.createEl('div', {
|
232
|
+
className: 'vjs-theme-uno custom-progressbar-container'
|
233
|
+
})
|
234
|
+
});
|
235
|
+
|
236
|
+
// move progressControlSlider into customControlContainer
|
237
|
+
const progressControlSlider = vjsPlayer.controlBar.progressControl;
|
238
|
+
if (progressControlSlider) {
|
239
|
+
customProgressContainer.el().appendChild(progressControlSlider.el());
|
240
|
+
}
|
241
|
+
|
242
|
+
// move currentTimeDisplay BEFORE the progressControlSilder
|
243
|
+
const currentTimeDisplay = vjsPlayer.controlBar.currentTimeDisplay;
|
244
|
+
if (currentTimeDisplay) {
|
245
|
+
customProgressContainer.el().insertBefore(currentTimeDisplay.el(), progressControlSlider.el());
|
246
|
+
}
|
247
|
+
|
248
|
+
// move the durationDisplay AFTER the progressControlSilder
|
249
|
+
const durationDisplay = vjsPlayer.controlBar.durationDisplay;
|
250
|
+
if (durationDisplay) {
|
251
|
+
customProgressContainer.el().appendChild(durationDisplay.el());
|
252
|
+
}
|
253
|
+
|
254
|
+
// add|skip playbackRates
|
255
|
+
if (videojsConfig.playbackRates.enabled) {
|
256
|
+
vjsPlayer.playbackRates(vjsPlaybackRates);
|
257
|
+
}
|
258
|
+
|
259
|
+
// add|skip skipButtons plugin
|
260
|
+
if (piSkipButtons.enabled) {
|
261
|
+
var backwardIndex = piSkipButtons.backward;
|
262
|
+
var forwardIndex = piSkipButtons.forwardIndex;
|
263
|
+
|
264
|
+
// property 'surroundPlayButton' takes precendence
|
265
|
+
if (piSkipButtons.surroundPlayButton) {
|
266
|
+
var backwardIndex = 0;
|
267
|
+
var forwardIndex = 1;
|
268
|
+
}
|
269
|
+
|
270
|
+
vjsPlayer.skipButtons({
|
271
|
+
backwardIndex: backwardIndex,
|
272
|
+
forwardIndex: forwardIndex,
|
273
|
+
backward: piSkipButtons.backward,
|
274
|
+
forward: piSkipButtons.forward,
|
275
|
+
});
|
276
|
+
}
|
277
|
+
|
278
|
+
// set start position of current video (on play)
|
279
|
+
// ---------------------------------------------------------------------
|
280
|
+
var appliedOnce = false;
|
281
|
+
vjsPlayer.on("play", function() {
|
282
|
+
var startFromSecond = new Date('1970-01-01T' + "00:00:00" + 'Z').getTime() / 1000;
|
283
|
+
if (!appliedOnce) {
|
284
|
+
vjsPlayer.currentTime(startFromSecond);
|
285
|
+
appliedOnce = true;
|
286
|
+
}
|
287
|
+
});
|
288
|
+
|
289
|
+
}); // eventListener on 'player ready'
|
290
|
+
|
291
|
+
clearInterval(dependencies_met_vjs_player_exist);
|
292
|
+
} // END if 'vjsPlayerExist'
|
293
|
+
}, 10); // END 'dependencies_met_vjs_player_exist'
|
294
|
+
}); // END 'document ready'
|
295
|
+
|
296
|
+
</script>
|
297
|
+
++++
|
@@ -99,8 +99,7 @@ end::tags[]
|
|
99
99
|
// -----------------------------------------------------------------------------
|
100
100
|
tag::data[]
|
101
101
|
|
102
|
-
:data-images--themes
|
103
|
-
:data-images--styles-menu: "assets/image/page/tour/styles-menu-1280x800.jpg, Styles menu (Bootswatch)"
|
102
|
+
:data-images--bootswatch-themes: "assets/image/page/tour/bootswatch-themes.jpg, Bootswatch Themes"
|
104
103
|
|
105
104
|
:data-quicksearch--icon: "assets/image/page/tour/600_quicksearch/quicksearch_icon.jpg, Search button (magnifier) in the quick access area"
|
106
105
|
:data-quicksearch--input: "assets/image/page/tour/600_quicksearch/quicksearch_input.jpg, Input bar for a QuickSearch"
|
@@ -15,7 +15,7 @@ link:{url-w3schools--css-tutorial}[Design base, {browser-window--new}] of each
|
|
15
15
|
and every website.
|
16
16
|
|
17
17
|
.Theme menu (Bootswatch)
|
18
|
-
lightbox::images--themes-menu[
|
18
|
+
lightbox::data-images--themes-menu[1280, {data-images--themes-menu}]
|
19
19
|
|
20
20
|
Thanks to the people at link:{url-bootswatch--home}[Bootswatch, {browser-window--new}],
|
21
21
|
a great set of already prepared Bootstrap stylesheets in various designs are
|
@@ -20,7 +20,7 @@ categories: [ Roundtrip ]
|
|
20
20
|
tags: [ Asciidoc, Extension ]
|
21
21
|
|
22
22
|
image:
|
23
|
-
path: /assets/image/
|
23
|
+
path: /assets/image/module/attic/1920x1280/martin-sanchez.jpg
|
24
24
|
width: 1920
|
25
25
|
height: 1280
|
26
26
|
|
@@ -36,8 +36,12 @@ resources: [
|
|
36
36
|
resource_options:
|
37
37
|
- attic:
|
38
38
|
slides:
|
39
|
-
- url: /assets/image/
|
40
|
-
alt:
|
39
|
+
- url: /assets/image/module/attic/1920x1280/martin-sanchez.jpg
|
40
|
+
alt: Photo by Martin Sanchez on Unsplash
|
41
|
+
badge:
|
42
|
+
type: unsplash
|
43
|
+
author: BP Miller
|
44
|
+
href: //unsplash.com/de/@bp_miller
|
41
45
|
---
|
42
46
|
|
43
47
|
// Page Initializer
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Themes
|
3
3
|
title_extention: Bootstrap V5 Themes
|
4
|
-
tagline: Individual
|
4
|
+
tagline: Individual Style
|
5
5
|
|
6
6
|
date: 2020-11-10
|
7
7
|
#last_modified: 2023-01-01
|
@@ -21,7 +21,7 @@ categories: [ Roundtrip ]
|
|
21
21
|
tags: [ Bootstrap, Module, Theme ]
|
22
22
|
|
23
23
|
image:
|
24
|
-
path: /assets/image/module/attic/
|
24
|
+
path: /assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg
|
25
25
|
width: 1920
|
26
26
|
height: 1280
|
27
27
|
|
@@ -32,12 +32,12 @@ resources: [ lightbox ]
|
|
32
32
|
resource_options:
|
33
33
|
- attic:
|
34
34
|
slides:
|
35
|
-
- url: /assets/image/module/attic/
|
36
|
-
alt: Photo by
|
35
|
+
- url: /assets/image/module/attic/1920x1280/stories-ink-tattoo-care.jpg
|
36
|
+
alt: Photo by Stories & Ink Tattoo Care on Unsplash
|
37
37
|
badge:
|
38
38
|
type: unsplash
|
39
|
-
author:
|
40
|
-
href:
|
39
|
+
author: Stories & Ink Tattoo Care
|
40
|
+
href: https://unsplash.com/de/@storiesandink
|
41
41
|
---
|
42
42
|
|
43
43
|
// Page Initializer
|
@@ -84,9 +84,64 @@ defined CSS classes in Bootstrap to customize a layout individually.
|
|
84
84
|
</div>
|
85
85
|
++++
|
86
86
|
|
87
|
+
|
87
88
|
// Include sub-documents (if any)
|
88
89
|
// -----------------------------------------------------------------------------
|
89
|
-
|
90
|
+
[role="mt-5"]
|
91
|
+
== The Themes
|
92
|
+
|
93
|
+
Styles adjust the website's appearance based on the CSS rules and definitions
|
94
|
+
of Bootstrap. Styles do not change the framework's functionality but modify
|
95
|
+
rule-based, e.g., the color scheme, fonts, sizes, or the appearance of more
|
96
|
+
complex elements like forms or tables. Additionally, a style may add additional
|
97
|
+
components to extend the Bootstrap's framework.
|
98
|
+
|
99
|
+
Modifying the CSS styles of link:{url-bs--home}[Bootstrap, {browser-window--new}]
|
100
|
+
is not rocket science. But, to be honest, some knowledge is needed for the
|
101
|
+
link:{url-w3org--css-spec}[CSS technology, {browser-window--new}] to do so.
|
102
|
+
I encourage you to spend some time on learning CSS, the
|
103
|
+
link:{url-w3schools--css-tutorial}[Design base, {browser-window--new}] of each
|
104
|
+
and every website.
|
105
|
+
|
106
|
+
.Bootswatch Themes (Examples)
|
107
|
+
lightbox::bootswatch-themes[1280, {data-images--bootswatch-themes}]
|
108
|
+
|
109
|
+
Thanks to the people at link:{url-bootswatch--home}[Bootswatch, {browser-window--new}],
|
110
|
+
a great set of already prepared Bootstrap stylesheets in various designs are
|
111
|
+
available on their website; no need to start from scratch. It is not
|
112
|
+
required to re-define all the Bootstrap variables and rebuild the framework.
|
113
|
+
Many different styles are available. What is already available at Bootswatch
|
114
|
+
is at least a good base for your modifications -- your unique design.
|
115
|
+
|
116
|
+
Besides the bunch of different stylesheets at *Bootswatch*, an
|
117
|
+
link:{url-bootswatch--api}[Integration API, {browser-window--new}] is provided
|
118
|
+
that helps a lot to make designs available for an existing site. This API
|
119
|
+
is the base to integrate selectable Bootswatch stylesheets into the J1 Template
|
120
|
+
navigation system.
|
121
|
+
|
122
|
+
[role="mt-4"]
|
123
|
+
=== Apply a Style
|
124
|
+
|
125
|
+
The base for designing pages using the J1 Template is the style Uno, a modern
|
126
|
+
light or dark CSS layout used for many types of websites. What I mentioned
|
127
|
+
already, web design is not: one size fits all. The style Uno can be seen as
|
128
|
+
a good base, a starting point. Combining Uno and a different styles may be
|
129
|
+
a fast solution for your site!
|
130
|
+
|
131
|
+
You can find all available stylesheets to be applied on your pages from the
|
132
|
+
*Themes* menu. You're invited to check how a page is changing for its design
|
133
|
+
if a different stylesheet for web design is used.
|
134
|
+
|
135
|
+
[WARNING]
|
136
|
+
====
|
137
|
+
For changing from one style to the next at *runtime*, the current
|
138
|
+
version of the J1 Template system tries add new styles to J1 specific
|
139
|
+
components like fonts, headlines, lists or paragraphs. Changing the style
|
140
|
+
will work for the most *common* elements, but *not all* of them for now.
|
141
|
+
====
|
142
|
+
|
143
|
+
Select a style from the *Themes* menu, and the new BS-based stylesheet is
|
144
|
+
automatically applied to all pages of your website.
|
90
145
|
|
91
146
|
|
92
147
|
[role="mt-5"]
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Icon Fonts
|
3
3
|
title_extention: Icons for J1 Template
|
4
|
-
tagline:
|
4
|
+
tagline: Icons for Your Web
|
5
5
|
|
6
6
|
date: 2020-11-06
|
7
7
|
#last_modified: 2023-01-01
|
@@ -20,7 +20,7 @@ categories: [ Roundtrip ]
|
|
20
20
|
tags: [ Module, Icon ]
|
21
21
|
|
22
22
|
image:
|
23
|
-
path: assets/image/
|
23
|
+
path: /assets/image/module/attic/1920x1280/material_symbols.jpg
|
24
24
|
width: 1920
|
25
25
|
height: 1280
|
26
26
|
|
@@ -31,12 +31,8 @@ resources: [ iconify ]
|
|
31
31
|
resource_options:
|
32
32
|
- attic:
|
33
33
|
slides:
|
34
|
-
- url: /assets/image/
|
35
|
-
alt:
|
36
|
-
badge:
|
37
|
-
type: unsplash
|
38
|
-
author: Harpal Singh
|
39
|
-
href: //unsplash.com/@aquatium
|
34
|
+
- url: /assets/image/module/attic/1920x1280/material_symbols.jpg
|
35
|
+
alt: Material Design Symbols
|
40
36
|
---
|
41
37
|
|
42
38
|
// Page Initializer
|
@@ -21,7 +21,7 @@ categories: [ Roundtrip ]
|
|
21
21
|
tags: [ Bootstrap, Modal, Extension ]
|
22
22
|
|
23
23
|
image:
|
24
|
-
path: /assets/image/
|
24
|
+
path: /assets/image/module/attic/1920x1280/bootstrap-modal.jpg
|
25
25
|
width: 1920
|
26
26
|
height: 1280
|
27
27
|
|
@@ -32,7 +32,7 @@ resources: []
|
|
32
32
|
resource_options:
|
33
33
|
- attic:
|
34
34
|
slides:
|
35
|
-
- url: /assets/image/
|
35
|
+
- url: /assets/image/module/attic/1920x1280/bootstrap-modal.jpg
|
36
36
|
alt: Bootstrap Framework Logo
|
37
37
|
---
|
38
38
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
title: Responsive Tables
|
3
3
|
title_extention: Responsive tables for J1 Template
|
4
|
-
tagline:
|
4
|
+
tagline: Present tables at its best
|
5
5
|
|
6
6
|
date: 2020-11-09
|
7
7
|
#last_modified: 2023-01-01
|
@@ -30,12 +30,12 @@ resources: []
|
|
30
30
|
resource_options:
|
31
31
|
- attic:
|
32
32
|
slides:
|
33
|
-
- url: /assets/image/
|
34
|
-
alt: Photo by
|
33
|
+
- url: /assets/image/module/attic/1920x1280/towfiqu-barbhuiya.jpg
|
34
|
+
alt: Photo by Towfiqu barbhuiya on Unsplash
|
35
35
|
badge:
|
36
36
|
type: unsplash
|
37
|
-
author:
|
38
|
-
href:
|
37
|
+
author: Towfiqu barbhuiya
|
38
|
+
href: https://unsplash.com/de/@towfiqu999999
|
39
39
|
---
|
40
40
|
|
41
41
|
// Page Initializer
|
@@ -89,7 +89,7 @@ a compromise. To fit the everyday needs for tables, viewed well on desktop
|
|
89
89
|
and mobile devices, two types of *responsive* tables are implemented by the
|
90
90
|
J1 Template system:
|
91
91
|
|
92
|
-
.Types of
|
92
|
+
.Types of Responsive Tables
|
93
93
|
[cols="3a,3a,6a", options="header", width="100%", role="rtable mt-4"]
|
94
94
|
|===
|
95
95
|
|Style |Type |Description
|
@@ -123,7 +123,7 @@ tablets.
|
|
123
123
|
|
124
124
|
|
125
125
|
[role="mt-5"]
|
126
|
-
== Bootstrap Tables
|
126
|
+
== Bootstrap Tables (striped)
|
127
127
|
|
128
128
|
Tables are widely used for documentation pages. Below, simple 2-column tables
|
129
129
|
are used to explain some of the Jekyll variables for templating your content
|
@@ -140,7 +140,7 @@ normally and do not scroll horizontally.
|
|
140
140
|
.Bootstrap using fixed text size `no-rtext`
|
141
141
|
[source, asciidoc, role="noclip"]
|
142
142
|
----
|
143
|
-
[cols="4a,8a", options="header", width="100%", role="table-responsive-md no-rtext"]
|
143
|
+
[cols="4a,8a", options="header", width="100%", role="table-striped table-responsive-md no-rtext"]
|
144
144
|
|===
|
145
145
|
|Variable |Description
|
146
146
|
|
@@ -157,7 +157,7 @@ depending upon what Liquid is being processed and what `page` is.
|
|
157
157
|
----
|
158
158
|
|
159
159
|
.Bootstrap, fixed text size `no-rtext`
|
160
|
-
[cols="4a,8a", options="header", width="100%", role="table-responsive-md no-rtext mt-4"]
|
160
|
+
[cols="4a,8a", options="header", width="100%", role="table-striped table-responsive-md no-rtext mt-4"]
|
161
161
|
|===
|
162
162
|
|Variable |Description
|
163
163
|
|
@@ -184,7 +184,7 @@ Post's front matter by specifying a new date/time in the format
|
|
184
184
|
.Bootstrap using responsive text size
|
185
185
|
[source, asciidoc, role="noclip"]
|
186
186
|
----
|
187
|
-
[cols="4a,8a", options="header", width="100%", role="table-responsive-md"]
|
187
|
+
[cols="4a,8a", options="header", width="100%", role="table-striped table-responsive-md"]
|
188
188
|
|===
|
189
189
|
|Variable |Description
|
190
190
|
|
@@ -198,7 +198,7 @@ depending upon what Liquid is being processed and what `page` is.
|
|
198
198
|
----
|
199
199
|
|
200
200
|
.Bootstrap, responsive text size
|
201
|
-
[cols="4a,8a", options="header", width="100%", role="table-responsive mt-4"]
|
201
|
+
[cols="4a,8a", options="header", width="100%", role="table-striped table-responsive mt-4"]
|
202
202
|
|===
|
203
203
|
|Variable |Description
|
204
204
|
|
@@ -219,7 +219,8 @@ Post's front matter by specifying a new date/time in the format
|
|
219
219
|
|===
|
220
220
|
|
221
221
|
[role="mt-4"]
|
222
|
-
|
222
|
+
[[rtables-striped]]
|
223
|
+
== Responsive Tables (striped)
|
223
224
|
|
224
225
|
Responsive tables *rebuild* a table. The header is set to invisible, and
|
225
226
|
all columns get vertically *stacked as rows*.
|
@@ -227,7 +228,7 @@ all columns get vertically *stacked as rows*.
|
|
227
228
|
.R Table using responsive text size
|
228
229
|
[source, asciidoc, role="noclip"]
|
229
230
|
----
|
230
|
-
[cols="4a,8a", options="header", width="100%", role="rtable"]
|
231
|
+
[cols="4a,8a", options="header", width="100%", role="table-striped rtable"]
|
231
232
|
|===
|
232
233
|
|Variable |Description
|
233
234
|
|
@@ -241,7 +242,7 @@ depending upon what Liquid is being processed and what `page` is.
|
|
241
242
|
----
|
242
243
|
|
243
244
|
.R Table, responsive text size
|
244
|
-
[cols="4a,8a", options="header", width="100%", role="rtable mt-4"]
|
245
|
+
[cols="4a,8a", options="header", width="100%", role="table-striped rtable mt-4"]
|
245
246
|
|===
|
246
247
|
|Variable |Description
|
247
248
|
|
@@ -261,7 +262,12 @@ Post's front matter by specifying a new date/time in the format
|
|
261
262
|
|
262
263
|
|===
|
263
264
|
|
264
|
-
|
265
|
+
|
266
|
+
[role="mt-4"]
|
267
|
+
[[rtables-not-striped]]
|
268
|
+
== Responsive Tables (NOT striped)
|
269
|
+
|
270
|
+
.R Table using fixed font size (no rtext)
|
265
271
|
[source, asciidoc, role="noclip"]
|
266
272
|
----
|
267
273
|
[cols="4a,8a", options="header", width="100%", role="rtable no-rtext"]
|
@@ -20,7 +20,7 @@ categories: [ Roundtrip ]
|
|
20
20
|
tags: [ Module, Typography ]
|
21
21
|
|
22
22
|
image:
|
23
|
-
path: /assets/image/
|
23
|
+
path: /assets/image/module/attic/1920x1280/bp-miller.jpg
|
24
24
|
width: 1920
|
25
25
|
height: 1280
|
26
26
|
|
@@ -35,12 +35,12 @@ resource_options:
|
|
35
35
|
transitionDuration: fast
|
36
36
|
resolutionRefreshRate: 500
|
37
37
|
slides:
|
38
|
-
- url: /assets/image/
|
39
|
-
alt: Photo by
|
38
|
+
- url: /assets/image/module/attic/1920x1280/bp-miller.jpg
|
39
|
+
alt: Photo by BP Miller on Unsplash
|
40
40
|
badge:
|
41
41
|
type: unsplash
|
42
|
-
author:
|
43
|
-
href: //unsplash.com/@
|
42
|
+
author: BP Miller
|
43
|
+
href: //unsplash.com/de/@bp_miller
|
44
44
|
---
|
45
45
|
|
46
46
|
// Page Initializer
|