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

.orderListDetailBox {
  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;
  }
}
.fileName {
  font-size: 12px;
  width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  a {
    color: #666;
  }
}
// 订单状态
.orderStatusBox {
  width: 100%;
  height: 200px;
  border: 1px solid #f5f5f5;
  border-top: 3px solid #e14c46;
  margin-top: 10px;
  & .leftBox {
    float: left;
    width: 260px;
    height: 200px;
    border-right: 1px solid #f5f5f5;
    padding: 20px 0;
    & .orderCode {
      text-align: center;
      font-size: 12px;
      color: #666;
      margin-bottom: 15px;
    }
    & .orderStatus {
      text-align: center;
      font-size: 34px;
      color: #e14c46;
      margin-bottom: 15px;
    }
    & .btnBox {
      text-align: center;
      margin-bottom: 15px;
      :global {
        .ant-btn:first-child {
          border: 1px solid #e14c46;
          color: #e14c46;
        }
      }
      & .btn {
        width: 70px;
        height: 30px;
        padding: 0;
        &:first-child {
          margin-right: 20px;
        }
      }
    }
  }
  & .rightBox {
    margin-left: 260px;
    height: 200px;
    padding-left: 80px;
    padding-top: 20px;
    .trackIcon {
      font-size: 30px;
      padding-left: 25px;
      &::after {
        content: "";
        width: 150px;
        display: inline-block;
        position: absolute;
        border-top: 1px dotted;
        top: 15px;
        left: 80px;
      }
    }
    :global {
      .ant-steps {
        height: 100%;
        .ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {
          color: #59c152;
        }
        .ant-steps-item {
          width: 20%;
          margin-right: 0 !important;
          .ant-steps-item-content {
            position: absolute;
            top: 30px;
            left: 8px;
            .ant-steps-item-title {
              padding-left: 5px;
              &::after {
                height: 0;
              }
            }
            .ant-steps-item-description {
              margin-top: 15px;
            }
          }
          &:last-child {
            .ant-steps-item-icon {
              .ant-steps-icon {
                i {
                  &::after {
                    width: 0;
                  }
                }
              }
            }
          }
        }
      }
    }
    & .statusItem {
      float: left;
      width: 70px;
      text-align: center;
      margin-right: 100px;
      position: relative;
      &:last-child {
        margin-right: 0;
        &:before {
          content: "";
          display: none;
        }
      }
      &.another {
        & .icon {
          color: #59c152;
        }
        &:before {
          border-top: 1px dashed #59c152;
        }
      }
      &:before {
        content: "";
        position: absolute;
        top: 16px;
        left: 68px;
        width: 110px;
        border-top: 1px dashed #666;
      }
      & .icon {
        color: #999;
        font-size: 26px;
      }
      & .name {
        font-size: 12px;
        color: #333;
      }
      & .time {
        font-size: 12px;
        color: #999;
      }
    }
  }
}
// 信息
.infoBox {
  width: 100%;
  height: 200px;
  border: 1px solid #f5f5f5;
  border-top: 3px solid #f5f5f5;
  margin-top: 10px;
  display: flex;
  & .infoItem {
    flex: 1;
    margin: 10px;
    border-right: 1px solid #f5f5f5;
    &:first-child {
      margin-left: 18px;
    }
    &:last-child {
      border-right: none;
    }
    & .title {
      font-size: 14px;
      color: #333;
    }
    & .info {
      width: 100%;
      clear: both;
      padding: 3px 0;
      & .name {
        float: left;
        width: 60px;
        text-align: left;
        font-size: 12px;
        color: #333;
      }
      & .value {
        margin-left: 75px;
        font-size: 12px;
        color: #666;
      }
    }
  }
}
// 订单列表
.orderGoodsListBox {
  margin-top: 10px;
  .goodsTitleName,
  .returnReason {
    width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .goodsOpt {
    display: inline-block;
    width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
  }
  .valBox {
    display: inline-block;
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .em {
    padding-left: 5px;
    font-size: 12px;
    color: #999;
  }
  .fontRed {
    color: #e14c46;
  }
  .fileName {
    color: #999;
    width: 130px;
    a {
      color: #999;
    }
  }
  :global {
    .ant-table-fixed-header .ant-table-scroll .ant-table-header {
      overflow: auto !important;
      padding-bottom: 20px !important;
      margin-bottom: -20px !important;
    }
    .ant-table-thead > tr > th {
      font-size: 14px;
      padding: 10px 10px;
      font-weight: bold;
      text-align: center;
      background: #f5f5f5;
      box-shadow: inset 0 -1px 0 0 rgba(235, 235, 235, 0.5);
      &.alignRight {
        text-align: right !important;
      }
    }
    .ant-table-body {
      overflow: auto !important;
      tr > .alignRight {
        text-align: right !important;
      }
      &::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
        height: 1px;
      }
      &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        border-radius: 10px;
        background: #ccc;
      }
      &::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        border-radius: 17px;
        background: #f5f5f5;
      }
      tr > td {
        padding: 10px 2px;
        text-align: center;
        &:first-child {
          text-align: left;
        }
      }
    }
    .alignRight {
      text-align: right !important;
    }
  }
}
// 订单列表
.deliveryGoodsGrid {
  .goodsListHead {
    width: 100%;
    height: 40px;
    background: #f5f5f5;
    clear: both;
    line-height: 40px;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    margin-top: 10px;
    & div {
      float: left;
    }
  }
}

