You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
666 B

4 years ago
  1. //
  2. // Component animations
  3. // --------------------------------------------------
  4. // Heads up!
  5. //
  6. // We don't use the `.opacity()` mixin here since it causes a bug with text
  7. // fields in IE7-8. Source: https://github.com/twbs/bootstrap/pull/3552.
  8. .fade {
  9. opacity: 0;
  10. .transition(opacity .15s linear);
  11. &.in {
  12. opacity: 1;
  13. }
  14. }
  15. .collapse {
  16. display: none;
  17. &.in { display: block; }
  18. tr&.in { display: table-row; }
  19. tbody&.in { display: table-row-group; }
  20. }
  21. .collapsing {
  22. position: relative;
  23. height: 0;
  24. overflow: hidden;
  25. .transition-property(~"height, visibility");
  26. .transition-duration(.35s);
  27. .transition-timing-function(ease);
  28. }