From c1838d4390f6458de83b001ff35c621fd2a90412 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 20 Dec 2020 20:16:04 +0100 Subject: [PATCH] Replaced consent warning backdrop blur with darker background, as backdrop blur is not supported in Firefox. --- assets/components/container/warning.vue | 3 +-- assets/css/_theme.scss | 1 + config/default.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/components/container/warning.vue b/assets/components/container/warning.vue index 467b2bba4..468407c4f 100644 --- a/assets/components/container/warning.vue +++ b/assets/components/container/warning.vue @@ -56,8 +56,7 @@ export default { justify-content: center; position: absolute; z-index: 10; - background: var(--darken-extreme); - backdrop-filter: blur(.5rem); + background: var(--darken-censor); overflow-y: auto; } diff --git a/assets/css/_theme.scss b/assets/css/_theme.scss index cb0fdc735..c1fea64a3 100644 --- a/assets/css/_theme.scss +++ b/assets/css/_theme.scss @@ -15,6 +15,7 @@ $breakpoint4: 1500px; --darken: rgba(0, 0, 0, .5); --darken-strong: rgba(0, 0, 0, .7); --darken-extreme: rgba(0, 0, 0, .9); + --darken-censor: rgba(0, 0, 0, .95); --darken-weak: rgba(0, 0, 0, .2); --darken-hint: rgba(0, 0, 0, .1); diff --git a/config/default.js b/config/default.js index 326a4912c..a2689a28e 100644 --- a/config/default.js +++ b/config/default.js @@ -15,7 +15,7 @@ module.exports = { resave: false, saveUninitialized: false, cookie: { - secure: false, + secure: true, }, }, },