index.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. html[data-theme='dark'] body,
  2. html[data-theme='dark'] .app-loading {
  3. background-color: #2c344a;
  4. }
  5. html[data-theme='dark'] .app-loading .app-loading-title {
  6. color: rgba(255, 255, 255, 0.75);
  7. }
  8. body,
  9. .app-loading {
  10. background-color: #f4f7f9;
  11. }
  12. .app-loading {
  13. display: flex;
  14. width: 100%;
  15. height: 100%;
  16. justify-content: center;
  17. align-items: center;
  18. flex-direction: column;
  19. }
  20. .app-loading .app-loading-wrap {
  21. position: absolute;
  22. top: 50%;
  23. left: 50%;
  24. display: flex;
  25. -webkit-transform: translate3d(-50%, -50%, 0);
  26. transform: translate3d(-50%, -50%, 0);
  27. justify-content: center;
  28. align-items: center;
  29. flex-direction: column;
  30. }
  31. .app-loading .dots {
  32. display: flex;
  33. padding: 98px;
  34. justify-content: center;
  35. align-items: center;
  36. }
  37. .app-loading .app-loading-title {
  38. display: flex;
  39. margin-top: 30px;
  40. font-size: 30px;
  41. color: rgba(0, 0, 0, 0.85);
  42. justify-content: center;
  43. align-items: center;
  44. }
  45. .app-loading .app-loading-logo {
  46. display: block;
  47. width: 90px;
  48. margin: 0 auto;
  49. margin-bottom: 20px;
  50. }
  51. .dot {
  52. position: relative;
  53. display: inline-block;
  54. width: 48px;
  55. height: 48px;
  56. margin-top: 30px;
  57. font-size: 32px;
  58. transform: rotate(45deg);
  59. box-sizing: border-box;
  60. animation: antRotate 1.2s infinite linear;
  61. }
  62. .dot i {
  63. position: absolute;
  64. display: block;
  65. width: 20px;
  66. height: 20px;
  67. background-color: #0065cc;
  68. border-radius: 100%;
  69. opacity: 0.3;
  70. transform: scale(0.75);
  71. animation: antSpinMove 1s infinite linear alternate;
  72. transform-origin: 50% 50%;
  73. }
  74. .dot i:nth-child(1) {
  75. top: 0;
  76. left: 0;
  77. }
  78. .dot i:nth-child(2) {
  79. top: 0;
  80. right: 0;
  81. -webkit-animation-delay: 0.4s;
  82. animation-delay: 0.4s;
  83. }
  84. .dot i:nth-child(3) {
  85. right: 0;
  86. bottom: 0;
  87. -webkit-animation-delay: 0.8s;
  88. animation-delay: 0.8s;
  89. }
  90. .dot i:nth-child(4) {
  91. bottom: 0;
  92. left: 0;
  93. -webkit-animation-delay: 1.2s;
  94. animation-delay: 1.2s;
  95. }
  96. @keyframes antRotate {
  97. to {
  98. -webkit-transform: rotate(405deg);
  99. transform: rotate(405deg);
  100. }
  101. }
  102. @-webkit-keyframes antRotate {
  103. to {
  104. -webkit-transform: rotate(405deg);
  105. transform: rotate(405deg);
  106. }
  107. }
  108. @keyframes antSpinMove {
  109. to {
  110. opacity: 1;
  111. }
  112. }
  113. @-webkit-keyframes antSpinMove {
  114. to {
  115. opacity: 1;
  116. }
  117. }