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

30 lines
509 B
Plaintext
Raw Normal View History

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