@import '../style/var.less';

.van-steps {
  .van-steps__items {
    .van-step {
      &.van-step--process {
        .van-step__circle-container {
          top: 15px;
          left: -15px;
          font-size: 22px;
        }
      }
      .van-step__icon--active,
      .van-step__icon--finish {
        color: @border-color;
      }
      .van-step__title--active,
      .van-step__title--finish,
      .van-step__title {
        color: #333333;
      }
      .van-step__title {
        font-size: 13px;
        h3.content-title {
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
        }
      }
      .van-step__circle-container {
        .van-step__circle {
          width: 10px;
          height: 10px;
          background-color: @border-color;
        }
      }
      .van-step__line {
        background-color: @border-color;
      }
      &::after {
        transform: scale(0);
      }
      &:last-child {
        .content-wrapper .title {
          background-color: rgba(66, 133, 244, 0.1);
        }
      }
      /* 内容框样式 */
      .content-wrapper {
        border-radius: 4px;
        border: 1px solid #ebebeb;
        margin-top: 10px;
        .title {
          display: flex;
          align-items: center;
          height: 42px;
          line-height: 42px;
          background: #fafafa;
          padding-left: 10px;
          position: relative;
          font-size: 13px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #333333;
          .van-image {
            display: inline-block;
            width: 28px;
            height: 28px;
          }
          .name {
            padding-left: 8px;
          }
          .time {
            position: absolute;
            right: 10px;
            font-style: normal;
            font-size: 12px;
            color: #888888;
          }
        }
        .step-title-box {
          display: flex;
          align-items: center;
          padding: 4px 10px 2px 10px;
          background: #fafafa;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          .van-image {
            width: 28px;
            height: 28px;
          }
          .step-title-text {
            flex: 1;
            padding-left: 8px;
            .step-text-right {
              text-align: right;
            }
            .step-text-grey {
              color: #888888;
            }
          }
        }
        .content {
          background-color: #fff;
          padding: 10px 44px 10px 48px;
          font-size: 13px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #333333;
          line-height: 18px;
          border-top: 1px solid #ebebeb;
        }
      }
    }
    /* 颜色自定义*/
    .pale_yellow {
      .content-title {
        color: rgba(121, 72, 8, 1);
      }
      .van-step__circle {
        background-color: rgba(250, 203, 121, 1) !important;
      }
      .content-wrapper {
        border-color: rgba(252, 236, 200, 0.6);

        .title {
          background-color: #fff3e0;
        }
      }
    }

    .light_blue {
      .content-title {
        color: rgba(66, 133, 244, 1);
      }
      .van-step__circle {
        background-color: rgba(66, 133, 244, 1) !important;
      }
      .content-wrapper {
        border-color: rgba(66, 133, 244, 0.1);

        .title {
          background-color: rgba(236, 242, 253, 1);
        }
      }
    }
  }
}
