Browse code

Update

Benjamin Roth authored on17/03/2023 09:52:56
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,825 @@
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
+
7
+@import "../../scss-variables";
8
+@import "../../_theme/variables-layout";
9
+
10
+html body {
11
+  .ce_rsce_twocolimagewall {
12
+    position: relative;
13
+
14
+    &.no-spacing {
15
+      margin-bottom: 0px !important;
16
+      margin-top: -$basic-gutter !important;
17
+    }
18
+
19
+    .container {
20
+      padding: 0 1rem
21
+    }
22
+
23
+    .content--col {
24
+      .kachel-column-width--indicator {
25
+        left: 0;
26
+        top: 0;
27
+        bottom: 0;
28
+        right: 0;
29
+
30
+        .column-kachel--inner.with-hover-content {
31
+          margin: 0 0 0 auto;
32
+        }
33
+      }
34
+    }
35
+
36
+    .image--col {
37
+      .kachel-column-width--indicator {
38
+        right: 0;
39
+
40
+        .column-kachel--inner.with-hover-content {
41
+          margin: 0 auto 0 0;
42
+        }
43
+      }
44
+    }
45
+
46
+    .reverse-cols {
47
+      .content--col {
48
+        .kachel-column-width--indicator {
49
+          right: 0;
50
+        }
51
+      }
52
+
53
+      .image--col {
54
+        .kachel-column-width--indicator {
55
+          left: 0;
56
+        }
57
+      }
58
+    }
59
+
60
+    .boxed-headline {
61
+      text-align: center;
62
+      margin-left: auto;
63
+      margin-right: auto;
64
+      margin-top: -1.5rem;
65
+
66
+      @include media-breakpoint-up(md) {
67
+        white-space: nowrap;
68
+        margin-top: 0rem;
69
+        position: absolute;
70
+        transform: translate(-50%, -50%);
71
+        z-index: 15;
72
+        top: 0;
73
+      }
74
+
75
+      & + .content-col--inner {
76
+        @include media-breakpoint-up(md) {
77
+          //padding-top: rfs-value(140px); warum?
78
+        }
79
+      }
80
+
81
+      .headline--wrapper {
82
+        padding: 1.25rem 2rem;
83
+        background-color: $body-bg;
84
+        box-shadow: $box-shadow;
85
+
86
+        > * {
87
+          margin-bottom: 0px;
88
+          color: var(--bs-body-color);
89
+          //@include font-size(22px);
90
+          font-weight: $font-weight-normal;
91
+        }
92
+
93
+        .ce--subline {
94
+          margin-top: 0.5rem;
95
+          line-height: 1.25;
96
+        }
97
+      }
98
+    }
99
+
100
+    .kachel-column-width--indicator {
101
+      height: 100%;
102
+      max-width: none;
103
+
104
+      @include media-breakpoint-up(md) {
105
+        position: absolute;
106
+      }
107
+
108
+      .column-kachel--wrapper {
109
+        transition: all 0.5s ease;
110
+
111
+        @include media-breakpoint-up(md) {
112
+          width: rfs-value(200px);
113
+          height: rfs-value(200px);
114
+          position: absolute;
115
+        }
116
+
117
+        @include media-breakpoint-down(md) {
118
+          width: 100%;
119
+          height: 100%;
120
+        }
121
+
122
+        .column--kachel {
123
+          height: 100%;
124
+          width: 100%;
125
+          display: flex;
126
+          flex-flow: column wrap;
127
+          padding: 1.5rem;
128
+          transition: all 0.5s ease;
129
+          overflow: hidden;
130
+
131
+          @include media-breakpoint-up(md) {
132
+            width: rfs-value(200px);
133
+            height: rfs-value(200px);
134
+            position: absolute;
135
+          }
136
+
137
+          > a {
138
+            position: absolute;
139
+            top: 0;
140
+            left: 0;
141
+            width: 100%;
142
+            height: 100%;
143
+          }
144
+
145
+          .column-kachel--inner {
146
+            @include media-breakpoint-up(md) {
147
+              max-width: rfs-value(600px);
148
+            }
149
+
150
+            transition: all 0.5s ease;
151
+
152
+            > span {
153
+              display: block;
154
+              @include font-size(22px);
155
+            }
156
+
157
+            @include media-breakpoint-down(md) {
158
+              text-align: left !important;
159
+            }
160
+
161
+            .kachel-hover--content {
162
+              transition: all 0.5s ease;
163
+              @include media-breakpoint-up(md) {
164
+                opacity: 0;
165
+                height: 0px;
166
+                overflow: hidden;
167
+              }
168
+
169
+              .kachel--long-text {
170
+                margin-top: 2rem;
171
+                margin-bottom: 2rem;
172
+              }
173
+
174
+              .kachel--more-button {
175
+                position: relative;
176
+                z-index: 5;
177
+                margin-top: 2rem;
178
+              }
179
+            }
180
+          }
181
+        }
182
+      }
183
+
184
+      &.expandable:hover {
185
+        .column-kachel--wrapper {
186
+          width: 100%;
187
+          height: 100%;
188
+
189
+          .column--kachel {
190
+            width: 100%;
191
+            height: 100%;
192
+
193
+            .column-kachel--inner {
194
+              text-align: left !important;
195
+
196
+              @include media-breakpoint-up(md) {
197
+                padding: 2.5rem;
198
+              }
199
+
200
+              .kachel-hover--content {
201
+                opacity: 1;
202
+                height: auto;
203
+                overflow: visible;
204
+              }
205
+            }
206
+          }
207
+        }
208
+      }
209
+    }
210
+
211
+    .ce--inner {
212
+      .ce--imagetextwall--outer {
213
+        overflow: hidden;
214
+
215
+        &.with-spacing {
216
+          margin-bottom: $mini-spacing;
217
+        }
218
+
219
+        .ce--imagetextwall {
220
+          min-height: rfs-value(500px);
221
+          position: relative;
222
+          transition: background-color 0.3s ease-in-out;
223
+
224
+          &.with-boxed-image {
225
+            margin-top: calc($basic-gutter + 45px);
226
+          }
227
+
228
+          &.not-as-bg {
229
+            .image-col--inner {
230
+              display: flex;
231
+              flex-flow: column wrap;
232
+              justify-content: center;
233
+              text-align: center;
234
+
235
+              .image--wrapper {
236
+                max-height: 100%;
237
+
238
+                img {
239
+                  max-height: 100%;
240
+                  width: auto;
241
+                  max-width: 95%;
242
+                  height: auto;
243
+                }
244
+              }
245
+            }
246
+
247
+            &.with-border {
248
+              .image-col--inner .image--wrapper {
249
+                //max-height: calc(100% + 4rem);
250
+              }
251
+
252
+              .content--col,
253
+              .image--col {
254
+                //padding-top: 2rem;
255
+                //padding-bottom: 2rem;
256
+              }
257
+            }
258
+
259
+            > .container > .row > .content--col > .content-col--inner {
260
+              //padding-left: 0px;
261
+              //padding-right: 0px;
262
+            }
263
+          }
264
+
265
+          &.lazy {
266
+            .content--col {
267
+              &.with-bg {
268
+                .content-col--inner {
269
+                  padding-left: 1.75rem !important;
270
+                  padding-right: 1.75rem;
271
+                }
272
+              }
273
+            }
274
+          }
275
+
276
+          .content--col {
277
+            background-color: $body-bg;
278
+            transition: background-color 0.3s ease-in-out;
279
+
280
+            @include media-breakpoint-down(md) {
281
+              position: relative;
282
+            }
283
+
284
+            &.with-bg {
285
+              .content-col--inner {
286
+                @include media-breakpoint-up(md) {
287
+                  //padding-left: 1.75rem !important;
288
+                }
289
+
290
+                @include media-breakpoint-up(lg) {
291
+                  //padding-left: 0rem !important;
292
+                }
293
+              }
294
+            }
295
+
296
+            .content-col--image {
297
+              width: 100%;
298
+              height: 100%;
299
+              max-width: none;
300
+              left: 0;
301
+              top: 0;
302
+              transition: all 0.3s ease-in-out;
303
+              //min-height: rfs-value(200px);
304
+
305
+              @include media-breakpoint-up(md) {
306
+                position: absolute;
307
+              }
308
+            }
309
+          }
310
+
311
+          div.row:not(.formbody) {
312
+            //position: relative;
313
+            margin: 0px;
314
+
315
+            @include media-breakpoint-down(md) {
316
+              &:not(.align-items-center) {
317
+                flex-flow: column-reverse;
318
+              }
319
+            }
320
+
321
+            > div {
322
+              padding-left: 0px;
323
+              padding-right: 0px;
324
+            }
325
+
326
+            &:not(.only-text--right-col) {
327
+              .image--col,
328
+              .content--col {
329
+                @include media-breakpoint-up(md) {
330
+                  //min-height: rfs-value(425px);
331
+                }
332
+
333
+                @include media-breakpoint-up(xl) {
334
+                  //min-height: rfs-value(500px);
335
+                }
336
+              }
337
+            }
338
+
339
+            &.only-text--right-col {
340
+              @include media-breakpoint-up(md) {
341
+                align-items: flex-start !important;
342
+                .image--col,
343
+                .content--col {
344
+                  @include padding(75px 0px);
345
+
346
+                  .content-col--inner {
347
+                    padding-top: 0px;
348
+                    padding-bottom: 0px;
349
+                  }
350
+
351
+                  .image-col--extra-text {
352
+                    padding-left: 1.75rem;
353
+                    position: relative;
354
+                  }
355
+                }
356
+
357
+                .image-col--inner {
358
+                  background-color: transparent;
359
+                }
360
+
361
+                .content--col {
362
+                  background-color: transparent;
363
+                }
364
+              }
365
+            }
366
+
367
+            &.reverse-cols {
368
+              .boxed-headline {
369
+                @include media-breakpoint-up(md) {
370
+                  right: 25%;
371
+                }
372
+              }
373
+
374
+              .content--col.darkened-content::before {
375
+                right: 0;
376
+                left: auto;
377
+              }
378
+
379
+              @include media-breakpoint-up(md) {
380
+                flex-flow: row-reverse;
381
+
382
+                .content--col {
383
+                  .content-col--inner {
384
+                    padding: 3.5rem 0rem 3.5rem 5vw;
385
+                  }
386
+
387
+                  .content-col--image,
388
+                  .kachel-column-width--indicator {
389
+                    left: auto;
390
+                    right: 0;
391
+                  }
392
+
393
+                  &:hover .content-col--image {
394
+                    right: -2.5%;
395
+                    left: auto !important;
396
+                  }
397
+
398
+                  & + .image--col {
399
+                    &:hover {
400
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
401
+                        left: -2.5%;
402
+                        right: auto !important;
403
+                      }
404
+                    }
405
+                  }
406
+                }
407
+                .image--col {
408
+                  .image-col--inner {
409
+                    left: 0;
410
+                  }
411
+                }
412
+              }
413
+            }
414
+
415
+            &:not(.reverse-cols) {
416
+              .image--col .image-col--inner:not(.with-iframe) {
417
+                right: 0;
418
+              }
419
+            }
420
+
421
+            .image--col {
422
+              //z-index: 5;
423
+
424
+              @include media-breakpoint-down(md) {
425
+                margin-top: 1.5rem;
426
+                position: relative;
427
+
428
+                > div:not(.boxed-headline) {
429
+                  min-height: rfs-value(200px);
430
+                }
431
+              }
432
+
433
+              &.with-video {
434
+                min-height: 0px !important;
435
+
436
+                .image-col--inner {
437
+                  width: auto !important;
438
+                  position: relative;
439
+                  height: auto;
440
+                }
441
+              }
442
+
443
+              .image-col--inner {
444
+                //min-height: rfs-value(200px);
445
+                transition: all 0.3s ease-in-out;
446
+                //background-color: $body-bg;
447
+                //right: 0;
448
+                @include media-breakpoint-up(md) {
449
+                  height: 100%;
450
+                  position: absolute;
451
+                  top: 0;
452
+                }
453
+
454
+                .image--wrapper {
455
+                  //background-color: $body-bg;
456
+                }
457
+
458
+                iframe, embed {
459
+                  width: 100%;
460
+
461
+                  @include media-breakpoint-up(md) {
462
+                    //width: 70%;
463
+                    display: block;
464
+                    margin: 0 0 0 auto;
465
+                    height: 100%;
466
+                  }
467
+
468
+                  @include media-breakpoint-up(lg) {
469
+                    //width: 85%;
470
+                  }
471
+                }
472
+              }
473
+            }
474
+
475
+            .content--col {
476
+              z-index: 1;
477
+              //z-index: 10;
478
+              //position: relative;
479
+              flex-flow: column wrap;
480
+              @include media-breakpoint-up(md) {
481
+                flex-flow: row wrap;
482
+              }
483
+
484
+              &.darkened-content {
485
+                &:before {
486
+                  content: "";
487
+                  height: 100%;
488
+                  background-color: rgba(0, 0, 0, 0.5);
489
+                  position: absolute;
490
+                  left: 0;
491
+                }
492
+              }
493
+
494
+              @include media-breakpoint-up(md) {
495
+                &.col-md-6 {
496
+                  &:hover .content-col--image {
497
+                    height: 102.5%;
498
+                    width: calc(50vw + 2.5%) !important;
499
+                    left: -2.5%;
500
+                  }
501
+
502
+                  &.darkened-content {
503
+                    &:before {
504
+                      width: 50vw;
505
+                    }
506
+                  }
507
+
508
+                  .kachel-column-width--indicator,
509
+                  .content-col--image {
510
+                    width: 50vw;
511
+                  }
512
+
513
+                  & + .image--col {
514
+                    .kachel-column-width--indicator {
515
+                      width: 50vw;
516
+                    }
517
+
518
+                    &:hover .image-col--inner:not(.with-iframe):not(.with-video) {
519
+                      height: 102.5%;
520
+                      width: calc(50vw + 2.5%) !important;
521
+                      right: -2.5%;
522
+                    }
523
+
524
+                    .image-col--inner,
525
+                    .kachel-column-width--indicator {
526
+                      width: 50vw;
527
+                    }
528
+                  }
529
+
530
+                  &.spacing-between {
531
+                    &.darkened-content {
532
+                      &:before {
533
+                        width: calc(50vw - #{$mini-spacing});
534
+                      }
535
+                    }
536
+
537
+                    & + .image--col {
538
+                      &:hover
539
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
540
+                        width: calc(50vw + 2.5% - #{$mini-spacing}) !important;
541
+                        right: -2.5%;
542
+                      }
543
+
544
+                      .image-col--inner,
545
+                      .kachel-column-width--indicator {
546
+                        width: calc(50vw - #{$mini-spacing});
547
+                      }
548
+                    }
549
+                  }
550
+                }
551
+              }
552
+              @include media-breakpoint-up(lg) {
553
+                &.col-lg-9 {
554
+                  &:hover .content-col--image {
555
+                    height: 102.5%;
556
+                    width: calc(75vw + 2.5%) !important;
557
+                    left: -2.5%;
558
+                  }
559
+
560
+                  &.darkened-content {
561
+                    &:before {
562
+                      width: 75vw;
563
+                    }
564
+                  }
565
+
566
+                  .kachel-column-width--indicator,
567
+                  .content-col--image {
568
+                    width: 75vw;
569
+                  }
570
+
571
+                  & + .image--col {
572
+                    &:hover .image-col--inner:not(.with-iframe):not(.with-video) {
573
+                      height: 102.5%;
574
+                      width: calc(25vw + 2.5%) !important;
575
+                      right: -2.5%;
576
+                    }
577
+
578
+                    .image-col--inner,
579
+                    .kachel-column-width--indicator {
580
+                      width: 25vw;
581
+                    }
582
+                  }
583
+
584
+                  &.spacing-between {
585
+                    & + .image--col {
586
+                      &:hover
587
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
588
+                        width: calc(25vw + 2.5% - #{$mini-spacing}) !important;
589
+                        right: -2.5%;
590
+                      }
591
+
592
+                      .image-col--inner,
593
+                      .kachel-column-width--indicator {
594
+                        width: calc(25vw - #{$mini-spacing});
595
+                      }
596
+                    }
597
+                  }
598
+                }
599
+
600
+                &.col-lg-8 {
601
+                  &:hover .content-col--image {
602
+                    height: 102.5%;
603
+                    width: calc(66.6666vw + 2.5%) !important;
604
+                    left: -2.5%;
605
+                  }
606
+
607
+                  &.darkened-content {
608
+                    &:before {
609
+                      width: 66.6666vw;
610
+                    }
611
+                  }
612
+
613
+                  .kachel-column-width--indicator,
614
+                  .content-col--image {
615
+                    width: 66.6666vw;
616
+                  }
617
+
618
+                  & + .image--col {
619
+                    &:hover .image-col--inner:not(.with-iframe):not(.with-video) {
620
+                      height: 102.5%;
621
+                      width: calc(33.333vw + 2.5%) !important;
622
+                      right: -2.5%;
623
+                    }
624
+
625
+                    .image-col--inner,
626
+                    .kachel-column-width--indicator {
627
+                      width: 33.333vw;
628
+                    }
629
+                  }
630
+
631
+                  &.spacing-between {
632
+                    & + .image--col {
633
+                      &:hover
634
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
635
+                        width: calc(
636
+                                33.333vw + 2.5% - #{$mini-spacing}
637
+                        ) !important;
638
+                        right: -2.5%;
639
+                      }
640
+
641
+                      .image-col--inner,
642
+                      .kachel-column-width--indicator {
643
+                        width: calc(33.333vw - #{$mini-spacing});
644
+                      }
645
+                    }
646
+                  }
647
+                }
648
+
649
+                &.col-lg-7 {
650
+                  &:hover .content-col--image {
651
+                    height: 102.5%;
652
+                    width: calc(58.333vw + 2.5%) !important;
653
+                    left: -2.5%;
654
+                  }
655
+
656
+                  &.darkened-content {
657
+                    &:before {
658
+                      width: 58.333vw;
659
+                    }
660
+                  }
661
+
662
+                  .kachel-column-width--indicator,
663
+                  .content-col--image {
664
+                    width: 58.333vw;
665
+                  }
666
+
667
+                  & + .image--col {
668
+                    &:hover .image-col--inner:not(.with-iframe):not(.with-video) {
669
+                      height: 102.5%;
670
+                      width: calc(41.777vw + 2.5%) !important;
671
+                      right: -2.5%;
672
+                    }
673
+
674
+                    .image-col--inner,
675
+                    .kachel-column-width--indicator {
676
+                      width: 41.777vw;
677
+                    }
678
+                  }
679
+
680
+                  &.spacing-between {
681
+                    & + .image--col {
682
+                      &:hover
683
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
684
+                        width: calc(
685
+                                41.777vw + 2.5% - #{$mini-spacing}
686
+                        ) !important;
687
+                        right: -2.5%;
688
+                      }
689
+
690
+                      .image-col--inner,
691
+                      .kachel-column-width--indicator {
692
+                        width: calc(41.777vw - #{$mini-spacing});
693
+                      }
694
+                    }
695
+                  }
696
+                }
697
+
698
+                &.col-lg-5 {
699
+                  &:hover .content-col--image {
700
+                    height: 102.5%;
701
+                    width: calc(41.666vw + 2.5%) !important;
702
+                    left: -2.5%;
703
+                  }
704
+
705
+                  &.darkened-content {
706
+                    &:before {
707
+                      width: 41.666vw;
708
+                    }
709
+                  }
710
+
711
+                  .kachel-column-width--indicator,
712
+                  .content-col--image {
713
+                    width: 41.666vw;
714
+                  }
715
+
716
+                  & + .image--col {
717
+                    &:hover .image-col--inner:not(.with-iframe):not(.with-video) {
718
+                      height: 102.5%;
719
+                      width: calc(58.444vw + 2.5%) !important;
720
+                      right: -2.5%;
721
+                    }
722
+
723
+                    .image-col--inner,
724
+                    .kachel-column-width--indicator {
725
+                      width: 58.444vw;
726
+                    }
727
+                  }
728
+
729
+                  &.spacing-between {
730
+                    & + .image--col {
731
+                      &:hover
732
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
733
+                        width: calc(
734
+                                58.444vw + 2.5% - #{$mini-spacing}
735
+                        ) !important;
736
+                        right: -2.5%;
737
+                      }
738
+
739
+                      .image-col--inner,
740
+                      .kachel-column-width--indicator {
741
+                        width: calc(58.444vw - #{$mini-spacing});
742
+                      }
743
+                    }
744
+                  }
745
+                }
746
+
747
+                &.col-lg-4 {
748
+                  &:hover .content-col--image {
749
+                    height: 102.5%;
750
+                    width: calc(33.333vw + 2.5%) !important;
751
+                    left: -2.5%;
752
+                  }
753
+
754
+                  &.darkened-content {
755
+                    &:before {
756
+                      width: 33.333vw;
757
+                    }
758
+                  }
759
+
760
+                  .kachel-column-width--indicator,
761
+                  .content-col--image {
762
+                    width: 33.333vw;
763
+                  }
764
+
765
+                  & + .image--col {
766
+                    &:hover .image-col--inner:not(.with-iframe):not(.with-video) {
767
+                      height: 102.5%;
768
+                      width: calc(66.666vw + 2.5%) !important;
769
+                      right: -2.5%;
770
+                    }
771
+
772
+                    .image-col--inner,
773
+                    .kachel-column-width--indicator {
774
+                      width: 62vw;
775
+                    }
776
+                  }
777
+
778
+                  &.spacing-between {
779
+                    & + .image--col {
780
+                      &:hover
781
+                      .image-col--inner:not(.with-iframe):not(.with-video) {
782
+                        width: calc(
783
+                                66.666vw + 2.5% - #{$mini-spacing}
784
+                        ) !important;
785
+                        right: -2.5%;
786
+                      }
787
+
788
+                      .image-col--inner,
789
+                      .kachel-column-width--indicator {
790
+                        width: calc(66.666vw - #{$mini-spacing});
791
+                      }
792
+                    }
793
+                  }
794
+                }
795
+              }
796
+
797
+              .content-col--inner {
798
+                padding: 1.5rem 1.75rem 1rem 0;
799
+                position: relative;
800
+                z-index: 7;
801
+                width: 100%;
802
+
803
+                @include media-breakpoint-up(md) {
804
+                  padding: 3.5rem 3.5rem 3.5rem 0;
805
+                }
806
+
807
+                @include media-breakpoint-up(lg) {
808
+                  padding: 3.5rem 1.5rem 3.5rem 0;
809
+                }
810
+
811
+                .content-col--headline-wrapper {
812
+                  .content-col--headline {
813
+                    display: block;
814
+                  }
815
+                }
816
+              }
817
+            }
818
+          }
819
+        }
820
+      }
821
+    }
822
+  }
823
+}
824
+
825
+