From bbcc8fbb91cd9bc4ef7bbbd26e3963098955b455 Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 3 Dec 2021 17:05:13 -0600 Subject: [PATCH] Change:Cover background blur #216 --- client/assets/app.css | 12 ++++++++++++ client/components/cards/LazyBookCard.vue | 13 +++++-------- client/components/covers/BookCover.vue | 9 +++------ client/components/covers/GroupCover.vue | 8 ++------ client/components/covers/PreviewCover.vue | 11 +++++------ 5 files changed, 27 insertions(+), 26 deletions(-) diff --git a/client/assets/app.css b/client/assets/app.css index 3b61789a..57827680 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -170,4 +170,16 @@ Bookshelf Label border-color: rgba(255, 244, 182, 0.6); border-style: solid; color: #fce3a6; +} + + +.cover-bg { + width: calc(100% + 40px); + height: calc(100% + 40px); + top: -20px; + left: -20px; + background-size: 100% 100%; + background-position: center; + opacity: 1; + filter: blur(20px); } \ No newline at end of file diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index bf935c14..533ed14a 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -1,7 +1,9 @@