add checkbox/radio border for ios in responsive

This commit is contained in:
Mark Otto 2012-01-28 13:07:01 -08:00
parent 70c6a6cd85
commit 296d06a285
4 changed files with 11 additions and 4 deletions

View File

@ -7,6 +7,9 @@
display: block;
line-height: 18px;
}
input[type="checkbox"], input[type="radio"] {
border: 1px solid #ccc;
}
.form-horizontal .control-group > label {
float: none;
width: auto;

View File

@ -533,8 +533,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
/* IE7 */
line-height: normal;
border: none;
border: initial;
border: 0;
cursor: pointer;
border-radius: 0 \0/;
}

View File

@ -84,8 +84,7 @@ input[type="radio"] {
margin: 3px 0;
*margin-top: 0; /* IE7 */
line-height: normal;
border: none;
border: initial;
border: 0;
cursor: pointer;
border-radius: 0 e("\0/");
}

View File

@ -33,6 +33,12 @@
line-height: @baseLineHeight;
}
// Update checkboxes for iOS
input[type="checkbox"],
input[type="radio"] {
border: 1px solid #ccc;
}
// Remove the horizontal form styles
.form-horizontal .control-group > label {
float: none;