aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-08 19:22:19 -0700
committerMark Otto <[email protected]>2014-07-08 19:22:19 -0700
commitff4ff3bd0619035313ef245839fae7865039dd25 (patch)
tree6c353b73425bb3072af3e7adf62d5445d3020aaa /less
parentc825629ffe096c116aed21dbba14e07f2615472d (diff)
downloadbootstrap-ff4ff3bd0619035313ef245839fae7865039dd25.tar.xz
bootstrap-ff4ff3bd0619035313ef245839fae7865039dd25.zip
Drop: .opacity() mixin because we no longer support IE8
Diffstat (limited to 'less')
-rw-r--r--less/button-groups.less2
-rw-r--r--less/carousel.less4
-rw-r--r--less/component-animations.less5
-rw-r--r--less/mixins.less1
-rw-r--r--less/mixins/opacity.less5
5 files changed, 3 insertions, 14 deletions
diff --git a/less/button-groups.less b/less/button-groups.less
index 912d2e68f..36d165b20 100644
--- a/less/button-groups.less
+++ b/less/button-groups.less
@@ -239,7 +239,7 @@
input[type="checkbox"] {
position: absolute;
z-index: -1;
- .opacity(0);
+ opacity: 0;
}
}
}
diff --git a/less/carousel.less b/less/carousel.less
index e42378af2..f871545cc 100644
--- a/less/carousel.less
+++ b/less/carousel.less
@@ -72,7 +72,7 @@
left: 0;
bottom: 0;
width: @carousel-control-width;
- .opacity(@carousel-control-opacity);
+ opacity: @carousel-control-opacity;
font-size: @carousel-control-font-size;
color: @carousel-control-color;
text-align: center;
@@ -96,7 +96,7 @@
outline: 0;
color: @carousel-control-color;
text-decoration: none;
- .opacity(.9);
+ opacity: .9;
}
// Toggles
diff --git a/less/component-animations.less b/less/component-animations.less
index a771ec96b..ac48e8514 100644
--- a/less/component-animations.less
+++ b/less/component-animations.less
@@ -2,11 +2,6 @@
// Component animations
// --------------------------------------------------
-// Heads up!
-//
-// We don't use the `.opacity()` mixin here since it causes a bug with text
-// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
-
.fade {
opacity: 0;
transition: opacity .15s linear;
diff --git a/less/mixins.less b/less/mixins.less
index 0dcda5831..627cae318 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -12,7 +12,6 @@
// Utilities
@import "mixins/hide-text.less";
-@import "mixins/opacity.less";
@import "mixins/image.less";
@import "mixins/labels.less";
@import "mixins/reset-filter.less";
diff --git a/less/mixins/opacity.less b/less/mixins/opacity.less
deleted file mode 100644
index 1f7148099..000000000
--- a/less/mixins/opacity.less
+++ /dev/null
@@ -1,5 +0,0 @@
-// Opacity
-
-.opacity(@opacity) {
- opacity: @opacity;
-}