.layout-header {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  // padding-right: 24px;
  border-bottom: 1px solid #efefef;
  background-color: #fff;
  // 解决元素设置fixed定位时遮挡问题，所以提高层级
  position: relative;
  z-index: 11;
  .yee-btn {
    height: 32px;
    padding: 0 16px;
    text-align: center;
    margin: 0;
    margin-left: 8px;
    & > span + .anticon {
      margin-left: 2px;
      font-size: 10px !important;
      color: #999999;
    }
  }
  .project-name {
    width: 300px;
    margin-left: 16px;
    font-size: 12px;
    cursor: pointer;
    i {
      display: inline-block;
      margin: 0 8px;
    }
  }
  .operation-area {
    --uno: h-full mt-2;
    .operation-item {
      width: 32px;
      height: 32px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border-radius: 3px;
      }
      &:hover span {
        background: rgba(0, 0, 0, 0.06);
      }
      &:active svg {
        fill: @yee-primary-color;
      }
    }
    .publish {
      padding: 3px 8px;
      color: #fff;
      background-color: @yee-primary-color;
      font-size: 12px;
      border-radius: 2px;
      svg {
        margin-right: 4px;
      }
    }
  }
  .preview-service {
    display: flex;
    align-items: center;
    .single-service {
      padding: 8px;
      cursor: pointer;
      &.active {
        background: rgba(0, 0, 0, 0.06);
        border-radius: 4px;
      }
    }
    .service-size {
      font-size: 12px;
      margin-left: 40px;
      color: rgba(0, 0, 0, 0.65);
      span:first-child {
        display: inline-block;
        margin-right: 12px;
      }
    }
  }
}
.more-operation {
  .yee-dropdown-menu {
    background: #ffffff;
    box-shadow:
      0px 3px 8px 0px rgba(0, 0, 0, 0.08),
      0px 2px 3px -2px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    border: 1px solid #e4e4e4;
    padding: 8px;
    .yee-dropdown-menu-item {
      height: 32px;
      line-height: 32px;
      padding: 0;
      padding: 0 8px;
      font-size: 14px;
      span {
        display: inline-block;
        width: 100%;
      }
      &:hover {
        background: rgba(0, 0, 0, 0.06);
        border-radius: 3px;
      }
      &:active {
        color: @yee-primary-color;
      }
    }
  }
}
.yee-check-item-wrap {
  padding: 0 16px;
  .title {
    border-bottom: 1px solid #efefef;
    height: 48px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family:
      PingFangSC-Medium,
      PingFang SC;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
  }
  .check-item {
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family:
      PingFangSC-Regular,
      PingFang SC;
    font-weight: 400;
    color: #666666;
    .text-wrap {
      flex: 1;
      display: flex;
      justify-content: space-between;
      .text {
        width: 220px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 16px;
      }
      .date {
        white-space: nowrap;
      }
    }
  }
}
.yee-publish-modal-wrap {
  width: 520px;
  background: #ffffff;
  border-radius: 4px;
  .yee-btn {
    margin-left: 8px;
  }
  .header {
    height: 48px;
    font-size: 16px;
    font-family:
      PingFangSC-Medium,
      PingFang SC;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.88);
    line-height: 48px;
    padding-left: 16px;
    border-bottom: 1px solid #efefef;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .step {
    height: 60px;
    border-bottom: 1px solid #efefef;
    padding-left: 32px;
    padding-right: 32px;
    display: flex;
    align-items: center;
  }
  .content {
    height: calc(100vh - 168px);
    overflow-y: auto;
    border-bottom: 1px solid #efefef;
    .label {
      font-size: 14px;
      font-family:
        PingFangSC-Regular,
        PingFang SC;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.85);
      margin-bottom: 8px;
    }
    .item {
      display: flex;
      align-items: center;
      font-size: 14px;
      font-family:
        PingFangSC-Regular,
        PingFang SC;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.85);
      justify-content: space-between;
      margin-bottom: 8px;
      .msg-label {
        flex-shrink: 0;
        white-space: nowrap;
      }
    }
  }
  .btn {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
  }
  .line {
    border-bottom: 1px solid #efefef;
  }
}
.yee-publish-modal-result-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 16px 0;
  .icon {
    font-size: 64px;
    color: #52bf63;
    margin-bottom: 24px;
  }
  .icon-fail {
    color: red;
  }
  .title {
    font-size: 24px;
    font-family:
      PingFangSC-Medium,
      PingFang SC;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    line-height: 32px;
    margin-bottom: 8px;
  }
  .sub-title {
    font-size: 14px;
    font-family:
      PingFangSC-Regular,
      PingFang SC;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.45);
    line-height: 22px;
  }
}
.yee-publish-detail-wrap {
  .content {
    padding: 0 16px;
  }
}
.yee-publish-drawer-wrap {
  .yee-resource-class-list .active > .yee-resource-class-label:after {
    left: 0;
  }
}
.yee-publish-detail-drawer-wrap {
  .ant-collapse-borderless {
    background-color: #fff;
  }
  .check-item {
    margin: 0 24px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family:
      PingFangSC-Regular,
      PingFang SC;
    font-weight: 400;
    color: #666666;
    border-bottom: 1px solid #d9d9d9;
    padding: 4px 0;
    &:last-child {
      border-bottom: none;
    }
    .text-wrap {
      .text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 16px;
        margin-bottom: 4px;
      }
      .date {
        white-space: nowrap;
      }
    }
  }
}
