From f3479a39537b7b10bf66846c11d500f3364af88a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 14 Aug 2012 15:44:25 -0700 Subject: [PATCH] compensate for ie7 button padding with no borders, fix indentation --- docs/assets/css/bootstrap.css | 4 ++-- docs/base-css.html | 2 +- docs/templates/pages/base-css.mustache | 2 +- less/buttons.less | 5 +++-- less/mixins.less | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 8e7abe9f3e..a70f305a39 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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, diff --git a/docs/base-css.html b/docs/base-css.html index cd550adc38..56f6bde951 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1257,7 +1257,7 @@ For example, <code>section</code> should be wrapped as inline. Some value here
-  <span class="input-xlarge uneditable-input">Some value here</span>
+<span class="input-xlarge uneditable-input">Some value here</span>
 

Form actions

diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index b0fe47c551..9f96cc6345 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1194,7 +1194,7 @@ Some value here
-  <span class="input-xlarge uneditable-input">Some value here</span>
+<span class="input-xlarge uneditable-input">Some value here</span>
 

{{_i}}Form actions{{/i}}

diff --git a/less/buttons.less b/less/buttons.less index f3cb1bdef8..a1d8989b64 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -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; diff --git a/less/mixins.less b/less/mixins.less index 1b2f0bcfb7..b1b8ae80ad 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -605,7 +605,7 @@ .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) {