index.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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-progress {
  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. display: inline-block;
  16. }
  17. .ant-progress-line {
  18. position: relative;
  19. width: 100%;
  20. font-size: 14px;
  21. }
  22. .ant-progress-steps {
  23. display: inline-block;
  24. }
  25. .ant-progress-steps-outer {
  26. display: flex;
  27. flex-direction: row;
  28. align-items: center;
  29. }
  30. .ant-progress-steps-item {
  31. flex-shrink: 0;
  32. min-width: 2px;
  33. margin-right: 2px;
  34. background: #f3f3f3;
  35. transition: all 0.3s;
  36. }
  37. .ant-progress-steps-item-active {
  38. background: #1890ff;
  39. }
  40. .ant-progress-small.ant-progress-line,
  41. .ant-progress-small.ant-progress-line .ant-progress-text .anticon {
  42. font-size: 12px;
  43. }
  44. .ant-progress-outer {
  45. display: inline-block;
  46. width: 100%;
  47. margin-right: 0;
  48. padding-right: 0;
  49. }
  50. .ant-progress-show-info .ant-progress-outer {
  51. margin-right: calc(-2em - 8px);
  52. padding-right: calc(2em + 8px);
  53. }
  54. .ant-progress-inner {
  55. position: relative;
  56. display: inline-block;
  57. width: 100%;
  58. overflow: hidden;
  59. vertical-align: middle;
  60. background-color: #f5f5f5;
  61. border-radius: 100px;
  62. }
  63. .ant-progress-circle-trail {
  64. stroke: #f5f5f5;
  65. }
  66. .ant-progress-circle-path {
  67. animation: ant-progress-appear 0.3s;
  68. }
  69. .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {
  70. stroke: #1890ff;
  71. }
  72. .ant-progress-success-bg,
  73. .ant-progress-bg {
  74. position: relative;
  75. background-color: #1890ff;
  76. border-radius: 100px;
  77. transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;
  78. }
  79. .ant-progress-success-bg {
  80. position: absolute;
  81. top: 0;
  82. left: 0;
  83. background-color: #52c41a;
  84. }
  85. .ant-progress-text {
  86. display: inline-block;
  87. width: 2em;
  88. margin-left: 8px;
  89. color: rgba(0, 0, 0, 0.85);
  90. font-size: 1em;
  91. line-height: 1;
  92. white-space: nowrap;
  93. text-align: left;
  94. vertical-align: middle;
  95. word-break: normal;
  96. }
  97. .ant-progress-text .anticon {
  98. font-size: 14px;
  99. }
  100. .ant-progress-status-active .ant-progress-bg::before {
  101. position: absolute;
  102. top: 0;
  103. right: 0;
  104. bottom: 0;
  105. left: 0;
  106. background: #fff;
  107. border-radius: 10px;
  108. opacity: 0;
  109. animation: ant-progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;
  110. content: '';
  111. }
  112. .ant-progress-status-exception .ant-progress-bg {
  113. background-color: #ff4d4f;
  114. }
  115. .ant-progress-status-exception .ant-progress-text {
  116. color: #ff4d4f;
  117. }
  118. .ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {
  119. stroke: #ff4d4f;
  120. }
  121. .ant-progress-status-success .ant-progress-bg {
  122. background-color: #52c41a;
  123. }
  124. .ant-progress-status-success .ant-progress-text {
  125. color: #52c41a;
  126. }
  127. .ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {
  128. stroke: #52c41a;
  129. }
  130. .ant-progress-circle .ant-progress-inner {
  131. position: relative;
  132. line-height: 1;
  133. background-color: transparent;
  134. }
  135. .ant-progress-circle .ant-progress-text {
  136. position: absolute;
  137. top: 50%;
  138. left: 50%;
  139. width: 100%;
  140. margin: 0;
  141. padding: 0;
  142. color: rgba(0, 0, 0, 0.85);
  143. font-size: 1em;
  144. line-height: 1;
  145. white-space: normal;
  146. text-align: center;
  147. transform: translate(-50%, -50%);
  148. }
  149. .ant-progress-circle .ant-progress-text .anticon {
  150. font-size: 1.16666667em;
  151. }
  152. .ant-progress-circle.ant-progress-status-exception .ant-progress-text {
  153. color: #ff4d4f;
  154. }
  155. .ant-progress-circle.ant-progress-status-success .ant-progress-text {
  156. color: #52c41a;
  157. }
  158. @keyframes ant-progress-active {
  159. 0% {
  160. transform: translateX(-100%) scaleX(0);
  161. opacity: 0.1;
  162. }
  163. 20% {
  164. transform: translateX(-100%) scaleX(0);
  165. opacity: 0.5;
  166. }
  167. 100% {
  168. transform: translateX(0) scaleX(1);
  169. opacity: 0;
  170. }
  171. }
  172. .ant-progress-rtl {
  173. direction: rtl;
  174. }
  175. .ant-progress-rtl.ant-progress-show-info .ant-progress-outer {
  176. margin-right: 0;
  177. margin-left: calc(-2em - 8px);
  178. padding-right: 0;
  179. padding-left: calc(2em + 8px);
  180. }
  181. .ant-progress-rtl .ant-progress-success-bg {
  182. right: 0;
  183. left: auto;
  184. }
  185. .ant-progress-rtl.ant-progress-line .ant-progress-text,
  186. .ant-progress-rtl.ant-progress-steps .ant-progress-text {
  187. margin-right: 8px;
  188. margin-left: 0;
  189. text-align: right;
  190. }