loading.scss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. .app-view-loading {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. z-index: 99999;
  8. background-color: rgba(255, 255, 255, 0.7);
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. > div {
  13. text-align: center;
  14. > div {
  15. color: #ccc;
  16. margin: 0;
  17. font: 11px verdana;
  18. line-height: 16px;
  19. text-transform: uppercase;
  20. letter-spacing: 1px;
  21. }
  22. > span {
  23. display: inline-block;
  24. vertical-align: middle;
  25. width: 8px;
  26. height: 8px;
  27. margin: 2px;
  28. background: #007DB6;
  29. border-radius: 8px;
  30. animation: app-view-loadanim 1s infinite alternate;
  31. &:nth-of-type(2) {
  32. background: #008FB2;
  33. animation-delay: 0.2s;
  34. }
  35. &:nth-of-type(3) {
  36. background: #009B9E;
  37. animation-delay: 0.4s;
  38. }
  39. &:nth-of-type(4) {
  40. background: #00A77D;
  41. animation-delay: 0.6s;
  42. }
  43. &:nth-of-type(5) {
  44. background: #00B247;
  45. animation-delay: 0.8s;
  46. }
  47. &:nth-of-type(6) {
  48. background: #5AB027;
  49. animation-delay: 1.0s;
  50. }
  51. &:nth-of-type(7) {
  52. background: #A0B61E;
  53. animation-delay: 1.2s;
  54. }
  55. }
  56. @keyframes app-view-loadanim {
  57. 0% {
  58. opacity: 0;
  59. }
  60. 100% {
  61. opacity: 1;
  62. }
  63. }
  64. }
  65. }