From: Alexander Ebert Date: Tue, 7 Sep 2021 21:00:29 +0000 (+0200) Subject: Replaced a hard-wired color value, Safari fix X-Git-Tag: 5.4.7_RC_2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=11b049da4000d3dac5fd28fcb2726d89cd435af7;p=GitHub%2FWoltLab%2FWCF.git Replaced a hard-wired color value, Safari fix --- 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;