@import "common/var";

.el-steps-mode-navigation.el-steps {
  white-space: nowrap;
}
.el-steps-mode-navigation.el-steps-label-horizontal .el-steps-item:not(:last-child) .el-steps-item-title:after {
  display: none
}
.el-steps-mode-navigation .el-steps-item {
  padding-left: 32px;
  padding-right: 48px;
  display: inline-flex;
  align-items: center;
  height: 44px;
  line-height: 44px;
  margin-right: 0;
  flex: none;
  // padding-right: 10px;
  //margin-right: 28px
}

.el-steps-mode-navigation .el-steps-item:last-child {
  // flex: 1
}

.el-steps-mode-navigation .el-steps-item-content {
  // margin-bottom: 7px;
  // position: relative;
  line-height: 24px;
  height: 24px;
  margin-top: 0;
  padding-right: 32px;
  .el-steps-item-title{
    padding-right: 0;
  }

}

.el-steps-mode-navigation .el-steps-item-description {
  padding-right: 20px
}
.el-steps-mode-navigation .el-steps-item-node {
  margin-right: 5px
}

.el-steps-mode-navigation .el-steps-item-active:after {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  left: 0;
  right: 30px;
  bottom: 0;
  background-color: $--primary-6
}

.el-steps-mode-navigation .el-steps-item-active:last-child:before {
  width: 100%
}

.el-steps-mode-navigation .el-steps-item:last-child .el-steps-item-content .el-icon-arrow-right {
  display: none;
}

.el-steps-mode-navigation .el-steps-item:not(:last-child) .el-steps-item-content .el-icon-arrow-right {
  position: absolute;
  top: 0px;
  bottom: 0;
  right: 16px;
  margin: auto;
  display: inline-block;
  background-color: #fff;
  font-size: 16px;
  font-weight: $--font-weight-700;
  display: flex;
  align-items: center;
  // border: $--border-2 solid $--color-border-4;
  color: $--color-border-4;
  // border-bottom: none;
  // border-left: none;
  // -webkit-transform: rotate(45deg);
  // transform: rotate(45deg);
  // content: ""
}
.el-steps-mode-navigation .el-steps-item-finish:not(:last-child) .el-steps-item-content .el-icon-arrow-right {
  color: $--primary-6;
}

.el-steps-mode-navigation .el-steps-item-finish:not(:last-child) .el-steps-item-content:after{
  border-color: $--primary-6;
}

.el-steps-mode-dot .el-steps-item {
  position: relative;
  flex: 1;
  // margin-right: 16px;
  margin-right: 0;
  overflow: visible;
  white-space: nowrap;
  text-align: left
}

.el-steps-mode-dot .el-steps-item:last-child {
  flex: none;
  margin-right: 0
}

.el-steps-mode-dot .el-steps-item-active .el-steps-item-title {
  font-weight: $--font-weight-500;
}

.el-steps-mode-dot .el-steps-item-node {
  display: inline-block;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  padding: 0;
  background-color: #fff;
  // border: 1px solid;
  vertical-align: top;
  // border-radius: 50%
  border-radius: $--border-radius-circle
}
.el-steps-mode-dot .el-steps-item-node::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  content: '';
}
.el-steps-mode-dot .el-steps-item-node:hover {
  border: 0;
}

.el-steps-mode-dot .el-steps-item-node:hover::after {
  //width: 12px;
  //height: 12px;
}

.el-steps-mode-dot .el-steps-item-active .el-steps-item-node::after{
  width: 12px;
  height: 12px;
}

.el-steps-mode-dot .el-steps-item-active .el-steps-item-node {
  // border-width: 1px;
}
.el-steps-mode-dot .el-steps-item-active .el-steps-item-node:hover {
  border-width: 0;
}

.el-steps-mode-dot .el-steps-item-wait .el-steps-item-node {
  // border-color: $--color-border-4
}

.el-steps-mode-dot .el-steps-item-wait .el-steps-item-node::after {
  background-color: $--color-bg-5;
}

.el-steps-mode-dot .el-steps-item-process .el-steps-item-node {
  // border-color: $--primary-6
}
.el-steps-mode-dot .el-steps-item-process .el-steps-item-node::after {
  background-color: $--primary-6;
}

.el-steps-mode-dot .el-steps-item-finish .el-steps-item-node {
  // border-color: $--primary-6
}
.el-steps-mode-dot .el-steps-item-finish .el-steps-item-node::after {
  background-color: $--primary-6;
}

