mind.module.scss 1.7 KB
.minder-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent !important;
    z-index: 1;
}

.minder-tools {
    width: 950px;
    position: absolute;
    z-index: 2;
    background: #f7f7f8;
    border-radius: 10px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    display: flex;
    align-items: center;
    padding: 4px 9px;
    box-shadow: 0 0 20px rgba(100, 100, 100, 0.1);

    .split {
        height: 14px;
        width: 1px;
        background: #ddd;
        margin: 0 10px;
        padding: 0;
    }

    .tools-item {
        padding: 4px 8px;
        border-radius: 5px;
        color: #666 !important;
        margin: 0 3px;
        font-size: 14px;
        cursor: pointer;

        .icon {
            font-size: 18px;
        }

        .color-block {
            display: block;
            width: 16px;
            height: 16px;
            border-radius: 4px;
        }

        &:hover,
        &:active {
            background: #eff0f0;
        }

        &.active {
            background: #e3e4e4;
        }

        &.disabled {
            color: #ccc !important;

            .icon {
                color: #ccc !important;
            }
        }

        &.btn-primary {
            //background: linear-gradient(108deg, #a561ff 0, #ff6060 96%), linear-gradient(69deg, #ffa100 14%, #f95757 49%) !important;
            background: linear-gradient(108deg, #35b1d9 0, #1adca9 96%) !important;
            color: #fff !important;

            &:hover {
                background: linear-gradient(108deg, #289dc2 0, #15bb8f 96%) !important;
            }
        }
    }
}

.el-popover {
    padding: 0;
}