//列表
#{$prefix}listbox {
    #{$prefix}box-body {
        padding: 0 !important;
    }

    .el-scrollbar__view {
        padding: 0 !important;
    }

    &-count {
        position: absolute;
        right: 5px;
        color: $text-color3;
    }

    &-item {
        position: relative;
        padding: 0 10px;
        box-sizing: border-box;
        @include vertical-center(40px);
        border-bottom: 1px dashed $border-color4;
        font-size: 14px;
        cursor: pointer;
        user-select: none;
        border-left: 2px solid $color-primary;
        text-align: right;

        &-text {
            display: inline-block;
            padding-right: 20px;
            text-align: left;
            width: 100%;
            height: 100%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            box-sizing: border-box;
        }

        &:hover {
            background-color: rgba(200, 200, 200, 0.2);
        }

        #{$prefix}button {
            position: absolute;
            right: 5px;
            top: 6px;
            padding: 6px !important;
        }
    }

    .no-data {
        text-align: center;
        padding: 30px 0;
    }
}