aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-04-23 03:05:10 -0700
committerMark Otto <[email protected]>2012-04-23 03:05:10 -0700
commit99a916d5ebfdf5199be0232ac8bf6d569f54f07c (patch)
tree882947ef826d1cf597f28791313b1ee3da32d5e6 /less/forms.less
parent192cb575da73ed2c056319b27613407729796a4f (diff)
downloadbootstrap-99a916d5ebfdf5199be0232ac8bf6d569f54f07c.tar.xz
bootstrap-99a916d5ebfdf5199be0232ac8bf6d569f54f07c.zip
remove background color from radios and checkboxes for IEs
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less8
1 files changed, 8 insertions, 0 deletions
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;
+}