@import "../../../../src/theme.less";
:host{
  width: 100%;
}

.inspectionConfigurationItem{
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  .inspectionConfigurationItemTable{
    flex: 3;
    .list-template__top{
      padding: 8px 16px;
    }
    .list-template__nzTable{
      padding-top: 0;
    }
    ::ng-deep .list-template__nzTable .ant-table-body{
      border: none!important;
    }
    .list-template__content{
      height: 100%;
    }
    .list-template__bottom{
      height: 100%;
      padding-bottom: 0;
    }
  }
  .inspectionConfigurationItemPage{
    flex: 1;
    height: 100%;
    padding: 8px 0;
    .inspectionConfigurationItemPageBox{
      height: 100%;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 8px;
      .head{
        padding: 8px 16px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
      }
      .content{
        .contentItem{
          margin: 0 8px 8px;
          padding: 8px;
          background-color: #fff;
          border: 1px solid #F5F5F5;
          font-size: 14px;
          cursor: pointer;
          &.active{
            border: 1px solid #64BD7B;
            background: #E9F7E9;
          }
          .title{
            .value{
              margin-left: 16px;
            }
          }
          .contentPage{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 8px;
            .icon_transport{
              font-size: 20px;
              margin-left: 16px;
              color: @primary-color;
            }
          }
        }
      }
    }
  }
  .form_item_wrap{
    display: flex;
  }
}
.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;

  .modalBody {
    width: 350px;
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    color: #333;

    .title {
      width: 100%;
      text-align: center;
      font-size: 18px;
      position: relative;

      i {
        position: absolute;
        right: 0;
        top: 0;
        font-size: 20px;
        color: #666;
        cursor: pointer;
        padding: 0 5px;
      }
    }

    .content {
      width: 310px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;
      padding: 16px 0;

      .busyList{
        display: flex;
        margin-bottom: 8px;
        .busyContent{
          margin-right: 8px;
          flex: 1;
        }
      }

      & > div {
        text-align: center;
        margin: 0;

        &.icon {
          // margin-top: 17px;

          i {
            color: #34b349;
            font-size: 30px !important;

            &.transport-wenhao {
              color: #f5a523;
            }

            &.transport-shibai {
              color: #ff3a52;
            }
          }
        }

        &.defeat {
          color: #333;
          font-size: 14px;
        }

        &:nth-child(3) {
          font-size: 14px;
          color: #666;
        }
      }
      .workAssignmentTips {
        font-size: 12px;
      }
    }

    button {
      margin-top: 10px;

      &.btn {
        margin-left: 8px;
      }
    }
  }

  // 新增
  &.add {
    .modalBody {
      width: 480px;
      height: auto;

      .content {
        width: 100%;
        height: auto;
        padding: 16px;
        max-height: 497px;
        overflow-y: auto;

        .addForm {
          .ant-form-item {
            margin-bottom: 0;

            .ant-form-item-label {
              text-align: left;
            }

            .desc {
              margin-top: 5px;
            }
          }

          .datesControl {
            margin-top: -16px;

            .ant-form-item-label {
              line-height: 40px;
            }
          }

          .timer {
            .ant-form-item-label {
              width: 100%;
              text-align: left;
            }

            .numInp {
              margin-right: 5px;
            }

            .line {
              margin-right: 5px;
            }
          }

          .timer2 {
            .ant-form-item-label {
              line-height: 20px;
            }
          }
        }

        .editForm {
          .ant-form-item {
            margin-bottom: 15px;

            .ant-form-item-label {
              line-height: 14px;
              text-align: left;
            }
          }
        }
      }
    }
  }
}
