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.

loading-mask.scss 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. .dc-loading-mask {
  2. position: absolute;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. display: flex;
  8. justify-content: center;
  9. align-items: center;
  10. background: rgba(0,0,0,0.6);
  11. .loading {
  12. width: 150px;
  13. height: 15px;
  14. margin: 0 auto;
  15. }
  16. .loading span {
  17. display: inline-block;
  18. width: 15px;
  19. height: 100%;
  20. margin-right: 5px;
  21. border-radius: 50%;
  22. background: #b8e9ff;
  23. -webkit-animation: load 1.04s ease infinite;
  24. }
  25. .loading span:last-child {
  26. margin-right: 0;
  27. }
  28. @-webkit-keyframes load {
  29. 0% {
  30. opacity: 1;
  31. -webkit-transform: scale(1.3);
  32. }
  33. 100% {
  34. opacity: 0.2;
  35. -webkit-transform: scale(0.3);
  36. }
  37. }
  38. .loading span:nth-child(1) {
  39. -webkit-animation-delay: 0.13s;
  40. }
  41. .loading span:nth-child(2) {
  42. -webkit-animation-delay: 0.26s;
  43. }
  44. .loading span:nth-child(3) {
  45. -webkit-animation-delay: 0.39s;
  46. }
  47. .loading span:nth-child(4) {
  48. -webkit-animation-delay: 0.52s;
  49. }
  50. .loading span:nth-child(5) {
  51. -webkit-animation-delay: 0.65s;
  52. }
  53. }