From: Alexander Ebert Date: Mon, 4 Sep 2017 16:23:17 +0000 (+0200) Subject: `.innerError` now respects the alert colors for WSC 3.1-mode styles X-Git-Tag: 3.1.0_Alpha_3~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6de7a6103e2da3f1a77071303d7fe5fa1f34e506;p=GitHub%2FWoltLab%2FWCF.git `.innerError` now respects the alert colors for WSC 3.1-mode styles Fixes #2403 --- diff --git a/wcfsetup/install/files/style/ui/wsc31.scss b/wcfsetup/install/files/style/ui/wsc31.scss index 2007674c5a..ff8fd95bdc 100644 --- a/wcfsetup/install/files/style/ui/wsc31.scss +++ b/wcfsetup/install/files/style/ui/wsc31.scss @@ -148,4 +148,14 @@ .messageTabMenuNavigation > ul > li.active > a::after { border-bottom-color: $wcfContentContainerBackground; } + + // use the `alert` variables rather than fixed values + .innerError { + background-color: $wcfStatusErrorBackground; + color: $wcfStatusErrorText; + + &::before { + border-bottom-color: $wcfStatusErrorBackground; + } + } }