.el-steps-mode-dot .el-steps-item-error .el-steps-item-node {
  // border-color: $--danger-6
}

.el-steps-mode-dot .el-steps-item-error .el-steps-item-node::after {
  background-color: $--danger-6;
}

.el-steps-mode-dot.el-steps-horizontal .el-steps-item-node {
  margin-left: 34px;
  margin-right: 0;
  position: absolute;
  top: -15px;
}
.el-steps-mode-dot.el-steps-vertical .el-steps-item-node {
  position: relative;
}

.el-steps-mode-dot.el-steps-horizontal .el-steps-item-active .el-steps-item-node {
  // margin-top: -1px;
  margin-left: 34px;
}

.el-steps-mode-dot .el-steps-item-content {
  display: inline-block
}

.el-steps-mode-dot .el-steps-item-title {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  font-size: $--font-size-title-1
}

.el-steps-mode-dot .el-steps-item-wait .el-steps-item-title {
  color: $--color-info-semi;
}

.el-steps-mode-dot .el-steps-item-process .el-steps-item-title {
  color: $--color-text-1
}

.el-steps-mode-dot .el-steps-item-finish .el-steps-item-title {
  color: $--color-text-1
}

.el-steps-mode-dot .el-steps-item-error .el-steps-item-title {
  color: $--color-text-1
}

.el-steps-mode-dot .el-steps-item-description {
  margin-top: 2px;
  font-size: $--font-size-body-1;
  white-space: normal
}

.el-steps-mode-dot .el-steps-item-wait .el-steps-item-description {
  color: $--color-text-3
}

.el-steps-mode-dot .el-steps-item-process .el-steps-item-description {
  color: $--color-text-3
}

.el-steps-mode-dot .el-steps-item-finish .el-steps-item-description {
  color: $--color-text-3
}

.el-steps-mode-dot .el-steps-item-error .el-steps-item-description {
  color: $--color-text-3
}

.el-steps-mode-dot .el-steps-item:not(:last-child) .el-steps-item-tail {
  position: absolute;
  top: -9px;
  left: 52px;
  box-sizing: border-box;
  width: calc(100% - 26px);
  height: 1px;
  background-color: $--color-bg-4
}

.el-steps-mode-dot .el-steps-item:not(:last-child).el-steps-item-process .el-steps-item-tail {
  background-color: $--color-bg-4
}

.el-steps-mode-dot .el-steps-item:not(:last-child).el-steps-item-finish .el-steps-item-tail {
  background-color: $--primary-6
}

