]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add checkbox/radio border for ios in responsive
authorMark Otto <markdotto@gmail.com>
Sat, 28 Jan 2012 21:07:01 +0000 (13:07 -0800)
committerMark Otto <markdotto@gmail.com>
Sat, 28 Jan 2012 21:07:01 +0000 (13:07 -0800)
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap.css
less/forms.less
less/responsive.less

index 0d975824bba0429ba5523281b6b16a7d3a24a396..b991d1242e5f1766b62425ab5038d1cbedf5ae9c 100644 (file)
@@ -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;
index 74cef08f2f19714e76f898be2f20bbcfa768a923..d9050d3b6d377a59b300d655b29fe2795f93ff6a 100644 (file)
@@ -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/;
 }
index f327b4faa6bc385f193528b05ec6868019c69765..3792bf42052c857067aa75e06e09e415b45273a8 100644 (file)
@@ -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/");
 }
index 4ce4aff726c06ffafd4612c6c11530f378d5902a..2d49f2095e266cf495dc2d4cb44c030d7062ed07 100644 (file)
     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;