index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. html[data-theme='dark'] .app-loading {
  2. background-color: #2c344a;
  3. }
  4. html[data-theme='dark'] .app-loading .app-loading-title {
  5. color: rgb(255 255 255 / 85%);
  6. }
  7. html[data-theme="dark"] .ant-steps-navigation .ant-steps-item::after {
  8. border-bottom: none;
  9. border-left: none;
  10. }
  11. .app-loading {
  12. display: flex;
  13. width: 100%;
  14. height: 100%;
  15. justify-content: center;
  16. align-items: center;
  17. flex-direction: column;
  18. background-color: #f4f7f9;
  19. }
  20. .app-loading .app-loading-wrap {
  21. position: absolute;
  22. top: 50%;
  23. left: 50%;
  24. display: flex;
  25. transform: translate3d(-50%, -50%, 0);
  26. justify-content: center;
  27. align-items: center;
  28. flex-direction: column;
  29. }
  30. .app-loading .dots {
  31. display: flex;
  32. padding: 98px;
  33. justify-content: center;
  34. align-items: center;
  35. }
  36. .app-loading .app-loading-title {
  37. display: flex;
  38. margin-top: 30px;
  39. font-size: 30px;
  40. color: rgb(0 0 0 / 85%);
  41. justify-content: center;
  42. align-items: center;
  43. }
  44. .app-loading .app-loading-logo {
  45. display: block;
  46. width: 90px;
  47. margin: 0 auto;
  48. margin-bottom: 20px;
  49. border: none;
  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: 30%;
  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. animation-delay: 0.4s;
  82. }
  83. .dot i:nth-child(3) {
  84. right: 0;
  85. bottom: 0;
  86. animation-delay: 0.8s;
  87. }
  88. .dot i:nth-child(4) {
  89. bottom: 0;
  90. left: 0;
  91. animation-delay: 1.2s;
  92. }
  93. @keyframes antRotate {
  94. to {
  95. transform: rotate(405deg);
  96. }
  97. }
  98. @-webkit-keyframes antRotate {
  99. to {
  100. transform: rotate(405deg);
  101. }
  102. }
  103. @keyframes antSpinMove {
  104. to {
  105. opacity: 100%;
  106. }
  107. }
  108. @-webkit-keyframes antSpinMove {
  109. to {
  110. opacity: 100%;
  111. }
  112. }
  113. @media (max-width: 600px) {
  114. .app-loading .app-loading-logo,
  115. .app-loading .app-loading-title {
  116. display: none;
  117. }
  118. }