@import "../../../../src/theme.less";
:host {
  .openDepartmentsTips {
    font-size: 12px;
  }
  .targetDept {
    overflow: hidden;
    width: 196px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .executeTime {
    overflow: hidden;
    width: 142px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  // 时间选择框相关
  .select-seimin {
    width: 100%;
  }
  .time-picker-seimin {
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
  }
}
// 时间选择框相关
// ::ng-deep .ant-time-picker-panel[ng-reflect-nz-place-holder="请选择执行时间"] {
//   left: -155px;
//   top: -103px;
// }

.save {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;

  .modalBody {
    width: 350px;
    height: 220px;
    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;
      height: 117px;
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 5px;
      overflow: hidden;
      margin-top: 12px;

      & > 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: 18px;
        }

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

    button {
      margin-top: 10px;

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

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

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

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

            .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 {
              text-align: left;
            }
          }
        }
      }

      button {
        &:nth-child(1) {
          margin-right: 20px;
        }
      }
    }
  }
}
