:root {
    --display-signal-info-height: 50px;
    --signal-default-color: #4CAF50;
    --main-color: #CB81DA;
    --main-dark-color: #2D323B;
    --main-light-color: var(--main-color);
    --sidebar-width: 330px;
    --right-nav-width: 50px;
    --time-scale-height: 30px;
    --sidebar-padding: 10px;
    --sidebar-item-margin: 5px;
    --toolbar-height: 50px;
    --toolbar-item-height: 32px;

    /* 渲染相关的颜色设置 */
    --instance-color: #CB81DA;
    --instance-fill-color: rgba(203, 129, 218, 0.1);
    --wire-color: var(--foreground);
    --wire-active-color: #CB81DA;
    --wire-ball-color: #CB81DA;
    --cross-dot-color: var(--foreground);
    --port-color: rgb(70, 70, 222);
    --port-fill-color: rgba(70, 70, 222, 0.25);
    --constant-color: rgb(209, 202, 23);
    --constant-fill-color: rgba(209, 202, 23, 0.25);

    /* 器件颜色合集 */
    --combined-color: #9B59B6;
    --combined-fill-color: #E8DAEF;
    --simple-color: #F1C40F;
    --simple-fill-color: #F9E79F;
    --flip-color: #8B4513;
    --flip-fill-color: #D2B48C;
    --binary-color: #E74C3C;
    --binary-fill-color: #F5B7B1;
    --coarse-color: #27AE60;
    --coarse-fill-color: #A9DFBF;
    --finite-color: #2980B9;
    --finite-fill-color: #AED6F1;
    --memories-color: #E67E22;
    --memories-fill-color: #F8C471;
    --multiplexers-color: #D35400;
    --multiplexers-fill-color: #E59866;
    --registers-color: #95A5A6;
    --registers-fill-color: #D5DBDB;
    --unary-color: #1ABC9C;
    --unary-fill-color: #A3E4D7;

    --line-arrow-opacity: 1;

    /* css 动画属性 */
    --animation-7s: .7s cubic-bezier(0.23,1,0.32,1);
    --animation-5s: .5s cubic-bezier(0.23,1,0.32,1);
    --animation-3s: .35s cubic-bezier(0.23,1,0.32,1);
    --gray-box-shadow-0: 0 0 8px 3px rgba(182, 181, 182, 0.9);
    --gray-box-shadow-1: 0 0 5px 1px rgba(16, 16, 16, 0.5);
}

@font-face {
    font-family: "Cascadia code";
    src: url("./CascadiaCode.woff2");
}

html, body {
    background-color: var(--background);
    color: var(--foreground);
    overflow: hidden;
}

body::-webkit-scrollbar {
    width: 0;
}

* hr {
    border: none;
    background-color: var(--main-color);
    height: 1.5px;
    width: 95%;
}
/* 
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--sidebar);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-background);
    border-radius: .3em;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scrollbar-hover);
    border-radius: .3em;
}

::-webkit-scrollbar-thumb:active {
    background: var(--scrollbar-active);
    border-radius: .3em;
}

::-webkit-scrollbar-button {
    height: 0;
    width: 0;
}

::-webkit-scrollbar-corner {
    background: none;
    display: none;
} */

.el-select__wrapper {
    min-width: 100px;
    padding: 13px;
    font-size: 16px;
    color: var(--sidebar-item-text);
}

.el-select-group__title {
    color: var(--main-color) !important;
}

.el-select__placeholder {
    color: var(--sidebar-item-text) !important;
}

.el-select-dropdown {
    background-color: var(--sidebar);
    border: 1.0px solid var(--main-color);
}

.el-checkbox-button__inner {
    font-size: 16px !important;
}


a {
    color: var(--main-color);
}

.digital-ide-icon {
    background-image: url(./icon.svg);
    background-size: 100%;
    height: 50px;
    width: 50px;
}

.digital-ide-icon.big {
    background-image: url(./icon.svg);
    background-size: 100%;
    height: 150px;
    width: 150px;
}

.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner {
    opacity: 0.6;
}

.el-select__wrapper.is-disabled {
    opacity: 0.6;
    box-shadow: unset !important;
}
