From 71881c54dcee3ad6837eb2e720c4e7e68625e335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Tue, 12 Nov 2024 16:31:44 +0100 Subject: [PATCH] Test swiper integration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bruno Rybársky --- assets/3rdparty/slick-theme.css | 198 -- assets/3rdparty/slick.css | 109 - assets/3rdparty/slick.min.js | 1 - assets/3rdparty/swiper.js | 4145 +++++++++++++++++++++++++++++++ assets/script.js | 11 +- pages/home/index.html | 14 +- templates/skeleton.html | 4 +- 7 files changed, 4153 insertions(+), 329 deletions(-) delete mode 100755 assets/3rdparty/slick-theme.css delete mode 100755 assets/3rdparty/slick.css delete mode 100755 assets/3rdparty/slick.min.js create mode 100644 assets/3rdparty/swiper.js diff --git a/assets/3rdparty/slick-theme.css b/assets/3rdparty/slick-theme.css deleted file mode 100755 index 5f06a10..0000000 --- a/assets/3rdparty/slick-theme.css +++ /dev/null @@ -1,198 +0,0 @@ -@charset "UTF-8"; -/* Slider */ -.slick-loading .slick-list { - /*noinspection CssUnknownTarget*/ - background: #ffffff url('data:image/gif;base64,R0lGODlhIAAgAPUAAP///wAAAPr6+sTExOjo6PDw8NDQ0H5+fpqamvb29ubm5vz8/JKSkoaGhuLi4ri4uKCgoOzs7K6urtzc3D4+PlZWVmBgYHx8fKioqO7u7kpKSmxsbAwMDAAAAM7OzsjIyNjY2CwsLF5eXh4eHkxMTLCwsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAIAAgAAAG/0CAcEgkFjgcR3HJJE4SxEGnMygKmkwJxRKdVocFBRRLfFAoj6G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AAKAAoALAAAAAAgACAAAAb/QIBwSCwqFIuicklMEgVHQVHKVCYUmWeUWFAkqtOtEKqgAsgFcDFyHJLNmbZa6x2Lyd8595h8C48RahAQRQtHaX5XZUUJeQAGHR0jA0SKfVKGCmlubEhCBSGRHSQOQwVmQwsZTgtdh0UQHKIHm2quChGophuiJHO3jkwOFB2UaoYFTnMGegDKRQQG0tMGBM1nAtnaABoU3t8UD81kR+UK3eDe4nrk5grR1NLWegva9s9czfhVAgMNpWqgBGNigMGBAwzmxBGjhACEgwcgzAPTqlwGXQ8gMgAhZIGHWm5WjelUZ8jBBgPMTBgwIMGCRgsygVSkgMiHByD7DWDmx5WuMkZqDLCU4gfAq2sACrAEWFSRLjUfWDopCqDTNQIsJ1LF0yzDAA90UHV5eo0qUjB8mgUBACH5BAAKAAsALAAAAAAgACAAAAb/QIBwSCwqFIuickk0FIiCo6A4ZSoZnRBUSiwoEtYipNOBDKOKKgD9DBNHHU4brc4c3cUBeSOk949geEQUZA5rXABHEW4PD0UOZBSHaQAJiEMJgQATFBQVBkQHZKACUwtHbX0RR0mVFp0UFwRCBSQDSgsZrQteqEUPGrAQmmG9ChFqRAkMsBd4xsRLBBsUoG6nBa14E4IA2kUFDuLjDql4peilAA0H7e4H1udH8/Ps7+3xbmj0qOTj5mEWpEP3DUq3glYWOBgAcEmUaNI+DBjwAY+dS0USGJg4wABEXMYyJNvE8UOGISKVCNClah4xjg60WUKyINOCUwrMzVRARMGENWQ4n/jpNTKTm15J/CTK2e0MoD+UKmHEs4onVDVVmyqdpAbNR4cKTjqNSots07EjzzJh1S0IADsAAAAAAAAAAAA=') center center no-repeat; -} - -/* Icons */ -@font-face { - font-family: 'slick'; - font-weight: normal; - font-style: normal; - - /*noinspection CssUnknownTarget*/ - src: url('./fonts/slick.eot'); - /*noinspection CssUnknownTarget*/ - src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg'); -} - -/* Arrows */ -.slick-prev, -.slick-next { - font-size: 0; - line-height: 0; - - position: absolute; - top: 50%; - - display: block; - - width: 20px; - height: 20px; - padding: 0; - transform: translate(0, -50%); - - cursor: pointer; - - color: transparent; - border: none; - outline: none; - background: transparent; -} - -.slick-prev:hover, -.slick-prev:focus, -.slick-next:hover, -.slick-next:focus { - color: transparent; - outline: none; - background: transparent; -} - -.slick-prev:hover:before, -.slick-prev:focus:before, -.slick-next:hover:before, -.slick-next:focus:before { - opacity: 1; -} - -.slick-prev.slick-disabled:before, -.slick-next.slick-disabled:before { - opacity: .25; -} - -.slick-prev:before, -.slick-next:before { - font-family: 'slick'; - font-size: 20px; - line-height: 1; - - opacity: .75; - color: #ffffff; - - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.slick-prev { - left: -25px; -} - -[dir='rtl'] .slick-prev { - right: -25px; - left: auto; -} - -.slick-prev:before { - content: '←'; -} - -[dir='rtl'] .slick-prev:before { - content: '→'; -} - -.slick-next { - right: -25px; -} - -[dir='rtl'] .slick-next { - right: auto; - left: -25px; -} - -.slick-next:before { - content: '→'; -} - -[dir='rtl'] .slick-next:before { - content: '←'; -} - -/* Dots */ -.slick-dotted.slick-slider { - margin-bottom: 30px; -} - -.slick-dots { - position: absolute; - bottom: -25px; - - display: block; - - width: 100%; - padding: 0; - margin: 0; - - list-style: none; - - text-align: center; -} - -.slick-dots li { - position: relative; - - display: inline-block; - - width: 20px; - height: 20px; - margin: 0 5px; - padding: 0; - - cursor: pointer; -} - -.slick-dots li button { - font-size: 0; - line-height: 0; - - display: block; - - width: 20px; - height: 20px; - padding: 5px; - - cursor: pointer; - - color: transparent; - border: 0; - outline: none; - background: transparent; -} - -.slick-dots li button:hover, -.slick-dots li button:focus { - outline: none; -} - -.slick-dots li button:hover:before, -.slick-dots li button:focus:before { - opacity: 1; -} - -.slick-dots li button:before { - font-family: 'slick'; - font-size: 6px; - line-height: 20px; - - position: absolute; - top: 0; - left: 0; - - width: 20px; - height: 20px; - - content: '•'; - text-align: center; - - opacity: .25; - color: #000000; - - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.slick-dots li.slick-active button:before { - opacity: .75; - color: #000000; -} \ No newline at end of file diff --git a/assets/3rdparty/slick.css b/assets/3rdparty/slick.css deleted file mode 100755 index 45cc6aa..0000000 --- a/assets/3rdparty/slick.css +++ /dev/null @@ -1,109 +0,0 @@ -/* Slider */ -.slick-slider { - position: relative; - - display: block; - box-sizing: border-box; - - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - - -webkit-touch-callout: none; - -ms-touch-action: pan-y; - touch-action: pan-y; - -webkit-tap-highlight-color: transparent; -} - -.slick-list { - position: relative; - - display: block; - overflow: hidden; - - margin: 0; - padding: 0; -} - -.slick-list:focus { - outline: none; -} - -.slick-list.dragging { - cursor: hand; -} - -.slick-slider .slick-track, -.slick-slider .slick-list { - transform: translate3d(0, 0, 0); -} - -.slick-track { - position: relative; - top: 0; - left: 0; - - display: block; - margin-left: auto; - margin-right: auto; -} - -.slick-track:before, -.slick-track:after { - display: table; - - content: ''; -} - -.slick-track:after { - clear: both; -} - -.slick-loading .slick-track { - visibility: hidden; -} - -.slick-slide { - display: none; - float: left; - - height: 100%; - min-height: 1px; -} - -[dir='rtl'] .slick-slide { - float: right; -} - -.slick-slide img { - display: block; -} - -.slick-slide.slick-loading img { - display: none; -} - -.slick-slide.dragging img { - pointer-events: none; -} - -.slick-initialized .slick-slide { - display: block; -} - -.slick-loading .slick-slide { - visibility: hidden; -} - -.slick-vertical .slick-slide { - display: block; - - height: auto; - - border: 1px solid transparent; -} - -.slick-arrow.slick-hidden { - display: none; -} diff --git a/assets/3rdparty/slick.min.js b/assets/3rdparty/slick.min.js deleted file mode 100755 index 42172c2..0000000 --- a/assets/3rdparty/slick.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};(e=function(){var e=0;return function(t,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(t),appendDots:i(t),arrows:!0,asNavFor:null,prevArrow:'',nextArrow:'',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('