mirror of
https://github.com/twbs/bootstrap.git
synced 2025-06-06 00:03:01 -04:00
remove text indent on carets (not needed) and add inline replacement mixin
This commit is contained in:
parent
67714d8347
commit
c8f4325c19
Binary file not shown.
5
docs/assets/css/bootstrap-responsive.css
vendored
5
docs/assets/css/bootstrap-responsive.css
vendored
@ -18,6 +18,11 @@
|
|||||||
.clearfix:after {
|
.clearfix:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
.hide-text {
|
||||||
|
overflow: hidden;
|
||||||
|
text-indent: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
9
docs/assets/css/bootstrap.css
vendored
9
docs/assets/css/bootstrap.css
vendored
@ -112,6 +112,11 @@ textarea {
|
|||||||
.clearfix:after {
|
.clearfix:after {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
.hide-text {
|
||||||
|
overflow: hidden;
|
||||||
|
text-indent: 100%;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
@ -1930,6 +1935,10 @@ table .span24 {
|
|||||||
}
|
}
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
*display: inline;
|
||||||
|
/* IE7 inline-block hack */
|
||||||
|
|
||||||
|
*zoom: 1;
|
||||||
padding: 4px 10px 4px;
|
padding: 4px 10px 4px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
// Core
|
// Core
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
.ie7-inline-block();
|
||||||
padding: 4px 10px 4px;
|
padding: 4px 10px 4px;
|
||||||
margin-bottom: 0; // For input.btn
|
margin-bottom: 0; // For input.btn
|
||||||
font-size: @baseFontSize;
|
font-size: @baseFontSize;
|
||||||
|
@ -98,7 +98,14 @@
|
|||||||
white-space: nowrap;
|
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
|
// FONTS
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user