File: D:/HostingSpaces/SBogers10/switch4u.komma.nl/resources/sass/6-Organisms/_organisms.subfooter.scss
// Component settings: Sub Footer
// ------------------------------------------
$o-subfooter: (
'bgcolor': palette(primary, 700),
'color': palette(neutral, 0),
'color-hover': palette(primary, 500),
'spacing-horizontal': space(4),
);
// ------------------------------------------
.o-subfooter {
@include z(z-subfooter);
color: map-get($o-subfooter, 'color');
background-color: map-get($o-subfooter, 'bgcolor');
padding-bottom: $site-cookieBar-height;
border-top: 1px solid palette(secondary, 500);
transition: padding 0.6s;
.is-cookies-accepted & {
padding-bottom: 0;
}
}
.o-subfooter__main {
@include contain;
@include font(s);
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
align-items: center;
padding-top: space(1);
padding-bottom: space(1);
}
.o-subfooter__copyright {
display: flex;
flex-wrap: wrap;
margin-top: space(1);
margin-bottom: space(1);
margin-right: map-get($o-subfooter, 'spacing-horizontal');
}
.o-subfooter__nav {
margin-right: auto;
margin-top: space(1);
margin-bottom: space(1);
}
.o-subfooter__list {
display: flex;
flex-wrap: wrap;
list-style-type: none;
margin: 0;
}
.o-subfooter__item {
margin-right: map-get($o-subfooter, 'spacing-horizontal');
white-space: nowrap;
}
.o-subfooter__link {
@include disableOutlineForMouse;
color: map-get($o-subfooter, 'color');
text-decoration: none;
transition: color 200ms;
&:hover {
color: map-get($o-subfooter, 'color-hover');
}
&:focus {
outline-color: currentColor;
outline-style: solid;
outline-offset: 1px;
outline-width: 2px;
}
}
.o-subfooter__trademark {
margin-top: space(1);
margin-bottom: space(1);
}