From: Marcel Werk Date: Thu, 10 Mar 2016 18:08:55 +0000 (+0100) Subject: Fixed missing readonly/disabled state X-Git-Tag: 3.0.0_Beta_1~2030^2~38 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a1e91e221e3adf5af6535c8d1dc4db4b622b0c12;p=GitHub%2FWoltLab%2FWCF.git Fixed missing readonly/disabled state --- 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;