diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 0d975824bb..b991d1242e 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -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; diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 74cef08f2f..d9050d3b6d 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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/; } diff --git a/less/forms.less b/less/forms.less index f327b4faa6..3792bf4205 100644 --- a/less/forms.less +++ b/less/forms.less @@ -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/"); } diff --git a/less/responsive.less b/less/responsive.less index 4ce4aff726..2d49f2095e 100644 --- a/less/responsive.less +++ b/less/responsive.less @@ -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;