swiper.scss 7.4 KB

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