Commit 296d06a2 authored by Mark Otto's avatar Mark Otto
Browse files

add checkbox/radio border for ios in responsive

parent 70c6a6cd
2 merge requests!14752.0 wip,!1403warningText and warningBackground docs fix
Showing with 11 additions and 4 deletions
+11 -4
...@@ -7,6 +7,9 @@ ...@@ -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;
......
...@@ -533,8 +533,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] { ...@@ -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"] { ...@@ -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 @@ ...@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment