_loader.scss 883 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // ---------------------------------------------------------
  2. // SPINNER LOAD
  3. // ---------------------------------------------------------
  4. #loader {
  5. transition: all 0.3s ease-in-out;
  6. opacity: 1;
  7. display: initial;
  8. }
  9. #loader.fadeOut {
  10. opacity: 0;
  11. display: none;
  12. }
  13. .spinner {
  14. width: 40px;
  15. height: 40px;
  16. position: absolute;
  17. top: calc(50% - 20px);
  18. left: calc(50% - 20px);
  19. background-color: #333;
  20. border-radius: 100%;
  21. -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  22. animation: sk-scaleout 1.0s infinite ease-in-out;
  23. }
  24. @-webkit-keyframes sk-scaleout {
  25. 0% { -webkit-transform: scale(0) }
  26. 100% {
  27. -webkit-transform: scale(1.0);
  28. opacity: 0;
  29. }
  30. }
  31. @keyframes sk-scaleout {
  32. 0% {
  33. -webkit-transform: scale(0);
  34. transform: scale(0);
  35. } 100% {
  36. -webkit-transform: scale(1.0);
  37. transform: scale(1.0);
  38. opacity: 0;
  39. }
  40. }