swiper.scss 7.6 KB

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