* {
  &::-webkit-scrollbar {
    width: 0;
    height: 0;
  }
}

body {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  user-select: none;
  font-family: PingFangSC, 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  background-color: rgb(24, 27, 36);

  ul,
  dl,
  dd,
  dt {
    padding: 0;
    margin-bottom: 0;
  }

  li {
    list-style: none;
  }

  p {
    margin-bottom: 0;
  }

  a {
    text-decoration: none !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    margin: 0;
  }
}

#easyv-app {
  height: 100%;
  font-size: 12px;
  color: #fff;
}

.click {
  cursor: pointer;

  &:hover {
    color: #2491f7;
  }
}

.hidden {
  display: none;
}

.easyv-modal-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  .easyv-modal {
    top: 0;
  }
}

.easyv-slider-handle {
  position: relative;
  z-index: 999;
}

.easyv-layout-sider {
  overflow: auto;
}

// 数据响应结果的展示
.easyv-modal-content {
  .easyv-modal-header {
    background: #f3f4f5;
  }

  .easyv-modal-close-x {
    font-size: 18px;
  }
}

.easyv-form-item {
  margin-bottom: 18px;
}

// 编辑图层选中组的outline去除
[data-react-beautiful-dnd-draggable] {
  outline: none;
}

.flex-between {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.full-height {
  height: 100%;
}

// 导出框容器
.export-container {
  width: 100%;
  min-width: 400px;
  // padding: 0 10px;
  margin: 0 auto;
  max-height: 380px;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 2px;
  }

  &::-webkit-scrollbar-thumb {
    background: #e8e8e8;
  }
}

// 导入容器
.import-container {
  // width: 360px;
  width: 100%;
  min-width: 360px;
  padding: 0 10px;
  margin: 0 auto;
  margin-top: 16px;
  max-height: 330px;
  overflow-y: auto;

  &::-webkit-scrollbar {
    width: 2px;
  }

  &::-webkit-scrollbar-thumb {
    background: #e8e8e8;
  }
}

// 表格的页脚
.table-footer-pagination {
  position: relative;
  height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  padding: 0 24px;
  border-top: 1px solid #e8e8e8;
  margin-top: -1px;

  .count {
    padding: 0 4px;
    color: var(--easyv-primary-color);
  }
}

.panel {
  margin: 0 40px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);

  a {
    color: var(--easyv-primary-color);
  }
}

.hide-scrollbar {
  &::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: block;
  }
}

.link {
  color: var(--easyv-primary-color);
  cursor: pointer;
}

.dark {
  // ace-editor样式更改
  &.ace-twilight {
    background-color: #181b24;
    border: 1px solid #393b4a;

    .ace_gutter {
      border-right: 1px solid #393b4a;
      background: transparent;
    }

    .ace_string {
      color: #5a92ed;
    }

    .ace_constant {
      color: #4cbd66;
    }

    .ace_variable {
      color: #a2adce;
    }
  }
}

// 上传文件

.easy-upload {
  &.easyv-upload.easyv-upload-drag {
    position: relative;
    display: block;
    background: #181b24;
    cursor: pointer;
    color: #fff;
    height: 115px;
    text-align: center;
    margin: 0 auto;
    overflow: hidden;
    background-size: contain;
    border: 1px solid #393b4a;

    .icon-btn_export1 {
      display: none;
      position: absolute;
      right: 36px;
      top: 10px;
      color: #fff;
      z-index: 10;
      font-size: 16px;
      width: 16px;
      color: rgba(255, 255, 255, 0.85);
      margin: 0 4px;
    }

    .icon-btn_delete {
      display: none;
      position: absolute;
      right: 10px;
      top: 10px;
      color: #fff;
      z-index: 10;
      font-size: 16px;
      width: 16px;
      color: rgba(255, 255, 255, 0.85);
      margin: 0 4px;
    }

    &:hover {
      color: var(--easyv-primary-color);

      .icon-btn_delete,
      .icon-btn_export1 {
        display: block;

        &:hover {
          color: var(--easyv-primary-color);
        }
      }

      &:after {
        content: '点击上传';
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        color: #d8d8d8;
        background: rgba(0, 0, 0, 0.3);
      }
    }

    .easyv-upload {
      padding: 0;
    }

    .uploader-trigger {
      display: inline;
      vertical-align: middle;
      font-size: 12px;
      color: #d8d8d8;
    }
  }
}

.edition-lock.iconfont {
  display: inline-block;
  color: #30323e;
  font-size: 12px;
  width: 14px;
  height: 9px;
  line-height: 9px;
  text-align: center;
  background: linear-gradient(140.75deg, #ffddd6 6.96%, #ad490f 98.74%);
  border-radius: 2px 0;
}

.easyv-drawer .easyv-drawer-content {
  overflow: initial;
}

// ************************svg hover提取*********************
// 由白色变成蓝色
.whiteHover {
  &:hover {
    color: #3a89fe;

    svg {
      color: #3a89fe;
    }
  }
}

// 由蓝色变成浅蓝色
.lightBlueHover {
  &:hover {
    color: #62a3f8;

    svg {
      color: #62a3f8;
    }
  }
}

// ********************背景色 hover提取************************
// 由白色变成蓝色
.whiteHoverBc {
  &:hover {
    background-color: #3a89fe;
  }
}

// 由蓝色变成浅蓝色
.lightBlueHoverBc {
  &:hover {
    background-color: #62a3f8;
  }
}

.easyv-input:hover {
  border-color: var(--easyv-primary-color);
}

.easyv-radio-button-wrapper-checked:not(.easyv-radio-button-wrapper-disabled):focus-within,
.easyv-radio-button-wrapper:focus-within {
  box-shadow: none !important;
}

.easyv-gui-input-wrapper .easyv-gui-input-group-addon{
  background-color: transparent;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"]{
  -moz-appearance: textfield;
}