Skip to content

Commit

Permalink
remove text indent on carets (not needed) and add inline replacement …
Browse files Browse the repository at this point in the history
…mixin
  • Loading branch information
mdo committed Mar 12, 2012
1 parent 67714d8 commit c8f4325
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
Binary file modified docs/assets/bootstrap.zip
Binary file not shown.
5 changes: 5 additions & 0 deletions docs/assets/css/bootstrap-responsive.css
Expand Up @@ -18,6 +18,11 @@
.clearfix:after {
clear: both;
}
.hide-text {
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
}
.hidden {
display: none;
visibility: hidden;
Expand Down
9 changes: 9 additions & 0 deletions docs/assets/css/bootstrap.css
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions less/buttons.less
Expand Up @@ -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;
Expand Down
9 changes: 8 additions & 1 deletion less/mixins.less
Expand Up @@ -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
// --------------------------------------------------
Expand Down

0 comments on commit c8f4325

Please sign in to comment.