::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 6px;
  /*高宽分别对应横竖滚动条的尺寸*/
  height: 6px;
}

::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  // -webkit-box-shadow: inset 0 0 5px rgb(131, 130, 130);
  background: #cccccc;
}

::-webkit-scrollbar-corner {
  /*相交的地方*/
  background: rgb(231, 233, 234);
}

::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  height: 1px;
  background: rgba(247, 247, 247, 0);
}

/* 表格*/
.el-table__body-wrapper {
  min-height: auto;
  max-height: 500px;
  overflow-y: auto;
}
.el-table__empty-text {
  min-height: auto;
}
/* 按钮*/
.el-button + .el-button {
  margin-left: 5px;
}

.el-button--medium {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 4px;
}
/*输入框共通样式,带校验*/
.el-input--medium .el-input__inner {
  height: 32px;
  background-color: #fff;
  line-height: 32px;
  border-radius: 4px;
  padding: 0 6px;
}

.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: #ccc;
}

.el-form-item.is-error .el-input__inner,
.el-form-item.is-error .el-input__inner:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus {
  border-color: #ff4949 !important;
}

.el-form-item--medium .el-form-item__content {
  line-height: 32px;
}

.el-input__inner {
  border-radius: 4px;
  height: 32px;
  border: 1px solid #ccc;
  color: #000;
}

.el-form-item {
  overflow: inherit !important;
}

/*列表共通*/
.main-list {
  height: calc(62vh);

  .el-table {
    height: calc(81vh - 210px);
  }
}
.el-form-item__error {
  display: none;
}

.el-table {
  padding: 10px 0;
}
.el-table td,
.el-table th {
  padding: 0;
}

.el-table th.is-leaf {
  cursor: pointer;
  background: #dde9fc;
}

.el-table th > .cell {
  color: #000;
  line-height: 42px;
  height: 42px;
  font-size: 14px !important;
}

.el-table tr {
  height: 50px;
}

.el-table__row {
  cursor: pointer;
}

.el-popper .popper__arrow {
  top: -6px !important;
  left: 39% !important;
}

.el-table .cell {
  font-size: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  min-height: 1px;
}

.el-table .color-button {
  width: 60px;
  float: left;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background-color: #f6f6f6;
}

.el-table td.gutter,
.el-table th.gutter {
  background-color: #dde9fc;
}

.el-date-editor .el-range-separator {
  text-align: center !important;
}

.el-date-editor .el-range__close-icon {
  position: absolute;
  right: 5px;
}

.el-range-editor.el-input__inner {
  width: 100%;
  height: 32px;
  line-height: 32px;
}

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.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;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
// .el-dialog {
//   transform: none;
//   left: 0;
//   position: relative;
//   margin: 0 auto;
// }

.el-select {
  width: 100%;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

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

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

.el-input--medium .el-input__icon {
  line-height: 30px;
}

.el-input,
.el-input__inner,
.el-input__icon {
  height: 32px;
  line-height: 32px;
}

// .el-dialog__body {

//   .el-input,
//   .el-input__inner {
//     width: 420px;
//   }
// }

.el-input__inner {
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 12px;
  color: #333333;
}

.el-form-item.is-error .el-input__inner,
.el-form-item.is-error .el-input__inner:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus,
.el-message-box__input input.invalid,
.el-message-box__input input.invalid:focus {
  border-color: #e74c3c;
}

.el-input.is-active .el-input__inner,
.el-input__inner:focus {
  border-color: #8eb5f6;
}

.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: #8eb5f6;
}

.el-radio__input.is-checked .el-radio__inner {
  background: #1d6ced;
}

.el-radio__input.is-checked + .el-radio__label {
  color: #1d6ced;
}

/*头部组件*/
.el-menu--horizontal > .el-menu-item.is-active {
  border-bottom: 4px solid #1d6ced;
  color: #fff !important;
}

.el-menu.el-menu--horizontal {
  margin: 0 auto;
}

.el-menu--horizontal > .el-menu-item {
  width: 100px;
  margin-right: 20px;
  text-align: center;
}

.el-message-box__btns .el-button--default,
.el-message-box__btns .el-button--primary {
  padding: 8px 22px;
}

.el-message-box__btns .el-button--default:hover,
.el-message-box__btns .el-button--default:focus {
  background-color: #fff;
  border-color: #1d6ced;
  color: #1d6ced;
}

