@import "../../../../src/theme.less";

// 时间选择框相关
::ng-deep .ant-time-picker-panel[ng-reflect-nz-place-holder="请选择时间"] {
  left: 0;
  top: 0;
}

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

  .modalBody {
    width: 480px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    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 8px;
      }
    }

    .content {
      background: #f9fafb;
      border: 1px solid #e5e9ed;
      border-radius: 8px;
      margin-top: 8px;
      padding: 16px;
      max-height: 497px;
      overflow-y: auto;

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

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

        .ant-form-item {
          margin-bottom: 8px;
          .ant-form-item-label {
            margin-bottom: 8px;
          }
          ::ng-deep .ant-form-item-control{
            line-height: normal;
          }
        }

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

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

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

    button {
      margin-top: 10px;

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