]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
bring back checkbox borders to iOS by conditionalizing the border: 0; on it to IE7...
authorMark Otto <markotto@twitter.com>
Fri, 17 Feb 2012 06:34:30 +0000 (22:34 -0800)
committerMark Otto <markotto@twitter.com>
Fri, 17 Feb 2012 06:34:30 +0000 (22:34 -0800)
docs/assets/bootstrap.zip
docs/assets/css/bootstrap.css
less/code.less
less/forms.less

index 4ef9191d60941b8d685f8861425f57e3a8b8d2b4..622ad011771c545029eb476904a4a9c58a5490e8 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 74d7308be911d808ae319825fa000d6ea0f52905..ed32b339f024dab98dcc9ae938519e6be4990dea 100644 (file)
@@ -498,6 +498,7 @@ pre {
   white-space: pre;
   white-space: pre-wrap;
   word-break: break-all;
+  word-wrap: break-word;
 }
 pre.prettyprint {
   margin-bottom: 18px;
@@ -588,11 +589,16 @@ input[type="image"], input[type="checkbox"], input[type="radio"] {
   /* IE7 */
 
   line-height: normal;
-  border: 0;
   cursor: pointer;
   -webkit-border-radius: 0;
   -moz-border-radius: 0;
   border-radius: 0;
+  border: 0 \9;
+  /* IE9 and down */
+
+}
+input[type="image"] {
+  border: 0;
 }
 input[type="file"] {
   width: auto;
index 35a8ae6b825ca25a27a107d65e033f322e69eb55..e2157d8ab1b800afe0f2685d6ccea5b07ab7ee4c 100644 (file)
@@ -34,6 +34,7 @@ pre {
   white-space: pre;
   white-space: pre-wrap;
   word-break: break-all;
+  word-wrap: break-word;
 
   // Make prettyprint styles more spaced out for readability
   &.prettyprint {
index be9dbfaa9cdcc4f5cfed5a1427ab3f9daed3a388..0a5fa2b8676b22e6e2ca5465493a019289cef561 100644 (file)
@@ -96,9 +96,12 @@ input[type="radio"] {
   margin: 3px 0;
   *margin-top: 0; /* IE7 */
   line-height: normal;
-  border: 0;
   cursor: pointer;
   .border-radius(0);
+  border: 0 \9; /* IE9 and down */
+}
+input[type="image"] {
+  border: 0;
 }
 
 // Reset the file input to browser defaults