2012-06-29 00:46:45 -04:00
|
|
|
//
|
|
|
|
// Component animations
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-07-25 22:56:04 -04:00
|
|
|
// Heads up!
|
|
|
|
//
|
|
|
|
// We don't use the `.opacity()` mixin here since it causes a bug with text
|
2014-02-25 13:17:44 -05:00
|
|
|
// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
|
2012-01-05 13:01:42 -05:00
|
|
|
|
|
|
|
.fade {
|
2012-05-20 20:56:57 -04:00
|
|
|
opacity: 0;
|
2012-04-16 19:34:08 -04:00
|
|
|
.transition(opacity .15s linear);
|
2012-01-05 13:01:42 -05:00
|
|
|
&.in {
|
2012-05-20 20:56:57 -04:00
|
|
|
opacity: 1;
|
2012-01-05 13:01:42 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-24 00:06:02 -04:00
|
|
|
.collapse {
|
2013-07-26 23:34:39 -04:00
|
|
|
display: none;
|
2014-03-04 00:39:53 -05:00
|
|
|
|
|
|
|
&.in { display: block; }
|
|
|
|
tr&.in { display: table-row; }
|
|
|
|
tbody&.in { display: table-row-group; }
|
2013-07-26 23:34:39 -04:00
|
|
|
}
|
2014-03-04 00:39:53 -05:00
|
|
|
|
2013-07-26 23:34:39 -04:00
|
|
|
.collapsing {
|
2012-04-24 09:39:14 -04:00
|
|
|
position: relative;
|
2012-01-05 13:01:42 -05:00
|
|
|
height: 0;
|
2012-04-24 09:39:14 -04:00
|
|
|
overflow: hidden;
|
2012-04-16 19:34:08 -04:00
|
|
|
.transition(height .35s ease);
|
2012-05-20 20:56:57 -04:00
|
|
|
}
|