From 11b049da4000d3dac5fd28fcb2726d89cd435af7 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 7 Sep 2021 23:00:29 +0200 Subject: [PATCH] Replaced a hard-wired color value, Safari fix --- wcfsetup/install/files/style/ui/contentItem.scss | 2 +- wcfsetup/install/files/style/ui/embeddedContent.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/style/ui/contentItem.scss b/wcfsetup/install/files/style/ui/contentItem.scss index 872b8a7866..e03709ac99 100644 --- a/wcfsetup/install/files/style/ui/contentItem.scss +++ b/wcfsetup/install/files/style/ui/contentItem.scss @@ -70,7 +70,7 @@ position: relative; &::after { - background-image: linear-gradient(to top, $wcfContentBackground, transparent); + background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 100%)); bottom: 0; content: ""; height: 30px; diff --git a/wcfsetup/install/files/style/ui/embeddedContent.scss b/wcfsetup/install/files/style/ui/embeddedContent.scss index c50e6f36c1..9b4084c52c 100644 --- a/wcfsetup/install/files/style/ui/embeddedContent.scss +++ b/wcfsetup/install/files/style/ui/embeddedContent.scss @@ -76,7 +76,7 @@ position: relative; &::after { - background-image: linear-gradient(to top, rgba(250, 250, 250, 1), rgba(250, 250, 250, 0)); + background-image: linear-gradient(to top, $wcfContentBackground, transparentize($wcfContentBackground, 100%)); content: ""; left: 0; height: #{$wcfFontLineHeight}em; -- 2.20.1