swiper.scss 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. /**
  2. * Swiper 8.4.6
  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: January 17, 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+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGV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JKhYFSSl47+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. }
  27. .swiper {
  28. margin-left: auto;
  29. margin-right: auto;
  30. position: relative;
  31. overflow: hidden;
  32. list-style: none;
  33. padding: 0;
  34. /* Fix of Webkit flickering */
  35. z-index: 1;
  36. }
  37. .swiper-vertical > .swiper-wrapper {
  38. flex-direction: column;
  39. }
  40. .swiper-wrapper {
  41. position: relative;
  42. width: 100%;
  43. height: 100%;
  44. z-index: 1;
  45. display: flex;
  46. transition-property: transform;
  47. box-sizing: content-box;
  48. }
  49. .swiper-android .swiper-slide,
  50. .swiper-wrapper {
  51. transform: translate3d(0px, 0, 0);
  52. }
  53. .swiper-pointer-events {
  54. touch-action: pan-y;
  55. &.swiper-vertical {
  56. touch-action: pan-x;
  57. }
  58. }
  59. .swiper-slide {
  60. flex-shrink: 0;
  61. width: 100%;
  62. height: 100%;
  63. position: relative;
  64. transition-property: transform;
  65. }
  66. .swiper-slide-invisible-blank {
  67. visibility: hidden;
  68. }
  69. /* Auto Height */
  70. .swiper-autoheight {
  71. &,
  72. .swiper-slide {
  73. height: auto;
  74. }
  75. .swiper-wrapper {
  76. align-items: flex-start;
  77. transition-property: transform, height;
  78. }
  79. }
  80. .swiper-backface-hidden .swiper-slide {
  81. transform: translateZ(0);
  82. backface-visibility: hidden;
  83. }
  84. /* 3D Effects */
  85. .swiper-3d {
  86. &,
  87. &.swiper-css-mode .swiper-wrapper {
  88. perspective: 1200px;
  89. }
  90. .swiper-wrapper,
  91. .swiper-slide,
  92. .swiper-slide-shadow,
  93. .swiper-slide-shadow-left,
  94. .swiper-slide-shadow-right,
  95. .swiper-slide-shadow-top,
  96. .swiper-slide-shadow-bottom,
  97. .swiper-cube-shadow {
  98. transform-style: preserve-3d;
  99. }
  100. .swiper-slide-shadow,
  101. .swiper-slide-shadow-left,
  102. .swiper-slide-shadow-right,
  103. .swiper-slide-shadow-top,
  104. .swiper-slide-shadow-bottom {
  105. position: absolute;
  106. left: 0;
  107. top: 0;
  108. width: 100%;
  109. height: 100%;
  110. pointer-events: none;
  111. z-index: 10;
  112. }
  113. .swiper-slide-shadow {
  114. background: rgba(0, 0, 0, 0.15);
  115. }
  116. .swiper-slide-shadow-left {
  117. background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  118. }
  119. .swiper-slide-shadow-right {
  120. background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  121. }
  122. .swiper-slide-shadow-top {
  123. background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  124. }
  125. .swiper-slide-shadow-bottom {
  126. background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  127. }
  128. }
  129. /* CSS Mode */
  130. .swiper-css-mode {
  131. > .swiper-wrapper {
  132. overflow: auto;
  133. scrollbar-width: none; /* For Firefox */
  134. -ms-overflow-style: none; /* For Internet Explorer and Edge */
  135. &::-webkit-scrollbar {
  136. display: none;
  137. }
  138. }
  139. > .swiper-wrapper > .swiper-slide {
  140. scroll-snap-align: start start;
  141. }
  142. }
  143. .swiper-horizontal.swiper-css-mode {
  144. > .swiper-wrapper {
  145. scroll-snap-type: x mandatory;
  146. }
  147. }
  148. .swiper-vertical.swiper-css-mode {
  149. > .swiper-wrapper {
  150. scroll-snap-type: y mandatory;
  151. }
  152. }
  153. .swiper-centered {
  154. > .swiper-wrapper::before {
  155. content: '';
  156. flex-shrink: 0;
  157. order: 9999;
  158. }
  159. &.swiper-horizontal {
  160. > .swiper-wrapper > .swiper-slide:first-child {
  161. margin-inline-start: var(--swiper-centered-offset-before);
  162. }
  163. > .swiper-wrapper::before {
  164. height: 100%;
  165. width: var(--swiper-centered-offset-after);
  166. }
  167. }
  168. &.swiper-vertical {
  169. > .swiper-wrapper > .swiper-slide:first-child {
  170. margin-block-start: var(--swiper-centered-offset-before);
  171. }
  172. > .swiper-wrapper::before {
  173. width: 100%;
  174. height: var(--swiper-centered-offset-after);
  175. }
  176. }
  177. > .swiper-wrapper > .swiper-slide {
  178. scroll-snap-align: center center;
  179. scroll-snap-stop: always;
  180. }
  181. }