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;
|
display: block;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
input[type="checkbox"], input[type="radio"] {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
.form-horizontal .control-group > label {
|
.form-horizontal .control-group > label {
|
||||||
float: none;
|
float: none;
|
||||||
width: auto;
|
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 */
|
/* IE7 */
|
||||||
|
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
border: none;
|
border: 0;
|
||||||
border: initial;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0 \0/;
|
border-radius: 0 \0/;
|
||||||
}
|
}
|
||||||
|
@@ -84,8 +84,7 @@ input[type="radio"] {
|
|||||||
margin: 3px 0;
|
margin: 3px 0;
|
||||||
*margin-top: 0; /* IE7 */
|
*margin-top: 0; /* IE7 */
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
border: none;
|
border: 0;
|
||||||
border: initial;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 0 e("\0/");
|
border-radius: 0 e("\0/");
|
||||||
}
|
}
|
||||||
|
@@ -33,6 +33,12 @@
|
|||||||
line-height: @baseLineHeight;
|
line-height: @baseLineHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Update checkboxes for iOS
|
||||||
|
input[type="checkbox"],
|
||||||
|
input[type="radio"] {
|
||||||
|
border: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
// Remove the horizontal form styles
|
// Remove the horizontal form styles
|
||||||
.form-horizontal .control-group > label {
|
.form-horizontal .control-group > label {
|
||||||
float: none;
|
float: none;
|
||||||
|
Reference in New Issue
Block a user