﻿:root {
}

.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);
    --bb-layout-header-background: var(--bb-header-bg);
    --main-height: calc(100vh - var(--bb-layout-header-height) - var(--bb-layout-footer-height) - 2rem);
}

.row-highlight {
    --bs-table-striped-bg: #409eff;
    --bs-table-bg: #409eff;
    --bs-table-hover-bg: #409eff;
    --bs-table-striped-color: #fff;
    --bs-table-color-state: #fff;
    --bs-table-hover-color: #fff;
}


.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.is-page .layout-side {
    background-color: var(--bs-body-bg);
}

.layout-footer {
    border-top: 1px solid var(--bs-border-color);
}

.dropdown-logout {
    --bb-logout-text-color: var(--bb-header-color);
    --bb-logout-avatar-width: 32px;
    --bb-logout-avatar-height: 32px;
}

.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 tbody tr:last-child td {
    border-bottom-style: solid;
    border-bottom-width: var(--bs-border-width);
    border-bottom-color: var(--bs-border-color);
}

.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;
}

.menu {
    --bb-menu-active-color: #702cf8;
    --bb-menu-bar-bg: #702cf8;
    --bb-menu-item-hover-bg: #702cf8;
    --bb-menu-item-hover-color: #fff;
}

@supports not selector(::-webkit-scrollbar) {
    .scroll {
        scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0);
        scrollbar-width: thin;
    }
}
/*
.ribbon-tab {
    --bb-ribbon-menu-bg: #2580b4;
}

.ribbon-header .tabs-item {
    color: white;
}

    .ribbon-header .tabs-item.active {
        color: white;
        background-color: #156698;
    }
*/
.code-editor {
    height: 100%;
}

    .code-editor .code-editor-body {
        height: 100%;
        /*代码编辑器高度填充满*/
    }

.card {
    margin-bottom: 0.5rem
}


.wb-body {
    background: var(--bs-body-bg);
}

.ribbon-tab .ribbon-header .tabs-body .link-button {
    min-width: 30px;
}
