From a1e91e221e3adf5af6535c8d1dc4db4b622b0c12 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 10 Mar 2016 19:08:55 +0100 Subject: [PATCH] Fixed missing readonly/disabled state --- wcfsetup/install/files/style/layout/form.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/wcfsetup/install/files/style/layout/form.scss b/wcfsetup/install/files/style/layout/form.scss index 92d71f37e9..e9887e82a0 100644 --- a/wcfsetup/install/files/style/layout/form.scss +++ b/wcfsetup/install/files/style/layout/form.scss @@ -26,7 +26,8 @@ textarea { color: $wcfInputTextActive; } - &[disabled] { + &[disabled], + &[readonly] { background-color: $wcfInputDisabledBackground !important; border-color: $wcfInputDisabledBorder !important; color: $wcfInputDisabledText !important; @@ -66,17 +67,18 @@ input[type="url"] { } } -textarea[readonly] { - background-color: $wcfInputDisabledBackground !important; - border-color: $wcfInputDisabledBorder !important; - color: $wcfInputDisabledText !important; -} - textarea { border-width: 1px; width: 100%; @extend .wcfFontDefault; + + &[disabled], + &[readonly] { + background-color: $wcfInputDisabledBackground !important; + border-color: $wcfInputDisabledBorder !important; + color: $wcfInputDisabledText !important; + } } .selectDropdown { @@ -178,8 +180,6 @@ textarea { .inputAddon input, input { - box-sizing: border-box; - &.tiny { flex-grow: 0; width: 80px; -- 2.20.1