// 列表
.goodsItemParent {
  :global {
    .ant-table-row > td {
      padding: 10px 2px;
    }
  }
  & .parentTtile {
    height: 40px;
    background: rgba(245, 245, 245, 0.5);
    box-shadow: inset 0 -1px 0 0 #ebebeb;
    padding: 0 10px;
    & .titleItem {
      display: inline-block;
      line-height: 40px;
      margin-right: 100px;
      font-size: 12px;
      & .name {
        color: #333;
      }
      & .value {
        color: #3f3f3f;
        padding-left: 5px;
      }
    }
    & .okBtn {
      float: right;
      width: 70px;
      height: 30px;
      border: 1px solid #e14c46;
      border-radius: 2px;
      padding: 0;
      font-size: 12px;
      color: #e14c46;
      margin-top: 5px;
    }
  }
}
.imgBox {
  float: left;
  width: 60px;
  height: 60px;
  & img {
    height: 60px;
    width: 60px;
  }
}
.goodsInfo {
  float: left;
  height: 60px;
  padding-top: 1px;
  padding-left: 10px;
}
.goodsTitleName {
  color: #333;
  width: 180px;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 0;
}
.goodsCode {
  font-size: 12px;
  color: #999;
  margin: 0;
}
.goodsStatus {
  display: block;
  width: 16px;
  height: 16px;
  background: #59c152;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  line-height: 16px;
}
.goodsStatusTxt {
  font-size: 10px;
  transform: scale(0.8);
  margin: 0;
}
.scrollbar {
  overflow: auto;
  max-height: 240px;
  width: 100%;
  .timelineBox {
    margin-top: 10px;
  }
  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    background: #9e9e9e;
  }
  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    border-radius: 17px;
    background: #e0e0e0;
  }
  :global {
    .ant-timeline-item {
      .ant-timeline-item-head {
        background: #eee;
        border: #eee;
        color: #eee;
      }
      &:first-child {
        .ant-timeline-item-head {
          background: #59c152;
          border: #59c152;
          color: #59c152;
          box-shadow: 0 0 6px 0 #59c152;
        }
      }
      .ant-timeline-item-content {
        font-size: 12px;
        color: #333;
      }
    }
  }
}
// 订单商品信息
.orderGoodsInfo {
  margin-top: 20px;
  width: 100%;
  & .item {
    width: 100%;
    height: 24px;
    & .name {
      float: right;
      line-height: 24px;
      font-size: 12px;
      color: #666;
    }
    & .valueBox {
      float: right;
      height: 24px;
      width: 165px;
      text-align: right;
      color: #151515;
      font-size: 12px;
      line-height: 24px;
      & .red {
        color: #e34b41;
      }
    }
  }
}
// 操作按钮
.cancelBtnBox {
  width: 100%;
  height: 50px;
  margin-top: 20px;
  margin-bottom: 10px;
  & .cancelBtn {
    float: right;
    height: 50px;
    background: #fff;
    cursor: pointer;
    & .btn {
      &:last-child {
        margin-right: 0;
        background: #e14c46;
        color: #fff;
      }
      display: inline-block;
      width: 120px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      margin-right: 10px;
      background: #eee;
      color: #333;
      font-size: 16px;
      border: none;
    }
  }
}
// 发货信息
.deliveryInfoBox {
  margin-top: 10px;
  & .title {
    font-size: 14px;
    color: #333;
    cursor: pointer;
    & .icon {
      font-size: 16px;
    }
  }
}
// 操作日志
.logsBox {
  width: 100%;
  :global {
    .ant-steps-item-title {
      width: 100%;
    }
  }
  & .conBox {
    position: relative;
    padding-left: 20px;
    & .circleList {
      position: absolute;
      top: 12px;
      left: 0;
      & .circleItem {
        display: block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #eee;
        position: relative;
        margin-bottom: 24px;
        &:last-child {
          &:before {
            display: none;
          }
        }
        &:first-child {
          background: #e14c46;
          box-shadow: 0 0 6px 0 rgba(227, 75, 65, 0.9);
        }
        &:before {
          content: "";
          position: absolute;
          top: 6px;
          left: 3px;
          width: 1px;
          height: 24px;
          border-left: 1px solid #eee;
        }
      }
    }
  }
  & .logItem {
    clear: both;
    width: 100%;
    font-size: 12px;
    color: #333;
    & .time {
      display: inline-block;
      margin-right: 50px;
      width: 150px;
      line-height: 30px;
    }
    & .datetime {
      display: inline-block;
    }
  }
}
