swiper.less 7.4 KB

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