From 29e7051a3203c38ec64d6917497e68055aaf49c4 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Tue, 25 Aug 2020 16:40:16 +0300 Subject: [PATCH] Fix Landing Page in light theme Signed-off-by: Alex Andreev --- .../+landing-page/landing-page.scss | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/+landing-page/landing-page.scss b/src/renderer/components/+landing-page/landing-page.scss index 6cc726f5d9..0d05c418d8 100644 --- a/src/renderer/components/+landing-page/landing-page.scss +++ b/src/renderer/components/+landing-page/landing-page.scss @@ -1,8 +1,24 @@ .LandingPage { height: 100%; - background: #282b2f url(../../components/icon/crane.svg) no-repeat; - background-position: 0 35%; - background-size: 85%; - background-clip: content-box; text-align: center; + z-index: 0; + + &::after { + content: ""; + background: url(../../components/icon/crane.svg) no-repeat; + background-position: 0 35%; + background-size: 85%; + background-clip: content-box; + opacity: 1; + top: 0; + left: 0; + bottom: 0; + right: 0; + position: absolute; + z-index: -1; + + .theme-light & { + opacity: 0.2; + } + } } \ No newline at end of file