2012-06-29 04:46:45 +00:00
|
|
|
//
|
|
|
|
// Component animations
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-07-26 02:56:04 +00: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-01-05 18:01:42 +00:00
|
|
|
|
|
|
|
.fade {
|
2012-05-21 00:56:57 +00:00
|
|
|
opacity: 0;
|
2012-04-16 23:34:08 +00:00
|
|
|
.transition(opacity .15s linear);
|
2012-01-05 18:01:42 +00:00
|
|
|
&.in {
|
2012-05-21 00:56:57 +00:00
|
|
|
opacity: 1;
|
2012-01-05 18:01:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-24 04:06:02 +00:00
|
|
|
.collapse {
|
2012-04-24 13:39:14 +00:00
|
|
|
position: relative;
|
2012-01-05 18:01:42 +00:00
|
|
|
height: 0;
|
2012-04-24 13:39:14 +00:00
|
|
|
overflow: hidden;
|
2012-04-16 23:34:08 +00:00
|
|
|
.transition(height .35s ease);
|
2013-05-24 04:06:02 +00:00
|
|
|
|
2012-03-12 05:43:35 +00:00
|
|
|
&.in {
|
|
|
|
height: auto;
|
|
|
|
}
|
2012-05-21 00:56:57 +00:00
|
|
|
}
|