Drop: .opacity() mixin because we no longer support IE8

This commit is contained in:
Mark Otto 2014-07-08 19:22:19 -07:00
parent c825629ffe
commit ff4ff3bd06
9 changed files with 3 additions and 14 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -239,7 +239,7 @@
input[type="checkbox"] {
position: absolute;
z-index: -1;
.opacity(0);
opacity: 0;
}
}
}

View file

@ -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

View file

@ -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;

View file

@ -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";

View file

@ -1,5 +0,0 @@
// Opacity
.opacity(@opacity) {
opacity: @opacity;
}