/* 覆盖element-plus样式 */

:root {
    --el-color-primary: #409eff;
    --el-color-primary-light-1: #53a7ff;
    --el-color-primary-light-2: #66b1ff;
    --el-color-primary-light-3: #79bbff;
    --el-color-primary-light-4: #8cc4ff;
    --el-color-primary-light-5: #9fceff;
    --el-color-primary-light-6: #b2d8ff;
    --el-color-primary-light-7: #c5e1ff;
    --el-color-primary-light-8: #d8ebff;
    --el-color-primary-light-9: #ebf5ff;
    --el-color-primary-dark-1: #398ee5;
    --el-color-primary-dark-2: #337ecc;
    --el-color-primary-dark-3: #2c6eb2;
    --el-color-primary-dark-4: #265e99;
    --el-color-primary-dark-5: #204f7f;
    --el-color-primary-dark-6: #193f66;
    --el-color-primary-dark-7: #132f4c;
    --el-color-primary-dark-8: #0c1f32;
    --el-color-primary-dark-9: #060f19;
    --el-font-size-base: 13px;
    --el-disabled-bg-color: --el-bg-color;
    --el-menu-horizontal-height: 4rem;
}

.el-menu--inline {
    --el-menu-active-color: var(--el-color-primary) !important;
}

.el-form-item--default {
    --font-size: 1rem;
}

.el-upload--picture-card {
    --el-upload-picture-card-size: 10rem;
}

.el-input__inner,
.el-range-input {
    font-family: inherit;
}

.el-date-editor {
    --el-date-editor-daterange-width: 20rem;
}

.el-menu {
    border: none !important;
}

.el-card {
    --el-card-padding: 1rem;
}

.el-menu .el-menu-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.el-form-item-msg {
    font-size: 1rem;
    color: #999;
    flex-grow: 1;
    line-height: 2rem;
}

.el-container {
    height: 100%;
}

.el-aside {
    border-right: 1px solid var(--el-border-color-light);
}

.el-container + .el-aside {
    border-right: 0;
    border-left: 1px solid var(--el-border-color-light);
}

.el-header {
    background: #fff;
    border-bottom: 1px solid var(--el-border-color-light);
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.el-header .left-panel {
    display: flex;
    align-items: center;
}

.el-header .right-panel {
    display: flex;
    align-items: center;
}

.el-footer {
    border-top: 1px solid var(--el-border-color-light);
    padding: 1rem;
    height: 4rem;
}

.el-main {
    padding: 1rem;
}

.el-main.nopadding {
    padding: 0;
    background: #fff;
}

.el-drawer__body {
    overflow: auto;
    padding: 0;
}

.el-card__header {
    border-bottom: 0;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 1rem 1rem 0 1rem;
}

.el-dialog__title {
    font-size: 1.3rem;
    font-weight: bold;
}

.el-drawer__header > :first-child {
    font-size: 1.3rem;
    font-weight: bold;
}

.drawerBG {
    background: #f6f8f9;
}

.el-button + .el-dropdown {
    margin-left: 0.8rem;
}

.el-button-group + .el-dropdown {
    margin-left: 0.8rem;
}

.el-tag + .el-tag {
    margin-left: 0.8rem;
}

.el-button-group + .el-button-group {
    margin-left: 0.8rem;
}

.el-tabs__nav-wrap::after {
    height: 1px;
}

.el-table th.is-sortable {
    transition: 0.1s;
}

.el-table th.is-sortable:hover {
    background: #eee;
}

.el-table .el-table__body-wrapper {
    background: #f6f8f9;
}

.el-col .el-card {
    margin-bottom: 1rem;
}

.el-main {
    flex-basis: 100%;
}

.el-main > .scTable .el-table--border::before {
    display: none;
}

.el-main > .scTable .el-table--border::after {
    display: none;
}

.el-main > .scTable .el-table--border .el-table__inner-wrapper::after {
    display: none;
}

.el-main > .scTable .el-table__border-left-patch {
    display: none;
}

.el-main > .scTable .el-table--border .el-table__inner-wrapper tr:first-child td:first-child {
    border-left: 0;
}

.el-main > .scTable .el-table--border .el-table__inner-wrapper tr:first-child th:first-child {
    border-left: 0;
}

.el-table * {
    font-size: 0.9rem;
}

.el-table.el-table--large * {
    font-size: 1rem;
}

.el-radio-button__inner {
    font-size: 0.9rem;
}

.el-checkbox-button__inner {
    font-size: 0.9rem;
}

.el-sub-menu .el-icon {
    font-size: 1.3rem;
}

.el-sub-menu .el-sub-menu__icon-arrow {
    font-size: 0.9rem;
}

.aminui-side-split li.active {
    background-color: var(--el-color-primary);
}

.adminui-tags li:hover {
    background-color: var(--el-color-primary-light-9);
}

.adminui-tags li.active {
    background-color: var(--el-color-primary) !important;
}

.contextmenu li:hover {
    background-color: var(--el-color-primary-light-9) !important;
    color: var(--el-color-primary-light-2) !important;
}

.data-box .item-background {
    background-color: var(--el-color-primary) !important;
}

.layout-setting,
.diy-grid-setting {
    background-color: var(--el-color-primary) !important;
}

body .tox-tinymce-aux {
    z-index: 5700;
}

.el-descriptions__body .el-descriptions__table {
    word-break: break-word;
}

.el-dialog.is-fullscreen {
    display: flex;
    flex-direction: column;
    top: 0 !important;
    left: 0 !important;

    .el-dialog__body {
        flex: 1;
    }
}

.el-table thead.is-group th.el-table__cell {
    background: unset;
}

.el-descriptions__body .el-descriptions__table .el-descriptions__cell {
    font-size: inherit;
}