jetpack-carousel-rtl.css
1 year ago
jetpack-carousel.css
1 year ago
jetpack-carousel.js
1 year ago
jetpack-carousel.php
1 year ago
readme.md
5 years ago
swiper-bundle.css
1 year ago
swiper-bundle.js
4 years ago
swiper-bundle.css
490 lines
| 1 | /* eslint-disable */ |
| 2 | |
| 3 | /* If a new version is imported from swiper the selectors should all be namespaced with .jp-carousel-overlay |
| 4 | /* to prevent clashes with other plugins that are overrding swiperjs css |
| 5 | */ |
| 6 | |
| 7 | /** |
| 8 | * Swiper 6.7.0 |
| 9 | * Most modern mobile touch slider and framework with hardware accelerated transitions |
| 10 | * https://swiperjs.com |
| 11 | * |
| 12 | * Copyright 2014-2021 Vladimir Kharlampidi |
| 13 | * |
| 14 | * Released under the MIT License |
| 15 | * |
| 16 | * Released on: June 22, 2021 |
| 17 | */ |
| 18 | |
| 19 | @font-face { |
| 20 | font-family: swiper-icons; |
| 21 | src: url( 'data:application/font-woff;charset=utf-8;base64, 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' ) |
| 22 | format( 'woff' ); |
| 23 | font-weight: 400; |
| 24 | font-style: normal; |
| 25 | } |
| 26 | |
| 27 | :root { |
| 28 | --swiper-theme-color: #007aff; |
| 29 | } |
| 30 | |
| 31 | .jp-carousel-overlay .swiper-container { |
| 32 | margin-left: auto; |
| 33 | margin-right: auto; |
| 34 | position: relative; |
| 35 | overflow: hidden; |
| 36 | list-style: none; |
| 37 | padding: 0; |
| 38 | |
| 39 | /* Fix of Webkit flickering */ |
| 40 | z-index: 1; |
| 41 | } |
| 42 | |
| 43 | .jp-carousel-overlay .swiper-container-vertical > .swiper-wrapper { |
| 44 | flex-direction: column; |
| 45 | } |
| 46 | |
| 47 | .jp-carousel-overlay .swiper-wrapper { |
| 48 | position: relative; |
| 49 | width: 100%; |
| 50 | height: 100%; |
| 51 | z-index: 1; |
| 52 | display: flex; |
| 53 | transition-property: transform; |
| 54 | box-sizing: content-box; |
| 55 | } |
| 56 | |
| 57 | .jp-carousel-overlay .swiper-container-android .swiper-slide, |
| 58 | .jp-carousel-overlay .swiper-wrapper { |
| 59 | transform: translate3d( 0px, 0, 0 ); |
| 60 | } |
| 61 | |
| 62 | .jp-carousel-overlay .swiper-container-multirow > .swiper-wrapper { |
| 63 | flex-wrap: wrap; |
| 64 | } |
| 65 | |
| 66 | .jp-carousel-overlay .swiper-container-multirow-column > .swiper-wrapper { |
| 67 | flex-wrap: wrap; |
| 68 | flex-direction: column; |
| 69 | } |
| 70 | |
| 71 | .jp-carousel-overlay .swiper-container-free-mode > .swiper-wrapper { |
| 72 | transition-timing-function: ease-out; |
| 73 | margin: 0 auto; |
| 74 | } |
| 75 | |
| 76 | .jp-carousel-overlay .swiper-container-pointer-events { |
| 77 | touch-action: pan-y; |
| 78 | } |
| 79 | |
| 80 | .jp-carousel-overlay .swiper-container-pointer-events.swiper-container-vertical { |
| 81 | touch-action: pan-x; |
| 82 | } |
| 83 | |
| 84 | .jp-carousel-overlay .swiper-slide { |
| 85 | flex-shrink: 0; |
| 86 | width: 100%; |
| 87 | height: 100%; |
| 88 | position: relative; |
| 89 | transition-property: transform; |
| 90 | } |
| 91 | |
| 92 | .jp-carousel-overlay .swiper-slide-invisible-blank { |
| 93 | visibility: hidden; |
| 94 | } |
| 95 | |
| 96 | /* Auto Height */ |
| 97 | .jp-carousel-overlay .swiper-container-autoheight, |
| 98 | .jp-carousel-overlay .swiper-container-autoheight .swiper-slide { |
| 99 | height: auto; |
| 100 | } |
| 101 | |
| 102 | .jp-carousel-overlay .swiper-container-autoheight .swiper-wrapper { |
| 103 | align-items: flex-start; |
| 104 | transition-property: transform, height; |
| 105 | } |
| 106 | |
| 107 | /* 3D Effects */ |
| 108 | .jp-carousel-overlay .swiper-container-3d { |
| 109 | perspective: 1200px; |
| 110 | } |
| 111 | |
| 112 | .jp-carousel-overlay .swiper-container-3d .swiper-wrapper, |
| 113 | .jp-carousel-overlay .swiper-container-3d .swiper-slide, |
| 114 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left, |
| 115 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right, |
| 116 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top, |
| 117 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom, |
| 118 | .jp-carousel-overlay .swiper-container-3d .swiper-cube-shadow { |
| 119 | transform-style: preserve-3d; |
| 120 | } |
| 121 | |
| 122 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left, |
| 123 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right, |
| 124 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top, |
| 125 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom { |
| 126 | position: absolute; |
| 127 | left: 0; |
| 128 | top: 0; |
| 129 | width: 100%; |
| 130 | height: 100%; |
| 131 | pointer-events: none; |
| 132 | z-index: 10; |
| 133 | } |
| 134 | |
| 135 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-left { |
| 136 | background-image: linear-gradient( to left, rgba( 0, 0, 0, 0.5 ), rgba( 0, 0, 0, 0 ) ); |
| 137 | } |
| 138 | |
| 139 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-right { |
| 140 | background-image: linear-gradient( to right, rgba( 0, 0, 0, 0.5 ), rgba( 0, 0, 0, 0 ) ); |
| 141 | } |
| 142 | |
| 143 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-top { |
| 144 | background-image: linear-gradient( to top, rgba( 0, 0, 0, 0.5 ), rgba( 0, 0, 0, 0 ) ); |
| 145 | } |
| 146 | |
| 147 | .jp-carousel-overlay .swiper-container-3d .swiper-slide-shadow-bottom { |
| 148 | background-image: linear-gradient( to bottom, rgba( 0, 0, 0, 0.5 ), rgba( 0, 0, 0, 0 ) ); |
| 149 | } |
| 150 | |
| 151 | /* CSS Mode */ |
| 152 | .jp-carousel-overlay .swiper-container-css-mode > .swiper-wrapper { |
| 153 | overflow: auto; |
| 154 | scrollbar-width: none; |
| 155 | |
| 156 | /* For Firefox */ |
| 157 | -ms-overflow-style: none; |
| 158 | |
| 159 | /* For Internet Explorer and Edge */ |
| 160 | } |
| 161 | |
| 162 | .jp-carousel-overlay .swiper-container-css-mode > .swiper-wrapper::-webkit-scrollbar { |
| 163 | display: none; |
| 164 | } |
| 165 | |
| 166 | .jp-carousel-overlay .swiper-container-css-mode > .swiper-wrapper > .swiper-slide { |
| 167 | scroll-snap-align: start start; |
| 168 | } |
| 169 | |
| 170 | .jp-carousel-overlay .swiper-container-horizontal.swiper-container-css-mode > .swiper-wrapper { |
| 171 | scroll-snap-type: x mandatory; |
| 172 | } |
| 173 | |
| 174 | .jp-carousel-overlay .swiper-container-vertical.swiper-container-css-mode > .swiper-wrapper { |
| 175 | scroll-snap-type: y mandatory; |
| 176 | } |
| 177 | |
| 178 | :root { |
| 179 | --swiper-navigation-size: 44px; |
| 180 | |
| 181 | /* |
| 182 | --swiper-navigation-color: var(--swiper-theme-color); |
| 183 | */ |
| 184 | } |
| 185 | |
| 186 | .jp-carousel-overlay .swiper-button-prev, |
| 187 | .jp-carousel-overlay .swiper-button-next { |
| 188 | position: absolute; |
| 189 | top: 50%; |
| 190 | width: calc( var( --swiper-navigation-size ) / 44 * 27 ); |
| 191 | height: var( --swiper-navigation-size ); |
| 192 | margin-top: calc( 0px - ( var( --swiper-navigation-size ) / 2 ) ); |
| 193 | z-index: 10; |
| 194 | cursor: pointer; |
| 195 | display: flex; |
| 196 | align-items: center; |
| 197 | justify-content: center; |
| 198 | color: var( --swiper-navigation-color, var( --swiper-theme-color ) ); |
| 199 | } |
| 200 | |
| 201 | .jp-carousel-overlay .swiper-button-prev.swiper-button-disabled, |
| 202 | .jp-carousel-overlay .swiper-button-next.swiper-button-disabled { |
| 203 | opacity: 0.35; |
| 204 | cursor: auto; |
| 205 | pointer-events: none; |
| 206 | } |
| 207 | |
| 208 | .jp-carousel-overlay .swiper-button-prev:after, |
| 209 | .jp-carousel-overlay .swiper-button-next:after { |
| 210 | font-family: swiper-icons; |
| 211 | font-size: var( --swiper-navigation-size ); |
| 212 | text-transform: none !important; |
| 213 | letter-spacing: 0; |
| 214 | text-transform: none; |
| 215 | font-variant: initial; |
| 216 | line-height: 1; |
| 217 | } |
| 218 | |
| 219 | .jp-carousel-overlay .swiper-button-prev, |
| 220 | .jp-carousel-overlay .swiper-container-rtl .swiper-button-next { |
| 221 | left: 10px; |
| 222 | right: auto; |
| 223 | } |
| 224 | |
| 225 | .jp-carousel-overlay .swiper-button-prev:after, |
| 226 | .jp-carousel-overlay .swiper-container-rtl .swiper-button-next:after { |
| 227 | content: 'prev'; |
| 228 | } |
| 229 | |
| 230 | .jp-carousel-overlay .swiper-button-next, |
| 231 | .jp-carousel-overlay .swiper-container-rtl .swiper-button-prev { |
| 232 | right: 10px; |
| 233 | left: auto; |
| 234 | } |
| 235 | |
| 236 | .jp-carousel-overlay .swiper-button-next:after, |
| 237 | .jp-carousel-overlay .swiper-container-rtl .swiper-button-prev:after { |
| 238 | content: 'next'; |
| 239 | } |
| 240 | |
| 241 | .jp-carousel-overlay .swiper-button-prev.swiper-button-white, |
| 242 | .jp-carousel-overlay .swiper-button-next.swiper-button-white { |
| 243 | --swiper-navigation-color: #fff; |
| 244 | } |
| 245 | |
| 246 | .jp-carousel-overlay .swiper-button-prev.swiper-button-black, |
| 247 | .jp-carousel-overlay .swiper-button-next.swiper-button-black { |
| 248 | --swiper-navigation-color: #000; |
| 249 | } |
| 250 | |
| 251 | .jp-carousel-overlay .swiper-button-lock { |
| 252 | display: none; |
| 253 | } |
| 254 | |
| 255 | :root { |
| 256 | |
| 257 | /* |
| 258 | --swiper-pagination-color: var(--swiper-theme-color); |
| 259 | */ |
| 260 | } |
| 261 | |
| 262 | .jp-carousel-overlay .swiper-pagination { |
| 263 | position: absolute; |
| 264 | text-align: center; |
| 265 | transition: 300ms opacity; |
| 266 | transform: translate3d( 0, 0, 0 ); |
| 267 | z-index: 10; |
| 268 | } |
| 269 | |
| 270 | .jp-carousel-overlay .swiper-pagination.swiper-pagination-hidden { |
| 271 | opacity: 0; |
| 272 | } |
| 273 | |
| 274 | /* Common Styles */ |
| 275 | .jp-carousel-overlay .swiper-pagination-fraction, |
| 276 | .jp-carousel-overlay .swiper-pagination-custom, |
| 277 | .jp-carousel-overlay .swiper-container-horizontal > .swiper-pagination-bullets { |
| 278 | bottom: 10px; |
| 279 | left: 0; |
| 280 | width: 100%; |
| 281 | } |
| 282 | |
| 283 | /* Bullets */ |
| 284 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic { |
| 285 | overflow: hidden; |
| 286 | font-size: 0; |
| 287 | } |
| 288 | |
| 289 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet { |
| 290 | transform: scale( 0.33 ); |
| 291 | position: relative; |
| 292 | } |
| 293 | |
| 294 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active { |
| 295 | transform: scale( 1 ); |
| 296 | } |
| 297 | |
| 298 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main { |
| 299 | transform: scale( 1 ); |
| 300 | } |
| 301 | |
| 302 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev { |
| 303 | transform: scale( 0.66 ); |
| 304 | } |
| 305 | |
| 306 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev { |
| 307 | transform: scale( 0.33 ); |
| 308 | } |
| 309 | |
| 310 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next { |
| 311 | transform: scale( 0.66 ); |
| 312 | } |
| 313 | |
| 314 | .jp-carousel-overlay .swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next { |
| 315 | transform: scale( 0.33 ); |
| 316 | } |
| 317 | |
| 318 | .jp-carousel-overlay .swiper-pagination-bullet { |
| 319 | width: 8px; |
| 320 | height: 8px; |
| 321 | display: inline-block; |
| 322 | border-radius: 50%; |
| 323 | background: #000; |
| 324 | opacity: 0.2; |
| 325 | } |
| 326 | |
| 327 | .jp-carousel-overlay button.swiper-pagination-bullet { |
| 328 | border: none; |
| 329 | margin: 0; |
| 330 | padding: 0; |
| 331 | box-shadow: none; |
| 332 | -webkit-appearance: none; |
| 333 | appearance: none; |
| 334 | } |
| 335 | |
| 336 | .jp-carousel-overlay .swiper-pagination-clickable .swiper-pagination-bullet { |
| 337 | cursor: pointer; |
| 338 | } |
| 339 | |
| 340 | .jp-carousel-overlay .swiper-pagination-bullet-active { |
| 341 | opacity: 1; |
| 342 | background: var( --swiper-pagination-color, var( --swiper-theme-color ) ); |
| 343 | } |
| 344 | |
| 345 | .jp-carousel-overlay .swiper-container-vertical > .swiper-pagination-bullets { |
| 346 | right: 10px; |
| 347 | top: 50%; |
| 348 | transform: translate3d( 0px, -50%, 0 ); |
| 349 | } |
| 350 | |
| 351 | .jp-carousel-overlay |
| 352 | .swiper-container-vertical |
| 353 | > .swiper-pagination-bullets |
| 354 | .swiper-pagination-bullet { |
| 355 | margin: 6px 0; |
| 356 | display: block; |
| 357 | } |
| 358 | |
| 359 | .jp-carousel-overlay |
| 360 | .swiper-container-vertical |
| 361 | > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic { |
| 362 | top: 50%; |
| 363 | transform: translateY( -50% ); |
| 364 | width: 8px; |
| 365 | } |
| 366 | |
| 367 | .jp-carousel-overlay |
| 368 | .swiper-container-vertical |
| 369 | > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic |
| 370 | .swiper-pagination-bullet { |
| 371 | display: inline-block; |
| 372 | transition: 200ms transform, 200ms top; |
| 373 | } |
| 374 | |
| 375 | .jp-carousel-overlay |
| 376 | .swiper-container-horizontal |
| 377 | > .swiper-pagination-bullets |
| 378 | .swiper-pagination-bullet { |
| 379 | margin: 0 4px; |
| 380 | } |
| 381 | |
| 382 | .jp-carousel-overlay |
| 383 | .swiper-container-horizontal |
| 384 | > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic { |
| 385 | left: 50%; |
| 386 | transform: translateX( -50% ); |
| 387 | white-space: nowrap; |
| 388 | } |
| 389 | |
| 390 | .jp-carousel-overlay |
| 391 | .swiper-container-horizontal |
| 392 | > .swiper-pagination-bullets.swiper-pagination-bullets-dynamic |
| 393 | .swiper-pagination-bullet { |
| 394 | transition: 200ms transform, 200ms left; |
| 395 | } |
| 396 | |
| 397 | .jp-carousel-overlay |
| 398 | .swiper-container-horizontal.swiper-container-rtl |
| 399 | > .swiper-pagination-bullets-dynamic |
| 400 | .swiper-pagination-bullet { |
| 401 | transition: 200ms transform, 200ms right; |
| 402 | } |
| 403 | |
| 404 | /* Progress */ |
| 405 | .jp-carousel-overlay .swiper-pagination-progressbar { |
| 406 | background: rgba( 0, 0, 0, 0.25 ); |
| 407 | position: absolute; |
| 408 | } |
| 409 | |
| 410 | .jp-carousel-overlay .swiper-pagination-progressbar .swiper-pagination-progressbar-fill { |
| 411 | background: var( --swiper-pagination-color, var( --swiper-theme-color ) ); |
| 412 | position: absolute; |
| 413 | left: 0; |
| 414 | top: 0; |
| 415 | width: 100%; |
| 416 | height: 100%; |
| 417 | transform: scale( 0 ); |
| 418 | transform-origin: left top; |
| 419 | } |
| 420 | |
| 421 | .jp-carousel-overlay |
| 422 | .swiper-container-rtl |
| 423 | .swiper-pagination-progressbar |
| 424 | .swiper-pagination-progressbar-fill { |
| 425 | transform-origin: right top; |
| 426 | } |
| 427 | |
| 428 | .jp-carousel-overlay .swiper-container-horizontal > .swiper-pagination-progressbar, |
| 429 | .jp-carousel-overlay |
| 430 | .swiper-container-vertical |
| 431 | > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { |
| 432 | width: 100%; |
| 433 | height: 4px; |
| 434 | left: 0; |
| 435 | top: 0; |
| 436 | } |
| 437 | |
| 438 | .jp-carousel-overlay .swiper-container-vertical > .swiper-pagination-progressbar, |
| 439 | .jp-carousel-overlay |
| 440 | .swiper-container-horizontal |
| 441 | > .swiper-pagination-progressbar.swiper-pagination-progressbar-opposite { |
| 442 | width: 4px; |
| 443 | height: 100%; |
| 444 | left: 0; |
| 445 | top: 0; |
| 446 | } |
| 447 | |
| 448 | .jp-carousel-overlay .swiper-pagination-white { |
| 449 | --swiper-pagination-color: #fff; |
| 450 | } |
| 451 | |
| 452 | .jp-carousel-overlay .swiper-pagination-black { |
| 453 | --swiper-pagination-color: #000; |
| 454 | } |
| 455 | |
| 456 | .jp-carousel-overlay .swiper-pagination-lock { |
| 457 | display: none; |
| 458 | } |
| 459 | |
| 460 | .jp-carousel-overlay .swiper-zoom-container { |
| 461 | width: 100%; |
| 462 | height: 100%; |
| 463 | display: flex; |
| 464 | justify-content: center; |
| 465 | align-items: center; |
| 466 | text-align: center; |
| 467 | } |
| 468 | |
| 469 | .jp-carousel-overlay .swiper-zoom-container > img, |
| 470 | .jp-carousel-overlay .swiper-zoom-container > svg, |
| 471 | .jp-carousel-overlay .swiper-zoom-container > canvas { |
| 472 | max-width: 100%; |
| 473 | max-height: 100%; |
| 474 | object-fit: contain; |
| 475 | } |
| 476 | |
| 477 | .jp-carousel-overlay .swiper-slide-zoomed { |
| 478 | cursor: move; |
| 479 | } |
| 480 | |
| 481 | /* a11y */ |
| 482 | .jp-carousel-overlay .swiper-container .swiper-notification { |
| 483 | position: absolute; |
| 484 | left: 0; |
| 485 | top: 0; |
| 486 | pointer-events: none; |
| 487 | opacity: 0; |
| 488 | z-index: -1000; |
| 489 | } |
| 490 |