@import 'element-variables.scss';

/* 改变 icon 字体路径变量，必需 */
$--font-path: '~element-ui/lib/theme-chalk/fonts';

@import '~element-ui/packages/theme-chalk/src/index';
@import '../icon/iconfont.css';

@font-face {
  font-family: 'electronicFont';
  src: url('../fonts/CursedTimerUlil-Aznm.ttf');
}

//弹窗样式
.manage-dialog__wrap {
  overflow: unset !important;

  .el-dialog {
    width: 70%;
    height: 72%;

    .el-dialog__header {
      padding: 10px 0;
      margin: 0 20px;
      // height: 24px;
      // line-height: 24px;
      border-bottom: 1px solid #ebeef5;
    }

    .el-dialog__title {
      font-size: 16px;
      color: #333;
    }

    .el-dialog__headerbtn {
      top: 14px;
    }

    .el-dialog__body {
      height: calc(100% - 120px);
      padding-top: 10px;
      padding-bottom: 10px;
      overflow: auto;
      font-size: 12px;

      .el-main {
        padding-top: 0;
        padding-bottom: 0;
      }
    }

    .el-input__inner {
      font-size: 12px;
    }
  }

  .el-dialog__footer {
    padding-top: 0;
  }

  .dialog-footer {
    text-align: center;
  }
}

.manage-dialog__wrap {
  @media (max-width: 1024px) {
    .el-dialog {
      width: 100%;
      height: 90%;
      margin-top: 4vh !important;
    }
  }

  @media (min-width: 1152px) and (max-width: 1400px) {
    .el-dialog {
      width: 90%;
    }
  }
}

// htTable顶部按钮样式
.search-container__col {
  // .el-button-group{
  //   width: calc(100% - 360px);
  // }
}

.ht-table {
  .el-radio {
    .el-radio__label {
      display: none;
    }
  }
}

// 树+表格的边框缩小
.main-ht-table {
  padding: 10px !important;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  padding: 4px 6px;
  top: 10px;
}

.tooltip-wrapper::before {
  content: '';
  position: absolute;
  border-width: 4px 6px 0 6px;
  border-style: solid;
  border-color: transparent;
  border-top-color: black;
  opacity: 0;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.tooltip-wrapper:hover > .msg-log-content {
  opacity: 1;
  position: static;
  display: inline-block;
}

.msg-log-icon {
  position: relative;
  top: -10px;
}

.msg-log-icon:hover + .msg-log-content {
  opacity: 1;
  position: static;
  display: inline-block;
}

.msg-log-content {
  position: absolute;
  background: black;
  text-align: center;
  color: #fff;
  border-radius: 5px;
  padding: 4px 2px;
  min-width: 80px;
  pointer-events: auto;
  opacity: 0;
  left: 50%;
  top: -5px;
  transform: translateX(-50%) translateY(-100%);
}

.tooltip-wrapper:hover::after,
.tooltip-wrapper:hover::before {
  opacity: 1;
}

/* 右侧 */
.tooltip-wrapper:hover[position='right']::before {
  top: 15%;
  left: 8%;
  margin-left: -3px;
  transform: translateY(-50%) rotate(-90deg);
}

.tooltip-wrapper[position='right'] > .msg-log-content {
  top: 50%;
  left: 100%;
  margin-left: 10px;
  transform: translateY(-50%);
}
//按钮大小
.el-button {
  height: 40px;
}
// 导出按钮的间距
.export-import-container + .export-import-container,
.export-import-container + .el-button,
.el-button + .export-import-container,
.ht-delete-button + .export-import-container {
  margin-left: 10px;
}

/* 设置滚动条的样式  background-color: #0f3a5c;*/
::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
  background-color: #ccc;
  border-radius: 2px;
}

/* 滚动槽 */
::-webkit-scrollbar-track {
  border-radius: 6px;
  background-color: #ccc !important;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background-color: #9fa1a5;
}

html {
  font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif;
}

.bbsl-common-page {
  height: 100%;
}

.bbsl-table-search {
  padding: 19px 24px;
  background-color: #fff;
  border-radius: 20px;
  // box-shadow: 0px 0px 12px 0 rgba($color: #000000, $alpha: 0.1);
  box-shadow: 0px 12px 23px 0px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 60px;
  box-sizing: border-box;
  vertical-align: center;
  display: flex;
  align-items: center;
  /deep/.el-form-item {
    margin: 0;
    display: inline-block;
  }

  /deep/.el-input {
    width: 209px;
  }
}

.bbsl-table-search > .el-form {
  display: block;
  width: 100%;

  .el-form-item {
    margin-bottom: 0;
  }
}

