Commit | Line | Data |
---|---|---|
bb6ef47e MW |
1 | /* default styling for all boxes */ |
2 | .box { | |
3 | box-sizing: border-box; | |
4 | } | |
5 | ||
6 | .boxImage { | |
7 | img { | |
8 | max-width: 100%; | |
9 | } | |
10 | } | |
11 | ||
12 | .boxTitle { | |
5908f54f | 13 | @include wcfFontHeadline; |
bb6ef47e MW |
14 | |
15 | & + .boxContent { | |
95961bdf MW |
16 | margin-top: 20px; |
17 | } | |
18 | ||
19 | .badge { | |
20 | top: -2px; | |
bb6ef47e MW |
21 | } |
22 | } | |
23 | ||
24 | .boxContent { | |
0b6161c6 MW |
25 | & + .boxContent { |
26 | margin-top: 20px; | |
27 | } | |
28 | } | |
29 | ||
30 | .boxContent { | |
bb6ef47e | 31 | & + .boxTitle { |
b4e94f83 | 32 | margin-top: 30px; |
bb6ef47e MW |
33 | } |
34 | } | |
35 | ||
0b6161c6 MW |
36 | .boxContentSeparator { |
37 | background: $wcfContentBorderInner; | |
38 | border: 0; | |
39 | height: 1px; | |
40 | margin: 30px auto; | |
41 | width: 60%; | |
42 | } | |
43 | ||
bb6ef47e MW |
44 | /* styling for boxes in <hero> position */ |
45 | .boxesHero { | |
fd94097c MW |
46 | .boxContainer { |
47 | @include screen-md-down { | |
48 | padding: 40px 0; | |
49 | } | |
50 | ||
51 | @include screen-lg { | |
52 | padding: 60px 0; | |
53 | } | |
54 | } | |
55 | ||
bb6ef47e | 56 | .box { |
bb6ef47e | 57 | text-align: center; |
fd94097c MW |
58 | |
59 | &:not(:last-child) { | |
60 | @include screen-md-down { | |
61 | margin-bottom: 40px; | |
62 | } | |
63 | ||
64 | @include screen-lg { | |
65 | margin-bottom: 60px; | |
66 | } | |
c5dd767e | 67 | } |
bb6ef47e MW |
68 | } |
69 | ||
70 | .boxTitle { | |
5908f54f | 71 | @include wcfFontTitle; |
bb6ef47e MW |
72 | } |
73 | ||
74 | .boxWithImage { | |
75 | display: flex; | |
76 | flex-wrap: wrap; | |
77 | ||
78 | .boxImage, | |
79 | .boxTitle, | |
80 | .boxContent { | |
81 | flex: 0 0 100%; | |
82 | } | |
83 | ||
84 | .boxImage { | |
fd94097c MW |
85 | align-items: center; |
86 | display: flex; | |
87 | justify-content: center; | |
88 | max-height: 750px; | |
bb6ef47e | 89 | order: 3; |
fd94097c MW |
90 | overflow: hidden; |
91 | ||
92 | @include screen-md-down { | |
93 | margin-top: 20px; | |
94 | } | |
95 | ||
96 | @include screen-lg { | |
97 | margin-top: 30px; | |
98 | } | |
bb6ef47e MW |
99 | } |
100 | } | |
101 | } | |
102 | ||
103 | /* styling for boxes in <headerBoxes> position */ | |
104 | .boxesHeaderBoxes { | |
0b6161c6 MW |
105 | background-color: $wcfFooterBoxBackground; |
106 | color: $wcfFooterBoxText; | |
107 | ||
108 | a { | |
109 | color: $wcfFooterBoxLink; | |
110 | ||
111 | &:hover { | |
112 | color: $wcfFooterBoxLinkActive; | |
0b6161c6 MW |
113 | } |
114 | } | |
115 | ||
116 | .icon { | |
8b59f5ea | 117 | color: $wcfFooterBoxText; |
0b6161c6 | 118 | } |
bb6ef47e | 119 | |
c734a302 | 120 | .boxContainer { |
fd94097c | 121 | @include screen-sm-up { |
0b6161c6 MW |
122 | display: flex; |
123 | flex-wrap: wrap; | |
fd94097c MW |
124 | } |
125 | ||
126 | @include screen-md-down { | |
0b6161c6 | 127 | padding: 40px 0; |
fd94097c | 128 | margin-bottom: -40px; |
7102d090 AE |
129 | margin-left: -10px; |
130 | margin-right: -10px; | |
fd94097c MW |
131 | } |
132 | ||
133 | @include screen-lg { | |
134 | padding: 60px 0; | |
135 | margin-bottom: -60px; | |
7102d090 AE |
136 | margin-left: -15px; |
137 | margin-right: -15px; | |
0b6161c6 | 138 | } |
bb6ef47e MW |
139 | } |
140 | ||
141 | .box { | |
95961bdf | 142 | overflow: hidden; |
fd94097c MW |
143 | padding-left: 15px; |
144 | padding-right: 15px; | |
95961bdf | 145 | |
fd94097c MW |
146 | @include screen-md-down { |
147 | margin-bottom: 40px; | |
148 | } | |
149 | ||
150 | @include screen-sm-md { | |
151 | flex: 0 0 50%; | |
ce280017 | 152 | max-width: 50%; |
fd94097c MW |
153 | |
154 | &.boxFullWidth { | |
155 | flex-basis: 100%; | |
2003a082 | 156 | max-width: 100%; |
fd94097c MW |
157 | } |
158 | ||
159 | /* one item */ | |
160 | &:first-child:nth-last-child(1) { | |
161 | flex-basis: 100%; | |
2003a082 | 162 | max-width: 100%; |
0b6161c6 | 163 | } |
bb6ef47e | 164 | } |
937f57cf | 165 | |
fd94097c | 166 | @include screen-lg { |
0b6161c6 | 167 | flex: 0 0 25%; |
fd94097c | 168 | margin-bottom: 60px; |
ce280017 | 169 | max-width: 25%; |
0b6161c6 MW |
170 | |
171 | &.boxFullWidth { | |
172 | flex-basis: 100%; | |
2003a082 | 173 | max-width: 100%; |
0b6161c6 MW |
174 | } |
175 | ||
176 | /* one item */ | |
177 | &:first-child:nth-last-child(1) { | |
178 | flex-basis: 100%; | |
2003a082 | 179 | max-width: 100%; |
0b6161c6 MW |
180 | } |
181 | ||
182 | /* two items */ | |
183 | &:first-child:nth-last-child(2), | |
184 | &:first-child:nth-last-child(2) ~ .box { | |
185 | flex-basis: 50%; | |
ce280017 | 186 | max-width: 50%; |
0b6161c6 MW |
187 | } |
188 | ||
189 | /* three items */ | |
190 | &:first-child:nth-last-child(3), | |
191 | &:first-child:nth-last-child(3) ~ .box { | |
192 | flex-basis: 33.3333%; | |
ce280017 | 193 | max-width: 33.3333%; |
0b6161c6 | 194 | } |
937f57cf | 195 | } |
bb6ef47e MW |
196 | } |
197 | ||
198 | .boxImage { | |
fd94097c MW |
199 | align-items: center; |
200 | display: flex; | |
201 | justify-content: center; | |
202 | margin-bottom: 20px; | |
203 | max-height: 100px; | |
204 | overflow: hidden; | |
bb6ef47e MW |
205 | } |
206 | } | |
207 | ||
208 | /* styling for boxes in <top>/<bottom> position */ | |
209 | .boxesTop, | |
210 | .boxesBottom { | |
bb6ef47e | 211 | .box { |
fd94097c MW |
212 | @include screen-md-down { |
213 | margin-bottom: 40px; | |
214 | margin-top: 40px; | |
215 | } | |
216 | ||
217 | @include screen-lg { | |
218 | margin-bottom: 60px; | |
219 | margin-top: 60px; | |
220 | } | |
bb6ef47e MW |
221 | } |
222 | ||
10ff3d63 MW |
223 | .boxTitle { |
224 | color: $wcfContentHeadlineText; | |
225 | ||
5908f54f | 226 | @include wcfFontSection; |
10ff3d63 MW |
227 | |
228 | a { | |
229 | color: $wcfContentHeadlineLink; | |
230 | ||
231 | &:hover { | |
232 | color: $wcfContentHeadlineLinkActive; | |
233 | } | |
234 | } | |
235 | } | |
236 | ||
fd94097c MW |
237 | @include screen-xs { |
238 | .boxImage { | |
239 | align-items: center; | |
240 | display: flex; | |
241 | justify-content: center; | |
242 | margin-bottom: 20px; | |
243 | max-height: 100px; | |
244 | overflow: hidden; | |
bb6ef47e MW |
245 | } |
246 | } | |
247 | ||
fd94097c MW |
248 | @include screen-sm-up { |
249 | .boxImage { | |
250 | width: 30%; | |
251 | } | |
252 | ||
253 | .boxWithImage { | |
254 | @include clearfix; | |
255 | ||
256 | &:nth-child(odd) { | |
257 | .boxImage { | |
258 | float: left; | |
259 | } | |
fd94097c MW |
260 | } |
261 | ||
262 | &:nth-child(even) { | |
263 | .boxImage { | |
264 | float: right; | |
265 | } | |
6eadc178 MW |
266 | } |
267 | } | |
268 | } | |
269 | ||
270 | @include screen-sm-md { | |
271 | .boxWithImage { | |
272 | &:nth-child(odd) { | |
273 | .boxImage { | |
274 | margin: 0 10px 10px 0; | |
275 | } | |
276 | } | |
277 | ||
278 | &:nth-child(even) { | |
279 | .boxImage { | |
280 | margin: 0 0 10px 10px; | |
281 | } | |
282 | } | |
283 | } | |
284 | } | |
285 | ||
286 | @include screen-lg { | |
287 | .boxWithImage { | |
288 | &:nth-child(odd) { | |
289 | .boxImage { | |
290 | margin: 0 20px 20px 0; | |
291 | } | |
292 | } | |
293 | ||
294 | &:nth-child(even) { | |
295 | .boxImage { | |
296 | margin: 0 0 20px 20px; | |
fd94097c MW |
297 | } |
298 | } | |
299 | } | |
c5dd767e | 300 | } |
bb6ef47e MW |
301 | } |
302 | ||
303 | .boxesTop { | |
304 | border-bottom: 1px solid $wcfContentBorderInner; | |
c5dd767e MS |
305 | } |
306 | ||
bb6ef47e MW |
307 | .boxesBottom { |
308 | border-top: 1px solid $wcfContentBorderInner; | |
309 | } | |
310 | ||
311 | /* styling for boxes in <sidebarLeft>/<sidebarRight> position */ | |
312 | .boxesSidebarLeft, | |
313 | .boxesSidebarRight { | |
314 | color: $wcfSidebarText; | |
315 | ||
316 | a { | |
317 | color: $wcfSidebarLink; | |
318 | ||
bb6ef47e MW |
319 | &:hover { |
320 | color: $wcfSidebarLinkActive; | |
8b59f5ea | 321 | |
bb6ef47e MW |
322 | } |
323 | } | |
324 | ||
e4c07d67 AE |
325 | > .boxContainer { |
326 | @include screen-sm { | |
327 | -webkit-columns: 2; | |
328 | -moz-columns: 2; | |
329 | columns: 2; | |
330 | } | |
331 | ||
332 | @include screen-md { | |
333 | -webkit-columns: 3; | |
334 | -moz-columns: 3; | |
335 | columns: 3; | |
336 | } | |
337 | ||
338 | @include screen-sm-md { | |
fdf34eae | 339 | margin-bottom: -30px; |
e4c07d67 AE |
340 | |
341 | -webkit-column-gap: 30px; | |
342 | -moz-column-gap: 30px; | |
343 | column-gap: 30px; | |
344 | ||
345 | > .box { | |
346 | /* Sections should never be split, but Firefox, IE and Edge don't seem | |
347 | to care about this despite advertising the support for it. We can work | |
348 | around this by using `overflow: hidden` which magically does the job, | |
349 | but doesn't affect Chrome which properly breaks anyway. */ | |
350 | overflow: hidden; /* Fix for Firefox, IE and Edge */ | |
351 | ||
352 | // WebKit fix | |
fdf34eae AE |
353 | background-clip: padding-box; |
354 | border-bottom: 30px solid transparent; | |
355 | display: block; | |
356 | margin: 0 !important; | |
e4c07d67 AE |
357 | width: 100%; |
358 | ||
359 | -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */ | |
360 | page-break-inside: avoid; /* Firefox */ | |
361 | break-inside: avoid; /* IE 10+ */ | |
362 | } | |
363 | } | |
364 | } | |
365 | ||
8b59f5ea MW |
366 | .icon { |
367 | color: $wcfSidebarText; | |
368 | } | |
369 | ||
bb6ef47e MW |
370 | small, |
371 | .dimmed { | |
372 | color: $wcfSidebarDimmedText; | |
373 | ||
374 | a { | |
375 | color: $wcfSidebarDimmedLink; | |
376 | ||
377 | &:hover { | |
378 | color: $wcfSidebarDimmedLinkActive; | |
379 | } | |
380 | } | |
381 | } | |
382 | ||
e9f3957f | 383 | .boxTitle { |
d3925b67 | 384 | color: $wcfSidebarHeadlineText; |
e9f3957f | 385 | |
d3925b67 MW |
386 | a { |
387 | color: $wcfSidebarHeadlineLink; | |
388 | ||
389 | &:hover { | |
390 | color: $wcfSidebarHeadlineLinkActive; | |
391 | ||
392 | } | |
e9f3957f MW |
393 | } |
394 | } | |
395 | ||
bb6ef47e | 396 | .box { |
0e8421c9 MW |
397 | &:not(.boxBorderless) { |
398 | background-color: $wcfSidebarBackground; | |
0e8421c9 | 399 | |
f216765b AE |
400 | @include screen-md-down { |
401 | padding: 20px 10px; | |
63e2f52f AE |
402 | |
403 | .boxMenu { | |
f216765b AE |
404 | margin-left: -10px; |
405 | margin-right: -10px; | |
63e2f52f AE |
406 | } |
407 | } | |
408 | ||
f216765b AE |
409 | @include screen-lg { |
410 | padding: 20px; | |
63e2f52f AE |
411 | |
412 | .boxMenu { | |
f216765b AE |
413 | margin-left: -20px; |
414 | margin-right: -20px; | |
63e2f52f | 415 | } |
0e8421c9 MW |
416 | } |
417 | } | |
bb6ef47e MW |
418 | |
419 | &:not(:first-child) { | |
95961bdf | 420 | margin-top: 30px; |
bb6ef47e | 421 | } |
487db634 | 422 | |
77fc8c83 MW |
423 | &.boxError, |
424 | &.boxInfo, | |
425 | &.boxSuccess, | |
426 | &.boxWarning { | |
427 | a:not(.button) { | |
428 | @include wcfFontBold; | |
429 | ||
430 | &:hover { | |
431 | text-decoration: underline; | |
432 | } | |
433 | } | |
434 | } | |
435 | ||
487db634 MW |
436 | &.boxError { |
437 | background-color: $wcfStatusErrorBackground; | |
438 | color: $wcfStatusErrorText; | |
77fc8c83 MW |
439 | |
440 | a:not(.button) { | |
441 | color: $wcfStatusErrorLink; | |
442 | ||
443 | &:hover { | |
444 | color: $wcfStatusErrorLinkActive; | |
445 | } | |
446 | } | |
487db634 MW |
447 | } |
448 | ||
449 | &.boxInfo { | |
450 | background-color: $wcfStatusInfoBackground; | |
451 | color: $wcfStatusInfoText; | |
77fc8c83 MW |
452 | |
453 | a:not(.button) { | |
454 | color: $wcfStatusInfoLink; | |
455 | ||
456 | &:hover { | |
457 | color: $wcfStatusInfoLinkActive; | |
458 | } | |
459 | } | |
487db634 MW |
460 | } |
461 | ||
462 | &.boxSuccess { | |
463 | background-color: $wcfStatusSuccessBackground; | |
464 | color: $wcfStatusSuccessText; | |
77fc8c83 MW |
465 | |
466 | a:not(.button) { | |
467 | color: $wcfStatusSuccessLink; | |
468 | ||
469 | &:hover { | |
470 | color: $wcfStatusSuccessLinkActive; | |
471 | } | |
472 | } | |
487db634 MW |
473 | } |
474 | ||
475 | &.boxWarning { | |
476 | background-color: $wcfStatusWarningBackground; | |
477 | color: $wcfStatusWarningText; | |
77fc8c83 MW |
478 | |
479 | a:not(.button) { | |
480 | color: $wcfStatusWarningLink; | |
481 | ||
482 | &:hover { | |
483 | color: $wcfStatusWarningLinkActive; | |
484 | } | |
485 | } | |
487db634 | 486 | } |
0e8421c9 MW |
487 | |
488 | .boxMenu { | |
489 | .boxMenuLink { | |
47115034 MW |
490 | align-items: flex-start; |
491 | display: flex; | |
0e8421c9 MW |
492 | padding: 5px 20px; |
493 | ||
47115034 MW |
494 | .boxMenuLinkTitle { |
495 | flex: 1 1 auto; | |
496 | } | |
497 | ||
0e8421c9 | 498 | .badge { |
47115034 | 499 | flex: 0 0 auto; |
0e8421c9 MW |
500 | } |
501 | } | |
502 | ||
503 | li.active > .boxMenuLink { | |
504 | background-color: $wcfContentBackground; | |
4bfb0428 AE |
505 | color: $wcfContentLink; |
506 | ||
507 | &:hover { | |
508 | color: $wcfContentLinkActive; | |
509 | } | |
0e8421c9 MW |
510 | } |
511 | ||
512 | .boxMenuDepth1 .boxMenuLink { | |
513 | padding-left: 40px; | |
514 | } | |
515 | ||
516 | .boxMenuDepth2 .boxMenuLink { | |
517 | padding-left: 60px; | |
518 | } | |
fcc81f3e MW |
519 | |
520 | .boxMenuItem .boxMenuLink { | |
521 | padding-left: 100px; | |
522 | } | |
523 | ||
524 | .boxMenuItemDepth1 .boxMenuLink { | |
525 | padding-left: 20px; | |
526 | } | |
527 | ||
528 | .boxMenuItemDepth2 .boxMenuLink { | |
529 | padding-left: 40px; | |
530 | } | |
531 | ||
532 | .boxMenuItemDepth3 .boxMenuLink { | |
533 | padding-left: 60px; | |
534 | } | |
535 | ||
536 | .boxMenuItemDepth4 .boxMenuLink { | |
537 | padding-left: 80px; | |
538 | } | |
0e8421c9 | 539 | } |
bb6ef47e MW |
540 | } |
541 | ||
fd94097c MW |
542 | @include screen-xs { |
543 | .boxImage { | |
544 | align-items: center; | |
545 | display: flex; | |
546 | justify-content: center; | |
547 | margin-bottom: 20px; | |
548 | max-height: 100px; | |
549 | overflow: hidden; | |
bb6ef47e MW |
550 | } |
551 | } | |
552 | ||
fd94097c MW |
553 | @include screen-sm-md { |
554 | .boxWithImage { | |
555 | @include clearfix; | |
556 | ||
557 | .boxTitle, | |
558 | .boxContent { | |
559 | margin-left: calc(30% + 15px); | |
560 | } | |
561 | } | |
562 | ||
563 | .boxImage { | |
564 | float: left; | |
565 | width: 30%; | |
566 | } | |
bb6ef47e | 567 | } |
fd94097c MW |
568 | |
569 | @include screen-lg { | |
570 | .boxImage { | |
571 | align-items: center; | |
572 | display: flex; | |
573 | justify-content: center; | |
574 | margin-bottom: 20px; | |
575 | max-height: 100px; | |
576 | overflow: hidden; | |
577 | } | |
c5dd767e | 578 | } |
bb6ef47e MW |
579 | } |
580 | ||
ebfd2847 MW |
581 | .boxesSidebarLeft .box .boxMenu { |
582 | li.active > .boxMenuLink { | |
583 | margin-left: 10px; | |
584 | padding-left: 10px; | |
585 | } | |
586 | ||
587 | .boxMenuDepth1 li.active > .boxMenuLink { | |
588 | padding-left: 30px; | |
589 | } | |
590 | ||
591 | .boxMenuDepth2 li.active > .boxMenuLink { | |
592 | padding-left: 50px; | |
593 | } | |
cb49ffdb AE |
594 | } |
595 | ||
596 | .boxesSidebarRight .box .boxMenu li.active > .boxMenuLink { | |
597 | margin-right: 10px; | |
598 | padding-right: 10px; | |
599 | } | |
600 | ||
c5ea84f0 | 601 | @include screen-xs { |
66bc953d AE |
602 | .main > .layoutBoundary { |
603 | display: flex; | |
604 | flex-wrap: wrap; | |
605 | ||
606 | > .content { | |
607 | flex: 0 0 100%; | |
608 | order: 3; | |
609 | } | |
610 | ||
611 | > .boxesSidebarLeft { | |
612 | order: 1; | |
613 | } | |
614 | ||
615 | > .boxesSidebarRight { | |
616 | order: 2; | |
617 | } | |
618 | } | |
619 | ||
c5ea84f0 AE |
620 | .boxesSidebarLeft, |
621 | .boxesSidebarRight { | |
66bc953d | 622 | flex: 1 0 100%; |
c5ea84f0 AE |
623 | pointer-events: none; |
624 | ||
625 | > .boxContainer { | |
626 | pointer-events: all; | |
627 | } | |
628 | ||
66bc953d AE |
629 | &:not(.open) { |
630 | flex: 1 50%; | |
631 | ||
632 | > .boxContainer { | |
633 | display: none; | |
634 | } | |
c5ea84f0 AE |
635 | } |
636 | ||
637 | &::before { | |
638 | background-color: $wcfSidebarBackground; | |
639 | color: $wcfSidebarLink; | |
c5ea84f0 AE |
640 | content: attr(data-show-sidebar); |
641 | display: block; | |
642 | padding: 10px 0; | |
643 | pointer-events: all; | |
644 | text-align: center; | |
645 | } | |
646 | ||
647 | &.open::before { | |
648 | content: attr(data-hide-sidebar); | |
649 | margin-bottom: 20px; | |
650 | } | |
651 | } | |
652 | ||
653 | .boxesSidebarLeft.boxesSidebarLeftHasMenu { | |
654 | &::before { | |
655 | content: attr(data-show-navigation); | |
656 | } | |
657 | ||
658 | &.open::before { | |
659 | content: attr(data-hide-navigation); | |
660 | } | |
661 | } | |
66bc953d AE |
662 | |
663 | .boxesSidebarLeft:not(.open) + .content + .boxesSidebarRight:not(.open) { | |
664 | border-left: 1px solid $wcfContentBackground; | |
665 | margin-left: 10px; | |
666 | margin-top: 0; | |
667 | } | |
668 | ||
669 | .content:first-child + .boxesSidebarRight { | |
670 | margin-bottom: 20px; | |
671 | margin-top: 0; | |
672 | } | |
c5ea84f0 AE |
673 | } |
674 | ||
bb6ef47e MW |
675 | /* styling for boxes in <contentTop>/<contentBottom> position */ |
676 | .boxesContentTop, | |
677 | .boxesContentBottom { | |
bb6ef47e MW |
678 | .box { |
679 | &:not(:first-child) { | |
10ff3d63 | 680 | margin-top: 40px; |
bb6ef47e MW |
681 | } |
682 | } | |
683 | ||
72a7f9cd MW |
684 | .boxTitle { |
685 | color: $wcfContentHeadlineText; | |
686 | ||
5908f54f | 687 | @include wcfFontSection; |
fd94097c | 688 | |
72a7f9cd MW |
689 | a { |
690 | color: $wcfContentHeadlineLink; | |
691 | ||
692 | &:hover { | |
693 | color: $wcfContentHeadlineLinkActive; | |
694 | } | |
695 | } | |
696 | } | |
697 | ||
bc29a383 MW |
698 | .boxInfo { |
699 | background-color: $wcfStatusInfoBackground; | |
700 | color: $wcfStatusInfoText; | |
701 | padding: 20px; | |
702 | text-align: center; | |
703 | ||
704 | a:not(.button) { | |
705 | color: $wcfStatusInfoLink; | |
706 | ||
707 | @include wcfFontBold; | |
708 | ||
709 | &:hover { | |
710 | color: $wcfStatusInfoLinkActive; | |
711 | text-decoration: underline; | |
712 | } | |
713 | } | |
714 | ||
715 | .formSubmit { | |
716 | margin-top: 20px; | |
717 | } | |
718 | } | |
719 | ||
fd94097c MW |
720 | @include screen-xs { |
721 | .boxImage { | |
722 | align-items: center; | |
723 | display: flex; | |
724 | justify-content: center; | |
725 | margin-bottom: 20px; | |
726 | max-height: 100px; | |
727 | overflow: hidden; | |
728 | } | |
bb6ef47e | 729 | } |
fd94097c MW |
730 | |
731 | @include screen-sm-up { | |
732 | .boxWithImage { | |
733 | @include clearfix; | |
fd94097c MW |
734 | } |
735 | ||
736 | .boxImage { | |
737 | float: left; | |
738 | width: 30%; | |
739 | } | |
c5dd767e | 740 | } |
6eadc178 MW |
741 | |
742 | @include screen-sm-md { | |
743 | .boxImage { | |
744 | margin: 0 10px 10px 0; | |
745 | } | |
746 | } | |
747 | ||
748 | @include screen-lg { | |
749 | .boxImage { | |
750 | margin: 0 20px 20px 0; | |
751 | } | |
752 | } | |
bb6ef47e MW |
753 | } |
754 | ||
0b6161c6 MW |
755 | .boxesContentTop:not(:first-child) { |
756 | margin-top: 40px; | |
bb6ef47e MW |
757 | } |
758 | ||
759 | .boxesContentBottom { | |
10ff3d63 | 760 | margin-top: 40px; |
bb6ef47e MW |
761 | } |
762 | ||
763 | /* styling for boxes in <footerBoxes> position */ | |
764 | .boxesFooterBoxes { | |
765 | background-color: $wcfFooterBoxBackground; | |
766 | color: $wcfFooterBoxText; | |
bb6ef47e MW |
767 | |
768 | a { | |
769 | color: $wcfFooterBoxLink; | |
770 | ||
bb6ef47e MW |
771 | &:hover { |
772 | color: $wcfFooterBoxLinkActive; | |
bb6ef47e MW |
773 | } |
774 | } | |
775 | ||
776 | .icon { | |
777 | color: $wcfFooterBoxText; | |
778 | } | |
779 | ||
c734a302 | 780 | .boxContainer { |
f216765b | 781 | @include screen-sm-down { |
fd94097c | 782 | padding: 40px 0; |
f216765b AE |
783 | } |
784 | ||
7102d090 AE |
785 | @include screen-md-down { |
786 | margin-left: -10px; | |
787 | margin-right: -10px; | |
788 | } | |
789 | ||
f216765b | 790 | @include screen-md-up { |
63e2f52f AE |
791 | display: flex; |
792 | flex-wrap: wrap; | |
fd94097c MW |
793 | margin-bottom: -60px; |
794 | padding: 60px 0; | |
c3d0938e | 795 | } |
7102d090 AE |
796 | |
797 | @include screen-lg { | |
798 | margin-left: -15px; | |
799 | margin-right: -15px; | |
800 | } | |
bb6ef47e MW |
801 | } |
802 | ||
803 | .box { | |
95961bdf | 804 | overflow: hidden; |
fd94097c MW |
805 | padding-left: 15px; |
806 | padding-right: 15px; | |
bb6ef47e | 807 | |
f216765b | 808 | @include screen-sm-down { |
fd94097c MW |
809 | &:not(:last-child) { |
810 | margin-bottom: 40px; | |
c5dd767e | 811 | } |
f216765b AE |
812 | } |
813 | ||
814 | @include screen-md-up { | |
63e2f52f | 815 | flex: 0 0 50%; |
fd94097c | 816 | margin-bottom: 60px; |
ce280017 | 817 | max-width: 50%; |
63e2f52f AE |
818 | |
819 | &.boxFullWidth { | |
820 | flex-basis: 100%; | |
2003a082 | 821 | max-width: 100%; |
63e2f52f AE |
822 | } |
823 | } | |
bb6ef47e MW |
824 | } |
825 | ||
72a7f9cd MW |
826 | .boxTitle { |
827 | color: $wcfFooterBoxHeadlineText; | |
828 | ||
829 | a { | |
830 | color: $wcfFooterBoxHeadlineLink; | |
831 | ||
832 | &:hover { | |
833 | color: $wcfFooterBoxHeadlineLinkActive; | |
834 | } | |
835 | } | |
836 | } | |
837 | ||
bb6ef47e | 838 | .boxImage { |
fd94097c MW |
839 | align-items: center; |
840 | display: flex; | |
841 | justify-content: center; | |
842 | margin-bottom: 20px; | |
843 | max-height: 100px; | |
844 | overflow: hidden; | |
bb6ef47e MW |
845 | } |
846 | } | |
847 | ||
848 | /* styling for boxes in <footer> position */ | |
849 | .boxesFooter { | |
0b6161c6 MW |
850 | background-color: $wcfFooterBackground; |
851 | color: $wcfFooterText; | |
11f96819 | 852 | padding: 20px 0; |
0b6161c6 MW |
853 | |
854 | .icon { | |
855 | color: $wcfFooterText; | |
856 | } | |
857 | ||
858 | a { | |
859 | color: $wcfFooterLink; | |
860 | ||
861 | &:hover { | |
862 | color: $wcfFooterLinkActive; | |
2a5ae89f | 863 | text-decoration: underline; |
0b6161c6 MW |
864 | } |
865 | } | |
866 | ||
bb6ef47e MW |
867 | .box { |
868 | &:not(:first-child) { | |
95961bdf | 869 | margin-top: 20px; |
bb6ef47e MW |
870 | } |
871 | } | |
872 | ||
25896feb MW |
873 | .boxTitle { |
874 | color: $wcfFooterHeadlineText; | |
875 | ||
876 | a { | |
877 | color: $wcfFooterHeadlineLink; | |
878 | ||
879 | &:hover { | |
880 | color: $wcfFooterHeadlineLinkActive; | |
881 | } | |
882 | } | |
883 | } | |
884 | ||
fd94097c MW |
885 | @include screen-xs { |
886 | .boxImage { | |
887 | align-items: center; | |
888 | display: flex; | |
889 | justify-content: center; | |
890 | margin-bottom: 20px; | |
891 | max-height: 100px; | |
892 | overflow: hidden; | |
bb6ef47e MW |
893 | } |
894 | } | |
895 | ||
fd94097c MW |
896 | @include screen-sm-up { |
897 | .boxWithImage { | |
898 | @include clearfix; | |
fd94097c MW |
899 | } |
900 | ||
901 | .boxImage { | |
902 | float: left; | |
903 | width: 30%; | |
904 | } | |
6eadc178 MW |
905 | } |
906 | ||
907 | @include screen-sm-md { | |
908 | .boxImage { | |
909 | margin: 0 10px 10px 0; | |
910 | } | |
911 | } | |
912 | ||
913 | @include screen-lg { | |
914 | .boxImage { | |
915 | margin: 0 20px 20px 0; | |
916 | } | |
bb6ef47e | 917 | } |
948d7051 | 918 | |
10159160 MW |
919 | .boxMenuLinkGroup { |
920 | .boxMenu { | |
921 | > li { | |
922 | > ol { | |
923 | a { | |
924 | // use text color instead | |
925 | color: $wcfFooterText; | |
926 | } | |
927 | } | |
928 | } | |
929 | } | |
930 | } | |
931 | ||
932 | .styleChanger { | |
933 | @include screen-sm-down { | |
934 | display: none; | |
935 | } | |
936 | ||
937 | @include screen-md-up { | |
938 | float: right; | |
939 | padding-left: 20px; | |
940 | } | |
941 | } | |
942 | } | |
943 | ||
944 | .boxesTop, | |
945 | .boxesBottom, | |
946 | .boxesFooter { | |
948d7051 | 947 | .boxMenu { |
f2e6770c | 948 | display: inline-flex; |
1ec71078 | 949 | flex-wrap: wrap; |
948d7051 MW |
950 | margin-left: -10px; |
951 | margin-right: -10px; | |
952 | ||
948d7051 | 953 | > li { |
f2e6770c | 954 | flex: 0 0 auto; |
948d7051 MW |
955 | padding-left: 10px; |
956 | padding-right: 10px; | |
f2e6770c MW |
957 | } |
958 | } | |
959 | ||
10159160 | 960 | .boxMenuLinkGroup { |
6063a7ec AE |
961 | &:not(:first-child) { |
962 | margin-top: 40px; | |
963 | } | |
964 | ||
f2e6770c MW |
965 | .boxMenu { |
966 | display: flex; | |
967 | flex-wrap: wrap; | |
968 | margin-bottom: -20px; | |
948d7051 | 969 | |
f2e6770c MW |
970 | .boxMenuLink { |
971 | display: inline-block; | |
972 | } | |
973 | ||
974 | > li { | |
19275bb6 MW |
975 | @include screen-md-up { |
976 | flex: 0 0 25%; | |
977 | max-width: 25%; | |
978 | } | |
979 | ||
980 | @include screen-sm-down { | |
981 | flex: 1 1 100%; | |
982 | } | |
983 | ||
f2e6770c MW |
984 | margin-bottom: 20px; |
985 | ||
948d7051 | 986 | > .boxMenuLink { |
5908f54f | 987 | @include wcfFontHeadline; |
948d7051 MW |
988 | |
989 | margin-bottom: 10px; | |
990 | } | |
948d7051 MW |
991 | } |
992 | } | |
993 | } | |
bb6ef47e | 994 | } |
5d7bde5d AE |
995 | |
996 | .boxWithEditButton { | |
997 | position: relative; | |
998 | ||
999 | &:hover .boxEditButton { | |
1000 | opacity: 1; | |
1001 | } | |
1002 | ||
1003 | .boxEditButton { | |
1004 | color: inherit; | |
1005 | opacity: 0; | |
1006 | position: absolute; | |
1007 | top: 4px; | |
1008 | transition: opacity .12s ease-in-out; | |
1009 | right: 4px; | |
1010 | ||
1011 | &:hover { | |
1012 | color: inherit; | |
1013 | } | |
1014 | ||
1015 | > .icon { | |
1016 | color: inherit; | |
1017 | } | |
1018 | } | |
1019 | } | |
58e6f520 AE |
1020 | |
1021 | .boxMenuResetFilter { | |
1022 | margin-top: 10px; | |
1023 | } |