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.

87 lines
1.6 KiB

  1. /*
  2. * # Semantic - Transition
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2014 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Theme
  13. *******************************/
  14. @type : 'module';
  15. @element : 'transition';
  16. @import '../../semantic.config';
  17. /*******************************
  18. Transitions
  19. *******************************/
  20. /*
  21. Some transitions adapted from Animate CSS
  22. https://github.com/daneden/animate.css
  23. */
  24. .ui.transition {
  25. animation-iteration-count: 1;
  26. animation-duration: @transitionDefaultDuration;
  27. animation-timing-function: @transitionDefaultEasing;
  28. animation-fill-mode: @transitionDefaultFill;
  29. }
  30. /*******************************
  31. States
  32. *******************************/
  33. .ui.animating.transition {
  34. display: block !important;
  35. backface-visibility: @backfaceVisibility;
  36. transform: @use3DAcceleration;
  37. }
  38. /* Loading */
  39. .ui.loading.transition {
  40. position: absolute;
  41. top: -999999px;
  42. left: -99999px;
  43. }
  44. /* Hidden */
  45. .ui.hidden.transition {
  46. display: none;
  47. }
  48. /* Visible */
  49. .ui.visible.transition {
  50. display: block !important;
  51. visibility: visible;
  52. backface-visibility: @backfaceVisibility;
  53. transform: @use3DAcceleration;
  54. }
  55. /* Disabled */
  56. .ui.disabled.transition {
  57. animation-play-state: paused;
  58. }
  59. /*******************************
  60. Variations
  61. *******************************/
  62. .ui.looping.transition {
  63. animation-iteration-count: infinite;
  64. }
  65. /*******************************
  66. Types
  67. *******************************/
  68. .loadUIOverrides();