From 296d06a285d91200b4063f3bdde65c094495ee24 Mon Sep 17 00:00:00 2001
From: Mark Otto <markdotto@gmail.com>
Date: Sat, 28 Jan 2012 13:07:01 -0800
Subject: [PATCH] add checkbox/radio border for ios in responsive

---
 docs/assets/css/bootstrap-responsive.css | 3 +++
 docs/assets/css/bootstrap.css            | 3 +--
 less/forms.less                          | 3 +--
 less/responsive.less                     | 6 ++++++
 4 files changed, 11 insertions(+), 4 deletions(-)

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;
-- 
GitLab