step.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. /* BEM support Func
  2. -------------------------- */
  3. /* Element Chalk Variables */
  4. /* Transition
  5. -------------------------- */
  6. /* Color
  7. -------------------------- */
  8. /* 53a8ff */
  9. /* 66b1ff */
  10. /* 79bbff */
  11. /* 8cc5ff */
  12. /* a0cfff */
  13. /* b3d8ff */
  14. /* c6e2ff */
  15. /* d9ecff */
  16. /* ecf5ff */
  17. /* Link
  18. -------------------------- */
  19. /* Border
  20. -------------------------- */
  21. /* Fill
  22. -------------------------- */
  23. /* Typography
  24. -------------------------- */
  25. /* Size
  26. -------------------------- */
  27. /* z-index
  28. -------------------------- */
  29. /* Disable base
  30. -------------------------- */
  31. /* Icon
  32. -------------------------- */
  33. /* Checkbox
  34. -------------------------- */
  35. /* Radio
  36. -------------------------- */
  37. /* Select
  38. -------------------------- */
  39. /* Alert
  40. -------------------------- */
  41. /* MessageBox
  42. -------------------------- */
  43. /* Message
  44. -------------------------- */
  45. /* Notification
  46. -------------------------- */
  47. /* Input
  48. -------------------------- */
  49. /* Cascader
  50. -------------------------- */
  51. /* Group
  52. -------------------------- */
  53. /* Tab
  54. -------------------------- */
  55. /* Button
  56. -------------------------- */
  57. /* cascader
  58. -------------------------- */
  59. /* Switch
  60. -------------------------- */
  61. /* Dialog
  62. -------------------------- */
  63. /* Table
  64. -------------------------- */
  65. /* Pagination
  66. -------------------------- */
  67. /* Popup
  68. -------------------------- */
  69. /* Popover
  70. -------------------------- */
  71. /* Tooltip
  72. -------------------------- */
  73. /* Tag
  74. -------------------------- */
  75. /* Tree
  76. -------------------------- */
  77. /* Dropdown
  78. -------------------------- */
  79. /* Badge
  80. -------------------------- */
  81. /* Card
  82. --------------------------*/
  83. /* Slider
  84. --------------------------*/
  85. /* Steps
  86. --------------------------*/
  87. /* Menu
  88. --------------------------*/
  89. /* Rate
  90. --------------------------*/
  91. /* DatePicker
  92. --------------------------*/
  93. /* Loading
  94. --------------------------*/
  95. /* Scrollbar
  96. --------------------------*/
  97. /* Carousel
  98. --------------------------*/
  99. /* Collapse
  100. --------------------------*/
  101. /* Transfer
  102. --------------------------*/
  103. /* Header
  104. --------------------------*/
  105. /* Footer
  106. --------------------------*/
  107. /* Main
  108. --------------------------*/
  109. /* Timeline
  110. --------------------------*/
  111. /* Backtop
  112. --------------------------*/
  113. /* Link
  114. --------------------------*/
  115. /* Calendar
  116. --------------------------*/
  117. /* Form
  118. -------------------------- */
  119. /* Avatar
  120. --------------------------*/
  121. /* Empty
  122. -------------------------- */
  123. /* Descriptions
  124. -------------------------- */
  125. /* Skeleton
  126. --------------------------*/
  127. /* Svg
  128. --------------- */
  129. /* Result
  130. -------------------------- */
  131. /* Break-point
  132. --------------------------*/
  133. /* Break-points
  134. -------------------------- */
  135. /* Scrollbar
  136. -------------------------- */
  137. /* Placeholder
  138. -------------------------- */
  139. /* BEM
  140. -------------------------- */
  141. /* Element Chalk Variables */
  142. /* Transition
  143. -------------------------- */
  144. /* Color
  145. -------------------------- */
  146. /* 53a8ff */
  147. /* 66b1ff */
  148. /* 79bbff */
  149. /* 8cc5ff */
  150. /* a0cfff */
  151. /* b3d8ff */
  152. /* c6e2ff */
  153. /* d9ecff */
  154. /* ecf5ff */
  155. /* Link
  156. -------------------------- */
  157. /* Border
  158. -------------------------- */
  159. /* Fill
  160. -------------------------- */
  161. /* Typography
  162. -------------------------- */
  163. /* Size
  164. -------------------------- */
  165. /* z-index
  166. -------------------------- */
  167. /* Disable base
  168. -------------------------- */
  169. /* Icon
  170. -------------------------- */
  171. /* Checkbox
  172. -------------------------- */
  173. /* Radio
  174. -------------------------- */
  175. /* Select
  176. -------------------------- */
  177. /* Alert
  178. -------------------------- */
  179. /* MessageBox
  180. -------------------------- */
  181. /* Message
  182. -------------------------- */
  183. /* Notification
  184. -------------------------- */
  185. /* Input
  186. -------------------------- */
  187. /* Cascader
  188. -------------------------- */
  189. /* Group
  190. -------------------------- */
  191. /* Tab
  192. -------------------------- */
  193. /* Button
  194. -------------------------- */
  195. /* cascader
  196. -------------------------- */
  197. /* Switch
  198. -------------------------- */
  199. /* Dialog
  200. -------------------------- */
  201. /* Table
  202. -------------------------- */
  203. /* Pagination
  204. -------------------------- */
  205. /* Popup
  206. -------------------------- */
  207. /* Popover
  208. -------------------------- */
  209. /* Tooltip
  210. -------------------------- */
  211. /* Tag
  212. -------------------------- */
  213. /* Tree
  214. -------------------------- */
  215. /* Dropdown
  216. -------------------------- */
  217. /* Badge
  218. -------------------------- */
  219. /* Card
  220. --------------------------*/
  221. /* Slider
  222. --------------------------*/
  223. /* Steps
  224. --------------------------*/
  225. /* Menu
  226. --------------------------*/
  227. /* Rate
  228. --------------------------*/
  229. /* DatePicker
  230. --------------------------*/
  231. /* Loading
  232. --------------------------*/
  233. /* Scrollbar
  234. --------------------------*/
  235. /* Carousel
  236. --------------------------*/
  237. /* Collapse
  238. --------------------------*/
  239. /* Transfer
  240. --------------------------*/
  241. /* Header
  242. --------------------------*/
  243. /* Footer
  244. --------------------------*/
  245. /* Main
  246. --------------------------*/
  247. /* Timeline
  248. --------------------------*/
  249. /* Backtop
  250. --------------------------*/
  251. /* Link
  252. --------------------------*/
  253. /* Calendar
  254. --------------------------*/
  255. /* Form
  256. -------------------------- */
  257. /* Avatar
  258. --------------------------*/
  259. /* Empty
  260. -------------------------- */
  261. /* Descriptions
  262. -------------------------- */
  263. /* Skeleton
  264. --------------------------*/
  265. /* Svg
  266. --------------- */
  267. /* Result
  268. -------------------------- */
  269. /* Break-point
  270. --------------------------*/
  271. .el-step {
  272. position: relative;
  273. -ms-flex-negative: 1;
  274. flex-shrink: 1; }
  275. .el-step:last-of-type .el-step__line {
  276. display: none; }
  277. .el-step:last-of-type.is-flex {
  278. -ms-flex-preferred-size: auto !important;
  279. flex-basis: auto !important;
  280. -ms-flex-negative: 0;
  281. flex-shrink: 0;
  282. -webkit-box-flex: 0;
  283. -ms-flex-positive: 0;
  284. flex-grow: 0; }
  285. .el-step:last-of-type .el-step__main, .el-step:last-of-type .el-step__description {
  286. padding-right: 0; }
  287. .el-step__head {
  288. position: relative;
  289. width: 100%; }
  290. .el-step__head.is-process {
  291. color: #303133;
  292. border-color: #303133; }
  293. .el-step__head.is-wait {
  294. color: #C0C4CC;
  295. border-color: #C0C4CC; }
  296. .el-step__head.is-success {
  297. color: #67C23A;
  298. border-color: #67C23A; }
  299. .el-step__head.is-error {
  300. color: #F56C6C;
  301. border-color: #F56C6C; }
  302. .el-step__head.is-finish {
  303. color: #5075FC;
  304. border-color: #5075FC; }
  305. .el-step__icon {
  306. position: relative;
  307. z-index: 1;
  308. display: -webkit-inline-box;
  309. display: -ms-inline-flexbox;
  310. display: inline-flex;
  311. -webkit-box-pack: center;
  312. -ms-flex-pack: center;
  313. justify-content: center;
  314. -webkit-box-align: center;
  315. -ms-flex-align: center;
  316. align-items: center;
  317. width: 24px;
  318. height: 24px;
  319. font-size: 14px;
  320. -webkit-box-sizing: border-box;
  321. box-sizing: border-box;
  322. background: #FFFFFF;
  323. -webkit-transition: .15s ease-out;
  324. transition: .15s ease-out; }
  325. .el-step__icon.is-text {
  326. border-radius: 50%;
  327. border: 2px solid;
  328. border-color: inherit; }
  329. .el-step__icon.is-icon {
  330. width: 40px; }
  331. .el-step__icon-inner {
  332. display: inline-block;
  333. -webkit-user-select: none;
  334. -moz-user-select: none;
  335. -ms-user-select: none;
  336. user-select: none;
  337. text-align: center;
  338. font-weight: bold;
  339. line-height: 1;
  340. color: inherit; }
  341. .el-step__icon-inner[class*=el-icon]:not(.is-status) {
  342. font-size: 25px;
  343. font-weight: normal; }
  344. .el-step__icon-inner.is-status {
  345. -webkit-transform: translateY(1px);
  346. transform: translateY(1px); }
  347. .el-step__line {
  348. position: absolute;
  349. border-color: inherit;
  350. background-color: #C0C4CC; }
  351. .el-step__line-inner {
  352. display: block;
  353. border-width: 1px;
  354. border-style: solid;
  355. border-color: inherit;
  356. -webkit-transition: .15s ease-out;
  357. transition: .15s ease-out;
  358. -webkit-box-sizing: border-box;
  359. box-sizing: border-box;
  360. width: 0;
  361. height: 0; }
  362. .el-step__main {
  363. white-space: normal;
  364. text-align: left; }
  365. .el-step__title {
  366. font-size: 16px;
  367. line-height: 38px; }
  368. .el-step__title.is-process {
  369. font-weight: bold;
  370. color: #303133; }
  371. .el-step__title.is-wait {
  372. color: #C0C4CC; }
  373. .el-step__title.is-success {
  374. color: #67C23A; }
  375. .el-step__title.is-error {
  376. color: #F56C6C; }
  377. .el-step__title.is-finish {
  378. color: #5075FC; }
  379. .el-step__description {
  380. padding-right: 10%;
  381. margin-top: -5px;
  382. font-size: 12px;
  383. line-height: 20px;
  384. font-weight: normal; }
  385. .el-step__description.is-process {
  386. color: #303133; }
  387. .el-step__description.is-wait {
  388. color: #C0C4CC; }
  389. .el-step__description.is-success {
  390. color: #67C23A; }
  391. .el-step__description.is-error {
  392. color: #F56C6C; }
  393. .el-step__description.is-finish {
  394. color: #5075FC; }
  395. .el-step.is-horizontal {
  396. display: inline-block; }
  397. .el-step.is-horizontal .el-step__line {
  398. height: 2px;
  399. top: 11px;
  400. left: 0;
  401. right: 0; }
  402. .el-step.is-vertical {
  403. display: -webkit-box;
  404. display: -ms-flexbox;
  405. display: flex; }
  406. .el-step.is-vertical .el-step__head {
  407. -webkit-box-flex: 0;
  408. -ms-flex-positive: 0;
  409. flex-grow: 0;
  410. width: 24px; }
  411. .el-step.is-vertical .el-step__main {
  412. padding-left: 10px;
  413. -webkit-box-flex: 1;
  414. -ms-flex-positive: 1;
  415. flex-grow: 1; }
  416. .el-step.is-vertical .el-step__title {
  417. line-height: 24px;
  418. padding-bottom: 8px; }
  419. .el-step.is-vertical .el-step__line {
  420. width: 2px;
  421. top: 0;
  422. bottom: 0;
  423. left: 11px; }
  424. .el-step.is-vertical .el-step__icon.is-icon {
  425. width: 24px; }
  426. .el-step.is-center .el-step__head {
  427. text-align: center; }
  428. .el-step.is-center .el-step__main {
  429. text-align: center; }
  430. .el-step.is-center .el-step__description {
  431. padding-left: 20%;
  432. padding-right: 20%; }
  433. .el-step.is-center .el-step__line {
  434. left: 50%;
  435. right: -50%; }
  436. .el-step.is-simple {
  437. display: -webkit-box;
  438. display: -ms-flexbox;
  439. display: flex;
  440. -webkit-box-align: center;
  441. -ms-flex-align: center;
  442. align-items: center; }
  443. .el-step.is-simple .el-step__head {
  444. width: auto;
  445. font-size: 0;
  446. padding-right: 10px; }
  447. .el-step.is-simple .el-step__icon {
  448. background: transparent;
  449. width: 16px;
  450. height: 16px;
  451. font-size: 12px; }
  452. .el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status) {
  453. font-size: 18px; }
  454. .el-step.is-simple .el-step__icon-inner.is-status {
  455. -webkit-transform: scale(0.8) translateY(1px);
  456. transform: scale(0.8) translateY(1px); }
  457. .el-step.is-simple .el-step__main {
  458. position: relative;
  459. display: -webkit-box;
  460. display: -ms-flexbox;
  461. display: flex;
  462. -webkit-box-align: stretch;
  463. -ms-flex-align: stretch;
  464. align-items: stretch;
  465. -webkit-box-flex: 1;
  466. -ms-flex-positive: 1;
  467. flex-grow: 1; }
  468. .el-step.is-simple .el-step__title {
  469. font-size: 16px;
  470. line-height: 20px; }
  471. .el-step.is-simple:not(:last-of-type) .el-step__title {
  472. max-width: 50%;
  473. word-break: break-all; }
  474. .el-step.is-simple .el-step__arrow {
  475. -webkit-box-flex: 1;
  476. -ms-flex-positive: 1;
  477. flex-grow: 1;
  478. display: -webkit-box;
  479. display: -ms-flexbox;
  480. display: flex;
  481. -webkit-box-align: center;
  482. -ms-flex-align: center;
  483. align-items: center;
  484. -webkit-box-pack: center;
  485. -ms-flex-pack: center;
  486. justify-content: center; }
  487. .el-step.is-simple .el-step__arrow::before, .el-step.is-simple .el-step__arrow::after {
  488. content: '';
  489. display: inline-block;
  490. position: absolute;
  491. height: 15px;
  492. width: 1px;
  493. background: #C0C4CC; }
  494. .el-step.is-simple .el-step__arrow::before {
  495. -webkit-transform: rotate(-45deg) translateY(-4px);
  496. transform: rotate(-45deg) translateY(-4px);
  497. -webkit-transform-origin: 0 0;
  498. transform-origin: 0 0; }
  499. .el-step.is-simple .el-step__arrow::after {
  500. -webkit-transform: rotate(45deg) translateY(4px);
  501. transform: rotate(45deg) translateY(4px);
  502. -webkit-transform-origin: 100% 100%;
  503. transform-origin: 100% 100%; }
  504. .el-step.is-simple:last-of-type .el-step__arrow {
  505. display: none; }