.el-message-box__btns .el-button--default.el-button--primary:hover,
.el-message-box__btns .el-button--default.el-button--primary:focus {
  color: #fff;
}

.el-button--primary {
  color: #fff;
  background-color: #1d6ced !important;
  border-color: #1d6ced !important;
}

.el-button--primary:hover,
.el-button--primary:focus {
  box-shadow: 0 0 5px #1d6ced;
  background-color: #1d6ced;
  border-color: #1d6ced;
  opacity: 0.95;
}

.el-button--default:hover,
.el-button--default:focus {
  background-color: #fff;
  border-color: #1d6ced;
  color: #1d6ced;
}

.el-button--primary.is-disabled,
.el-button--primary.is-disabled:active,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:hover {
  color: #fff;
  background-color: #a0cfff !important;
  border-color: #a0cfff !important;
}

.el-button--primary.is-disabled:hover,
.el-button--primary.is-disabled:focus {
  box-shadow: none;
}

/*选项卡切换标签*/
.el-tabs--border-card {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.el-tabs--border-card > .el-tabs__content {
  height: calc(91vh);
  padding: 15px 0;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item {
  color: #666;
  border: none;
  margin-top: 0;
  transition: none !important;
  height: 40px;
  width: 100px;
  text-align: center;
}

.el-tabs__nav {
  height: 40px;
  transform: none !important;
}

.el-tabs--border-card > .el-tabs__header {
  background-color: #f6f6f6;
  border-bottom: none;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  color: $base-text;
  border-top: 2px solid $base-text;
  height: 40px;
}

.el-tabs--border-card
  > .el-tabs__header
  .el-tabs__item:not(.is-disabled):hover {
  color: $base-text;
}

.el-form-item {
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

.el-form-item__label {
  font-weight: normal;
  font-size: 14px;
  color: #333;
  margin-bottom: 0;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 110px;
  flex: 0 0 110px;
  line-height: 32px !important;
  height: 32px;
}

.el-form-item__content {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  line-height: 32px;
  height: 32px;
  padding-right: 20px;
}

/*列表共通*/
.el-table td,
.el-table th {
  padding: 0;
}

.el-table th.is-leaf {
  cursor: pointer;
  background: #dde9fc;
}

.el-table th > .cell {
  color: #000;
  line-height: 42px;
  height: 42px;
  font-size: 14px !important;
}

.el-table .cell {
  // line-height: 52px;
  // height: 50px;
  font-size: 12px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  min-height: 1px;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background-color: #f6f6f6;
}

.el-table td.gutter,
.el-table th.gutter {
  background-color: #dde9fc;
}

.el-table td,
.el-table th.is-leaf {
  border-bottom: none;
}

.el-table__body-wrapper {
  position: relative;
  overflow: hidden;
  overflow-y: auto;
  max-height: 500px;
}

.el-table--border::after,
.el-table--group::after,
.el-table::before {
  display: none;
}

.el-dropdown img {
  height: 19px;
  width: 19px;
}

.el-menu-item:focus,
.el-menu-item:hover {
  background-color: #fff;
}

/*操作下拉共通*/
.el-dropdown-menu {
  overflow: initial !important;
  padding: 5px 0;
  margin-top: 0 !important;
  margin-left: -20px !important;
}

.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  background-color: #dde9fc;
  color: #000;
}

/*弹出框共通*/
.el-menu.el-menu--horizontal {
  border-bottom: none;
}

.dialog-footer .el-button {
  padding: 10px 30px;
}

.el-dialog {
  margin-top: 26vh;
  width: 640px;
}

.el-dialog__header {
  padding: 13px 20px;
  background: #dde9fc;
  text-align: left;
}

.el-dialog__footer {
  padding: 10px 20px 15px;
}

.el-dialog--center .el-dialog__footer {
  text-align: right;
}

.el-dialog__title {
  color: #333;
  font-weight: bold;
  line-height: 18px;
  font-size: 17px;
}

.el-dialog__headerbtn .el-dialog__close {
  font-weight: bold;
}
.el-dialog__headerbtn {
  top: 15px;
  right: 15px;
}
.el-checkbox {
  color: #333333;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: #333333;
}

/*分页*/
.el-pagination {
  float: right;
  padding-top: 20px;
  padding-bottom: 35px;
}

.el-pager li.active {
  color: #fff;
  background-color: #1d6ced;
}

.el-pager li {
  padding: 0 0px;
  margin: 0 2px;
  font-size: 13px;
  min-width: 30px;
}
