@import "mixin";
@import "global";
@import "variables";
@import "transition";
@import "theme/black";
@import "element-plus";
@import "theme/default";

html {
  box-sizing: border-box;
}

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 14px;
  line-height: 1.5;
  font-family: 'Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif';
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  text-decoration: none;
}

// message弹窗z-index样式
.zindex {
  z-index: 3000 !important;
}

// 清除浮动
.clear-both {
  clear: both;
}

/* 全局滚动条样式*/
::-webkit-scrollbar {
  width: 9px !important;
  /* 对垂直流动条有效 */
  height: 9px !important;
  /* 对水平流动条有效 */
}

::-webkit-scrollbar-thumb {
  border-radius: 7px;
  // color: #fff;
  box-shadow: inset 0 0 5px rgb(222, 226, 231);
  background: rgb(222, 226, 231);
  background-color: rgb(147, 145, 145) !important;
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px #eef0f5;
  border-radius: 0;
  background: #eef0f5;
}

::selection {
  color: #FFFFFF;
  background: var(--el-color-primary) !important;
}

// 打印预览样式兼容
.widthFixCustom {
  width: auto !important;
  max-width: 80vw;
}

// 表格无数据内容提示
.no-table-data {
  width: 100%;
  height: 60%;
  background-image: url("~@/assets/images/no_data.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

// 高级表格顶部自定义按钮间距控制
.customize-table-container {
  .header-left-box {
    .customize-btn-container {
      width: 100%;
      // margin-right: var(--size-mini-5, 10px);

      .customize-btn-item {
        margin-right: var(--size-mini-5, 10px);
      }

      .btn-container:last-child>.customize-btn-item {
        margin-right: 0;
      }
    }
  }
}

.el-tooltip__popper {
  z-index: 10000 !important;
  max-width: 80%;
}