Font-Awesome/assets/less/bootstrap-3.0.2/component-animations.less

30 lines
509 B
Plaintext
Raw Normal View History

2013-01-02 00:40:00 -05:00
//
// Component animations
// --------------------------------------------------
2013-10-23 11:12:39 -04:00
// 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/twitter/bootstrap/pull/3552.
2012-06-04 15:33:52 -04:00
.fade {
2013-01-02 00:40:00 -05:00
opacity: 0;
2012-06-04 15:33:52 -04:00
.transition(opacity .15s linear);
&.in {
2013-01-02 00:40:00 -05:00
opacity: 1;
2012-06-04 15:33:52 -04:00
}
}
.collapse {
2013-10-23 11:12:39 -04:00
display: none;
&.in {
display: block;
}
}
.collapsing {
2012-06-04 15:33:52 -04:00
position: relative;
height: 0;
overflow: hidden;
.transition(height .35s ease);
2013-01-02 00:40:00 -05:00
}