aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-03-11 21:12:59 -0700
committerMark Otto <[email protected]>2012-03-11 21:12:59 -0700
commitc8f4325c192f97e9c8d09e7d8ad3059be694fc4c (patch)
treeedbeebb70a8699da38bf506443b14ef4921d27f6 /less
parent67714d8347d635ab1cd25c1312d14ec2973b0944 (diff)
downloadbootstrap-c8f4325c192f97e9c8d09e7d8ad3059be694fc4c.tar.xz
bootstrap-c8f4325c192f97e9c8d09e7d8ad3059be694fc4c.zip
remove text indent on carets (not needed) and add inline replacement mixin
Diffstat (limited to 'less')
-rw-r--r--less/buttons.less1
-rw-r--r--less/mixins.less9
2 files changed, 9 insertions, 1 deletions
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
// --------------------------------------------------