@import '../../app.less';

.step {
  text-align: center;
  display: flex;
  background: #fff;
  height: 44px;
  line-height: 44px;

  .item {
    flex: 1;
    position: relative;

    .text {
      margin-left: 5px;
    }
  }

  .item:before {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    right: -24px;
    border-width: 22px 11px;
    z-index: 1;
    border-style: solid;
    border-color: transparent;
    border-left-color: @line_color;
  }

  .item:after {
    content: '';
    position: absolute;
    height: 0;
    width: 0;
    right: -22px;
    border-width: 22px 11px;
    z-index: 1;
    border-style: solid;
    border-color: transparent;
    border-left-color: #fff;
  }

  .item.over {
    background: @base_select_color;
  }

  .item.over:after {
    border-left-color: @base_select_color;
  }

  .item.active {
    color: #fff;
    background: @theme_color;
  }

  .item.active:after {
    border-left-color: @theme_color;
  }
}