index.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. .ant-spin {
  4. box-sizing: border-box;
  5. margin: 0;
  6. padding: 0;
  7. color: rgba(0, 0, 0, 0.85);
  8. font-size: 14px;
  9. font-variant: tabular-nums;
  10. line-height: 1.5715;
  11. list-style: none;
  12. font-feature-settings: 'tnum';
  13. position: absolute;
  14. display: none;
  15. color: #1890ff;
  16. font-size: 0;
  17. text-align: center;
  18. vertical-align: middle;
  19. opacity: 0;
  20. transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
  21. }
  22. .ant-spin-spinning {
  23. position: static;
  24. display: inline-block;
  25. opacity: 1;
  26. }
  27. .ant-spin-nested-loading {
  28. position: relative;
  29. }
  30. .ant-spin-nested-loading > div > .ant-spin {
  31. position: absolute;
  32. top: 0;
  33. left: 0;
  34. z-index: 4;
  35. display: block;
  36. width: 100%;
  37. height: 100%;
  38. max-height: 400px;
  39. }
  40. .ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {
  41. position: absolute;
  42. top: 50%;
  43. left: 50%;
  44. margin: -10px;
  45. }
  46. .ant-spin-nested-loading > div > .ant-spin .ant-spin-text {
  47. position: absolute;
  48. top: 50%;
  49. width: 100%;
  50. padding-top: 5px;
  51. font-size: 14px;
  52. text-shadow: 0 1px 2px #fff;
  53. }
  54. .ant-spin-nested-loading > div > .ant-spin.ant-spin-show-text .ant-spin-dot {
  55. margin-top: -20px;
  56. }
  57. .ant-spin-nested-loading > div > .ant-spin-sm .ant-spin-dot {
  58. margin: -7px;
  59. }
  60. .ant-spin-nested-loading > div > .ant-spin-sm .ant-spin-text {
  61. padding-top: 2px;
  62. }
  63. .ant-spin-nested-loading > div > .ant-spin-sm.ant-spin-show-text .ant-spin-dot {
  64. margin-top: -17px;
  65. }
  66. .ant-spin-nested-loading > div > .ant-spin-lg .ant-spin-dot {
  67. margin: -16px;
  68. }
  69. .ant-spin-nested-loading > div > .ant-spin-lg .ant-spin-text {
  70. padding-top: 11px;
  71. }
  72. .ant-spin-nested-loading > div > .ant-spin-lg.ant-spin-show-text .ant-spin-dot {
  73. margin-top: -26px;
  74. }
  75. .ant-spin-container {
  76. position: relative;
  77. transition: opacity 0.3s;
  78. }
  79. .ant-spin-container::after {
  80. position: absolute;
  81. top: 0;
  82. right: 0;
  83. bottom: 0;
  84. left: 0;
  85. z-index: 10;
  86. display: none \9;
  87. width: 100%;
  88. height: 100%;
  89. background: #fff;
  90. opacity: 0;
  91. transition: all 0.3s;
  92. content: '';
  93. pointer-events: none;
  94. }
  95. .ant-spin-blur {
  96. clear: both;
  97. opacity: 0.5;
  98. user-select: none;
  99. pointer-events: none;
  100. }
  101. .ant-spin-blur::after {
  102. opacity: 0.4;
  103. pointer-events: auto;
  104. }
  105. .ant-spin-tip {
  106. color: rgba(0, 0, 0, 0.45);
  107. }
  108. .ant-spin-dot {
  109. position: relative;
  110. display: inline-block;
  111. font-size: 20px;
  112. width: 1em;
  113. height: 1em;
  114. }
  115. .ant-spin-dot-item {
  116. position: absolute;
  117. display: block;
  118. width: 9px;
  119. height: 9px;
  120. background-color: #1890ff;
  121. border-radius: 100%;
  122. transform: scale(0.75);
  123. transform-origin: 50% 50%;
  124. opacity: 0.3;
  125. animation: antSpinMove 1s infinite linear alternate;
  126. }
  127. .ant-spin-dot-item:nth-child(1) {
  128. top: 0;
  129. left: 0;
  130. }
  131. .ant-spin-dot-item:nth-child(2) {
  132. top: 0;
  133. right: 0;
  134. animation-delay: 0.4s;
  135. }
  136. .ant-spin-dot-item:nth-child(3) {
  137. right: 0;
  138. bottom: 0;
  139. animation-delay: 0.8s;
  140. }
  141. .ant-spin-dot-item:nth-child(4) {
  142. bottom: 0;
  143. left: 0;
  144. animation-delay: 1.2s;
  145. }
  146. .ant-spin-dot-spin {
  147. transform: rotate(0deg);
  148. animation: antRotate 1.2s infinite linear;
  149. }
  150. .ant-spin-sm .ant-spin-dot {
  151. font-size: 14px;
  152. }
  153. .ant-spin-sm .ant-spin-dot i {
  154. width: 6px;
  155. height: 6px;
  156. }
  157. .ant-spin-lg .ant-spin-dot {
  158. font-size: 32px;
  159. }
  160. .ant-spin-lg .ant-spin-dot i {
  161. width: 14px;
  162. height: 14px;
  163. }
  164. .ant-spin.ant-spin-show-text .ant-spin-text {
  165. display: block;
  166. }
  167. @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  168. /* IE10+ */
  169. .ant-spin-blur {
  170. background: #fff;
  171. opacity: 0.5;
  172. }
  173. }
  174. @keyframes antSpinMove {
  175. to {
  176. opacity: 1;
  177. }
  178. }
  179. @keyframes antRotate {
  180. to {
  181. transform: rotate(360deg);
  182. }
  183. }
  184. .ant-spin-rtl {
  185. direction: rtl;
  186. }
  187. .ant-spin-rtl .ant-spin-dot-spin {
  188. transform: rotate(-45deg);
  189. animation-name: antRotateRtl;
  190. }
  191. @keyframes antRotateRtl {
  192. to {
  193. transform: rotate(-405deg);
  194. }
  195. }
  196. nz-spin {
  197. display: block;
  198. }