

.theme-panel {
    position: fixed;
    width: 260px;
    right: -260px;
    top: 0;
    bottom: 0;
    z-index: 1035;
    background: #f3f3f3;
    transition: right .2s linear;
    border-radius: 6px 0 0 6px
}

.theme-panel .theme-list {
    margin-bottom: -4px;
    margin-right: -4px;
    display: flex;
    flex-wrap: wrap
}

.theme-panel .theme-list .theme-list-item {
    margin-bottom: 4px;
    margin-right: 4px
}

.theme-panel .theme-list .theme-list-item .theme-list-link {
    width: 28px;
    height: 28px;
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: 30px;
    transition: all .2s linear
}

.theme-panel .theme-list .theme-list-item .theme-list-link:focus,
.theme-panel .theme-list .theme-list-item .theme-list-link:hover {
    opacity: .6
}

.theme-panel .theme-list .theme-list-item.active .theme-list-link:before {
    content: "\f00c";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 14px;
    line-height: 1;
    color: #fff;
    opacity: .4;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Font Awesome\ 6 Free, Font Awesome\ 6 Pro, FontAwesome !important;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto
}

.theme-panel .theme-list .theme-list-item.active .theme-list-link.bg-white:before {
    color: #1f2225
}

.theme-panel .theme-collapse-btn {
    position: absolute;
    left: -30px;
    top: 30%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    color: var(--bs-component-color);
    background: #f3f3f3;
    text-align: center;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .15)
}

@media (max-width:575.98px) {
    .theme-panel .theme-collapse-btn {
        top: 35%
    }
}

.theme-panel .theme-panel-content {
    background: var(--bs-component-bg);
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: scroll;
    margin: 0;
    z-index: 10
}

.theme-panel .theme-panel-divider {
    height: 1px;
    margin: 15px 0;
    background-color: var(--bs-component-border-color)
}

.theme-panel .theme-version {
    margin: 0 0 5px;
    margin: -2.5px;
    display: flex;
    flex-wrap: wrap
}

.theme-panel .theme-version .theme-version-item {
    width: 50%;
    position: relative;
    padding-top: 35%
}

.theme-panel .theme-version .theme-version-item .theme-version-link {
    display: block;
    text-decoration: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 2.5px
}

.theme-panel .theme-version .theme-version-item .theme-version-link .theme-version-cover {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left
}

.theme-panel .theme-version .theme-version-item .theme-version-link.active:before,
.theme-panel .theme-version .theme-version-item .theme-version-link:hover:before {
    content: "";
    position: absolute;
    border: 12px solid transparent;
    border-left-color: #8b959e;
    border-top-color: #8b959e;
    left: 0;
    top: 0;
    z-index: 10
}

.theme-panel .theme-version .theme-version-item .theme-version-link.active:after,
.theme-panel .theme-version .theme-version-item .theme-version-link:hover:after {
    content: "\f00c";
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    z-index: 10;
    width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 10px;
    text-align: center;
    font-family: Font Awesome\ 6 Free, Font Awesome\ 6 Pro, FontAwesome !important;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto
}

.theme-panel .theme-version .theme-version-item .theme-version-link.active:before {
    border-left-color: #007aff;
    border-top-color: #007aff
}

.theme-panel.active {
    box-shadow: 0 5px 25px rgba(0, 0, 0, .3);
    right: 0
}

.theme-panel.active .theme-collapse-btn .fa:before {
    content: "\f00d"
}