.mc-tree {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
    li {
        line-height: 26px;
        white-space: nowrap;
        i {
            transition: all .3s;
            vertical-align: middle;
            text-align: center;
            padding: 0;
            width: 16px;
            display: inline-block;
            font-size: 14px;
            color: $icon;
        }
        .title {
            padding: 2px 4px;
            cursor: pointer;
            &:hover {
                color: $blue;
            }
        }
        &.active {
            &>.title {
                font-weight: bold;
                background-color: $blue;
                color: #fff;
            }
        }
    }
    li>.mc-tree {
        padding-left: 15px;
    }
    label {
        @extend %transition-all;
        display: inline-block;
        position: relative;
        content: " ";
        width: 14px;
        height: 14px;
        border: 1px solid $line;
        background-color: #fff;
        border-radius: 2px;
        top: 3px;
        cursor: pointer;
        &:hover {
            border-color: $blue;
        }
        &:after {
            box-sizing: content-box;
            content: "";
            border: 2px solid #fff;
            border-left: 0;
            border-top: 0;
            height: 9px;
            left: 4px;
            position: absolute;
            top: 0;
            width: 4px;
            transform-origin: center;
            transform: rotate(45deg) scaleY(0);
        }
        &.checked {
            border: 1px solid $blue;
            &:after {
                transition: transform .15s cubic-bezier(.71, -.46, .88, .6) .05s;
                border: 2px solid $blue;
                border-left: 0;
                border-top: 0;
                transform: rotate(45deg) scaleY(1);
            }
        }
        &.open {
            border: 1px solid $blue;
            &:after {
                transition: none;
                border: none;
                width: 12px;
                height: 2px;
                background-color: $blue;
                top: 6px;
                left: 1px;
                transform: rotate(0) scaleY(1);
            }
        }
        &.disabled {
            border-color: $disable-line;
            background-color: $disable-bg;
            cursor: not-allowed;
            &.checked {
                &:after {
                    border-color: $disable-color;
                }
            }
            input {
                cursor: not-allowed;
            }
        }
        input {
            cursor: pointer;
            opacity: 0;
            width: 100%;
            height: 100%;
            position: absolute;
        }
    }
}

.tree-select {
    &>.content {
        box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
        position: absolute;
        top: calc(100% + 5px);
        left: 0;
        z-index: 10;
        background: #ffffff;
        min-width: 100%;
        height: 260px;
        overflow: auto;
        // padding: 0 @input-padding-vertical;
    }
}