You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

171 lines
3.2 KiB

/**
*
*
*
*/
.tiny-consent {
position: fixed;
left: 0;
bottom: 0;
overflow: hidden;
visibility: hidden;
background: #171717;
width: 100%;
height: auto;
color: white;
&--animation {
transition: bottom 0.5s ease;
}
&__inner {
margin: 0 auto;
max-width: 1280px;
padding: 2em;
}
&__header {
position: relative;
}
&__close {
position: absolute;
top: 0;
right: 0;
}
&__cookies {
margin: 0;
padding: 0;
}
&__cookie {
display: none;
margin-bottom: 1.5em;
&-group {
list-style: none;
margin: 0;
padding: 0;
border: 2px white solid;
padding: 15px 18px;
margin-bottom: 10px;
}
&-title {
display: inline-block;
margin-right: 10px;
font-weight: bold;
}
&-content {
max-width: 80%;
p {
margin: 0;
line-height: 1.5;
}
}
&-accordion--active {
overflow: hidden;
transition: max-height 0.5s ease;
max-height: 0;
}
&-accordion-header {
position: relative;
}
&-accordion-header-icon {
position: absolute;
transition-duration: 0.5s;
transition-property: transform;
right: 0;
}
&-accordion--active {
.tiny-consent__cookie-accordion-inner {
padding-top: 1em;
}
}
&-accordion-header--open {
.tiny-consent__cookie-accordion-header-icon {
transform: rotate(180deg);
}
}
&-accordion-inner {
margin-bottom: -0.5em;
}
&-wrapper {
position: relative;
}
&-decision {
position: absolute;
right: 0;
bottom: 0;
text-align: right;
.tiny-consent__button {
margin-left: 0.8em;
}
}
&-footer {
ul {
list-style: none;
padding: 0;
margin: 0 0 0.8em 0;
li {
display: inline-block;
margin-right: 1em;
font-size: 80%;
span {
display: inline-block;
margin-right: .5em;
font-weight: bold;
}
}
}
}
}
.button {
background: black;
border: 2px solid white;
padding: .5em 1.8em;
color: white;
font-size: 0.9rem;
&--active {
color: black;
background: white;
}
&:hover {
cursor: pointer;
color: black;
background: white;
}
&:disabled {
cursor: not-allowed;
background: #7d7d7d;
color: #cecece;
border-color: #cecece;
}
}
}
.show {
display: block !important;
}