.yee-steps-vertical() {
  display: block;
  .@{yee-steps-prefix-cls}-item {
    display: block;
    overflow: visible;
    &-icon {
      float: left;
      margin-right: 16px;
    }
    &-content {
      display: block;
      min-height: 48px;
      overflow: hidden;
    }
    &-title {
      line-height: @yee-steps-icon-size;
    }
    &-description {
      padding-bottom: 12px;
    }
  }

  > .@{yee-steps-prefix-cls}-item > .@{yee-steps-prefix-cls}-item-container > .@{yee-steps-prefix-cls}-item-tail {
    position: absolute;
    top: 0;
    left: 16px;
    width: 1px;
    height: 100%;
    padding: @yee-steps-icon-size + 6px 0 6px;
    &::after {
      width: 1px;
      height: 100%;
    }
  }

  > .@{yee-steps-prefix-cls}-item:not(:last-child)
    > .@{yee-steps-prefix-cls}-item-container
    > .@{yee-steps-prefix-cls}-item-tail {
    display: block;
  }

  > .@{yee-steps-prefix-cls}-item
    > .@{yee-steps-prefix-cls}-item-container
    > .@{yee-steps-prefix-cls}-item-content
    > .@{yee-steps-prefix-cls}-item-title {
    &::after {
      display: none;
    }
  }

  &.@{yee-steps-prefix-cls}-small .@{yee-steps-prefix-cls}-item-container {
    .@{yee-steps-prefix-cls}-item-tail {
      position: absolute;
      top: 0;
      left: 12px;
      padding: @yee-steps-small-icon-size + 6px 0 6px;
    }
    .@{yee-steps-prefix-cls}-item-title {
      line-height: @yee-steps-small-icon-size;
    }
  }
}

.@{yee-steps-prefix-cls}-vertical {
  .yee-steps-vertical;
}

@media (max-width: @yee-screen-xs) {
  .@{yee-steps-prefix-cls}-horizontal.@{yee-steps-prefix-cls}-label-horizontal {
    .yee-steps-vertical;
  }
}
