index.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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 .app-loading-title {
  32. display: flex;
  33. margin-top: 30px;
  34. font-size: 30px;
  35. color: rgba(0, 0, 0, 0.85);
  36. justify-content: center;
  37. align-items: center;
  38. }
  39. .app-loading .app-loading-logo {
  40. display: block;
  41. width: 90px;
  42. margin: 0 auto;
  43. margin-bottom: 20px;
  44. }
  45. .dot {
  46. position: relative;
  47. display: inline-block;
  48. width: 48px;
  49. height: 48px;
  50. margin-top: 30px;
  51. font-size: 32px;
  52. transform: rotate(45deg);
  53. box-sizing: border-box;
  54. animation: antRotate 1.2s infinite linear;
  55. }
  56. .dot i {
  57. position: absolute;
  58. display: block;
  59. width: 20px;
  60. height: 20px;
  61. background-color: #0065cc;
  62. border-radius: 100%;
  63. opacity: 0.3;
  64. transform: scale(0.75);
  65. animation: antSpinMove 1s infinite linear alternate;
  66. transform-origin: 50% 50%;
  67. }
  68. .dot i:nth-child(1) {
  69. top: 0;
  70. left: 0;
  71. }
  72. .dot i:nth-child(2) {
  73. top: 0;
  74. right: 0;
  75. -webkit-animation-delay: 0.4s;
  76. animation-delay: 0.4s;
  77. }
  78. .dot i:nth-child(3) {
  79. right: 0;
  80. bottom: 0;
  81. -webkit-animation-delay: 0.8s;
  82. animation-delay: 0.8s;
  83. }
  84. .dot i:nth-child(4) {
  85. bottom: 0;
  86. left: 0;
  87. -webkit-animation-delay: 1.2s;
  88. animation-delay: 1.2s;
  89. }
  90. @keyframes antRotate {
  91. to {
  92. -webkit-transform: rotate(405deg);
  93. transform: rotate(405deg);
  94. }
  95. }
  96. @-webkit-keyframes antRotate {
  97. to {
  98. -webkit-transform: rotate(405deg);
  99. transform: rotate(405deg);
  100. }
  101. }
  102. @keyframes antSpinMove {
  103. to {
  104. opacity: 1;
  105. }
  106. }
  107. @-webkit-keyframes antSpinMove {
  108. to {
  109. opacity: 1;
  110. }
  111. }