File: D:/HostingSpaces/SBogers10/otium.komma.nl/resources/sass/6-Organisms/_organisms.cookieBar.scss
.o-cookie-bar {
z-index: -1; // not selectable
position: fixed;
bottom: 0;
left: 0;
justify-content: flex-start;
align-items: center;
height: $site-cookieBar-height;
width: 100%;
background-color: palette(neutral, 900);
//opacity: 1;
box-shadow: 0 -4px 6px 0 rgba(palette(neutral, 1000), 0.25);
transition: transform $site-cookieBar-transition-speed $site-cookieBar-transition-ease;
//transform: none;
// When cookies are not yet accepted, show cookiebar
body:not(.is-cookies-accepted) & {
@include z(z-cookie);
display: flex;
}
&.is-transitioning-out {
display: flex;
z-index: -1; // not selectable
pointer-events: none;
//opacity: 0;
transform: translateY(100%);
}
}
.o-cookie-bar__main {
display: flex;
justify-content: center;
align-items: center;
@include mq($max: 375) {
transform: scale(0.9);
}
}
.o-cookie-bar__text {
margin: 0;
color: palette(neutral, 0);
@include mq($max: 375) {
@include font-size(xs);
}
}
.o-cookie-bar__link {
color: inherit;
transition: color 300ms;
&:hover {
color: palette(neutral, 200);
}
}
.o-cookie-bar__button {
flex: none;
margin-left: space(5);
@include mq($max: m) {
margin-left: space(2);
}
}