File: D:/HostingSpaces/slenders/slenders.nl/resources/sass/site/5-Components/_components.cookieBar.scss
.c-cookie-bar
{
position: fixed;
@include z(z-cookie);
bottom: 0;
left: 0;
padding: 15px 0;
width: 100%;
background-color: palette(primary, 700);
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;
}
&.fade-out
{
opacity: 0;
transform: translate3d(0, 50%, 0);
}
}
.c-cookie-bar__main{
@include flex(center, center);
}
.c-cookie-bar__text{
margin: 0;
font-size: 16px;
line-height: 1.2;
color: palette(light);
}
.c-cookie-bar__link{
color: palette(light);
transition: color 0.3s;
&:hover{
color: rgba(palette(light), 0.75);
}
}
.c-cookie-bar__button{
display: inline-block;
margin-left: 15px;
padding: 5px 12px;
background-color: rgba(white, 0.1);
font-size: 16px;
font-weight: 500;
color: palette(light);
border: none;
border-radius: 5px;
cursor: pointer;
outline: none;
opacity: 1;
transition: background-color 0.3s;
&:hover{
background-color: rgba(white, 0.05);
}
}