1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,429 @@ |
1 |
+@import "../../mixins"; |
|
2 |
+ |
|
3 |
+@import "../../variables-layout"; |
|
4 |
+ |
|
5 |
+@import "../../../_vendor/node_modules/bootstrap/scss/functions"; |
|
6 |
+@import "../../../_vendor/node_modules/bootstrap/scss/variables"; |
|
7 |
+@import "../../../_vendor/node_modules/bootstrap/scss/mixins"; |
|
8 |
+@import "../../scaffolding/helper-classes"; |
|
9 |
+@import "../../../_fonts/fontawesome/scss/fontawesome"; |
|
10 |
+@import "../../../_fonts/fontawesome/scss/regular"; |
|
11 |
+ |
|
12 |
+@import "../../scss-variables"; |
|
13 |
+@import "../../_theme/variables-layout"; |
|
14 |
+ |
|
15 |
+html body { |
|
16 |
+ .ce_rsce_linkboxen { |
|
17 |
+ //margin-bottom: -1.5rem; |
|
18 |
+ |
|
19 |
+ .row.same-height { |
|
20 |
+ .link--box { |
|
21 |
+ min-height: 100%; |
|
22 |
+ } |
|
23 |
+ } |
|
24 |
+ |
|
25 |
+ .link--box { |
|
26 |
+ position: relative; |
|
27 |
+ transition: all 0.3s ease; |
|
28 |
+ display: flex; |
|
29 |
+ flex-flow: column nowrap; |
|
30 |
+ |
|
31 |
+ //cursor: pointer; |
|
32 |
+ |
|
33 |
+ > a, |
|
34 |
+ > span { |
|
35 |
+ display: block; |
|
36 |
+ width: 100%; |
|
37 |
+ height: 100%; |
|
38 |
+ position: absolute; |
|
39 |
+ z-index: 10; |
|
40 |
+ cursor: pointer; |
|
41 |
+ } |
|
42 |
+ |
|
43 |
+ > div { |
|
44 |
+ transition: all 0.3s ease-in-out; |
|
45 |
+ } |
|
46 |
+ |
|
47 |
+ &.style-1 { |
|
48 |
+ @include content-box(0px); |
|
49 |
+ @extend .bg-gradient; |
|
50 |
+ |
|
51 |
+ |
|
52 |
+ .box--upper { |
|
53 |
+ .image--holder { |
|
54 |
+ height: rfs-value(250px); |
|
55 |
+ border-radius: $border-radius $border-radius 0px 0px; |
|
56 |
+ overflow: hidden; |
|
57 |
+ |
|
58 |
+ &.image--holder { |
|
59 |
+ //border-radius: $border-radius; |
|
60 |
+ } |
|
61 |
+ } |
|
62 |
+ } |
|
63 |
+ |
|
64 |
+ .box-lower--wrapper { |
|
65 |
+ border-radius: 0px 0px $border-radius $border-radius; |
|
66 |
+ |
|
67 |
+ .box--lower { |
|
68 |
+ padding: rfs-value(15px 25px); |
|
69 |
+ display: inline-flex; |
|
70 |
+ flex-flow: row nowrap; |
|
71 |
+ //align-items: center; |
|
72 |
+ width: 100%; |
|
73 |
+ |
|
74 |
+ &.with-url { |
|
75 |
+ &:before { |
|
76 |
+ @extend %fa-icon; |
|
77 |
+ @extend .far; |
|
78 |
+ content: fa-content($fa-var-angle-double-right); |
|
79 |
+ vertical-align: baseline; |
|
80 |
+ @include font-size(28px); |
|
81 |
+ padding-right: 1rem; |
|
82 |
+ } |
|
83 |
+ } |
|
84 |
+ |
|
85 |
+ .headline--wrapper { |
|
86 |
+ flex: 1; |
|
87 |
+ |
|
88 |
+ .box--headline { |
|
89 |
+ color: var(--bs-primary); |
|
90 |
+ font-weight: $font-weight-bolder; |
|
91 |
+ @include font-size(22px); |
|
92 |
+ text-decoration: none; |
|
93 |
+ display: block; |
|
94 |
+ text-transform: uppercase; |
|
95 |
+ } |
|
96 |
+ |
|
97 |
+ .box--subline { |
|
98 |
+ } |
|
99 |
+ } |
|
100 |
+ } |
|
101 |
+ |
|
102 |
+ .box-lower--expand { |
|
103 |
+ &:not(.is-map) { |
|
104 |
+ padding: rfs-value(15px 25px 15px 25px); |
|
105 |
+ } |
|
106 |
+ |
|
107 |
+ &.is-map { |
|
108 |
+ iframe, embed { |
|
109 |
+ min-height: rfs-value(450px); |
|
110 |
+ border-radius: $border-radius; |
|
111 |
+ } |
|
112 |
+ } |
|
113 |
+ |
|
114 |
+ .box--longtext { |
|
115 |
+ padding-left: 0px; |
|
116 |
+ padding-right: 0px; |
|
117 |
+ } |
|
118 |
+ |
|
119 |
+ .button--wrapper { |
|
120 |
+ //margin-bottom: 1rem; |
|
121 |
+ padding-left: 0px; |
|
122 |
+ padding-right: 0px; |
|
123 |
+ } |
|
124 |
+ } |
|
125 |
+ } |
|
126 |
+ } |
|
127 |
+ |
|
128 |
+ &.style-2 { |
|
129 |
+ .box--lower { |
|
130 |
+ position: relative; |
|
131 |
+ @include padding(15px 25px 0px 25px); |
|
132 |
+ line-height: var(--bs-body-line-height); |
|
133 |
+ //transition: all .3s ease; |
|
134 |
+ |
|
135 |
+ &:not(.as-box) { |
|
136 |
+ color: var(--bs-body-color); |
|
137 |
+ @include font-size(16px); |
|
138 |
+ |
|
139 |
+ .box--headline { |
|
140 |
+ @include font-size(24px); |
|
141 |
+ } |
|
142 |
+ |
|
143 |
+ .box--subline { |
|
144 |
+ @include font-size(20px); |
|
145 |
+ } |
|
146 |
+ } |
|
147 |
+ |
|
148 |
+ * { |
|
149 |
+ transition: all 0.3s ease; |
|
150 |
+ } |
|
151 |
+ |
|
152 |
+ a { |
|
153 |
+ text-decoration: none; |
|
154 |
+ transition: none; |
|
155 |
+ } |
|
156 |
+ |
|
157 |
+ .headline--wrapper { |
|
158 |
+ width: 100%; |
|
159 |
+ } |
|
160 |
+ |
|
161 |
+ &.with-url { |
|
162 |
+ padding-right: 3rem; |
|
163 |
+ |
|
164 |
+ &:after { |
|
165 |
+ @extend %fa-icon; |
|
166 |
+ @extend .fal; |
|
167 |
+ content: fa-content($fa-var-long-arrow-right); |
|
168 |
+ position: absolute; |
|
169 |
+ right: rfs-value(20px); |
|
170 |
+ top: 50%; |
|
171 |
+ transform: translate(50%, -50%); |
|
172 |
+ @include font-size(25px); |
|
173 |
+ //transition: all .3s ease; |
|
174 |
+ z-index: 21; |
|
175 |
+ } |
|
176 |
+ } |
|
177 |
+ } |
|
178 |
+ |
|
179 |
+ .box-lower--expand { |
|
180 |
+ @include font-size(16px); |
|
181 |
+ line-height: var(--bs-body-line-height); |
|
182 |
+ @include padding(15px 0px 20px 0px); |
|
183 |
+ |
|
184 |
+ .box--expand-image { |
|
185 |
+ margin-bottom: 1rem; |
|
186 |
+ } |
|
187 |
+ } |
|
188 |
+ } |
|
189 |
+ |
|
190 |
+ &:hover { |
|
191 |
+ .box--upper .hover-text { |
|
192 |
+ opacity: 1; |
|
193 |
+ } |
|
194 |
+ } |
|
195 |
+ |
|
196 |
+ .box--upper { |
|
197 |
+ position: relative; |
|
198 |
+ overflow: hidden; |
|
199 |
+ |
|
200 |
+ .image--holder { |
|
201 |
+ height: rfs-value(225px); |
|
202 |
+ background-size: cover !important; |
|
203 |
+ |
|
204 |
+ &.is--video { |
|
205 |
+ height: auto; |
|
206 |
+ line-height: 0; |
|
207 |
+ |
|
208 |
+ video { |
|
209 |
+ max-width: 100%; |
|
210 |
+ height: auto; |
|
211 |
+ } |
|
212 |
+ |
|
213 |
+ video::-webkit-media-controls-mute-button { |
|
214 |
+ display: none !important; |
|
215 |
+ } |
|
216 |
+ |
|
217 |
+ video::-webkit-media-controls-fullscreen-button { |
|
218 |
+ display: none !important; |
|
219 |
+ } |
|
220 |
+ } |
|
221 |
+ } |
|
222 |
+ |
|
223 |
+ |
|
224 |
+ .design-element { |
|
225 |
+ position: absolute; |
|
226 |
+ height: 80%; |
|
227 |
+ width: 100%; |
|
228 |
+ bottom: 0; |
|
229 |
+ left: -75%; |
|
230 |
+ transform: skew(65deg); |
|
231 |
+ opacity: .7; |
|
232 |
+ display: block; |
|
233 |
+ |
|
234 |
+ @include media-breakpoint-up(xxl) { |
|
235 |
+ left: -65%; |
|
236 |
+ } |
|
237 |
+ } |
|
238 |
+ |
|
239 |
+ .box-upper--image-text { |
|
240 |
+ position: absolute; |
|
241 |
+ bottom: 0; |
|
242 |
+ left: 0; |
|
243 |
+ padding: .5rem .75rem; |
|
244 |
+ |
|
245 |
+ @include media-breakpoint-up(xxl) { |
|
246 |
+ padding: .75rem 1rem; |
|
247 |
+ } |
|
248 |
+ |
|
249 |
+ span { |
|
250 |
+ position: relative; |
|
251 |
+ z-index: 1; |
|
252 |
+ |
|
253 |
+ font-weight: $font-weight-bold; |
|
254 |
+ color: var(--bs-body-color-inverse); |
|
255 |
+ |
|
256 |
+ @include media-breakpoint-up(xxl) { |
|
257 |
+ @include font-size(18px); |
|
258 |
+ } |
|
259 |
+ } |
|
260 |
+ } |
|
261 |
+ |
|
262 |
+ .hover-text { |
|
263 |
+ position: absolute; |
|
264 |
+ left: 0; |
|
265 |
+ top: 0; |
|
266 |
+ width: 100%; |
|
267 |
+ height: 100%; |
|
268 |
+ opacity: 0; |
|
269 |
+ transition: all 0.3s ease; |
|
270 |
+ background-color: rgba(255, 255, 255, 0.8); |
|
271 |
+ display: flex; |
|
272 |
+ flex-flow: column wrap; |
|
273 |
+ |
|
274 |
+ .hover-text--inner { |
|
275 |
+ margin: auto; |
|
276 |
+ } |
|
277 |
+ } |
|
278 |
+ } |
|
279 |
+ |
|
280 |
+ .box-lower--wrapper { |
|
281 |
+ position: relative; |
|
282 |
+ flex: 1; |
|
283 |
+ display: flex; |
|
284 |
+ flex-flow: column wrap; |
|
285 |
+ background-color: $gray-100; |
|
286 |
+ |
|
287 |
+ .box--lower { |
|
288 |
+ //flex: 1; |
|
289 |
+ display: flex; |
|
290 |
+ flex-flow: row nowrap; |
|
291 |
+ |
|
292 |
+ //justify-content: center; |
|
293 |
+ span.box--headline { |
|
294 |
+ //font-weight: $font-weight-bold; |
|
295 |
+ line-height: var(--bs-body-line-height); |
|
296 |
+ } |
|
297 |
+ |
|
298 |
+ .ce--subline { |
|
299 |
+ color: inherit; |
|
300 |
+ margin-bottom: 0px; |
|
301 |
+ margin-top: 2px; |
|
302 |
+ @include font-size(15px); |
|
303 |
+ } |
|
304 |
+ |
|
305 |
+ &.as-box { |
|
306 |
+ background-color: $body-bg; |
|
307 |
+ color: var(--bs-body-color); |
|
308 |
+ box-shadow: $box-shadow; |
|
309 |
+ padding: 1.5rem 2rem; |
|
310 |
+ position: absolute; |
|
311 |
+ top: 0%; |
|
312 |
+ right: 50%; |
|
313 |
+ transform: translate(50%, -80%); |
|
314 |
+ border-radius: 0px; |
|
315 |
+ text-align: center; |
|
316 |
+ width: 100%; |
|
317 |
+ max-width: 75%; |
|
318 |
+ |
|
319 |
+ & + .box-lower--expand { |
|
320 |
+ padding-top: 2.25rem; |
|
321 |
+ } |
|
322 |
+ |
|
323 |
+ > .headline--wrapper > span.box--headline { |
|
324 |
+ color: var(--bs-body-color); |
|
325 |
+ @include font-size(22px); |
|
326 |
+ } |
|
327 |
+ } |
|
328 |
+ } |
|
329 |
+ |
|
330 |
+ .box-lower--expand { |
|
331 |
+ //padding-top: .75rem; |
|
332 |
+ min-height: rfs-value(42px); |
|
333 |
+ |
|
334 |
+ &.expandable { |
|
335 |
+ overflow: hidden; |
|
336 |
+ text-overflow: ellipsis; |
|
337 |
+ transition: all 0.75s cubic-bezier(0, 1, 0, 1); |
|
338 |
+ max-height: 42px; |
|
339 |
+ z-index: 20; |
|
340 |
+ display: -webkit-box; |
|
341 |
+ -webkit-line-clamp: 2; |
|
342 |
+ -webkit-box-orient: vertical; |
|
343 |
+ } |
|
344 |
+ |
|
345 |
+ &.hide-preview { |
|
346 |
+ max-height: 0px; |
|
347 |
+ min-height: 0px; |
|
348 |
+ overflow: hidden; |
|
349 |
+ padding: 0px; |
|
350 |
+ } |
|
351 |
+ |
|
352 |
+ .box--longtext { |
|
353 |
+ @include padding(0px 25px 0px 25px); |
|
354 |
+ |
|
355 |
+ &:last-child { |
|
356 |
+ padding-bottom: 0px; |
|
357 |
+ } |
|
358 |
+ |
|
359 |
+ iframe, embed { |
|
360 |
+ width: 100%; |
|
361 |
+ } |
|
362 |
+ |
|
363 |
+ &.p-0 { |
|
364 |
+ //line-height: 0; |
|
365 |
+ } |
|
366 |
+ } |
|
367 |
+ |
|
368 |
+ .button--wrapper { |
|
369 |
+ white-space: pre-line; |
|
370 |
+ text-align: center; |
|
371 |
+ @include padding(0px 25px 0px 25px); |
|
372 |
+ |
|
373 |
+ > .btn + .btn { |
|
374 |
+ margin-top: 0.75rem; |
|
375 |
+ } |
|
376 |
+ } |
|
377 |
+ } |
|
378 |
+ } |
|
379 |
+ |
|
380 |
+ &.with-link { |
|
381 |
+ &:hover { |
|
382 |
+ box-shadow: $box-shadow; |
|
383 |
+ |
|
384 |
+ .box-lower--expand { |
|
385 |
+ &.expandable { |
|
386 |
+ max-height: 800px; |
|
387 |
+ transition: all 1s ease-in-out; |
|
388 |
+ display: -webkit-box; |
|
389 |
+ -webkit-line-clamp: 99; |
|
390 |
+ //padding-bottom: rfs-value(15px); |
|
391 |
+ } |
|
392 |
+ } |
|
393 |
+ } |
|
394 |
+ } |
|
395 |
+ } |
|
396 |
+ } |
|
397 |
+ |
|
398 |
+ .linkboxModal { |
|
399 |
+ .modal-dialog { |
|
400 |
+ &.modal-xl, |
|
401 |
+ &.modal-lg { |
|
402 |
+ .modal-body { |
|
403 |
+ padding: 3rem 2.5rem 3rem 1.5rem; |
|
404 |
+ |
|
405 |
+ .btn--close { |
|
406 |
+ @include font-size(30px); |
|
407 |
+ } |
|
408 |
+ } |
|
409 |
+ } |
|
410 |
+ |
|
411 |
+ .flex-row-reverse { |
|
412 |
+ .image--wrapper .logo { |
|
413 |
+ left: 2rem; |
|
414 |
+ right: auto; |
|
415 |
+ } |
|
416 |
+ } |
|
417 |
+ |
|
418 |
+ .image--wrapper { |
|
419 |
+ position: relative; |
|
420 |
+ |
|
421 |
+ .logo { |
|
422 |
+ position: absolute; |
|
423 |
+ bottom: -1.5rem; |
|
424 |
+ right: 2rem; |
|
425 |
+ } |
|
426 |
+ } |
|
427 |
+ } |
|
428 |
+ } |
|
429 |
+} |
|
0 | 430 |
\ No newline at end of file |