UNPKG

7.78 kBSCSSView Raw
1/**
2 * Swiper 11.1.4
3 * Most modern mobile touch slider and framework with hardware accelerated transitions
4 * https://swiperjs.com
5 *
6 * Copyright 2014-2024 Vladimir Kharlampidi
7 *
8 * Released under the MIT License
9 *
10 * Released on: May 30, 2024
11 */
12
13@import 'swiper-vars.scss';
14@at-root {
15 @font-face {
16 font-family: 'swiper-icons';
17 src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5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gYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA')
18 format('woff');
19 font-weight: 400;
20 font-style: normal;
21 }
22}
23@at-root {
24 :root {
25 --swiper-theme-color: #{$themeColor};
26 /*
27 --swiper-preloader-color: var(--swiper-theme-color);
28 --swiper-wrapper-transition-timing-function: initial;
29 */
30 }
31}
32:host {
33 position: relative;
34 display: block;
35 margin-left: auto;
36 margin-right: auto;
37 z-index: 1;
38}
39.swiper {
40 margin-left: auto;
41 margin-right: auto;
42 position: relative;
43 overflow: hidden;
44 list-style: none;
45 padding: 0;
46 /* Fix of Webkit flickering */
47 z-index: 1;
48 display: block;
49}
50.swiper-vertical > .swiper-wrapper {
51 flex-direction: column;
52}
53.swiper-wrapper {
54 position: relative;
55 width: 100%;
56 height: 100%;
57 z-index: 1;
58 display: flex;
59 transition-property: transform;
60 transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
61 box-sizing: content-box;
62}
63.swiper-android .swiper-slide,
64.swiper-ios .swiper-slide,
65.swiper-wrapper {
66 transform: translate3d(0px, 0, 0);
67}
68.swiper-horizontal {
69 touch-action: pan-y;
70}
71.swiper-vertical {
72 touch-action: pan-x;
73}
74.swiper-slide {
75 flex-shrink: 0;
76 width: 100%;
77 height: 100%;
78 position: relative;
79 transition-property: transform;
80 display: block;
81}
82.swiper-slide-invisible-blank {
83 visibility: hidden;
84}
85/* Auto Height */
86.swiper-autoheight,
87.swiper-autoheight .swiper-slide {
88 height: auto;
89}
90.swiper-autoheight .swiper-wrapper {
91 align-items: flex-start;
92 transition-property: transform, height;
93}
94.swiper-backface-hidden .swiper-slide {
95 transform: translateZ(0);
96 backface-visibility: hidden;
97}
98/* 3D Effects */
99.swiper-3d.swiper-css-mode .swiper-wrapper {
100 perspective: 1200px;
101}
102.swiper-3d .swiper-wrapper {
103 transform-style: preserve-3d;
104}
105.swiper-3d {
106 perspective: 1200px;
107 .swiper-slide,
108 .swiper-cube-shadow {
109 transform-style: preserve-3d;
110 }
111}
112
113/* CSS Mode */
114.swiper-css-mode {
115 > .swiper-wrapper {
116 overflow: auto;
117 scrollbar-width: none; /* For Firefox */
118 -ms-overflow-style: none; /* For Internet Explorer and Edge */
119 &::-webkit-scrollbar {
120 display: none;
121 }
122 }
123 > .swiper-wrapper > .swiper-slide {
124 scroll-snap-align: start start;
125 }
126 &.swiper-horizontal {
127 > .swiper-wrapper {
128 scroll-snap-type: x mandatory;
129 }
130 }
131 &.swiper-vertical {
132 > .swiper-wrapper {
133 scroll-snap-type: y mandatory;
134 }
135 }
136 &.swiper-free-mode {
137 > .swiper-wrapper {
138 scroll-snap-type: none;
139 }
140 > .swiper-wrapper > .swiper-slide {
141 scroll-snap-align: none;
142 }
143 }
144 &.swiper-centered {
145 > .swiper-wrapper::before {
146 content: '';
147 flex-shrink: 0;
148 order: 9999;
149 }
150 > .swiper-wrapper > .swiper-slide {
151 scroll-snap-align: center center;
152 scroll-snap-stop: always;
153 }
154 }
155 &.swiper-centered.swiper-horizontal {
156 > .swiper-wrapper > .swiper-slide:first-child {
157 margin-inline-start: var(--swiper-centered-offset-before);
158 }
159 > .swiper-wrapper::before {
160 height: 100%;
161 min-height: 1px;
162 width: var(--swiper-centered-offset-after);
163 }
164 }
165 &.swiper-centered.swiper-vertical {
166 > .swiper-wrapper > .swiper-slide:first-child {
167 margin-block-start: var(--swiper-centered-offset-before);
168 }
169 > .swiper-wrapper::before {
170 width: 100%;
171 min-width: 1px;
172 height: var(--swiper-centered-offset-after);
173 }
174 }
175}
176
177/* Slide styles start */
178/* 3D Shadows */
179.swiper-3d {
180 .swiper-slide-shadow,
181 .swiper-slide-shadow-left,
182 .swiper-slide-shadow-right,
183 .swiper-slide-shadow-top,
184 .swiper-slide-shadow-bottom,
185 .swiper-slide-shadow,
186 .swiper-slide-shadow-left,
187 .swiper-slide-shadow-right,
188 .swiper-slide-shadow-top,
189 .swiper-slide-shadow-bottom {
190 position: absolute;
191 left: 0;
192 top: 0;
193 width: 100%;
194 height: 100%;
195 pointer-events: none;
196 z-index: 10;
197 }
198 .swiper-slide-shadow {
199 background: rgba(0, 0, 0, 0.15);
200 }
201 .swiper-slide-shadow-left {
202 background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
203 }
204 .swiper-slide-shadow-right {
205 background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
206 }
207 .swiper-slide-shadow-top {
208 background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
209 }
210 .swiper-slide-shadow-bottom {
211 background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
212 }
213}
214.swiper-lazy-preloader {
215 width: 42px;
216 height: 42px;
217 position: absolute;
218 left: 50%;
219 top: 50%;
220 margin-left: -21px;
221 margin-top: -21px;
222 z-index: 10;
223 transform-origin: 50%;
224 box-sizing: border-box;
225 border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
226 border-radius: 50%;
227 border-top-color: transparent;
228}
229.swiper:not(.swiper-watch-progress),
230.swiper-watch-progress .swiper-slide-visible {
231 .swiper-lazy-preloader {
232 animation: swiper-preloader-spin 1s infinite linear;
233 }
234}
235.swiper-lazy-preloader-white {
236 --swiper-preloader-color: #fff;
237}
238.swiper-lazy-preloader-black {
239 --swiper-preloader-color: #000;
240}
241@keyframes swiper-preloader-spin {
242 0% {
243 transform: rotate(0deg);
244 }
245 100% {
246 transform: rotate(360deg);
247 }
248}
249/* Slide styles end */
250
251
252