File: D:/HostingSpaces/SBogers10/ste.komma.pro/resources/sass/6-Organisms/_organisms.cookieBar.scss
.o-cookie-bar {
position: fixed;
@include z(z-cookie);
bottom: 0;
left: 0;
display: flex;
align-items: center;
width: 100%;
height: $site-cookieBar-height;
background-color: palette(secondary, 500);
opacity: 1;
box-shadow: 0 -4px 6px 0 rgba(0, 0, 0, 0.2);
transition: opacity 0.5s, transform 0.6s;
transform: translate3d(0, 0, 0);
&.is-accepted {
display: none;
}
&.is-transitioning-out {
opacity: 0;
transform: translate3d(0, 50%, 0);
}
}
.o-cookie-bar__main {
display: flex;
justify-content: center;
align-items: center;
}
.o-cookie-bar__text {
margin: 0;
font-size: 16px;
line-height: 1.2;
color: white;
}
.o-cookie-bar__link {
color: white;
transition: color 0.3s;
&:hover {
color: rgba(white, 0.75);
}
}
.o-cookie-bar__button {
display: inline-block;
margin-left: 15px;
padding: 5px 12px;
background-color: palette(primary, 500);
font-size: 16px;
font-weight: 500;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
outline: none;
opacity: 1;
transition: background-color 0.3s;
&:hover {
background-color: rgba(palette(secondary, 500), 0.5);
}
}