From: Wolfgang Demeter Date: Wed, 25 Jun 2014 19:00:04 +0000 (+0200) Subject: disabled background on readonly input fields X-Git-Tag: v5.3.1~17^2^2^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F5378%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git disabled background on readonly input fields --- diff --git a/scss/foundation/components/_forms.scss b/scss/foundation/components/_forms.scss index 40a9e9b32..71fe5ced0 100644 --- a/scss/foundation/components/_forms.scss +++ b/scss/foundation/components/_forms.scss @@ -128,7 +128,7 @@ $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%) !default; } // Disabled background input background color - &[disabled], fieldset[disabled] & { background-color: $input-disabled-bg; } + &[disabled], &[readonly], fieldset[disabled] & { background-color: $input-disabled-bg; } } // @MIXIN