File: D:/HostingSpaces/SBogers10/wingssprayer.komma.pro/resources/sass/6-Organisms/_organisms.footer.scss
$o-footer-bp1: 550;
$o-footer-bp2: 950;
.o-footer {
@include z(z-footer);
padding-bottom: 0;
color: palette(neutral, 0);
background-color: palette(primary);
transition: padding 0.6s;
.is-cookie-bar-visible & {
padding-bottom: $site-cookieBar-height;
}
}
.o-footer__pre {
position: relative;
background-color: palette(secondary, 200);
}
.o-footer__main {
@include contain;
@include vspacing(
'padding-top' 0.5,
'padding-bottom' 0.625
);
}
// Logo
.o-footer__brand {
@include vspacing(
'margin-bottom' 0.75
);
display: block;
width: 100%;
transition: opacity 200ms linear;
&:hover {
opacity: 0.5;
}
}
.o-footer__columns {
@include mq($max: $o-footer-bp1) {
@include owl-children(space(3));
}
@include mq($o-footer-bp1) {
display: flex;
flex-wrap: wrap;
}
}
.o-footer__column {
@include mq($o-footer-bp1, $o-footer-bp2) {
flex: none;
width: column(6);
&:nth-child(n+3) {
margin-top: space(3);
}
}
@include mq($o-footer-bp2) {
flex-wrap: nowrap;
width: column(3);
}
}
.o-footer__social {
display: flex;
list-style: none;
margin: space(6) 0 0;
}
.o-footer__channel {
display: flex;
justify-content: center;
align-items: center;
width: 24px;
height: 24px;
margin-right: space(2);
}
.o-footer__icon {
flex: auto;
display: block;
height: 100%;
color: palette(neutral, 0);
background-repeat: no-repeat;
background-position: center;
transition: color 100ms linear;
&:hover {
color: palette(secondary, 300);
}
&:focus {
outline-color: palette(action);
}
}
.o-footer__heading {
@include font-size(base);
@include font-weight(regular);
color: palette(secondary, 300);
}
.o-footer__list {
list-style: none;
margin: 0;
}
.o-footer__link {
display: inline-block;
position: relative;
z-index: 0;
color: palette(neutral, 0);
text-decoration: none;
cursor: pointer;
transition: color 100ms linear;
&:hover {
color: palette(secondary, 300);
}
&:focus {
outline-color: palette(action);
}
}
.o-footer__language {
margin-top: space(4);
}