index.css 5.0 KB

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