resetelement.scss 6.06 KB
@import '@/styles/variables.scss';
.el-select {
  width: 100%;
}

.el-pagination {
  display: flex;
  margin-top: 18px;
}

.el-message-box__btns .el-button--small {
  min-width: 68px;
}

.glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: $themeColor;
  color: #fff;
}

/deep/ .el-input__inner:focus {
  border-color: $themeColor !important;
}

/deep/ .el-input__inner:hover {
  border-color: $themeColor !important;
}

/deep/ .el-textarea__inner:focus {
  border-color: $themeColor !important;
}

/deep/ .el-textarea__inner:hover {
  border-color: $themeColor !important;
}

/deep/.el-range-editor.is-active,
.el-range-editor.is-active:hover {
  border-color: $themeColor !important;
}

/deep/ .el-radio__input.is-checked .el-radio__inner {
  border-color: $themeColor !important;
  background: $themeColor !important;
}

/deep/ .el-radio__input.is-checked + .el-radio__label {
  color: $themeColor !important;
}

/deep/ .el-switch.is-checked .el-switch__core {
  border-color: $themeColor !important;
  background-color: $themeColor !important;
}

.el-message-box {
  width: 547px;
  height: 310px;
  box-sizing: border-box;
  padding-bottom: 10px;
}

.el-message-box__title {
  padding-left: 0;
  margin-bottom: 0;
  font-size: 20px;
  line-height: 1;
  color: #333;
}

.el-message-box__title {
  display: block !important;
}

.el-message-box__headerbtn {
  display: block !important;
  color: #666666;
}

.el-message-box__header {
  position: relative;
  padding: 15px 20px;
  border-bottom: 1px solid #e6e6e6;
}

.el-message-box__content {
  text-align: center;
  padding: 60px 0;
}

.el-icon-warning {
  display: block !important;
  font-size: 33px !important;
  color: $themeColor !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;
}

// .el-message-box__status.el-icon-error {
//     display: block !important;
//     font-size: 33px !important;
//     position: relative;
//     left: 50%;
//     transform: translateX(-50%);
//     margin-bottom: 12px;
// }
.el-tooltip__popper.is-dark {
  background: #666666 !important;
  box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06) !important;
  font-size: 12px;
  font-weight: 400;
  color: #ffffff;
  line-height: 18px;
}

.el-tooltip__popper[x-placement^='top'] .popper__arrow {
  border-top-color: #666666 !important;
}

.el-tooltip__popper[x-placement^='top'] .popper__arrow:after {
  border-top-color: #666666 !important;
}

.el-button--default {
  &:hover,
  &:focus {
    color: $themeColor !important; /* Element UI default disabled blue, maybe should be green tint? */
    background-color: $themeLightColor !important; /* Adjusted to green tint */
    border-color: #B5EDDC !important;
  }

  &:active {
    color: $themeColor !important; /* Element UI default disabled blue, maybe should be green tint? */
    background-color: $themeLightColor !important; /* Adjusted to green tint */
    border-color: #B5EDDC !important;
  }
}

.el-button--primary {
  background-color: $themeColor !important;
  border-color: $themeColor !important;

  &:hover,
  &:focus {
    background-color: #3ad0a1 !important;
    border-color: #3ad0a1 !important;
  }

  &:active {
    background-color: #069d6d !important;
    border-color: #069d6d !important;
  }

  &.is-disabled,
  &.is-disabled:hover,
  &.is-disabled:focus,
  &.is-disabled:active .el-button:focus,
  .el-button:hover {
    background-color: #94e9cf !important; /* Adjusted to green tint */
    border-color: #94e9cf !important;
  }
}

.el-button--text {
  color: $themeColor !important;

  &:hover,
  &:focus {
    color: #3AD0A1 !important;
  }

  &:active {
    color: #069D6D !important;
  }
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: $themeColor !important;
  border-color: $themeColor !important;
}

.el-checkbox__inner:hover {
  border-color: $themeColor !important;
}

.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: $themeColor !important;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
  color: $themeColor !important;
}

.el-select-dropdown__item.selected {
  color: $themeColor !important;
}

.el-date-table td.current:not(.disabled) span {
  background-color: $themeColor !important;
}

.el-date-table td.today span {
  color: $themeColor !important;
  font-weight: bold;
}

.el-date-table td.available:hover span {
  color: $themeColor !important;
  background-color: $themeLightColor !important;
}

.el-date-table td.start-date span,
.el-date-table td.end-date span {
  background-color: $themeColor !important;
}

.el-date-table td.in-range div,
.el-date-table td.in-range div:hover {
  background-color: $themeLightColor !important;
}

.el-month-table td.current:not(.disabled) .cell {
  color: #fff;
  background-color: $themeColor !important;
}

.el-month-table td .cell:hover {
  color: $themeColor !important;
  background-color: $themeLightColor !important;
}

.el-year-table td.current:not(.disabled) .cell {
  color: #fff;
  background-color: $themeColor !important;
}

.el-year-table td .cell:hover {
  color: $themeColor !important;
  background-color: $themeLightColor !important;
}

.el-tabs__active-bar {
  background-color: $themeColor !important;
}

.el-tabs__item.is-active {
  color: $themeColor !important;
}

.el-tabs__item:hover {
  color: $themeColor !important;
}

.el-table__body tr:hover > td,
.el-table tbody tr:hover > td {
  background-color: $themeLightColor !important;
}

/* Fix for glsx-table hover styles */
.glsx-table .el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: $themeLightColor !important;
}

/* Fix for glsx-table pagination hover styles */
.glsx-table .el-pagination.is-background .el-pager li:not(.disabled):hover {
  color: $themeColor !important;
}

.glsx-table .el-pagination.is-background .el-pager li:not(.disabled).active:hover {
  color: #fff !important;
  background-color: $themeColor !important;
}

/* Fix for table highlight color (blue bar on hover) */
.el-table.hightline .el-table__body tr.hover-row td:first-child:after {
  background-color: $themeColor !important;
}