@import './common/var.scss';
.es-data-table-form {
  min-width: 100%;
  border-color: $--table-border-color;
  background-color: #fff;
  font-size: 14px;
  table-layout: fixed;
  th,
  td {
    padding: 6px;
    line-height: 28px;
    &.numbers {
      text-align: center;
    }
    .cell {
      min-height: 28px;
      &.is-textarea {
        line-height: 20px;
      }
      &.es-required::before {
        content: '*';
        color: #f56c6c;
      }
    }
    .es-input-box {
      position: relative;
      .es-select-multiple {
        height: auto;
        min-height: 40px;
        line-height: 1;
        padding: 4px 6px 4px 0;
        .el-tag {
          margin: 2px 0 2px 6px;
        }
      }
    }
  }
  .es-data-form-head {
    background-color: $--table-header-background-color;
  }
  &.es-data-form-full {
    height: 100%;
    .es-data-form {
      height: 100%;
      &.es-data-form-haspage {
        .es-scrollbar {
          height: calc(100% - 46px);
        }
      }
    }
  }
}
.es-data-form {
  position: relative;
  .es-table-page {
    height: 46px;
    text-align: center;
    border: $--table-border;
    padding: 8px 12px;
    margin-top: -1px;
    background-color: $--table-page-background-color;
  }
  .es-data-table-form-handle {
    position: fixed;
    opacity: 0;
  }
}
