From 02b7ea00b1256ad94338210a6f5d28a40ec0b531 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 24 Nov 2023 12:44:40 +0100 Subject: [PATCH] Add missing `formSuccess` styling --- wcfsetup/install/files/style/layout/form.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/wcfsetup/install/files/style/layout/form.scss b/wcfsetup/install/files/style/layout/form.scss index 6f41d61bd0..e87067853b 100644 --- a/wcfsetup/install/files/style/layout/form.scss +++ b/wcfsetup/install/files/style/layout/form.scss @@ -225,6 +225,20 @@ html[data-color-scheme="dark"] .formError { --color-error: #ff4747; } +.formSuccess { + --color-success: rgb(46, 139, 87); + + dt { + color: var(--color-success) !important; + } + + input, + select, + textarea { + border-color: var(--color-success) !important; + } +} + /* grid-based form controls */ .formGrid { dt { -- 2.20.1