@use './helper.scss' as *;
@use './element/custom.scss' as *;
@font-face {
  font-family: Emoji;
  src: local('Apple Color Emojiji'), local('Segoe UI Emoji'), local('Segoe UI Symbol'), local('Noto Color Emoji');
  unicode-range: U+1F000-1F644, U+203C-3299;
}

.dou-yu {
  font-family: 'DouYu';
}

html {
  line-height: normal;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  // user-select: none;
}

main {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

body {
  font-family: 'microsoft yahei', HanSan, system-ui, —apple-system, Segoe UI, Rototo, Emoji, Helvetica, Arial,
    sans-serif;
  height: 100%;
  // background-color: $BaseBgColor;
  background-color: #eaeaea;
  font-size: $BaseFont;
  // font-weight: bold;
}

input {
  font-family: 'microsoft yahei', HanSan, system-ui, —apple-system, Segoe UI, Rototo, Emoji, Helvetica, Arial,
    sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
}

a,
image {
  -webkit-user-drag: none;
}

a {
  text-decoration: none;
}

// 整个滚动条。
::-webkit-scrollbar {
  width: $ScrollBarThumbWidth;
  height: $ScrollBarThumbWidth;
  // border: $OnePixelLine;
}
// 滚动条上的滚动滑块。
::-webkit-scrollbar-thumb {
  // background-color: $ScrollBarThumbColor;
  background:rgba(85,85,85,.3);
  border-radius: $ScrollBarThumbRadius;
  &:hover {
    background-color: rgba(85,85,85,.5);;
  }
}
//滚动条没有滑块的轨道部分。
::-webkit-scrollbar-track-piece {
  border-radius: $ScrollBarThumbRadius;
}
//当同时有垂直滚动条和水平滚动条时交汇的部分。通常是浏览器窗口的右下角。
::-webkit-scrollbar-corner {
  // background-color: blue;
}
//出现在某些元素底角的可拖动调整大小的滑块。
::-webkit-resizer {
}

// .drag {
//   -webkit-app-region: drag;
// }

.c-icon {
  color: $NormalIconColor;
  &:hover {
    color: $ActiveIconColor;
  }
}

.link-button {
  background-color: transparent;
  color: $color--primary;
  font-size: 12px;
  // padding-left: 14px;
  background: #fff url(../images/link.png) 6px 6px no-repeat;
  background-size: 8px 8px;
  padding:3px 8px 3px 18px;
  border-radius:4px;
  margin:0 4px;
  font-weight:normal;
}

#app {
  height: 100%;
  min-width: 1240px;
}

img {
  // pointer-events: none
}
.splitpanes.default-theme .splitpanes__pane {
  background-color: #fff !important;
}
.mark-container {
  .next-button {
    z-index: 5;
  }
  .mark-score {
    z-index: 5;
    color: red;
    font-size: 50px;
    left: 30px;
    top: 20px;
  }
  .question-info{
    top:10px;
    left:25px;
    z-index:5;
    font-size:14px;
    font-weight:bold;
    color:$color--primary;
  }
}
.table-view {
  transition: all 0.3s;
  &.collapse {
    width: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }
  .detail-info-table-header {
    .detail-info-label {
      padding-left: 5px;
      padding-right: 5px;
    }
  }
  // .detail-info-table-header{
  //   // flex-direction: column !important;
  //   text-align:right;
  //   display:block !important;
  //   &>.el-pagination{
  //     margin-top:3px;
  //   }
  // }
}
span.preview {
  z-index: 1;
}
.splitpanes.default-theme .splitpanes__splitter{
  background-color:transparent !important
}

.vxe-checkbox .vxe-checkbox--icon, .vxe-custom--checkbox-option .vxe-checkbox--icon, .vxe-export--panel-column-option .vxe-checkbox--icon, .vxe-table--filter-option .vxe-checkbox--icon, .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon {
  font-size:15px;
}
.vxe-icon-checkbox-unchecked:before,.vxe-checkbox--icon:before{
  font-weight: normal;
}
.vxe-cell--checkbox,.vxe-checkbox--icon{
  transition:all .2s;
}