2012-06-29 06:46:45 +02:00
|
|
|
//
|
|
|
|
// Component animations
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-07-26 04:56:04 +02: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 19:01:42 +01:00
|
|
|
|
|
|
|
.fade {
|
2012-05-21 02:56:57 +02:00
|
|
|
opacity: 0;
|
2012-04-17 01:34:08 +02:00
|
|
|
.transition(opacity .15s linear);
|
2012-01-05 19:01:42 +01:00
|
|
|
&.in {
|
2012-05-21 02:56:57 +02:00
|
|
|
opacity: 1;
|
2012-01-05 19:01:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-24 06:06:02 +02:00
|
|
|
.collapse {
|
2013-07-27 05:34:39 +02:00
|
|
|
display: none;
|
|
|
|
&.in {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.collapsing {
|
2012-04-24 15:39:14 +02:00
|
|
|
position: relative;
|
2012-01-05 19:01:42 +01:00
|
|
|
height: 0;
|
2012-04-24 15:39:14 +02:00
|
|
|
overflow: hidden;
|
2012-04-17 01:34:08 +02:00
|
|
|
.transition(height .35s ease);
|
2012-05-21 02:56:57 +02:00
|
|
|
}
|