//tree布局
.tree-content {
    position: absolute;
    width: 212px;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 16px 0;
    background: #273049;

    &>.text-content {
        width: 100%;
        padding: 16px 0 16px;
        background: #3E4760;
        text-align: center;

        .el-input {
            display: inline-block;
            width: 191px;
            height: 32px;
            margin: 0 auto;
        }

        .el-input__inner {
            border: 1px solid #3D455C;
            background: #273049;
        }
    }

    .tree-wrapp {
        overflow-y: auto;
        overflow-x: hidden;
        color: #adb5bb;
        max-height: 920px;
        background: #3E4760;
        z-index: 2;

        .el-tree-node {
            margin: 0px 0 !important;
        }

        .el-tree>.el-tree-node {
            margin: 0 0 10px 0 !important;

            &:nth-last-of-type(2) {
                margin: 0 0 0 0 !important;
            }

            &:last-of-type {
                padding-bottom: 0px !important;
            }
        }

        .el-tree>.el-tree-node {
            margin: 0 0 10px 0 !important;

            &:nth-last-of-type(2) {
                margin: 0 0 0 0 !important;
            }

            &:last-of-type {
                padding-bottom: 0px !important;
            }
        }

        .el-tree>.el-tree-node.is-expanded.is-focusable {
            margin: 0 0 0 0 !important;
        }

        .el-tree>.el-tree-node.is-expanded.is-focusable>.el-tree-node__children {
            background: #232D48;
            padding: 6px;
        }

        .el-tree {
            background: #3E4760;
        }

        .el-tree-node__content {
            padding-right: 14px
        }


        .el-tree-node__label:nth-of-type(2) {
            font-size: 14px !important;
        }

        .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content {
            background: transparent;
            border-right: none;

            .el-tree-node__label {
                color: #F58A0D
            }
        }

    }

}





/**公共*/
//下拉框字体超出出省略号
.el-select-dropdown__item * {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/**公共*/
//switch样式OFF

.el-switch.is-checked .el-switch__core {
    width: 48px !important;
    height: 18px !important;
    background: #13CE66 !important;
    border: #13CE66 !important;
    box-sizing: border-box;

    &::after {
        content: "ON" !important;
        width: 16px;
        height: 16px;
        line-height: 16px;
        position: absolute;
        left: 96% !important;
        background-color: #fff !important;
        text-indent: -176%;
        font-size: 14px;
        top: 3px !important;
        color: #fff !important;
    }
}


/**公共*/
//switch样式ON
.el-switch__core {
    width: 48px;
    height: 18px;
    margin: 0;
    display: inline-block;
    position: relative;
    border: 1px solid #FF4949 !important;
    outline: none;
    border-radius: 10px;
    box-sizing: border-box;
    background: #FF4949 !important;
    cursor: pointer;
    transition: border-color .3s, background-color .3s;
    vertical-align: middle;

    &::after {
        content: "OFF" !important;
        position: absolute;
        width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
        background-color: #fff !important;
        font-size: 14px;
        top: 1px !important;
        left: 3% !important;
        color: #fff !important;
        text-indent: 19px;
    }
}


.scrollBarL {
    &::-webkit-scrollbar {
        /*滚动条整体样式*/
        width: 16px !important;
        height: 1px !important;
        /*高宽分别对应横竖滚动条的尺寸*/
        box-sizing: border-box !important;
    }

    &::-webkit-scrollbar-track {
        /*滚动条里面轨道*/
        width: 6px !important;
        background: #323952ff !important;
    }

    &::-webkit-scrollbar-thumb {
        /*滚动条里面小方块*/
        border-radius: 36% !important;
        background: linear-gradient(to right,
                transparent 0,
                transparent 10%,
                transparent 20%,
                #090f26ff 30%,
                #090f26ff 40%,
                #090f26ff 50%,
                #090f26ff 60%,
                #090f26ff 70%,
                transparent 80%,
                transparent 90%,
                transparent 100%) !important;
    }

    &::-webkit-scrollbar-button {
        background: #323952ff !important;
    }
}