.el-steps-mode-dot .el-steps-item:not(:last-child).el-steps-item-next-error .el-steps-item-tail {
  background-color: $--danger-6
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item-node {
  margin-right: 10px
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item-content {
  overflow: hidden
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item-title {
  margin-top: -2px
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item-description {
  margin-top: 2px
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item:not(:last-child) .el-steps-item-tail {
  position: absolute;
  bottom: 0;
  left: 6px;
  box-sizing: border-box;
  width: 1px;
  height: 100%;
  padding-top: 24px;
  padding-bottom: 2px;
  background-color: transparent;
  transform: translate(-50%)
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item:not(:last-child) .el-steps-item-tail:after {
  display: block;
  width: 100%;
  height: 100%;
  background-color: $--color-bg-4;
  content: ""
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item:not(:last-child).el-steps-item-process .el-steps-item-tail:after {
  background-color: $--color-bg-4
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item:not(:last-child).el-steps-item-finish .el-steps-item-tail:after {
  background-color: $--primary-6
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item:not(:last-child).el-steps-item-next-error .el-steps-item-tail:after {
  background-color: $--danger-6
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item .el-steps-item-node {
  margin-top: 5px
}

.el-steps-mode-dot.el-steps-vertical .el-steps-item-active .el-steps-item-node {
  margin-top: 6px;
  margin-left: 0
}

.el-steps-mode-arrow .el-steps-item {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  height: 72px;
  overflow: visible;
  white-space: nowrap
}

.el-steps-mode-arrow .el-steps-item:not(:last-child) {
  margin-right: 4px
}

.el-steps-mode-arrow .el-steps-item-wait {
  background-color: $--color-bg-2
}

.el-steps-mode-arrow .el-steps-item-process {
  background-color: $--primary-6
}

.el-steps-mode-arrow .el-steps-item-finish {
  background-color: $--primary-1
}

.el-steps-mode-arrow .el-steps-item-error {
  background-color: $--danger-6
}

.el-steps-mode-arrow .el-steps-item-content {
  display: inline-block;
  box-sizing: border-box
}

.el-steps-mode-arrow .el-steps-item:first-child .el-steps-item-content {
  padding-left: 16px
}

.el-steps-mode-arrow .el-steps-item:not(:first-child) .el-steps-item-content {
  padding-left: 52px
}

.el-steps-mode-arrow .el-steps-item-title {
  position: relative;
  display: inline-block;
  font-size: $--font-size-title-1;
  white-space: nowrap
}

.el-steps-mode-arrow .el-steps-item-title:after {
  display: none!important
}

.el-steps-mode-arrow .el-steps-item-wait .el-steps-item-title {
  color: $--color-text-2
}

.el-steps-mode-arrow .el-steps-item-process .el-steps-item-title {
  color: #fff
}

.el-steps-mode-arrow .el-steps-item-finish .el-steps-item-title {
  color: $--color-text-1
}

.el-steps-mode-arrow .el-steps-item-error .el-steps-item-title {
  color: #fff
}

.el-steps-mode-arrow .el-steps-item-active .el-steps-item-title {
  font-weight: $--font-weight-500
}

.el-steps-mode-arrow .el-steps-item-description {
  max-width: none;
  margin-top: 0;
  font-size: $--font-size-body-1;
  white-space: nowrap
}

.el-steps-mode-arrow .el-steps-item-wait .el-steps-item-description {
  color: $--color-text-3
}

.el-steps-mode-arrow .el-steps-item-process .el-steps-item-description {
  color: #fff
}

.el-steps-mode-arrow .el-steps-item-finish .el-steps-item-description {
  color: $--color-text-3
}

.el-steps-mode-arrow .el-steps-item-error .el-steps-item-description {
  color: #fff
}

.el-steps-mode-arrow .el-steps-item:not(:first-child):before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 0;
  height: 0;
  border-top: 36px solid transparent;
  border-bottom: 36px solid transparent;
  border-left: 36px solid #fff;
  content: ""
}

.el-steps-mode-arrow .el-steps-item:not(:last-child):after {
  position: absolute;
  top: 0;
  right: -36px;
  z-index: 2;
  display: block;
  clear: both;
  width: 0;
  height: 0;
  border-top: 36px solid transparent;
  border-bottom: 36px solid transparent;
  content: ""
}

.el-steps-mode-arrow .el-steps-item:not(:last-child).el-steps-item-wait:after {
  border-left: 36px solid $--color-bg-2
}

.el-steps-mode-arrow .el-steps-item:not(:last-child).el-steps-item-process:after {
  border-left: 36px solid $--primary-6
}

.el-steps-mode-arrow .el-steps-item:not(:last-child).el-steps-item-error:after {
  border-left: 36px solid $--danger-6
}

.el-steps-mode-arrow .el-steps-item:not(:last-child).el-steps-item-finish:after {
  border-left: 36px solid $--primary-1
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item {
  height: 40px
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item-title {
  font-size: $--font-size-body-3
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item-description {
  display: none
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:not(:first-child):before {
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid #fff
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:not(:last-child):after {
  right: -20px;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 20px solid $--color-bg-2
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:first-child .el-steps-item-content {
  padding-left: 20px
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:not(:first-child) .el-steps-item-content {
  padding-left: 40px
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item-error:not(:last-child):after {
  border-left: 20px solid $--danger-6
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:not(:last-child).el-steps-item-wait:after {
  border-left: 20px solid $--color-bg-2
}

.el-steps-mode-arrow.el-steps-size-small .el-steps-item:not(:last-child).el-steps-item-process:after {
  border-left: 20px solid $--primary-6
}

.el-steps-mode-navigation .el-steps-item-active:after {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  left: 0;
  right: 48px;
  bottom: 0;
  background-color: $--primary-6
}

.el-steps-mode-navigation .el-steps-item-active:last-child:after {
  width: 100%
}

// .el-steps-mode-navigation .el-steps-item:not(:last-child) .el-steps-item-content:after {
//   position: absolute;
//   top: 10px;
//   right: 30px;
//   display: inline-block;
//   width: 6px;
//   height: 6px;
//   background-color: #fff;
//   border: 2px solid rgb(201,205,212);
//   border-bottom: none;
//   border-left: none;
//   -webkit-transform: rotate(45deg);
//   transform: rotate(45deg);
//   content: ""
// }

.el-steps {
  display: flex
}
