1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,116 @@ |
1 |
+.swiper { |
|
2 |
+ transition: all .3s ease; |
|
3 |
+ |
|
4 |
+ &:not(.mainslider) { |
|
5 |
+ padding-bottom: rfs-value(40px); |
|
6 |
+ } |
|
7 |
+ |
|
8 |
+ .swiper-wrapper { |
|
9 |
+ //align-items: center; |
|
10 |
+ //text-align: center; |
|
11 |
+ |
|
12 |
+ .swiper-lazy { |
|
13 |
+ opacity: 0; |
|
14 |
+ transition: all 0.3s ease; |
|
15 |
+ |
|
16 |
+ & + .slide-caption { |
|
17 |
+ opacity: 0; |
|
18 |
+ transition: all 0.3s ease; |
|
19 |
+ } |
|
20 |
+ |
|
21 |
+ &.swiper-lazy-loaded { |
|
22 |
+ opacity: 1; |
|
23 |
+ |
|
24 |
+ & + .slide-caption { |
|
25 |
+ opacity: 1; |
|
26 |
+ } |
|
27 |
+ } |
|
28 |
+ } |
|
29 |
+ } |
|
30 |
+} |
|
31 |
+ |
|
32 |
+ |
|
33 |
+.swiper-button-prev, |
|
34 |
+.swiper-button-next { |
|
35 |
+ margin-top: rfs-value(-40px); |
|
36 |
+ width: rfs-value(35px); |
|
37 |
+ height: rfs-value(35px); |
|
38 |
+ line-height: rfs-value(25px); |
|
39 |
+ text-align: center; |
|
40 |
+ box-shadow: $box-shadow; |
|
41 |
+ border-radius: 50%; |
|
42 |
+ transition: all 0.3s ease; |
|
43 |
+ opacity: 0.2; |
|
44 |
+ background-color: var(--bs-white); |
|
45 |
+ |
|
46 |
+ &:hover { |
|
47 |
+ opacity: 1; |
|
48 |
+ } |
|
49 |
+ |
|
50 |
+ &:after { |
|
51 |
+ font-size: rfs-value(20px); |
|
52 |
+ } |
|
53 |
+} |
|
54 |
+ |
|
55 |
+.swiper-button-prev { |
|
56 |
+ padding-right: 3px; |
|
57 |
+ |
|
58 |
+ @include media-breakpoint-up(sm) { |
|
59 |
+ left: -6vw; |
|
60 |
+ } |
|
61 |
+ |
|
62 |
+ @include media-breakpoint-up(md) { |
|
63 |
+ left: -6vw; |
|
64 |
+ } |
|
65 |
+ |
|
66 |
+ @include media-breakpoint-up(lg) { |
|
67 |
+ left: -3.5vw; |
|
68 |
+ } |
|
69 |
+ @include media-breakpoint-up(xl) { |
|
70 |
+ left: -3.5vw; |
|
71 |
+ } |
|
72 |
+ |
|
73 |
+ @include media-breakpoint-up(xxl) { |
|
74 |
+ left: -2.5vw; |
|
75 |
+ } |
|
76 |
+} |
|
77 |
+ |
|
78 |
+.swiper-button-next { |
|
79 |
+ padding-left: 3px; |
|
80 |
+ |
|
81 |
+ @include media-breakpoint-up(sm) { |
|
82 |
+ right: -6vw; |
|
83 |
+ } |
|
84 |
+ |
|
85 |
+ @include media-breakpoint-up(md) { |
|
86 |
+ right: -6vw; |
|
87 |
+ } |
|
88 |
+ |
|
89 |
+ @include media-breakpoint-up(lg) { |
|
90 |
+ right: -3.5vw; |
|
91 |
+ } |
|
92 |
+ @include media-breakpoint-up(xl) { |
|
93 |
+ right: -3.5vw; |
|
94 |
+ } |
|
95 |
+ |
|
96 |
+ @include media-breakpoint-up(xxl) { |
|
97 |
+ right: -2.5vw; |
|
98 |
+ } |
|
99 |
+} |
|
100 |
+ |
|
101 |
+ |
|
102 |
+.swiper-pagination { |
|
103 |
+ bottom: rfs-value(0px); |
|
104 |
+ padding: rfs-value(0px 5px 5px 5px); |
|
105 |
+ border-radius: var(--bs-border-radius); |
|
106 |
+ line-height: 1; |
|
107 |
+ //right: 50%; |
|
108 |
+ //transform: translate(50%, -15px); |
|
109 |
+ //left: auto; |
|
110 |
+ width: auto; |
|
111 |
+ |
|
112 |
+ .swiper-pagination-bullet { |
|
113 |
+ &.swiper-pagination-bullet-active { |
|
114 |
+ } |
|
115 |
+ } |
|
116 |
+} |
|
0 | 117 |
\ No newline at end of file |