Fix styling of button and banner.

This commit is contained in:
2026-06-15 20:15:46 +02:00
parent b38f424c84
commit 7f414ee654
2 changed files with 10 additions and 6 deletions
+8 -4
View File
@@ -1,6 +1,6 @@
#cookie-banner { #cookie-banner {
color: inherit; color: #E2E8F0;
background-color: inherit; background-color: #4A5568;
position: fixed; position: fixed;
top: 2.5rem; top: 2.5rem;
left: 50%; left: 50%;
@@ -10,7 +10,7 @@
border: 1px solid #e2e2e2; border: 1px solid #e2e2e2;
border-radius: 12px; border-radius: 12px;
padding: 1rem 1.25rem; padding: 1rem 1.25rem;
box-shadow: 0 4px 24px rgba(0,0,0,.08); box-shadow: 0 0 36px #111;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
@@ -36,9 +36,13 @@
} }
#cookie-accept { #cookie-accept {
background: #0b913a; color: #fff; border-color: #1a1a1a; background: #4A5E52; color: #fff; border-color: #1a1a1a;
} }
#cookie-decline { #cookie-decline {
background: #2D3748; color: #fff; border-color: #1a1a1a;
}
#cookie-settings-button {
background: #272b2e; color: #fff; border-color: #1a1a1a; background: #272b2e; color: #fff; border-color: #1a1a1a;
} }
@@ -7,6 +7,6 @@
— —
</strong> </strong>
</p> </p>
<button onclick="reopenCookieBanner()"> <button id="cookie-settings-button" onclick="reopenCookieBanner()">
{{ i18n "cookie_change" }} {{ i18n "cookie_change" }}
</button> </button>