﻿.theme-list {
    position: fixed;
    z-index: 47;
    bottom: 12rem;
    right: 1rem;
    background: var(--bs-body-bg);
    border-radius: var(--bs-border-radius);
    width: 260px;
    height: 0;
    overflow: hidden;
    transition: height .3s ease-in-out;
    box-shadow: var(--bb-layout-button-shadow);
}

    .theme-list.is-open {
        height: 306px;
    }

.theme-header {
    padding: 0.75rem 1rem;
    background-color: var(--bb-layout-button-update-bg);
    color: var(--bb-button-theme-list-header-color);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    display: flex;
    margin-bottom: 1rem;
}

.btn-close {
    transition: opacity .3s linear;
}

    .btn-close:hover {
        opacity: 1;
    }

.theme-item {
    cursor: pointer;
    border-radius: 100px;
    padding: 6px 15px;
    background-color: var(--bb-button-theme-item-bg);
    color: var(--bb-button-theme-item-color);
    transition: background-color .3s linear;
    margin: 0 1rem 1rem 1rem;
}

    .theme-item:hover {
        background-color: var(--bb-button-theme-item-hover-bg);
        color: var(--bb-button-theme-item-hover-color);
    }

    .theme-item.active {
        background-color: var(--bb-button-theme-item-active-bg);
        color: var(--bb-button-theme-item-active-color);
    }

::deep .btn-theme {
    --bs-btn-bg: var(--bb-layout-button-bg);
    --bs-btn-hover-bg: var(--bb-layout-button-hover-bg);
    --bs-btn-active-bg: var(--bb-layout-button-active-bg);
    box-shadow: var(--bb-layout-button-shadow);
}

    ::deep .btn-theme img {
        width: 100%;
    }
