@import "~antd/lib/style/themes/default.less";

.returnOrderListBox {
  width: 1200px;
  margin: 0 auto;
}
.classHead {
  width: 100%;
  height: 36px;
  background: #f5f5f5;
  padding: 8px 0 10px 20px;
}
.nameIndex {
  color: #666;
  font-size: 12px;
}
.nameChild {
  font-size: 12px;
  color: #151515;
  padding-left: 14px;
  & .nameIcon {
    padding-right: 5px;
  }
}
// 搜索条件
.searchConditions {
  padding-top: 20px;
  position: relative;
  .addGoodsBtn {
    position: absolute;
    right: 10px;
    bottom: 0;
    border-radius: 3px;
    width: 120px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    & .icon {
      font-size: 16px;
    }
  }
}
.pageBox {
  margin-top: 10px;
  text-align: right;
  margin-bottom: 50px;
}

.orderNameBox {
  float: left;
  width: 250px;
  height: 60px;
  & .imgBox {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 1px solid #ebebeb;
    margin-right: 5px;
    &:last-child {
      margin-right: 0;
    }
    & .img {
      display: block;
      width: 58px;
      height: 58px;
    }
  }
  & .ellipsisIcon {
    line-height: 60px;
    position: absolute;
    color: #666;
    font-size: 16px;
    padding-left: 5px;
  }
}

.orderCodeBox {
  float: left;
  height: 60px;
  & .code {
    padding: 0;
    margin: 10px 0 5px 0;
    font-size: 12px;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
  }
  & .time {
    font-size: 12px;
    color: #999;
    margin: 0;
    padding: 0;
  }
}
.orderPriceBox {
  height: 60px;
  font-size: 12px;
  color: #e14c46;
  line-height: 60px;
}
.orderStatusBox {
  height: 60px;
  color: #333;
  line-height: 60px;
}

.orderTailBox {
  height: 60px;
  line-height: 60px;
  & .clockIcon {
    font-size: 16px;
    color: #666;
    cursor: pointer;
    &:hover {
      color: #e70013;
    }
  }
}

.orderCancelBox {
  height: 60px;
  line-height: 60px;
  font-size: 12px;
  color: #0544a4;
  & .cancelBtn {
    display: inline-block;
    padding: 0 10px;
    height: 16px;
    line-height: normal;
    text-align: center;
    border-right: 1px solid #ddd;
    cursor: pointer;
    &:last-child {
      border-right: none;
    }
  }
}

.tailHoverBox {
  width: 280px;
  & .tailItem {
    margin-top: 10px;
    margin-bottom: 5px;
    position: relative;
    &:before {
      content: "";
      position: absolute;
      top: 20px;
      left: 5px;
      height: 29px;
      width: 2px;
      background: #d8d8d8;
    }
    &:first-child {
      &:before {
        background: #59c152;
      }
      & .circle {
        border: 1px solid #59c152;
        & .point {
          background: #59c152;
        }
      }
      & .cancelType {
        color: #59c152;
      }
    }
    &:last-child {
      &:before {
        content: "";
        position: absolute;
        display: none;
      }
    }
    & .circle {
      display: inline-block;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: #fff;
      border: 1px solid #ccc;
      text-align: center;
      position: relative;
      vertical-align: middle;
      & .point {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #ccc;
      }
    }
    & .time {
      color: #999;
      font-size: 12px;
      display: inline-block;
      margin-left: 10px;
      vertical-align: middle;
    }
    & .cancelType {
      color: #333;
      font-size: 12px;
      display: inline-block;
      margin-left: 20px;
      vertical-align: middle;
    }
    & .cancelName {
      color: #333;
      font-size: 12px;
      width: 19%;
      display: inline-block;
      margin-left: 30px;
      vertical-align: middle;
    }
  }
}
