From fe6d2f2e1d181ef6e62eb02fab6a4e16e494d892 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 28 Jan 2012 13:30:15 -0800 Subject: [PATCH 1/3] fix tabs-below typo --- docs/components.html | 2 +- docs/templates/pages/components.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components.html b/docs/components.html index 499e6b87c..1d5cbc926 100644 --- a/docs/components.html +++ b/docs/components.html @@ -564,7 +564,7 @@
-<div class="tabbable tabs-bottom">
+<div class="tabbable tabs-below">
   <ul class="nav tabs">
     ...
   </ul>
diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache
index d08ea98b5..363ed1ba1 100644
--- a/docs/templates/pages/components.mustache
+++ b/docs/templates/pages/components.mustache
@@ -499,7 +499,7 @@
         
        
 
-<div class="tabbable tabs-bottom">
+<div class="tabbable tabs-below">
   <ul class="nav tabs">
     ...
   </ul>

From d96c0c781d49ae87b51221e4aefe025c2c1f3c5a Mon Sep 17 00:00:00 2001
From: Mark Otto 
Date: Sat, 28 Jan 2012 14:20:27 -0800
Subject: [PATCH 2/3] comment for progress bars firefox keyframes

---
 less/progress-bars.less | 1 +
 1 file changed, 1 insertion(+)

diff --git a/less/progress-bars.less b/less/progress-bars.less
index cfca78d68..eeb14eef7 100644
--- a/less/progress-bars.less
+++ b/less/progress-bars.less
@@ -11,6 +11,7 @@
   to    { background-position: 40px 0; }
 }
 
+// Firefox
 @-moz-keyframes progress-bar-stripes {
   from  { background-position: 0 0; }
   to    { background-position: 40px 0; }

From 9db4f2a344ebf452b88ac4af0261192f3a8e9eb6 Mon Sep 17 00:00:00 2001
From: Mark Otto 
Date: Sat, 28 Jan 2012 14:30:45 -0800
Subject: [PATCH 3/3] change .span* inputs to use content-sizing: border-box;
 to make them behave as block level elements

---
 docs/assets/css/bootstrap-responsive.css | 27 ++++++++++++++++++++++++
 less/responsive.less                     | 20 ++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css
index b991d1242..19c465e44 100644
--- a/docs/assets/css/bootstrap-responsive.css
+++ b/docs/assets/css/bootstrap-responsive.css
@@ -7,6 +7,33 @@
     display: block;
     line-height: 18px;
   }
+  input[class*="span"],
+  select[class*="span"],
+  textarea[class*="span"],
+  .uneditable-input {
+    display: block;
+    width: 100%;
+    height: 28px;
+    /* Make inputs at least the height of their button counterpart */
+  
+    /* Makes inputs behave like true block-level elements */
+  
+    -webkit-box-sizing: border-box;
+    /* Older Webkit */
+  
+    -moz-box-sizing: border-box;
+    /* Older FF */
+  
+    -ms-box-sizing: border-box;
+    /* IE8 */
+  
+    box-sizing: border-box;
+    /* CSS3 spec*/
+  
+  }
+  .input-prepend input[class*="span"], .input-append input[class*="span"] {
+    width: auto;
+  }
   input[type="checkbox"], input[type="radio"] {
     border: 1px solid #ccc;
   }
diff --git a/less/responsive.less b/less/responsive.less
index 2d49f2095..ef2df5f1d 100644
--- a/less/responsive.less
+++ b/less/responsive.less
@@ -33,6 +33,26 @@
     line-height: @baseLineHeight;
   }
 
+  // Make span* classes full width
+  input[class*="span"],
+  select[class*="span"],
+  textarea[class*="span"],
+  .uneditable-input {
+    display: block;
+    width: 100%;
+    height: 28px; /* Make inputs at least the height of their button counterpart */
+    /* Makes inputs behave like true block-level elements */
+    -webkit-box-sizing: border-box; /* Older Webkit */
+       -moz-box-sizing: border-box; /* Older FF */
+        -ms-box-sizing: border-box; /* IE8 */
+            box-sizing: border-box; /* CSS3 spec*/
+  }
+  // But don't let it screw up prepend/append inputs
+  .input-prepend input[class*="span"],
+  .input-append input[class*="span"] {
+    width: auto;
+  }
+
   // Update checkboxes for iOS
   input[type="checkbox"],
   input[type="radio"] {