Improve cookiebanner.
This commit is contained in:
parent
aad10abe8b
commit
e058a3dd5b
1 changed files with 16 additions and 11 deletions
|
|
@ -8,7 +8,7 @@
|
|||
position: sticky;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
padding-block-start: .5rem;
|
||||
padding: var(--spacing-xs);
|
||||
color: var(--color-warning);
|
||||
background-color: var(--color-warning-bg);
|
||||
border-block-start: 4px solid var(--color-warning-border);
|
||||
|
|
@ -16,6 +16,11 @@
|
|||
transform: translateY(100vh);
|
||||
transition: all 130ms ease-out;
|
||||
z-index: 99;
|
||||
|
||||
&__actions {
|
||||
display: flex;
|
||||
gap: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
|
|
@ -28,6 +33,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.js-cookieconsent-open {
|
||||
[data-cookieconsentopen] {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue