$pagination-prefix-cls: #{$prefix-name}pagination;

.#{$pagination-prefix-cls} {
    display: flex;
    align-items: center;

    &-total {
        height: 32px;
        line-height: 32px;
        margin-right: 10px;
    }

    &-item {
        display: inline-block;
        vertical-align: middle;
        min-width: 32px;
        height: 32px;
        line-height: 30px;
        margin-right: 4px;
        text-align: center;
        list-style: none;
        background-color: #fff;
        user-select: none; 
        font-weight: 500;
        border: 1px solid $borderColor;
        border-radius: $borderRadius;
        transition: border .2s ease-in-out, color .2s ease-in-out;
        padding: 0 5px;

        cursor: pointer;

        span {
            margin: 0 6px;
            text-decoration: none;
            color: $textColor;
        }

        &-active {
            cursor: default;
        }

        &-disabled {
            cursor: not-allowed;

            span {
                color: #ccc;
            }

        }

        &-active {
            border: 1px solid $primaryColor;
        }
    }
}