swiper.less 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. /**
  2. * Swiper 11.1.15
  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: November 18, 2024
  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+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEM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EimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/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. :host {
  29. position: relative;
  30. display: block;
  31. margin-left: auto;
  32. margin-right: auto;
  33. z-index: 1;
  34. }
  35. .swiper {
  36. margin-left: auto;
  37. margin-right: auto;
  38. position: relative;
  39. overflow: hidden;
  40. list-style: none;
  41. padding: 0;
  42. /* Fix of Webkit flickering */
  43. z-index: 1;
  44. display: block;
  45. }
  46. .swiper-vertical > .swiper-wrapper {
  47. flex-direction: column;
  48. }
  49. .swiper-wrapper {
  50. position: relative;
  51. width: 100%;
  52. height: 100%;
  53. z-index: 1;
  54. display: flex;
  55. transition-property: transform;
  56. transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  57. box-sizing: content-box;
  58. }
  59. .swiper-android .swiper-slide,
  60. .swiper-ios .swiper-slide,
  61. .swiper-wrapper {
  62. transform: translate3d(0px, 0, 0);
  63. }
  64. .swiper-horizontal {
  65. touch-action: pan-y;
  66. }
  67. .swiper-vertical {
  68. touch-action: pan-x;
  69. }
  70. .swiper-slide {
  71. flex-shrink: 0;
  72. width: 100%;
  73. height: 100%;
  74. position: relative;
  75. transition-property: transform;
  76. display: block;
  77. }
  78. .swiper-slide-invisible-blank {
  79. visibility: hidden;
  80. }
  81. /* Auto Height */
  82. .swiper-autoheight,
  83. .swiper-autoheight .swiper-slide {
  84. height: auto;
  85. }
  86. .swiper-autoheight .swiper-wrapper {
  87. align-items: flex-start;
  88. transition-property: transform, height;
  89. }
  90. .swiper-backface-hidden .swiper-slide {
  91. transform: translateZ(0);
  92. backface-visibility: hidden;
  93. }
  94. /* 3D Effects */
  95. .swiper-3d.swiper-css-mode .swiper-wrapper {
  96. perspective: 1200px;
  97. }
  98. .swiper-3d .swiper-wrapper {
  99. transform-style: preserve-3d;
  100. }
  101. .swiper-3d {
  102. perspective: 1200px;
  103. .swiper-slide,
  104. .swiper-cube-shadow {
  105. transform-style: preserve-3d;
  106. }
  107. }
  108. /* CSS Mode */
  109. .swiper-css-mode {
  110. > .swiper-wrapper {
  111. overflow: auto;
  112. scrollbar-width: none; /* For Firefox */
  113. -ms-overflow-style: none; /* For Internet Explorer and Edge */
  114. &::-webkit-scrollbar {
  115. display: none;
  116. }
  117. }
  118. > .swiper-wrapper > .swiper-slide {
  119. scroll-snap-align: start start;
  120. }
  121. &.swiper-horizontal {
  122. > .swiper-wrapper {
  123. scroll-snap-type: x mandatory;
  124. }
  125. }
  126. &.swiper-vertical {
  127. > .swiper-wrapper {
  128. scroll-snap-type: y mandatory;
  129. }
  130. }
  131. &.swiper-free-mode {
  132. > .swiper-wrapper {
  133. scroll-snap-type: none;
  134. }
  135. > .swiper-wrapper > .swiper-slide {
  136. scroll-snap-align: none;
  137. }
  138. }
  139. &.swiper-centered {
  140. > .swiper-wrapper::before {
  141. content: '';
  142. flex-shrink: 0;
  143. order: 9999;
  144. }
  145. > .swiper-wrapper > .swiper-slide {
  146. scroll-snap-align: center center;
  147. scroll-snap-stop: always;
  148. }
  149. }
  150. &.swiper-centered.swiper-horizontal {
  151. > .swiper-wrapper > .swiper-slide:first-child {
  152. margin-inline-start: var(--swiper-centered-offset-before);
  153. }
  154. > .swiper-wrapper::before {
  155. height: 100%;
  156. min-height: 1px;
  157. width: var(--swiper-centered-offset-after);
  158. }
  159. }
  160. &.swiper-centered.swiper-vertical {
  161. > .swiper-wrapper > .swiper-slide:first-child {
  162. margin-block-start: var(--swiper-centered-offset-before);
  163. }
  164. > .swiper-wrapper::before {
  165. width: 100%;
  166. min-width: 1px;
  167. height: var(--swiper-centered-offset-after);
  168. }
  169. }
  170. }
  171. /* Slide styles start */
  172. /* 3D Shadows */
  173. .swiper-3d {
  174. .swiper-slide-shadow,
  175. .swiper-slide-shadow-left,
  176. .swiper-slide-shadow-right,
  177. .swiper-slide-shadow-top,
  178. .swiper-slide-shadow-bottom,
  179. .swiper-slide-shadow,
  180. .swiper-slide-shadow-left,
  181. .swiper-slide-shadow-right,
  182. .swiper-slide-shadow-top,
  183. .swiper-slide-shadow-bottom {
  184. position: absolute;
  185. left: 0;
  186. top: 0;
  187. width: 100%;
  188. height: 100%;
  189. pointer-events: none;
  190. z-index: 10;
  191. }
  192. .swiper-slide-shadow {
  193. background: rgba(0, 0, 0, 0.15);
  194. }
  195. .swiper-slide-shadow-left {
  196. background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  197. }
  198. .swiper-slide-shadow-right {
  199. background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  200. }
  201. .swiper-slide-shadow-top {
  202. background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  203. }
  204. .swiper-slide-shadow-bottom {
  205. background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  206. }
  207. }
  208. .swiper-lazy-preloader {
  209. width: 42px;
  210. height: 42px;
  211. position: absolute;
  212. left: 50%;
  213. top: 50%;
  214. margin-left: -21px;
  215. margin-top: -21px;
  216. z-index: 10;
  217. transform-origin: 50%;
  218. box-sizing: border-box;
  219. border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  220. border-radius: 50%;
  221. border-top-color: transparent;
  222. }
  223. .swiper:not(.swiper-watch-progress),
  224. .swiper-watch-progress .swiper-slide-visible {
  225. .swiper-lazy-preloader {
  226. animation: swiper-preloader-spin 1s infinite linear;
  227. }
  228. }
  229. .swiper-lazy-preloader-white {
  230. --swiper-preloader-color: #fff;
  231. }
  232. .swiper-lazy-preloader-black {
  233. --swiper-preloader-color: #000;
  234. }
  235. @keyframes swiper-preloader-spin {
  236. 0% {
  237. transform: rotate(0deg);
  238. }
  239. 100% {
  240. transform: rotate(360deg);
  241. }
  242. }
  243. /* Slide styles end */