mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-01 03:10:14 +02:00
add checkbox/radio border for ios in responsive
This commit is contained in:
3
docs/assets/css/bootstrap-responsive.css
vendored
3
docs/assets/css/bootstrap-responsive.css
vendored
@@ -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;
|
||||
|
3
docs/assets/css/bootstrap.css
vendored
3
docs/assets/css/bootstrap.css
vendored
@@ -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/;
|
||||
}
|
||||
|
@@ -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/");
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user