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

.@{prefix}-user-group-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;

    .opt-bar {
        margin: 0 0 5px 10px;

        .select-all-btn {
            display: inline-flex;
            flex-direction: row;
            align-items: center;
            cursor: pointer;
        }
    }

    .fm-check {
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        background-color: #fff;
        color: #fff;
        border-radius: 100%;
        margin-right: 5px;
        font-size: 12px;
        display: inline-block;

        &.selected {
            color: #fff;
        }
    }
    .ant-list {
        .ant-spin-nested-loading{
            >.ant-spin-container{
                display: block;
            }
        }
        
        .ant-list-item {
            cursor: pointer;

            &.selected {
                .fm-check {
                    background-color: @maycur-color;
                    border-color: @maycur-color;
                }
            }

            .fm-check {
                flex: 0 0 auto;
                margin-top: 2px;
            }
        }
    }

    .item-name {
        flex: 1 1 auto;
        color: @primary-font-color;
        margin-right: 5px;

        .fm {
            color: @maycur-color;
            margin-right: 5px;
        }
    }
}
