﻿:root {
    /* 基础样式 */
    --bs-emphasis-color: #333;
    /* header样式 */
    --bb-header-color: #e0e0e0;
    --bb-header-bg: #2d6dcc; /*#702cf8*/
    /* 侧边栏样式 */
    --menu-parent-color: #333;
    --menu-child-color: #666;
    /* 报表样式 */
    --bb-custom-table-head-bg: #2d6dcc;
    --bb-custom-table-head-color: white;
    --bb-custom-table-col-bg: white;
    --bb-custom-table-col-color: #333;
    /* 次级背景色 */
    --bb-custom-sec-col-bg: #78c3ff;
    /* 三级背景色 */
    --bb-custom-third-col-bg: #eee;
    --bb-custom-third-col-color: #333;
    --custom-switch-input-bg: #fff;
    /* 顶部Switch Input */
    --custom-switch-input-color: #181C32;
}

.form-label {
    font-weight: 1000 !important;
}

.layout .layout-menu .menu {
    --bb-menu-active-color: #2d6dcc;
    --bb-menu-bar-bg: #2d6dcc;
    --bb-menu-item-hover-bg: #2d6dcc;
    --bb-menu-item-hover-color: #fff;
}

[data-bs-theme=dark] {
    /* 基础样式 */
    --bs-emphasis-color: #e0e0e0;
    /* 侧边栏样式 */
    --menu-parent-color: #fff;
    --menu-child-color: #e0e0e0;
    /* 报表样式 */
    --bb-custom-table-head-bg: #2d6dcc;
    --bb-custom-table-head-color: white;
    --bb-custom-table-col-bg: #333;
    --bb-custom-table-col-color: #e0e0e0;
    /* 三级背景色 */
    --bb-custom-third-col-bg: #333;
    --bb-custom-third-col-color: #e0e0e0;
    /* 顶部Switch Input */
    --custom-switch-input-bg: #333;
    --custom-switch-input-color: #e0e0e0;
}

.layout {
    --bb-layout-header-background: var(--bb-header-bg);
    --bb-layout-sidebar-banner-background: var(--bb-header-bg);
    --bb-layout-header-color: var(--bb-header-color);
    --bb-layout-title-color: var(--bb-header-color);
}

    .layout:not(.has-footer) {
        --bb-layout-footer-height: 0px;
    }

.layout-header {
    border-bottom: 1px solid var(--bs-border-color);
}

    .layout-header .widget {
        margin-right: 2rem;
    }

.layout-banner {
    border-bottom: 1px solid var(--bs-border-color);
}

    .layout-banner .layout-logo {
        border: 1px solid var(--bb-header-color);
    }

.layout-side {
    border-right: 1px solid var(--bs-border-color);
}

.layout-footer {
    border-top: 1px solid var(--bs-border-color);
}

.dropdown-logout {
    --bb-logout-text-color: var(--bb-header-color);
}

.logout-avatar {
    border-radius: 50%;
}

.dropdown-user img {
    border-radius: 50%;
}

.layout-drawer {
    padding: 6px;
    cursor: pointer;
}

.widget {
    --bb-widget-toggle-color: var(--bb-header-color);
}

    .widget .dropdown-menu {
        --bs-dropdown-min-width: 16rem;
    }

    .widget .dropdown-body h3 {
        color: #666666;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .widget .dropdown-body h4 {
        color: #444444;
        font-size: 15px;
        margin: 0;
    }

    .widget .dropdown-body small {
        color: #999999;
        font-size: 10px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .widget .dropdown-item {
        padding: 0.5rem 1rem;
        min-width: 100px;
    }

        .widget .dropdown-item > div:not(.progress):last-child {
            width: calc(100% - 40px);
        }

        .widget .dropdown-item.active,
        .widget .dropdown-item:active {
            color: inherit;
        }

        .widget .dropdown-item:not(:nth-of-type(odd)):active {
            background-color: inherit;
        }

    .widget .progress {
        height: 7px;
    }

.table-cell img {
    width: 46px;
    border-radius: var(--bs-border-radius);
}

.table-cell .progress {
    height: 6px;
    margin-top: .5rem;
}

.user-demo-address {
    margin-top: .25rem;
    font-size: 86%;
    color: #c0c4cc;
}

.table-users {
    height: calc(100% - 93px);
}

.cell-label {
    line-height: 35px;
}

.MenuParentColor {
    color: var(--menu-parent-color);
}

.MenuChildColor {
    color: var(--menu-child-color);
}

.tooltip-inner {
    white-space: nowrap; /* 不换行 */
    max-width: none !important;
    width: auto;
}

@supports not selector(::-webkit-scrollbar) {
    .scroll {
        scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0);
        scrollbar-width: thin;
    }
}
