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

34 lines
666 B
Plaintext
Raw Normal View History

2013-01-02 00:40:00 -05:00
//
// Component animations
// --------------------------------------------------
2013-10-23 11:12:39 -04:00
// Heads up!
//
// We don't use the `.opacity()` mixin here since it causes a bug with text
2014-08-26 11:51:53 -05:00
// fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
2012-06-04 15:33:52 -04:00
.fade {
2013-01-02 00:40:00 -05:00
opacity: 0;
2012-06-04 15:33:52 -04:00
.transition(opacity .15s linear);
&.in {
2013-01-02 00:40:00 -05:00
opacity: 1;
2012-06-04 15:33:52 -04:00
}
}
.collapse {
2013-10-23 11:12:39 -04:00
display: none;
2014-08-26 11:51:53 -05:00
&.in { display: block; }
tr&.in { display: table-row; }
tbody&.in { display: table-row-group; }
2013-10-23 11:12:39 -04:00
}
2014-08-26 11:51:53 -05:00
2013-10-23 11:12:39 -04:00
.collapsing {
2012-06-04 15:33:52 -04:00
position: relative;
height: 0;
overflow: hidden;
.transition-property(~"height, visibility");
.transition-duration(.35s);
.transition-timing-function(ease);
2013-01-02 00:40:00 -05:00
}