@use './elementPlus.scss';

* {
  padding: 0;
  margin: 0;
  border: 0;
  box-sizing: border-box;
  // font-family: Regular, -apple-system, BlinkMacSystemFont, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
  font-family: Regular;
  :focus {
    outline: 0 !important;
  }
}
/* 自定义滚动条样式 */
::-webkit-scrollbar {
  height: 9px;
  width: 9px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border-style: dashed;
  border-color: transparent;
  border-width: 2px;
  background-color: rgba(157, 165, 183, 0.4);
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
  background: rgba(116, 118, 122, 0.7);
}
body,
html {
  width: 100%;
  height: 100%;
  background-color: var(--el-bg-color);
  // position: relative;
}
#app {
  width: 100%;
  height: 100%;
}
.gl-page-content {
  background-color: var(--el-bg-color);
  padding: 20px;
  border: solid 1px var(--el-border-color-light);
  border-radius: var(--border-radius-normal);
  min-height: 100%;
  min-width: 800px;
}
.gl-page-content-full {
  background-color: var(--el-bg-color);
  padding: 20px;
  border: solid 1px var(--el-border-color-light);
  border-radius: var(--border-radius-normal);
  height: 100%;
  min-width: 800px;
}
.gl-page-content-grey {
  background-color: var(--el-bg-color-page);
  border-radius: var(--border-radius-normal);
  min-height: 100%;
  min-width: 800px;
}
.gl-page-content-grey-full {
  background-color: var(--el-bg-color-page);
  border-radius: var(--border-radius-normal);
  height: 100%;
  min-width: 800px;
}
.gl-table-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  .el-link {
    margin: 0 var(--margin-tiny);
  }
}

:root {
  --font-size-title-small: 16px;
  --font-size-title-normal: 18px;
  --font-size-title-big: 20px;
  --font-size-text-small: 12px;
  --font-size-text-normal: 14px;
  --font-size-text-big: 16px;
  --border-radius-small: 2px;
  --border-radius-normal: 4px;
  --border-radius-large: 8px;
  --padding-tiny: 4px;
  --padding-small: 8px;
  --padding-medium: 12px;
  --padding-normal: 16px;
  --padding-large: 20px;
  --padding-huge: 30px;
  --margin-tiny: 4px;
  --margin-small: 8px;
  --margin-medium: 12px;
  --margin-normal: 16px;
  --margin-large: 20px;
  --margin-huge: 30px;
}
//名字点击跳转详情
.gl-pointer-class {
  cursor: pointer;
  color: var(--el-color-primary);
}

// 文字超出省略
.gl-text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
