]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
compensate for ie7 button padding with no borders, fix indentation
authorMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 22:44:25 +0000 (15:44 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 14 Aug 2012 22:44:25 +0000 (15:44 -0700)
docs/assets/css/bootstrap.css
docs/base-css.html
docs/templates/pages/base-css.mustache
less/buttons.less
less/mixins.less

index 8e7abe9f3edc90cd616038c847fbb06c4a546f8e..a70f305a39d86390e4b55e93dad43a28c7b5c18c 100644 (file)
@@ -3253,8 +3253,8 @@ button.close {
 
 button.btn,
 input[type="submit"].btn {
-  *padding-top: 2px;
-  *padding-bottom: 2px;
+  *padding-top: 3px;
+  *padding-bottom: 3px;
 }
 
 button.btn::-moz-focus-inner,
index cd550adc38a0e0ae5c2954e23d3dfb2627598489..56f6bde95101599f41845a809437e55e9c1fb7da 100644 (file)
@@ -1257,7 +1257,7 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
             <span class="input-xlarge uneditable-input">Some value here</span>
           </form>
 <pre class="prettyprint linenums">
-  &lt;span class="input-xlarge uneditable-input"&gt;Some value here&lt;/span&gt;
+&lt;span class="input-xlarge uneditable-input"&gt;Some value here&lt;/span&gt;
 </pre>
 
           <h3>Form actions</h3>
index b0fe47c5519f0be31d4dcba785d1d892c9c576bb..9f96cc6345d89696cde70a25817f9fba84e18180 100644 (file)
             <span class="input-xlarge uneditable-input">Some value here</span>
           </form>
 <pre class="prettyprint linenums">
-  &lt;span class="input-xlarge uneditable-input"&gt;Some value here&lt;/span&gt;
+&lt;span class="input-xlarge uneditable-input"&gt;Some value here&lt;/span&gt;
 </pre>
 
           <h3>{{_i}}Form actions{{/i}}</h3>
index f3cb1bdef873ad973f0ed923f9a75fe6a30d38d7..a1d8989b64305521d133165d156dd12c6416f6df 100644 (file)
@@ -170,8 +170,9 @@ input[type="submit"].btn {
   }
 
   // IE7 has some default padding on button controls
-  *padding-top: 2px;
-  *padding-bottom: 2px;
+  *padding-top: 3px;
+  *padding-bottom: 3px;
+
   &.btn-large {
     *padding-top: 7px;
     *padding-bottom: 7px;
index 1b2f0bcfb7e5784625de090a6907d3da94ee3835..b1b8ae80ad5fe27f03ea3ad5a23430922a9b35f7 100644 (file)
 
     .offset (@columns) {
       margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) + (@fluidGridGutterWidth*2);
-         *margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%) + (@fluidGridGutterWidth*2) - (.5 / @gridRowWidth * 100 * 1%);
+         *margin-left: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%) + (@fluidGridGutterWidth*2) - (.5 / @gridRowWidth * 100 * 1%);
     }
 
     .offsetFirstChild (@columns) {