1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,287 @@ |
1 |
+@import "../../variables-layout"; |
|
2 |
+ |
|
3 |
+@import "../../../_vendor/node_modules/bootstrap/scss/functions"; |
|
4 |
+@import "../../../_vendor/node_modules/bootstrap/scss/variables"; |
|
5 |
+@import "../../../_vendor/node_modules/bootstrap/scss/mixins"; |
|
6 |
+@import "../../../_fonts/fontawesome/scss/fontawesome"; |
|
7 |
+@import "../../../_fonts/fontawesome/scss/regular"; |
|
8 |
+ |
|
9 |
+@import "../../scss-variables"; |
|
10 |
+@import "../../_theme/variables-layout"; |
|
11 |
+ |
|
12 |
+ |
|
13 |
+html body { |
|
14 |
+ .ce_rsce_contentslider { |
|
15 |
+ |
|
16 |
+ .swiper-pagination { |
|
17 |
+ position: static; |
|
18 |
+ margin-top: .5rem; |
|
19 |
+ } |
|
20 |
+ |
|
21 |
+ .horizontal { |
|
22 |
+ &.content-slider--nav { |
|
23 |
+ ul { |
|
24 |
+ list-style-type: none; |
|
25 |
+ padding: 0px; |
|
26 |
+ margin: 0px; |
|
27 |
+ display: flex; |
|
28 |
+ flex-flow: row nowrap; |
|
29 |
+ @include font-size(24px); |
|
30 |
+ position: relative; |
|
31 |
+ gap: rfs-value(35px); |
|
32 |
+ |
|
33 |
+ &:before { |
|
34 |
+ content: ''; |
|
35 |
+ height: 1px; |
|
36 |
+ width: 120%; |
|
37 |
+ position: absolute; |
|
38 |
+ left: -10%; |
|
39 |
+ top: 0; |
|
40 |
+ background-color: var(--bs-primary); |
|
41 |
+ } |
|
42 |
+ |
|
43 |
+ |
|
44 |
+ li { |
|
45 |
+ transition: all .3s ease; |
|
46 |
+ |
|
47 |
+ span, a { |
|
48 |
+ display: block; |
|
49 |
+ line-height: rfs-value(40px); |
|
50 |
+ border-top: 3px solid transparent; |
|
51 |
+ transition: all .3s ease; |
|
52 |
+ cursor: pointer; |
|
53 |
+ text-decoration: none; |
|
54 |
+ } |
|
55 |
+ |
|
56 |
+ &.active { |
|
57 |
+ padding-right: 2rem; |
|
58 |
+ |
|
59 |
+ span, a { |
|
60 |
+ font-weight: $font-weight-bold; |
|
61 |
+ border-top-color: var(--bs-primary); |
|
62 |
+ } |
|
63 |
+ } |
|
64 |
+ |
|
65 |
+ &:hover { |
|
66 |
+ span, a { |
|
67 |
+ border-top-color: var(--bs-primary); |
|
68 |
+ } |
|
69 |
+ } |
|
70 |
+ } |
|
71 |
+ } |
|
72 |
+ } |
|
73 |
+ } |
|
74 |
+ |
|
75 |
+ .vertical { |
|
76 |
+ @include media-breakpoint-up(md) { |
|
77 |
+ margin-left: calc(0px - (.75rem + 30px)); |
|
78 |
+ } |
|
79 |
+ |
|
80 |
+ |
|
81 |
+ &.content-slider--nav { |
|
82 |
+ position: relative; |
|
83 |
+ display: inline-block; |
|
84 |
+ max-height: rfs-value(300px); |
|
85 |
+ overflow: auto; |
|
86 |
+ width: 100%; |
|
87 |
+ |
|
88 |
+ @include media-breakpoint-up(sm) { |
|
89 |
+ max-height: rfs-value(350px); |
|
90 |
+ } |
|
91 |
+ |
|
92 |
+ &:after, &:before { |
|
93 |
+ z-index: 10; |
|
94 |
+ content: ''; |
|
95 |
+ height: 15%; |
|
96 |
+ min-height: 100px; |
|
97 |
+ width: 100%; |
|
98 |
+ left: 0; |
|
99 |
+ position: absolute; |
|
100 |
+ transition: all .3s ease; |
|
101 |
+ } |
|
102 |
+ |
|
103 |
+ &:before { |
|
104 |
+ top: 0; |
|
105 |
+ background: linear-gradient(180deg, rgba(255, 255, 255, 1) 15%, transparent 100%); |
|
106 |
+ } |
|
107 |
+ |
|
108 |
+ &:after { |
|
109 |
+ bottom: 0; |
|
110 |
+ background: linear-gradient(0deg, rgba(255, 255, 255, 1) 15%, transparent 100%); |
|
111 |
+ } |
|
112 |
+ |
|
113 |
+ &:hover { |
|
114 |
+ &:after, &:before { |
|
115 |
+ max-height: 0px; |
|
116 |
+ height: 0px; |
|
117 |
+ min-height: 0px; |
|
118 |
+ } |
|
119 |
+ } |
|
120 |
+ |
|
121 |
+ ul { |
|
122 |
+ list-style-type: none; |
|
123 |
+ margin: 0px; |
|
124 |
+ padding: 25px 0px; |
|
125 |
+ @include font-size(28px); |
|
126 |
+ position: relative; |
|
127 |
+ |
|
128 |
+ overflow: auto; |
|
129 |
+ gap: rfs-value(35px); |
|
130 |
+ |
|
131 |
+ max-height: rfs-value(300px); |
|
132 |
+ |
|
133 |
+ li { |
|
134 |
+ transition: all .3s ease; |
|
135 |
+ position: relative; |
|
136 |
+ |
|
137 |
+ &:not(:last-child) { |
|
138 |
+ margin-bottom: .25rem; |
|
139 |
+ } |
|
140 |
+ |
|
141 |
+ span, a { |
|
142 |
+ border: 1px solid transparent; |
|
143 |
+ display: block; |
|
144 |
+ transition: all .3s ease; |
|
145 |
+ border-radius: var(--bs-border-radius-xl); |
|
146 |
+ cursor: pointer; |
|
147 |
+ padding: 0rem 1rem 0rem .25rem; |
|
148 |
+ font-weight: $font-weight-bold; |
|
149 |
+ min-width: rfs-value(250px); |
|
150 |
+ color: var(--bs-primary); |
|
151 |
+ text-decoration: none; |
|
152 |
+ line-height: var(--bs-body-line-height); |
|
153 |
+ |
|
154 |
+ &:before { |
|
155 |
+ @extend %fa-icon; |
|
156 |
+ @extend .far; |
|
157 |
+ content: fa-content($fa-var-exchange); |
|
158 |
+ transition: all .3s ease; |
|
159 |
+ |
|
160 |
+ color: var(--bs-primary); |
|
161 |
+ border-radius: 10px; |
|
162 |
+ border: 1px solid var(--bs-primary); |
|
163 |
+ transform: rotate(90deg); |
|
164 |
+ font-size: rfs-value(14px); |
|
165 |
+ opacity: 0; |
|
166 |
+ position: relative; |
|
167 |
+ top: -6px; |
|
168 |
+ right: -2px; |
|
169 |
+ padding: 2px 4px 4px 4px; |
|
170 |
+ text-align: center; |
|
171 |
+ display: inline-block; |
|
172 |
+ margin-right: 8px; |
|
173 |
+ } |
|
174 |
+ } |
|
175 |
+ |
|
176 |
+ &:hover { |
|
177 |
+ span, a { |
|
178 |
+ border-color: var(--bs-primary); |
|
179 |
+ |
|
180 |
+ &:before { |
|
181 |
+ opacity: 1; |
|
182 |
+ } |
|
183 |
+ } |
|
184 |
+ } |
|
185 |
+ |
|
186 |
+ &.active { |
|
187 |
+ span, a { |
|
188 |
+ border-color: var(--bs-primary); |
|
189 |
+ background-color: var(--bs-primary); |
|
190 |
+ color: var(--bs-body-color-inverse); |
|
191 |
+ } |
|
192 |
+ } |
|
193 |
+ |
|
194 |
+ &:hover { |
|
195 |
+ a { |
|
196 |
+ border-color: var(--bs-primary); |
|
197 |
+ background-color: var(--bs-primary); |
|
198 |
+ color: var(--bs-body-color-inverse); |
|
199 |
+ opacity: 1; |
|
200 |
+ |
|
201 |
+ &:before { |
|
202 |
+ color: var(--bs-body-color-inverse); |
|
203 |
+ opacity: 1; |
|
204 |
+ border-color: var(--bs-body-color-inverse); |
|
205 |
+ } |
|
206 |
+ } |
|
207 |
+ } |
|
208 |
+ } |
|
209 |
+ } |
|
210 |
+ } |
|
211 |
+ } |
|
212 |
+ |
|
213 |
+ |
|
214 |
+ .is-vertical.is-horizontal { |
|
215 |
+ .ce--inner { |
|
216 |
+ .row.flex-row-reverse { |
|
217 |
+ .half-container { |
|
218 |
+ |
|
219 |
+ @include media-breakpoint-up(sm) { |
|
220 |
+ padding: 0 1rem; |
|
221 |
+ } |
|
222 |
+ } |
|
223 |
+ } |
|
224 |
+ } |
|
225 |
+ } |
|
226 |
+ |
|
227 |
+ |
|
228 |
+ .ce--inner { |
|
229 |
+ &.is-fullwidth { |
|
230 |
+ .half-container { |
|
231 |
+ margin-right: auto; |
|
232 |
+ margin-left: auto; |
|
233 |
+ |
|
234 |
+ @include media-breakpoint-up(md) { |
|
235 |
+ &:not(.nav-column) { |
|
236 |
+ margin-right: auto; |
|
237 |
+ margin-left: auto; |
|
238 |
+ } |
|
239 |
+ |
|
240 |
+ &.nav-column { |
|
241 |
+ margin-left: auto; |
|
242 |
+ margin-right: 0px; |
|
243 |
+ } |
|
244 |
+ } |
|
245 |
+ } |
|
246 |
+ } |
|
247 |
+ |
|
248 |
+ .row.flex-row-reverse { |
|
249 |
+ .half-container { |
|
250 |
+ @include media-breakpoint-up(md) { |
|
251 |
+ &:not(.nav-column) { |
|
252 |
+ margin-right: auto; |
|
253 |
+ margin-left: auto; |
|
254 |
+ } |
|
255 |
+ |
|
256 |
+ &.nav-column { |
|
257 |
+ margin-left: auto; |
|
258 |
+ margin-right: 0px; |
|
259 |
+ } |
|
260 |
+ } |
|
261 |
+ |
|
262 |
+ &.nav-column { |
|
263 |
+ .content-slider--nav { |
|
264 |
+ margin-left: 0px; |
|
265 |
+ @include media-breakpoint-up(md) { |
|
266 |
+ margin-right: calc(0px - (.75rem + 22px)); |
|
267 |
+ } |
|
268 |
+ } |
|
269 |
+ } |
|
270 |
+ |
|
271 |
+ |
|
272 |
+ } |
|
273 |
+ } |
|
274 |
+ } |
|
275 |
+ |
|
276 |
+ .ce--inner { |
|
277 |
+ .swiper.content-slider { |
|
278 |
+ padding-bottom: 0px; |
|
279 |
+ |
|
280 |
+ .swiper-wrapper { |
|
281 |
+ text-align: left; |
|
282 |
+ } |
|
283 |
+ } |
|
284 |
+ } |
|
285 |
+ |
|
286 |
+ } |
|
287 |
+} |
|
0 | 288 |
\ No newline at end of file |