From 78ab6f016b6ccd6df244c9dc7b3e1706e4266343 Mon Sep 17 00:00:00 2001 From: Lauri Nevala Date: Mon, 21 Sep 2020 16:47:51 +0300 Subject: [PATCH] Fix background of What's New page with white theme (#940) Signed-off-by: Lauri Nevala --- .../components/+whats-new/whats-new.scss | 22 +++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/renderer/components/+whats-new/whats-new.scss b/src/renderer/components/+whats-new/whats-new.scss index 9eef62cc13..8aa37fdf66 100644 --- a/src/renderer/components/+whats-new/whats-new.scss +++ b/src/renderer/components/+whats-new/whats-new.scss @@ -1,10 +1,24 @@ .WhatsNew { $spacing: $padding * 2; - background: $mainBackground url(../../components/icon/crane.svg) no-repeat; - background-position: 0 35%; - background-size: 85%; - background-clip: content-box; + &::after { + content: ""; + background: url(../../components/icon/crane.svg) no-repeat; + background-position: 0 35%; + background-size: 85%; + background-clip: content-box; + opacity: .75; + top: 0; + left: 0; + bottom: 0; + right: 0; + position: absolute; + z-index: -1; + + .theme-light & { + opacity: 0.2; + } + } .logo { width: 200px;