@import './common/var.scss';
.es-steps {
  .el-step__icon {
    width: 30px;
    height: 30px;
    float: left;
  }
  .es-is-click {
    .el-step__icon {
      cursor: pointer;
    }
  }
  .el-step__main {
    margin-bottom: 8px;
  }
  .el-step__title {
    &.is-process,
    &.is-success {
      color: $--color-primary;
    }
    .es-step-title_number {
      font-size: 24px;
      position: relative;
      top: 2px;
      line-height: 28px;
      display: inline-block;
      & + .es-step-title_text {
        margin-left: 8px;
      }
    }
    .es-step-title_text {
      line-height: 28px;
      font-weight: 400;
      display: inline-block;
    }
  }
  .is-horizontal {
    .el-step__line {
      top: 15px;
    }
    &.es-line-dotted {
      .el-step__line {
        height: 0;
        border-top: 2px dashed $--color-primary;
        background-color: transparent !important;
      }
    }
  }
  .el-step__head {
    height: 30px;
    &.is-process {
      .el-step__icon {
        border: 0;
        position: relative;
        background-color: $--color-primary-light-2;
        &::after {
          content: '';
          display: block;
          width: 16px;
          height: 16px;
          border-radius: 50%;
          background-color: $--color-primary;
        }
      }
    }
    &.is-success {
      color: $--color-primary;
      border-color: $--color-primary;
      .el-step__line {
        background-color: $--color-primary;
      }
    }
  }
  &.es-steps-group {
    padding-bottom: 40px;
    position: relative;
    &::after {
      content: '';
      display: block;
      height: 1px;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 20px;
      background-color: $--border-color-base;
    }
  }
}
