diff options
| author | Mark Otto <[email protected]> | 2012-03-11 21:12:59 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-03-11 21:12:59 -0700 |
| commit | c8f4325c192f97e9c8d09e7d8ad3059be694fc4c (patch) | |
| tree | edbeebb70a8699da38bf506443b14ef4921d27f6 | |
| parent | 67714d8347d635ab1cd25c1312d14ec2973b0944 (diff) | |
| download | bootstrap-c8f4325c192f97e9c8d09e7d8ad3059be694fc4c.tar.xz bootstrap-c8f4325c192f97e9c8d09e7d8ad3059be694fc4c.zip | |
remove text indent on carets (not needed) and add inline replacement mixin
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 55120 -> 55230 bytes | |||
| -rw-r--r-- | docs/assets/css/bootstrap-responsive.css | 5 | ||||
| -rw-r--r-- | docs/assets/css/bootstrap.css | 9 | ||||
| -rw-r--r-- | less/buttons.less | 1 | ||||
| -rw-r--r-- | less/mixins.less | 9 |
5 files changed, 23 insertions, 1 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex be630ee80..6ef4b1910 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index 48bb004ed..14df20d4a 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -18,6 +18,11 @@ .clearfix:after { clear: both; } +.hide-text { + overflow: hidden; + text-indent: 100%; + white-space: nowrap; +} .hidden { display: none; visibility: hidden; diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 1834e15eb..65b63118c 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -112,6 +112,11 @@ textarea { .clearfix:after { clear: both; } +.hide-text { + overflow: hidden; + text-indent: 100%; + white-space: nowrap; +} body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; @@ -1930,6 +1935,10 @@ table .span24 { } .btn { display: inline-block; + *display: inline; + /* IE7 inline-block hack */ + + *zoom: 1; padding: 4px 10px 4px; margin-bottom: 0; font-size: 13px; diff --git a/less/buttons.less b/less/buttons.less index f93cd01a9..8376c7a76 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -8,6 +8,7 @@ // Core .btn { display: inline-block; + .ie7-inline-block(); padding: 4px 10px 4px; margin-bottom: 0; // For input.btn font-size: @baseFontSize; diff --git a/less/mixins.less b/less/mixins.less index cafd7daf9..8ff5efe50 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -98,7 +98,14 @@ white-space: nowrap; } - +// New image replacement +// ------------------------- +// Source: http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/ +.hide-text { + overflow: hidden; + text-indent: 100%; + white-space: nowrap; +} // FONTS // -------------------------------------------------- |
