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.

50 lines
838 B

  1. .page-loader {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. width: 100vw;
  6. height: 100vh;
  7. background-color: mc('blue-grey', '800');
  8. z-index: 100;
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. color: mc('blue-grey', '100');
  13. font-weight: 300;
  14. font-size: 18px;
  15. flex-direction: column;
  16. > i {
  17. width: 48px;
  18. height: 48px;
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. margin-bottom: 25px;
  23. &::before {
  24. content: " ";
  25. @include spinner(mc('blue-grey', '200'), 0.4s, 48px);
  26. }
  27. }
  28. &-leave-active {
  29. animation: pageLoaderExit 1s ease forwards;
  30. }
  31. @include keyframes(pageLoaderExit) {
  32. 0% {
  33. opacity: 1;
  34. }
  35. 99% {
  36. display: flex;
  37. opacity: 0;
  38. transform: scale(1.1, 1.1);
  39. }
  40. 100% {
  41. opacity: 0;
  42. display: none;
  43. }
  44. }
  45. }