index.less 993 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. cursor: pointer;
  12. .text {
  13. margin-left: 5px;
  14. }
  15. }
  16. .item:before {
  17. content: '';
  18. position: absolute;
  19. height: 0;
  20. width: 0;
  21. right: -24px;
  22. border-width: 22px 11px;
  23. z-index: 1;
  24. border-style: solid;
  25. border-color: transparent;
  26. border-left-color: @line_color;
  27. }
  28. .item:after {
  29. content: '';
  30. position: absolute;
  31. height: 0;
  32. width: 0;
  33. right: -22px;
  34. border-width: 22px 11px;
  35. z-index: 1;
  36. border-style: solid;
  37. border-color: transparent;
  38. border-left-color: #fff;
  39. }
  40. .item.over {
  41. background: @base_select_color;
  42. }
  43. .item.over:after {
  44. border-left-color: @base_select_color;
  45. }
  46. .item.active {
  47. color: #fff;
  48. background: @theme_color;
  49. }
  50. .item.active:after {
  51. border-left-color: @theme_color;
  52. }
  53. }