@import "./index.scss";
/* 公共样式 */

.el-button {
  border-radius: 6px;
}

.el-button--primary:hover,
.el-button--primary:focus {
  background: #3991ff;
  border-color: #3991ff;
  color: #fff;
}

.el-button--warning:hover,
.el-button--warning:focus {
  background: #ff8136;
  border-color: #ff8136;
  color: #fff;
}

.el-button--danger:hover,
.el-button--danger:focus {
  background: #e83d2c;
  border-color: #e83d2c;
  color: #fff;
}

.el-button--success:hover,
.el-button--success:focus {
  background: #4bb849;
  border-color: #4bb849;
  color: #fff;
}

.el-button--info:hover,
.el-button--info:focus {
  background: #3874ff;
  border-color: #3874ff;
  color: #fff;
}

.el-button--primary.is-disabled,
.el-button--primary.is-disabled:hover,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:active {
  color: #fff;
  background-color: #45b2ff;
  border-color: #45b2ff;
  opacity: 0.4;
}

.el-button--warning.is-disabled,
.el-button--warning.is-disabled:hover,
.el-button--warning.is-disabled:focus,
.el-button--warning.is-disabled:active {
  color: #fff;
  background-color: #ff9445;
  border-color: #ff9445;
  opacity: 0.4;
}

.el-button--danger.is-disabled,
.el-button--danger.is-disabled:hover,
.el-button--danger.is-disabled:focus,
.el-button--danger.is-disabled:active {
  color: #fff;
  background-color: #ff5f45;
  border-color: #ff5f45;
  opacity: 0.4;
}

.el-button--success.is-disabled,
.el-button--success.is-disabled:hover,
.el-button--success.is-disabled:focus,
.el-button--success.is-disabled:active {
  color: #fff;
  background-color: #67c23a;
  border-color: #67c23a;
  opacity: 0.4;
}

.el-button--info.is-disabled,
.el-button--info.is-disabled:hover,
.el-button--info.is-disabled:focus,
.el-button--info.is-disabled:active {
  color: #fff;
  background-color: #4582ff;
  border-color: #4582ff;
  opacity: 0.4;
}

.el-button.is-round {
  border-radius: 18px;
}

.el-button--mini {
  padding: 6px 14px;
  font-size: 12px;
  height: 26px;
}

.el-button--defaul {
  padding: 9px 24px;
  font-size: 16px;
  height: 42px;
}

.el-button--small {
  padding: 8px 16px;
  font-size: 12px;
  height: 32px;
}

.el-button--medium {
  padding: 9px 24px;
  font-size: 14px;
  height: 36px;
}

.el-button--text {
  padding-left: 0;
  padding-right: 0;
  font-size: 14px;
}

.el-switch {
  height: 22px;
}

.el-switch.is-checked .el-switch__core {
  border-color: #67c23a;
  background-color: #67c23a;
}

.el-checkbox__inner {
  border: 1px solid #d1d1d1;
  width: 16px;
  height: 16px;

  &::after {
    top: 2px;
    left: 5px;
  }
}

.el-radio__inner {
  border: 1px solid #d1d1d1;
  width: 16px;
  height: 16px;

  &::after {
    width: 6px;
    height: 6px;
    background-color: #45b2ff;
    background: #45b2ff;
  }
}

.el-radio__input.is-checked .el-radio__inner {
  background-color: white;
  background: white;
}



/* 弹框内表单的样式 */
.el-dialog {
  .el-dialog__header {
    padding: 36px 34px 28px;
  }

  .el-form {
    .el-form-item__label {
      padding: 0 6px 0 0;

      .el-input__inner {
        padding: 0 14px;
      }

      .el-form-item {
        margin-bottom: 30px;
      }
    }

    .el-form-item__error {
      padding-top: 6px;
    }
  }

  .el-input__icon {
    font-size: 18px;
  }

  .el-button+.el-button {
    margin-left: 19px;
  }
}

.el-form-item {
  margin-bottom: 24px;
}

.el-date-table td.in-range div {
  background-color: #ecf7ff;
}

.el-date-editor .el-range-input {
  color: #333;
}

/* 滑块 */
.el-slider__runway {
  height: 4px;
}

.el-slider__button {
  width: 14px;
  height: 14px;
}

.app-container {
  .el-tree-node__content {
    height: 28px;
    margin-bottom: 4px;
  }
}



.el-table thead {
  color: #666;
}

.el-table {
  color: #444;
}

.el-pagination.is-background .btn-prev, .el-pagination.is-background .btn-next, .el-pagination.is-background .el-pager li {
  width: auto;
  text-align: center;
}


/* 提示信息 */

.el-message {
  padding: 10px 18px;

  .el-message__icon {
    margin-right: 12px;
  }

  .el-message__closeBtn {
    font-size: 12px;
  }
}


/* 翻页器  */

.el-pagination__total {
  margin-right: 5px;
}

.el-pagination .el-select .el-input {
  width: 90px;
}

.el-pagination__sizes {
  margin: 0 56px 0 0;
}

.el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next {
  background-color: #f6f6f6;
}

.el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next,
.el-pagination.is-background .el-pager li {
  margin: 0 4px;
  color: #696969;
  border: 1px solid #eaeaec;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  background-color: #fff;
}

.el-pagination span:not([class*=suffix]),
.el-pagination button {
  height: 30px;
  line-height: 30px;
}

.el-pagination.is-background .el-pager li:not(.disabled):hover {
  border-color: #45b2ff;
}

.el-pagination__editor {
  margin: 0 8px;
}

.el-pagination__editor.el-input {
  width: 54px;
}

.el-tooltip__popper {
  font-size: 12px;
  padding: 10px;
  line-height: 20px;
}

.el-table--medium .el-table__cell {
  padding: 8px 0;
}

.el-input,
.el-textarea .el-input__count {
  color: #ccc;
}

.el-select .el-tag__close.el-icon-close {
  background-color: #f4f4f5;
}

.el-tag .el-icon-close {
  right: -10px;
}

.el-tag.el-tag--info {
  background-color: #f4f4f5;
  border-color: #e9e9eb;
  color: #909399;
}

.el-input .el-input__count .el-input__count-inner {
  color: #ccc;
}

.el-pager li {
  height: 30px;
  width: 30px;
}
