// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
  color: #97a8be !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;

    .el-tag {
      margin-right: 0px;
    }
  }
}

.el-form-item.is-success .el-input__wrapper {
  box-shadow: 0 0 0 1px #67C23A inset;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-menu--collapse
  > div
  > .el-submenu
  > .el-submenu__title
  .el-submenu__icon-arrow {
  display: none;
}

.el-dropdown .el-dropdown-link{
  color: var(--el-color-primary) !important;
}

/** 树形表格中，因为 <span class="el-table__placeholder"></span> 的存在，导致行高增加**/
.el-table {
  .cell {
    .el-table__placeholder {
      display: none;
    }
  }
}

/* ---el-table滚动条公共样式--- */
.el-scrollbar {
  // 横向滚动条
  .el-scrollbar__bar.is-horizontal{
height: 16px; // 横向滑块的宽度 

      .el-scrollbar__thumb {
      opacity: 0.85; // 默认滚动条自带透明度
      height: 16px; // 横向滑块的宽度
      border-radius: 2px; // 圆角度数
      background-color: #282B33; // 滑块背景色
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.15); // 滑块阴影
    }
  }
  // 纵向滚动条
  .el-scrollbar__bar.is-vertical {
    width: 16px;
  
    .el-scrollbar__thumb {
      opacity: 0.85;
      width: 16px; // 纵向滑块的宽度
      border-radius: 2px;
      background-color: #282B33;
      box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    }
  }
}

.el-tree-node__label{
  font-size: 12px !important;
}

/* 抽屉 header 样式 */
.page-container {
  .el-drawer {
    .el-drawer__header {
      position: relative;
      margin-bottom: 0px;

      .el-drawer__close-btn {
        position: absolute;
        right: 16px;
        top: 32px;
      }
    }
  }
}