From 33158167d5692fb5e68f2b3a2f2e9bf5eec41ed9 Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 20 Dec 2021 22:06:45 +0100 Subject: [PATCH] chore: make background fade in reusable --- src/components/home/contentAuth.vue | 2 +- src/components/list/partials/list-card.vue | 7 ++++--- src/styles/theme/background.scss | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index fa8165968..65287e456 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -10,7 +10,7 @@ >
-
+
diff --git a/src/styles/theme/background.scss b/src/styles/theme/background.scss index cec5302ed..73f911b8b 100644 --- a/src/styles/theme/background.scss +++ b/src/styles/theme/background.scss @@ -43,6 +43,9 @@ height: 100vh; position: fixed; z-index: 0; +} + +.background-fade-in { opacity: 0; transition: opacity $transition; transition-delay: $transition-duration * 2; // To fake an appearing background