/*
 * @Author: 焦质晔
 * @Date: 2021-07-27 14:28:30
 * @Last Modified by: 焦质晔
 * @Last Modified time: 2024-11-05 18:48:56
 */
@use './src/themes' as *;

body {
  font-family: $font-family-base;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0; // remove the margin in Firefox and Safari
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible; // Show the overflow in Edge
}

button,
select {
  text-transform: none; // remove the inheritance of text transform in Firefox
}

/* 覆盖 ElementPlus 样式 */
.el-row {
  position: static;
}

.el-button {
  &.is-text,
  &.is-link {
    padding-left: 0;
    padding-right: 0;
    &:hover,
    &:focus {
      color: $primary-color;
      background-color: transparent !important;
    }
  }
}

.el-popconfirm {
  &__action {
    margin-top: 5px;
  }
}

.el-overlay {
  background-color: $popover-background;
}
