1 | @import 'swiper-vars.scss';
|
2 |
|
3 | @font-face {
|
4 | font-family: 'swiper-icons';
|
5 | src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQA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NgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA')
|
6 | format('woff');
|
7 | font-weight: 400;
|
8 | font-style: normal;
|
9 | }
|
10 |
|
11 | :root {
|
12 | --swiper-theme-color: #{$themeColor};
|
13 | }
|
14 | .swiper {
|
15 | margin-left: auto;
|
16 | margin-right: auto;
|
17 | position: relative;
|
18 | overflow: hidden;
|
19 | list-style: none;
|
20 | padding: 0;
|
21 |
|
22 | z-index: 1;
|
23 | }
|
24 | .swiper-vertical > .swiper-wrapper {
|
25 | flex-direction: column;
|
26 | }
|
27 | .swiper-wrapper {
|
28 | position: relative;
|
29 | width: 100%;
|
30 | height: 100%;
|
31 | z-index: 1;
|
32 | display: flex;
|
33 | transition-property: transform;
|
34 | box-sizing: content-box;
|
35 | }
|
36 | .swiper-android .swiper-slide,
|
37 | .swiper-wrapper {
|
38 | transform: translate3d(0px, 0, 0);
|
39 | }
|
40 | .swiper-pointer-events {
|
41 | touch-action: pan-y;
|
42 | &.swiper-vertical {
|
43 | touch-action: pan-x;
|
44 | }
|
45 | }
|
46 | .swiper-slide {
|
47 | flex-shrink: 0;
|
48 | width: 100%;
|
49 | height: 100%;
|
50 | position: relative;
|
51 | transition-property: transform;
|
52 | }
|
53 | .swiper-slide-invisible-blank {
|
54 | visibility: hidden;
|
55 | }
|
56 |
|
57 | .swiper-autoheight {
|
58 | &,
|
59 | .swiper-slide {
|
60 | height: auto;
|
61 | }
|
62 |
|
63 | .swiper-wrapper {
|
64 | align-items: flex-start;
|
65 | transition-property: transform, height;
|
66 | }
|
67 | }
|
68 |
|
69 |
|
70 | .swiper-3d {
|
71 | &,
|
72 | &.swiper-css-mode .swiper-wrapper {
|
73 | perspective: 1200px;
|
74 | }
|
75 | .swiper-wrapper,
|
76 | .swiper-slide,
|
77 | .swiper-slide-shadow,
|
78 | .swiper-slide-shadow-left,
|
79 | .swiper-slide-shadow-right,
|
80 | .swiper-slide-shadow-top,
|
81 | .swiper-slide-shadow-bottom,
|
82 | .swiper-cube-shadow {
|
83 | transform-style: preserve-3d;
|
84 | }
|
85 | .swiper-slide-shadow,
|
86 | .swiper-slide-shadow-left,
|
87 | .swiper-slide-shadow-right,
|
88 | .swiper-slide-shadow-top,
|
89 | .swiper-slide-shadow-bottom {
|
90 | position: absolute;
|
91 | left: 0;
|
92 | top: 0;
|
93 | width: 100%;
|
94 | height: 100%;
|
95 | pointer-events: none;
|
96 | z-index: 10;
|
97 | }
|
98 | .swiper-slide-shadow {
|
99 | background: rgba(0, 0, 0, 0.15);
|
100 | }
|
101 | .swiper-slide-shadow-left {
|
102 | background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
103 | }
|
104 | .swiper-slide-shadow-right {
|
105 | background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
106 | }
|
107 | .swiper-slide-shadow-top {
|
108 | background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
109 | }
|
110 | .swiper-slide-shadow-bottom {
|
111 | background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
|
112 | }
|
113 | }
|
114 |
|
115 |
|
116 | .swiper-css-mode {
|
117 | > .swiper-wrapper {
|
118 | overflow: auto;
|
119 | scrollbar-width: none;
|
120 | -ms-overflow-style: none;
|
121 | &::-webkit-scrollbar {
|
122 | display: none;
|
123 | }
|
124 | }
|
125 | > .swiper-wrapper > .swiper-slide {
|
126 | scroll-snap-align: start start;
|
127 | }
|
128 | }
|
129 | .swiper-horizontal.swiper-css-mode {
|
130 | > .swiper-wrapper {
|
131 | scroll-snap-type: x mandatory;
|
132 | }
|
133 | }
|
134 | .swiper-vertical.swiper-css-mode {
|
135 | > .swiper-wrapper {
|
136 | scroll-snap-type: y mandatory;
|
137 | }
|
138 | }
|
139 | .swiper-centered {
|
140 | > .swiper-wrapper::before {
|
141 | content: '';
|
142 | flex-shrink: 0;
|
143 | order: 9999;
|
144 | }
|
145 | &.swiper-horizontal {
|
146 | > .swiper-wrapper > .swiper-slide:first-child {
|
147 | margin-inline-start: var(--swiper-centered-offset-before);
|
148 | }
|
149 | > .swiper-wrapper::before {
|
150 | height: 100%;
|
151 | width: var(--swiper-centered-offset-after);
|
152 | }
|
153 | }
|
154 | &.swiper-vertical {
|
155 | > .swiper-wrapper > .swiper-slide:first-child {
|
156 | margin-block-start: var(--swiper-centered-offset-before);
|
157 | }
|
158 | > .swiper-wrapper::before {
|
159 | width: 100%;
|
160 | height: var(--swiper-centered-offset-after);
|
161 | }
|
162 | }
|
163 |
|
164 | > .swiper-wrapper > .swiper-slide {
|
165 | scroll-snap-align: center center;
|
166 | }
|
167 | }
|
168 |
|
169 |
|
170 |
|