`.innerError` now respects the alert colors for WSC 3.1-mode styles
authorAlexander Ebert <ebert@woltlab.com>
Mon, 4 Sep 2017 16:23:17 +0000 (18:23 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 4 Sep 2017 16:23:17 +0000 (18:23 +0200)
Fixes #2403

wcfsetup/install/files/style/ui/wsc31.scss

index 2007674c5a0f106b6f6e2debe232604df2e1a16f..ff8fd95bdc57376055e66cb68a3cfec2c810a143 100644 (file)
        .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;
+               }
+       }
 }