index.css 4.0 KB

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