rbowen / centos / centos.org

Forked from centos/centos.org 3 years ago
Clone

Blame content/assets/css/bootstrap/_component-animations.scss

e8ec7a
//
e8ec7a
// Component animations
e8ec7a
// --------------------------------------------------
e8ec7a
e8ec7a
// Heads up!
e8ec7a
//
e8ec7a
// We don't use the `.opacity()` mixin here since it causes a bug with text
e8ec7a
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
e8ec7a
e8ec7a
.fade {
e8ec7a
  opacity: 0;
e8ec7a
  @include transition(opacity .15s linear);
e8ec7a
  &.in {
e8ec7a
    opacity: 1;
e8ec7a
  }
e8ec7a
}
e8ec7a
e8ec7a
.collapse {
e8ec7a
  display: none;
e8ec7a
  &.in {
e8ec7a
    display: block;
e8ec7a
  }
e8ec7a
}
e8ec7a
.collapsing {
e8ec7a
  position: relative;
e8ec7a
  height: 0;
e8ec7a
  overflow: hidden;
e8ec7a
  @include transition(height .35s ease);
e8ec7a
}