.header {
    .header-title{
        font-size: 16px;
        position: relative;
        margin-top: -4px;
    }
}
.iconType{
    width: 14px;
    height: 14px;
    border-radius: 5px;
    cursor: pointer;
}
.iconType.active{
    .multi{
        background-image:url("~@/assets/img/components/mindMap/type_white_active.png");
    }
    .single{
        background-image:url("~@/assets/img/components/mindMap/type_white_active.png");
    }
}
.mapTypeBtn:hover{
    .multi{
        background-image:url("~@/assets/img/components/mindMap/type_white.png");
    }
    .single{
        background-image:url("~@/assets/img/components/mindMap/type_white.png");
    }
}
.multi{
    width: 100%;
    height: 100%;
    background-image:url("~@/assets/img/components/mindMap/type_white.png");
    background-size: 100% 100%;
}
.single{
    width: 100%;
    height: 100%;
    background-image:url("~@/assets/img/components/mindMap/type_white.png");
    background-size: 100% 100%;
    transform: rotateY(180deg);
}
.jsmind-map,.table-view {
    position: relative;
    width: 100%; 
    height: 100%;
    box-sizing: border-box;
    /* 设置滚动条的样式  background-color: #0f3a5c;*/
    // ::-webkit-scrollbar {
    //     display: none;
    // }

    .jsmind_layout{
        ::v-deep{
            .tip-icon{
                margin-left: 4px;
                width: 14px;
                height: 14px;
                display: none;
                position: relative;
            }
            .tip-icon.showTip,.tip-icon.showFormula{
                display: inline-block;
                cursor: help;
            }
            .tip-icon.showTip:hover,.tip-icon.showFormula:hover{
                display: inline-block;
                .tooltip{
                    display: block;
                }
            }
            .tip-icon .tooltip{
                display: none;
                position: absolute;
                content: "";
                left: 50%;
                top: 10px;
                transform: translateX(-50%);
                width: auto;
                max-width: 200px;
                height: 80px;
                background-color: #1990ff;
                color: #fff;
                font-size: 14px;
            }
        }
    }
    #jsmind_container {
        height: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    .side-editor,#jsmind_container{
        transition: all 0.5s ease-in-out;
    }
    .short-layout{
        width: calc(100% - 400px);
    }
    .wild-layout{
        width: calc(100% - 0px);
    }
    .showSide{
        left: 0;
    }
    .showSide{
        left: 460px;
    }

    .tab-title-icon{
        font-size: 22px;
        padding:0 20px;
    }
    ::v-deep{
        .el-tabs__item{
            padding:0;
        }
        .el-tabs__item.is-active{
            background-color: rgba(25, 144, 255,0.15);
        }
    }
    .edit-type-header{
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .edit-type-header ~ .edit-type-header{
        margin-top: 22px;
    }
    // 右键菜单
    .context-menu {
        width: 150px;
        padding: 12px 0px;
        position: fixed;
        z-index: 100;
        background: rgb(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 24px 0px;
        border-radius: 5px;
        font-size: 12px;
        display: block;
        left: 912px;
        top: 535px;

        .el-menu-item {
            width: 150px;
            height: 40px;
            line-height: 40px;
            margin: 4px 0;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding-left: 14px!important;
        }
        .el-menu-item:hover {
            background-color: rgba(25, 144, 255 , 0.2);
        }
    }
    .tab-wrapper{
        height: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .tab-content-wrapper{
       padding: 18px;
       padding-top: 0;
       box-sizing: border-box;
       overflow-y: auto;
    }

    .tab-content-wrapper-single{
        padding: 18px;
        box-sizing: border-box;
        overflow-y: auto;
     }

     .header-text{
        color: #1990ff!important;
     }
    .delete-relation{
        color: red;
        cursor: pointer;;
    }
    .common-tip,.common-formula{
        width:auto;
        max-width: 220px;
        padding: 12px;
        position: fixed;
        z-index: 100;
        background: rgb(255, 255, 255);
        box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 24px 0px;
        border-radius: 5px;
        font-size: 14px;
        display: block;
        left: 20px;
        top: 20px;
        pointer-events: none;
    }
    .broad-table{
        margin:0 auto;
        width:96%;
    }
    .search-wrapper{
        margin:0 auto 16px;
        width:96%;
    }
    .pagination{
        margin: 10px 0;
    }

    .icon-type-text{
        color: #606266;
        padding-right: 10px;
    }
    
    .iconType{
        width: 30px;
        height: 30px;
        border-radius: 5px;
        cursor: pointer;
    }
    .multi{
        width: 70%;
        height: 70%;
        background-image:url("~@/assets/img/components/mindMap/type.png");
        background-size: 100% 100%;
    }
    .single{
        width: 70%;
        height: 70%;
        background-image:url("~@/assets/img/components/mindMap/type.png");
        background-size: 100% 100%;
        transform: rotateY(180deg);
    }
    .bold{
        width: 70%;
        height: 70%;
        background-image:url("~@/assets/img/components/mindMap/bold.png");
        background-size: 100% 100%;
    }
    .italic{
        width: 76%;
        height: 76%;
        background-image:url("~@/assets/img/components/mindMap/italic.png");
        background-size: 100% 100%;
    }
    .iconType.active{
        background-color: rgba(25, 144, 255 , 0.3);
        .multi{
            background-image:url("~@/assets/img/components/mindMap/type_active.png");
        }
        .single{
            background-image:url("~@/assets/img/components/mindMap/type_active.png");
            transform: rotateY(180deg);
        }
        .bold{
            background-image:url("~@/assets/img/components/mindMap/bold_active.png");
        }
        .italic{
            background-image:url("~@/assets/img/components/mindMap/italic_active.png");
        }
    }

    .tag-label{
        color: #1e80ff;
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .dict-tree-item{
        height: 46px;

    }
    
}

::v-deep {
    // .el-table--scrollable-y .el-table__body-wrapper{
    //     max-height: initial!important;
    //     height: auto !important;
    // }
    .table-btn.el-button--mini{
        padding: 4px 10px !important;
    }
    .el-dropdown.save-dropdown{
        margin-right: 10px;
    }
    jmnode.selected {
        box-shadow: 1px 1px 1px #666;
        overflow: visible;
    }
    jmnode.selected::after{
        position: absolute;
        content: '';
        width: calc(100% + 14px);
        height: calc(100% + 14px);
        top: -10px;
        left: -10px;
        border: 4px solid #1990ff ;
        border-radius: 8px;
        z-index: 99999;
    }
    .el-tree {
        border-top: 1px solid #eeeded;
    }
    .el-tabs__nav{
        width: 100%!important;
        display: flex!important;
    }
    .el-tabs__item{
        flex: 1!important;
        height: 46px;
        display: flex;
        justify-content: center;
        align-items: center;
        span{
            width: 100%;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            i{
                width: 100%;
                text-align: center;
            }
        }
    }
    .el-table .current-row {
        background: #1e80ff;
      }
}