From 6de7a6103e2da3f1a77071303d7fe5fa1f34e506 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 4 Sep 2017 18:23:17 +0200 Subject: [PATCH] `.innerError` now respects the alert colors for WSC 3.1-mode styles Fixes #2403 --- wcfsetup/install/files/style/ui/wsc31.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; + } + } } -- 2.20.1