.bbsl-search-more {
  width: calc(50% + 40px);
  padding: 20px 20px 0 20px;
  background-color: #fff;
  box-shadow: 0px 4px 6px 0 rgba($color: #000000, $alpha: 0.1);
  position: absolute;
  z-index: 999;
  right: 0;
  top: 66px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.bbsl-table-content {
  height: calc(100% - 70px);
  margin-top: 10px;
  border-radius: 20px;
  padding: 20px 20px;
  background-color: #fff;
  box-shadow: 0px 0px 12px 0 rgba($color: #000000, $alpha: 0.1);
  position: relative;
  box-sizing: border-box;
}

.bbsl-btn-content {
  margin-bottom: 10px;
}

.bbsl-pagination {
  // position: absolute;
  // right   : 10PX;
  // bottom  : 10PX;
}

.el-table thead tr,
.el-table thead tr th {
  background-color: #eee !important;
}

.el-table--mini th {
  height: 46px;
}

.el-table--mini td {
  height: 41px !important;
  padding-top: 0;
  padding-bottom: 0;
}

.el-table th > .cell {
  font-size: 14px;
  font-weight: bold;
  color: #3c4353;
}

.el-table td > .cell {
  font-size: 14px;
  color: #606266;
}

.el-table--border th,
.el-table--border td {
  border-right: 1px solid #fff !important;
}

.el-scrollbar__wrap {
  // overflow: hidden;
}

.el-table ::-webkit-scrollbar {
  width: 18px;
  height: 18px;
  background-color: #f6f6f6;
}

.el-table ::-webkit-scrollbar-corner {
  background: #f6f6f6;
}

// // /*定义滚动条轨道 内阴影+圆角*/
// .el-table ::-webkit-scrollbar-track {
//   background: #f6f6f6;
//   border-radius: 2px;
// }
// // /*定义滑块 内阴影+圆角*/
// .el-table ::-webkit-scrollbar-thumb {
//   background: #cdcdcd;
//   border-radius: 2px;
// }

/* 层级 */
.v-modal {
  z-index: 11 !important;
}

/* tab */
.el-tabs {
  width: 100%;
  height: 100%;
}

.el-tabs__content {
  width: 100%;
  height: 100%;
}

/* 穿梭框 */
.el-transfer {
  height: 100% !important;
  display: flex;
}

.el-transfer-panel__body {
  height: 100% !important;
}

.el-transfer-panel {
  flex: 1 !important;
  height: 100% !important;
}

.el-checkbox-group {
  height: 458px !important;
}

.el-transfer__buttons {
  width: 10% !important;
  line-height: 584px !important;
}

.el-tree {
  border-right: 1px solid rgb(238, 237, 237);
  border-left: 1px solid rgb(238, 237, 237);
  border-bottom: 1px solid rgb(238, 237, 237);
}

/* 公用新增修改框分割线 */
.from-title {
  width: 100%;
  height: 30px;
  line-height: 30px;
  color: #409eff;

  span {
    font-size: 16px !important;
    font-weight: 700;
    vertical-align: middle;
  }

  i {
    margin-right: 6px;
    font-size: 16px !important;
    vertical-align: middle;
  }
}

.bbsl-location-dialog {
  .el-dialog__body {
    padding: 10px 20px;
  }
}

.bbsl-tab {
  .el-tabs__item {
    padding: 0 16px !important;
  }
}

.bbsl-scroll-pane {
  display: flex;
  position: relative;

  .bbsl-scroll-step {
    width: 200px;
    height: 300px;
    position: relative;

    .hidden-item {
      position: absolute;
      z-index: 3;
      width: 100%;
      height: 28px;
      border: 1px solid rgb(112, 65, 65);
    }
  }

  .bbsl-scroll-form {
    // 如果要加左边步骤条
    // width        : calc(100% - 220px);
    // 如果要加左边步骤条
    width: calc(100% - 20px);
    height: calc(95vh - 300px);
    overflow-y: auto;
    padding: 0 10px;
  }

  .el-scrollbar .el-scrollbar__wrap {
    overflow-x: hidden !important;
  }

  .el-step.is-vertical .el-step__main {
    padding-left: 2px;
  }

  .el-step__icon-inner[class*='el-icon']:not(.is-status) {
    font-size: 16px;
  }

  .el-step__title {
    font-size: 14px;
  }
}

.cqlt-icon {
  font-size: 28px;
}
.cqlt-icon:hover {
  cursor: pointer;
  color: #409eff;
}
// 全局样式
.bg {
  background-color: $--background-color-base;
}
.full-page {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.flex {
  display: flex;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-container {
  width: 100%;
  height: 60px;
  line-height: 60px;
  padding: 0 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  box-sizing: border-box;
  .el-form-item {
    margin: 0;
    display: inline-block;
  }
}
.main-table-container {
  height: calc(100% - 50px);
  padding: 0;
  margin: 10px 0 0 0 !important;
  box-sizing: border-box;
}
.main-page-container {
  height: 100% ;
  padding: 0;
  margin: 10px 0 0 0 !important;
  display: flex;
  justify-content: space-between;
}
.main-aside-container {
  width: 300px;
  height: 100%;
  border-radius: 20px;
  box-sizing: border-box;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 20px !important;
}
.page-container{
	width:100% ;
	height: calc(100% - 70px);
	margin-top: 10px;
	border-radius: 20px;
	padding: 20px !important;
	background-color: #fff;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	position: relative;
	box-sizing: border-box;
}
.table-container {
  width: calc(100% - 310px);
  height: 100%;
  margin-left: 10px;
  border-radius: 20px;
  padding: 20px !important;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
}
.wrap-page{
	display: flex;
	justify-content: space-between;
}
.page-left{
	width: 20%;
	height: 100%;
	line-height: 60px;
	padding: 0 20px;
	background-color: #ffffff;
	box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	box-sizing: border-box;
	
}
.page-right{
	width: 80%;
	height: 100%;
	padding-left: 10px;
}