]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
disabled background on readonly input fields 5378/head
authorWolfgang Demeter <wolfgang.demeter+github.com@gogol-medien.de>
Wed, 25 Jun 2014 19:00:04 +0000 (21:00 +0200)
committerWolfgang Demeter <wolfgang.demeter+github.com@gogol-medien.de>
Wed, 25 Jun 2014 19:00:04 +0000 (21:00 +0200)
scss/foundation/components/_forms.scss

index 40a9e9b32aa29d876ca6efb9df7f5fc855860887..71fe5ced068ec95cd759772d16122b951e65df28 100644 (file)
@@ -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