index.less 972 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. @import '../../app.less';
  2. .step {
  3. text-align: center;
  4. display: flex;
  5. background: #fff;
  6. height: 44px;
  7. line-height: 44px;
  8. .item {
  9. flex: 1;
  10. position: relative;
  11. .text {
  12. margin-left: 5px;
  13. }
  14. }
  15. .item:before {
  16. content: '';
  17. position: absolute;
  18. height: 0;
  19. width: 0;
  20. right: -24px;
  21. border-width: 22px 11px;
  22. z-index: 1;
  23. border-style: solid;
  24. border-color: transparent;
  25. border-left-color: @line_color;
  26. }
  27. .item:after {
  28. content: '';
  29. position: absolute;
  30. height: 0;
  31. width: 0;
  32. right: -22px;
  33. border-width: 22px 11px;
  34. z-index: 1;
  35. border-style: solid;
  36. border-color: transparent;
  37. border-left-color: #fff;
  38. }
  39. .item.over {
  40. background: @base_select_color;
  41. }
  42. .item.over:after {
  43. border-left-color: @base_select_color;
  44. }
  45. .item.active {
  46. color: #fff;
  47. background: @theme_color;
  48. }
  49. .item.active:after {
  50. border-left-color: @theme_color;
  51. }
  52. }