From de5e14e740830eed5c14405c5b5d47145a79f571 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 13 Aug 2016 09:58:05 +0200 Subject: [PATCH] Different styling for readonly input elements --- wcfsetup/install/files/style/bootstrap/mixin/input.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/style/bootstrap/mixin/input.scss b/wcfsetup/install/files/style/bootstrap/mixin/input.scss index a4a51fda3b..9969119ea5 100644 --- a/wcfsetup/install/files/style/bootstrap/mixin/input.scss +++ b/wcfsetup/install/files/style/bootstrap/mixin/input.scss @@ -17,10 +17,13 @@ color: $wcfInputTextActive; } - &[disabled], - &[readonly] { + &[disabled] { background-color: $wcfInputDisabledBackground !important; border-color: $wcfInputDisabledBorder !important; color: $wcfInputDisabledText !important; } + + &[readonly] { + color: $wcfInputDisabledText !important; + } } -- 2.20.1