/* 当前页面最大化 css */
.main-maximize {
  .aside-split,
  .el-aside,
  .el-header,
  .el-footer,
  .tabs-box {
    display: none !important;
  }
}

/* mask image */
.mask-image {
  padding-right: 50px;
  mask-image: linear-gradient(90deg, #000000 0%, #000000 calc(100% - 50px), transparent);
}

/* 设置 notification、message 层级在 loading 之上 */
.el-message,
.el-notification {
  z-index: 9999 !important;
}

/* el-drawer */
.el-drawer {
  .el-drawer__header {
    padding: 16px 20px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--el-border-color-lighter);

    span {
      font-size: 17px;
      line-height: 17px;
      color: var(--el-text-color-primary) !important;
    }
  }

  .el-drawer__footer {
    border-top: 1px solid var(--el-border-color-lighter);
  }

  // select 样式
  .el-select {
    width: 100%;
  }

  // drawer-form 中存在两列 form-item 样式
  .drawer-multiColumn-form {
    display: flex;
    flex-wrap: wrap;

    .el-form-item {
      width: 47%;

      &:nth-child(2n-1) {
        margin-right: 5%;
      }
    }
  }
}

/* el-dialog */
.el-dialog {
  .el-dialog__title {
    font-size: 20px;
  }

  .el-dialog__header,
  .el-dialog__body,
  .el-dialog__footer {
    padding: 10px 20px;
  }
}

/* el-message-box */
.el-message-box {
  .el-message-box__title {
    font-size: 20px;
  }

  .el-message-box__header,
  .el-message-box__container,
  .el-message-box__btns {
    padding: 10px 20px;
  }

  .el-message-box__input {
    padding: 0 20px 15px 20px;
  }
}

.el-table th {
  background-color: #eef1f6 !important;
  color: #606266 !important;
}

.el-popper {
  max-width: 50vw;
}

.table-box .el-scrollbar__view {
  --el-scrollbar-opacity: 0 !important;
  overflow: hidden;
}
