From 99a916d5ebfdf5199be0232ac8bf6d569f54f07c Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 23 Apr 2012 03:05:10 -0700 Subject: remove background color from radios and checkboxes for IEs --- less/forms.less | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'less/forms.less') diff --git a/less/forms.less b/less/forms.less index eb3be4544..da94fa1fa 100644 --- a/less/forms.less +++ b/less/forms.less @@ -98,6 +98,7 @@ input[type="radio"] { *margin-top: 0; /* IE7 */ line-height: normal; cursor: pointer; + background-color: transparent; border: 0 \9; /* IE9 and down */ .border-radius(0); } @@ -278,6 +279,13 @@ textarea[readonly] { background-color: @inputDisabledBackground; border-color: #ddd; } +// Explicitly reset the colors here +input[type="radio"][disabled], +input[type="checkbox"][disabled], +input[type="radio"][readonly], +input[type="checkbox"][readonly] { + background-color: transparent; +} -- cgit v1.2.3