@import './common/var.scss';
.es-dialog {
  overflow: hidden;
  .el-dialog {
    padding-top: 45px;
    overflow: hidden;
    position: relative;
  }
  .el-dialog__header {
    padding: 12px 20px 8px;
    background-color: $--dialog-header-background-color;
    font-size: 14px !important;
    border-bottom: $--border-base;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    .el-dialog__title {
      font-size: 14px !important;
    }
  }
  .el-dialog__headerbtn {
    font-size: 18px;
    height: 20px;
    right: 16px;
    top: 12px;
  }
  .el-dialog__body {
    padding: 8px;
    height: 100%;
    background-color: #fff;
    .es-flow-group,
    .es-tabs {
      border: 1px solid #d1d1d1;
      box-shadow: none;
    }
    .es-flow-group {
      .es-tabs {
        border: 0;
      }
    }
  }
  &.is-middle {
    .el-dialog {
      position: absolute;
    }
  }
  .es-form {
    .es-form-button {
      text-align: right;
    }
  }
  &.es-title-hide {
    .el-dialog {
      padding-top: 0;
    }
    .el-dialog__header {
      height: 45px;
      border-color: transparent;
      background-color: transparent;
      z-index: 3;
    }
    .el-dialog__body {
      padding: 0;
      background-color: transparent;
    }
  }
  &.es-dialog-plus {
    .el-dialog {
      border-radius: 9px;
    }
    .el-dialog__header,
    .el-dialog__body {
      background-color: #f2f2f2;
    }
  }
}
