0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-19 16:54:24 +01:00

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 7 additions and 18 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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