@mixin transition() {
    transition: all 0.3s;
}

.honor-search {
    &-users {
        height: 450px;
        position: relative;
        border-radius: 0 0 30px 30px;
        overflow: hidden;
        padding-top: 10px;
    }
    &-user {
        position: relative;
        height: 50px;
        padding-left: 30px;
        &:hover {
            cursor: pointer;
            background: #F5F8FA;
            & .honor-search-user-vs {
                opacity: 1
            }
        }
        &-avatar,&-info,&-vs {
            display: inline-block;
            vertical-align: top;
        }
        &-avatar {
            margin-top: 10px;
        }
        &-info {
            margin-left: 10px;
            margin-top: 8px;
            &-name {
                color: #0A131A;
            }
            &-position {
                color: #3E4E59;
            }
            .search-result-keyword {
                color: #1687D9;
            }
        }
        &-vs {
            position: absolute;
            top: 15px;
            right: 20px;
            display: inline-block;
            height: 20px;
            border-radius: 10px;
            background: #0E8CE6;
            font-size: 12px;
            line-height: 20px;
            color: #fff;
            padding: 0 8px;
            cursor: pointer;
            opacity: 0;
            &.gray {
                background-color: #C2CBD1;
            }
        }
        &-empty {
            color: #C2CBD1;
            font-size: 16px;
            margin-top: 130px;
            text-align: center;
            &.loading {
                position: absolute;
                left: 0;
                top: 0;
                width: 400px;
                height: 450px;
                line-height: 450px;
                margin-top: 0;
                background: #fff;
                z-index: 1000;
            }
        }
    }
}