2018-09-19 04:00:22 +08:00
|
|
|
// stylelint-disable selector-no-qualifying-type
|
2017-11-26 10:06:34 +08:00
|
|
|
|
2012-06-29 12:46:45 +08:00
|
|
|
//
|
|
|
|
// Component animations
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2013-07-26 10:56:04 +08:00
|
|
|
// Heads up!
|
|
|
|
//
|
|
|
|
// We don't use the `.opacity()` mixin here since it causes a bug with text
|
2014-02-26 02:17:44 +08:00
|
|
|
// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
|
2012-01-06 02:01:42 +08:00
|
|
|
|
|
|
|
.fade {
|
2012-05-21 08:56:57 +08:00
|
|
|
opacity: 0;
|
2012-04-17 07:34:08 +08:00
|
|
|
.transition(opacity .15s linear);
|
2017-11-26 10:06:34 +08:00
|
|
|
|
2012-01-06 02:01:42 +08:00
|
|
|
&.in {
|
2012-05-21 08:56:57 +08:00
|
|
|
opacity: 1;
|
2012-01-06 02:01:42 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-05-24 12:06:02 +08:00
|
|
|
.collapse {
|
2013-07-27 11:34:39 +08:00
|
|
|
display: none;
|
2014-03-04 13:39:53 +08:00
|
|
|
|
2015-03-09 16:39:43 +08:00
|
|
|
&.in { display: block; }
|
2014-03-04 13:39:53 +08:00
|
|
|
tr&.in { display: table-row; }
|
|
|
|
tbody&.in { display: table-row-group; }
|
2013-07-27 11:34:39 +08:00
|
|
|
}
|
2014-03-04 13:39:53 +08:00
|
|
|
|
2013-07-27 11:34:39 +08:00
|
|
|
.collapsing {
|
2012-04-24 21:39:14 +08:00
|
|
|
position: relative;
|
2012-01-06 02:01:42 +08:00
|
|
|
height: 0;
|
2012-04-24 21:39:14 +08:00
|
|
|
overflow: hidden;
|
2014-09-24 04:29:19 +08:00
|
|
|
.transition-property(~"height, visibility");
|
|
|
|
.transition-duration(.35s);
|
|
|
|
.transition-timing-function(ease);
|
2012-05-21 08:56:57 +08:00
|
|
|
}
|