@import "../../style/variables.less";

@prefix-cls: ~"@{prefix}-manage-picker";

.@{prefix-cls} {
    cursor: pointer;
    border-radius: 1px;
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 26px;
    padding: 3px 5px 1px;
    margin-top: 5px;
    background-color: @page-background;

    &.disabled {
        opacity: 0.8;

        &:hover {
            background-color: @page-background;
        }

        .fm-more2 {
            display: none;
        }
    }

    .empty {
        color: @form-input-placeholder;
        font-size: 12px;
        margin-right: 8px;
        margin-bottom: 2px;

        &.form-empty {
            font-size: 1em;
            color: #bbb;
            display: inline-block;
            height: 30px;
            line-height: 30px;
            margin-right: 0;
            margin-bottom: 0;
        }
    }

    .more {
        color: #bbb;
    }

    .stats {
        color: @form-input-placeholder;
        font-size: 12px;
        margin-right: 3px;
        margin-bottom: 2px;
    }

    .name {
        display: inline-flex;
        flex-direction: row;

        .fm {
            margin-right: 3px;
            color: @maycur-color;
            font-size: 14px;
        }
    }

    .joinNames {
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
        height: 30px;
        line-height: 30px;
        word-break: break-all;
        display: inline-block;
        width: 100%;
        white-space: nowrap;
    }

    .fm-more2 {
        color: @weak-text-color;
        font-size: 14px;
    }

    .ant-tag {
        margin-right: 3px;
        margin-bottom: 2px;
        height: 26px;
        line-height: 24px;
    }

    .strong {
        margin-left: 3px;
        margin-right: 3px;
        color: @maycur-color;
    }

    &:hover {
        background-color: @selected-background;

        .fm-more2 {
            color: @maycur-color;
        }
    }
}