File: D:/HostingSpaces/SBogers10/switch4u.komma.nl/resources/sass/6-Organisms/_organisms.footer.scss
// Component settings: Footer
// ------------------------------------------
$o-footer: (
'bgColor': palette(primary, 700),
'textColor': palette(neutral, 0),
'textColorHover': palette(primary, 500),
'logoWidth': 152px,
);
// ------------------------------------------
.o-footer {
@include z(z-footer);
color: map-get($o-footer, 'textColor');
background-color: map-get($o-footer, 'bgColor');
flex: 1 0 auto;
}
.o-footer__main {
@include contain;
@include vspacing(
'padding-top' 0.5,
'padding-bottom' 0.5
);
}
.o-footer__columns {
@include mq(m) {
display: flex;
}
}
.o-footer__brand {
@include vspacing(
'margin-bottom' 0.33
);
display: inline-block;
}
.o-footer__logo {
width: map-get($o-footer, 'logoWidth');
}
// Left column
.o-footer__info {
@include owl-children(space(4));
@include mq(m) {
width: column(4, 10);
}
@include mq(l) {
width: column(5, 12);
}
}
// Right column
.o-footer__nav {
@include vspacing-s(
'margin-top' 0.5
);
@include mq(m) {
margin-left: column(1, 10);
}
@include mq(l) {
margin-left: column(1, 12);
}
}
.o-footer__list {
list-style: none;
margin: 0;
}
.o-footer__link {
@include disableOutlineForMouse;
display: inline-block;
position: relative;
z-index: 0;
color: map-get($o-footer, 'textColor');
text-decoration: none;
cursor: pointer;
transition: color 100ms linear;
&:hover {
color: map-get($o-footer, 'textColorHover');
}
&:focus {
outline-color: currentColor;
outline-style: solid;
outline-offset: 1px;
outline-width: 2px;
}
}
.o-footer__social {
display: flex;
list-style: none;
margin: space(4) 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%;
background-repeat: no-repeat;
background-position: center;
transition-property: opacity;
transition-duration: 0.3s;
.facebook & {
background-image: url("/img/social/facebook.svg");
height: 21px;
}
.instagram & {
background-image: url("/img/social/instagram.svg");
}
.twitter & {
background-image: url("/img/social/twitter.svg");
height: 20px;
}
.linkedin & {
background-image: url("/img/social/linkedin.svg");
height: 18px;
}
&:hover {
opacity: 0.5;
}
&:focus {
outline-color: palette(feedback, action);
}
}