swiper-element.css 7.3 KB

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