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 | ||
78ea816c MW |
601 | /* collapsible sidebar for mobile devices */ |
602 | @include screen-md-down { | |
66bc953d AE |
603 | .main > .layoutBoundary { |
604 | display: flex; | |
605 | flex-wrap: wrap; | |
606 | ||
607 | > .content { | |
608 | flex: 0 0 100%; | |
609 | order: 3; | |
610 | } | |
611 | ||
612 | > .boxesSidebarLeft { | |
613 | order: 1; | |
614 | } | |
615 | ||
616 | > .boxesSidebarRight { | |
617 | order: 2; | |
618 | } | |
619 | } | |
620 | ||
c5ea84f0 AE |
621 | .boxesSidebarLeft, |
622 | .boxesSidebarRight { | |
66bc953d | 623 | flex: 1 0 100%; |
c5ea84f0 AE |
624 | pointer-events: none; |
625 | ||
626 | > .boxContainer { | |
627 | pointer-events: all; | |
628 | } | |
629 | ||
66bc953d AE |
630 | &:not(.open) { |
631 | flex: 1 50%; | |
632 | ||
633 | > .boxContainer { | |
634 | display: none; | |
635 | } | |
c5ea84f0 AE |
636 | } |
637 | ||
638 | &::before { | |
639 | background-color: $wcfSidebarBackground; | |
640 | color: $wcfSidebarLink; | |
c5ea84f0 AE |
641 | content: attr(data-show-sidebar); |
642 | display: block; | |
643 | padding: 10px 0; | |
644 | pointer-events: all; | |
645 | text-align: center; | |
646 | } | |
647 | ||
648 | &.open::before { | |
649 | content: attr(data-hide-sidebar); | |
650 | margin-bottom: 20px; | |
651 | } | |
652 | } | |
653 | ||
654 | .boxesSidebarLeft.boxesSidebarLeftHasMenu { | |
655 | &::before { | |
656 | content: attr(data-show-navigation); | |
657 | } | |
658 | ||
659 | &.open::before { | |
660 | content: attr(data-hide-navigation); | |
661 | } | |
662 | } | |
66bc953d AE |
663 | |
664 | .boxesSidebarLeft:not(.open) + .content + .boxesSidebarRight:not(.open) { | |
665 | border-left: 1px solid $wcfContentBackground; | |
666 | margin-left: 10px; | |
667 | margin-top: 0; | |
668 | } | |
669 | ||
670 | .content:first-child + .boxesSidebarRight { | |
671 | margin-bottom: 20px; | |
672 | margin-top: 0; | |
673 | } | |
c5ea84f0 AE |
674 | } |
675 | ||
bb6ef47e MW |
676 | /* styling for boxes in <contentTop>/<contentBottom> position */ |
677 | .boxesContentTop, | |
678 | .boxesContentBottom { | |
bb6ef47e MW |
679 | .box { |
680 | &:not(:first-child) { | |
10ff3d63 | 681 | margin-top: 40px; |
bb6ef47e MW |
682 | } |
683 | } | |
684 | ||
72a7f9cd MW |
685 | .boxTitle { |
686 | color: $wcfContentHeadlineText; | |
687 | ||
5908f54f | 688 | @include wcfFontSection; |
fd94097c | 689 | |
72a7f9cd MW |
690 | a { |
691 | color: $wcfContentHeadlineLink; | |
692 | ||
693 | &:hover { | |
694 | color: $wcfContentHeadlineLinkActive; | |
695 | } | |
696 | } | |
697 | } | |
698 | ||
bc29a383 MW |
699 | .boxInfo { |
700 | background-color: $wcfStatusInfoBackground; | |
701 | color: $wcfStatusInfoText; | |
702 | padding: 20px; | |
703 | text-align: center; | |
704 | ||
705 | a:not(.button) { | |
706 | color: $wcfStatusInfoLink; | |
707 | ||
708 | @include wcfFontBold; | |
709 | ||
710 | &:hover { | |
711 | color: $wcfStatusInfoLinkActive; | |
712 | text-decoration: underline; | |
713 | } | |
714 | } | |
715 | ||
716 | .formSubmit { | |
717 | margin-top: 20px; | |
718 | } | |
719 | } | |
720 | ||
fd94097c MW |
721 | @include screen-xs { |
722 | .boxImage { | |
723 | align-items: center; | |
724 | display: flex; | |
725 | justify-content: center; | |
726 | margin-bottom: 20px; | |
727 | max-height: 100px; | |
728 | overflow: hidden; | |
729 | } | |
bb6ef47e | 730 | } |
fd94097c MW |
731 | |
732 | @include screen-sm-up { | |
733 | .boxWithImage { | |
734 | @include clearfix; | |
fd94097c MW |
735 | } |
736 | ||
737 | .boxImage { | |
738 | float: left; | |
739 | width: 30%; | |
740 | } | |
c5dd767e | 741 | } |
6eadc178 MW |
742 | |
743 | @include screen-sm-md { | |
744 | .boxImage { | |
745 | margin: 0 10px 10px 0; | |
746 | } | |
747 | } | |
748 | ||
749 | @include screen-lg { | |
750 | .boxImage { | |
751 | margin: 0 20px 20px 0; | |
752 | } | |
753 | } | |
bb6ef47e MW |
754 | } |
755 | ||
0b6161c6 MW |
756 | .boxesContentTop:not(:first-child) { |
757 | margin-top: 40px; | |
bb6ef47e MW |
758 | } |
759 | ||
760 | .boxesContentBottom { | |
10ff3d63 | 761 | margin-top: 40px; |
bb6ef47e MW |
762 | } |
763 | ||
764 | /* styling for boxes in <footerBoxes> position */ | |
765 | .boxesFooterBoxes { | |
766 | background-color: $wcfFooterBoxBackground; | |
767 | color: $wcfFooterBoxText; | |
bb6ef47e MW |
768 | |
769 | a { | |
770 | color: $wcfFooterBoxLink; | |
771 | ||
bb6ef47e MW |
772 | &:hover { |
773 | color: $wcfFooterBoxLinkActive; | |
bb6ef47e MW |
774 | } |
775 | } | |
776 | ||
777 | .icon { | |
778 | color: $wcfFooterBoxText; | |
779 | } | |
780 | ||
c734a302 | 781 | .boxContainer { |
f216765b | 782 | @include screen-sm-down { |
fd94097c | 783 | padding: 40px 0; |
f216765b AE |
784 | } |
785 | ||
7102d090 AE |
786 | @include screen-md-down { |
787 | margin-left: -10px; | |
788 | margin-right: -10px; | |
789 | } | |
790 | ||
f216765b | 791 | @include screen-md-up { |
63e2f52f AE |
792 | display: flex; |
793 | flex-wrap: wrap; | |
fd94097c MW |
794 | margin-bottom: -60px; |
795 | padding: 60px 0; | |
c3d0938e | 796 | } |
7102d090 AE |
797 | |
798 | @include screen-lg { | |
799 | margin-left: -15px; | |
800 | margin-right: -15px; | |
801 | } | |
bb6ef47e MW |
802 | } |
803 | ||
804 | .box { | |
95961bdf | 805 | overflow: hidden; |
fd94097c MW |
806 | padding-left: 15px; |
807 | padding-right: 15px; | |
bb6ef47e | 808 | |
f216765b | 809 | @include screen-sm-down { |
fd94097c MW |
810 | &:not(:last-child) { |
811 | margin-bottom: 40px; | |
c5dd767e | 812 | } |
f216765b AE |
813 | } |
814 | ||
815 | @include screen-md-up { | |
63e2f52f | 816 | flex: 0 0 50%; |
fd94097c | 817 | margin-bottom: 60px; |
ce280017 | 818 | max-width: 50%; |
63e2f52f AE |
819 | |
820 | &.boxFullWidth { | |
821 | flex-basis: 100%; | |
2003a082 | 822 | max-width: 100%; |
63e2f52f AE |
823 | } |
824 | } | |
bb6ef47e MW |
825 | } |
826 | ||
72a7f9cd MW |
827 | .boxTitle { |
828 | color: $wcfFooterBoxHeadlineText; | |
829 | ||
830 | a { | |
831 | color: $wcfFooterBoxHeadlineLink; | |
832 | ||
833 | &:hover { | |
834 | color: $wcfFooterBoxHeadlineLinkActive; | |
835 | } | |
836 | } | |
837 | } | |
838 | ||
bb6ef47e | 839 | .boxImage { |
fd94097c MW |
840 | align-items: center; |
841 | display: flex; | |
842 | justify-content: center; | |
843 | margin-bottom: 20px; | |
844 | max-height: 100px; | |
845 | overflow: hidden; | |
bb6ef47e MW |
846 | } |
847 | } | |
848 | ||
849 | /* styling for boxes in <footer> position */ | |
850 | .boxesFooter { | |
0b6161c6 MW |
851 | background-color: $wcfFooterBackground; |
852 | color: $wcfFooterText; | |
11f96819 | 853 | padding: 20px 0; |
0b6161c6 MW |
854 | |
855 | .icon { | |
856 | color: $wcfFooterText; | |
857 | } | |
858 | ||
859 | a { | |
860 | color: $wcfFooterLink; | |
861 | ||
862 | &:hover { | |
863 | color: $wcfFooterLinkActive; | |
2a5ae89f | 864 | text-decoration: underline; |
0b6161c6 MW |
865 | } |
866 | } | |
867 | ||
bb6ef47e MW |
868 | .box { |
869 | &:not(:first-child) { | |
95961bdf | 870 | margin-top: 20px; |
bb6ef47e MW |
871 | } |
872 | } | |
873 | ||
25896feb MW |
874 | .boxTitle { |
875 | color: $wcfFooterHeadlineText; | |
876 | ||
877 | a { | |
878 | color: $wcfFooterHeadlineLink; | |
879 | ||
880 | &:hover { | |
881 | color: $wcfFooterHeadlineLinkActive; | |
882 | } | |
883 | } | |
884 | } | |
885 | ||
fd94097c MW |
886 | @include screen-xs { |
887 | .boxImage { | |
888 | align-items: center; | |
889 | display: flex; | |
890 | justify-content: center; | |
891 | margin-bottom: 20px; | |
892 | max-height: 100px; | |
893 | overflow: hidden; | |
bb6ef47e MW |
894 | } |
895 | } | |
896 | ||
fd94097c MW |
897 | @include screen-sm-up { |
898 | .boxWithImage { | |
899 | @include clearfix; | |
fd94097c MW |
900 | } |
901 | ||
902 | .boxImage { | |
903 | float: left; | |
904 | width: 30%; | |
905 | } | |
6eadc178 MW |
906 | } |
907 | ||
908 | @include screen-sm-md { | |
909 | .boxImage { | |
910 | margin: 0 10px 10px 0; | |
911 | } | |
912 | } | |
913 | ||
914 | @include screen-lg { | |
915 | .boxImage { | |
916 | margin: 0 20px 20px 0; | |
917 | } | |
bb6ef47e | 918 | } |
948d7051 | 919 | |
10159160 MW |
920 | .boxMenuLinkGroup { |
921 | .boxMenu { | |
922 | > li { | |
923 | > ol { | |
924 | a { | |
925 | // use text color instead | |
926 | color: $wcfFooterText; | |
927 | } | |
928 | } | |
929 | } | |
930 | } | |
931 | } | |
932 | ||
933 | .styleChanger { | |
934 | @include screen-sm-down { | |
935 | display: none; | |
936 | } | |
937 | ||
938 | @include screen-md-up { | |
939 | float: right; | |
940 | padding-left: 20px; | |
941 | } | |
942 | } | |
943 | } | |
944 | ||
945 | .boxesTop, | |
946 | .boxesBottom, | |
947 | .boxesFooter { | |
948d7051 | 948 | .boxMenu { |
f2e6770c | 949 | display: inline-flex; |
1ec71078 | 950 | flex-wrap: wrap; |
948d7051 MW |
951 | margin-left: -10px; |
952 | margin-right: -10px; | |
953 | ||
948d7051 | 954 | > li { |
f2e6770c | 955 | flex: 0 0 auto; |
948d7051 MW |
956 | padding-left: 10px; |
957 | padding-right: 10px; | |
f2e6770c MW |
958 | } |
959 | } | |
960 | ||
10159160 | 961 | .boxMenuLinkGroup { |
6063a7ec AE |
962 | &:not(:first-child) { |
963 | margin-top: 40px; | |
964 | } | |
965 | ||
f2e6770c MW |
966 | .boxMenu { |
967 | display: flex; | |
968 | flex-wrap: wrap; | |
969 | margin-bottom: -20px; | |
948d7051 | 970 | |
f2e6770c MW |
971 | .boxMenuLink { |
972 | display: inline-block; | |
973 | } | |
974 | ||
975 | > li { | |
19275bb6 MW |
976 | @include screen-md-up { |
977 | flex: 0 0 25%; | |
978 | max-width: 25%; | |
979 | } | |
980 | ||
981 | @include screen-sm-down { | |
982 | flex: 1 1 100%; | |
983 | } | |
984 | ||
f2e6770c MW |
985 | margin-bottom: 20px; |
986 | ||
948d7051 | 987 | > .boxMenuLink { |
5908f54f | 988 | @include wcfFontHeadline; |
948d7051 MW |
989 | |
990 | margin-bottom: 10px; | |
991 | } | |
948d7051 MW |
992 | } |
993 | } | |
994 | } | |
bb6ef47e | 995 | } |
5d7bde5d AE |
996 | |
997 | .boxWithEditButton { | |
998 | position: relative; | |
999 | ||
07454aeb | 1000 | |
5d7bde5d AE |
1001 | |
1002 | .boxEditButton { | |
1003 | color: inherit; | |
1004 | opacity: 0; | |
1005 | position: absolute; | |
1006 | top: 4px; | |
1007 | transition: opacity .12s ease-in-out; | |
1008 | right: 4px; | |
1009 | ||
1010 | &:hover { | |
1011 | color: inherit; | |
1012 | } | |
1013 | ||
1014 | > .icon { | |
1015 | color: inherit; | |
1016 | } | |
1017 | } | |
1018 | } | |
58e6f520 | 1019 | |
07454aeb AE |
1020 | html:not(.touch) .boxWithEditButton:hover .boxEditButton { |
1021 | opacity: 1; | |
1022 | } | |
1023 | ||
58e6f520 AE |
1024 | .boxMenuResetFilter { |
1025 | margin-top: 10px; | |
1026 | } |