.xhcode-icon-codesvg {
    display: none;
}
.toolbar-xhlanguage {
    display: inline-block;
    padding: 6px 8px;    
    &.active-color {
        color:#f66;
        font-weight: bold;
    }
}

.wp-block-code {
    border-radius: 6px !important;
    padding:40px 10px 10px !important;
    position: relative !important;
    font-size: 14px !important;
    .code-toolbar {
        position: absolute;
        left: 0;
        top:0;
        width: 100%;
        height: 30px;
        z-index: 1;
        border-radius: 6px 6px 0 0;
        padding: 0 10px;
        font-size: 12px;
        box-sizing: border-box;
        line-height: 30px;
    }
}

.toolbar-xhlanguage:hover {
    background: #ddd;
}
.xhtheme-codestyle-default {
    --xhcode-background: #1e1d1d;
    --xhcode-color: #cecece;
    --xhcode-toolbar-background: #484848;
    --xhcode-toolbar-color: #ecebeb;
    background: var(--xhcode-background) !important;
    color:var(--xhcode-color) !important;

    &.xhtheme-code-light{
        --xhcode-background: #eaeaea;
        --xhcode-color: #222;
        --xhcode-toolbar-background: #d5d5d5;
        --xhcode-toolbar-color: #666;
    }
    .code-toolbar {
        background-color: var(--xhcode-toolbar-background);
        color: var(--xhcode-toolbar-color);
    }
}

.xhtheme-codestyle-minimal {
    --xhcode-border-color: #ebebeb;
    --xhcode-color: #222;
    --xhcode-toolbar-background: #f5f5f5;
    --xhcode-toolbar-color: #666;

    border:solid 1px var(--xhcode-border-color);
    color:var(--xhcode-color) !important;

    .code-toolbar {
        background-color: var(--xhcode-toolbar-background);
        color: var(--xhcode-toolbar-color);
    }
}

.xhtheme-codestyle-meteor {
    --xhcode-background: #202b3b;
    --xhcode-color: #cecece;
    --xhcode-toolbar-background: rgba(255,255,255,.2);
    --xhcode-toolbar-color: #b5b1b1;

    background: var(--xhcode-background) !important;
    color:var(--xhcode-color) !important;

    &.xhtheme-code-light{
        --xhcode-background: #f5f6f9;
        --xhcode-color: #222;
        --xhcode-toolbar-background: rgba(0,0,0,.05);
        --xhcode-toolbar-color: #666;
    }
    
    .code-toolbar {
        background-color: var(--xhcode-toolbar-background);
        color: var(--xhcode-toolbar-color);
    }
}

