@page-prefix-cls: ~'@{css-prefix}page';
@btn-circle-size2: 26px;
.@{page-prefix-cls} {
    color: #666;
    font-size: 12px;
    &:after {
        content: '';
        display: block;
        height: 0;
        clear: both;
        overflow: hidden;
        visibility: hidden;
    }
    &-options-sizer {
        min-width: 90px;
    }

    &-item {
        display: inline-block;
        //float: left;
        vertical-align: middle;
        min-width: @btn-circle-size2;
        height: @btn-circle-size2;
        line-height: @btn-circle-size2 - 2px;
        margin-right: 1.1px;
        text-align: center;
        list-style: none;
        background-color: #fff;
        user-select: none;
        cursor: pointer;
        font-family: Arial;
        font-weight: 500;
        border: 1px solid @border-color-base;
        border-radius: @btn-border-radius;
        //transition: all @transition-time @ease-in-out;
        transition: border @transition-time @ease-in-out, color @transition-time @ease-in-out;

        a {
            margin: 0 6px;
            text-decoration: none;
            color: @text-color;
            //transition: none;
        }

        &:hover {
            border: 1px solid transparent;
            background-color: @primary-color;
            color: white;
            a {
                border: none 0;
                background-color: @primary-color;
                color: white;
            }
        }

        &-active {
            border: 1px solid transparent;
            background-color: @primary-color;
            color: white;
            vertical-align: middle;
            min-width: @btn-circle-size2;
            height: @btn-circle-size2;
            line-height: @btn-circle-size2 - 2px;

            a,
            &:hover a {
                color: white;
            }
        }
    }

    &-with-disabled &-item,
    &-with-disabled &-disabled {
        cursor: @cursor-disabled;
        background-color: #f9f9f9;
        border-color: #e5e5e5;

        a {
            color: #999;
        }
        &:hover {
            border-color: #e5e5e5;
            a {
                color: #999;
                background-color: #f9f9f9;
                cursor: @cursor-disabled;
            }
        }
        &-active {
            background-color: @border-color-base;
            border-color: 1px solid transparent !important;

            a,
            &:hover a {
                color: #fff;
                background-color: #dcdee2;
            }
        }
    }

    &-item-jump-prev,
    &-item-jump-next {
        //&:after {
        //    content: "•••";
        //    display: block;
        //    letter-spacing: 1px;
        //    color: #ccc;
        //    text-align: center;
        //}
        i {
            color: #ccc;
        }
        i:first-child {
            display: none;
        }

        &:hover {
            //&:after{
            //    display: none;
            //}
            i:first-child {
                display: inline;
                color: @primary-color;
            }
            i:last-child {
                display: none;
            }
        }
    }

    &-with-disabled &-item-jump-prev,
    &-with-disabled &-item-jump-next {
        cursor: @cursor-disabled;
        i {
            color: #ccc;
        }
        &:hover {
            //&:after{
            //    display: block;
            //}
            i:first-child {
                display: none;
            }
            i:last-child {
                display: inline;
            }
        }
    }

    &-item-jump-prev:hover {
        i:first-child:after {
            content: '\F115';
            margin-left: -8px;
        }
    }

    &-item-jump-next:hover {
        i:first-child:after {
            content: '\F11F';
            margin-left: -8px;
        }
    }

    &-prev {
        margin-right: 2px;
    }

    &-item-jump-prev,
    &-item-jump-next {
        margin-right: 4px;
    }

    &-prev,
    &-next,
    &-item-jump-prev,
    &-item-jump-next {
        display: inline-block;
        vertical-align: middle;
        user-select: none;
        //float: left;
        min-width: @btn-circle-size2;
        height: @btn-circle-size2;
        line-height: @btn-circle-size2 - 2px;
        list-style: none;
        text-align: center;
        cursor: pointer;
        color: #666;
        font-family: Arial;
        border: 1px solid @border-color-base;
        border-radius: @btn-border-radius;
        transition: all @transition-time @ease-in-out;
    }
    &-item-jump-prev,
    &-item-jump-next {
        border-color: transparent;
    }

    &-prev,
    &-next {
        background-color: #fff;

        a {
            color: #666;
            font-size: 14px;
        }

        &:hover {
            // border-color: @primary-color;
            background-color: @primary-color;
            border: none 0;

            a {
                color: white;
            }
        }
    }

    &-disabled {
        background-color: #fafafa;
        border: 1px solid #d9d9d9;

        cursor: @cursor-disabled;
        a {
            color: #ccc;
        }
        &:hover {
            background-color: #fafafa;
            border: 1px solid #d9d9d9;
            a {
                color: #ccc;
                cursor: @cursor-disabled;
            }
        }
    }

    &-options {
        display: inline-block;
        vertical-align: middle;
        //float: left;
        margin-left: 8.1px;
        &-sizer {
            display: inline-block;
            //float: left;
            margin-right: 10px;
        }

        &-elevator {
            display: inline-block;
            vertical-align: middle;
            //float: left;
            height: @btn-circle-size2;
            line-height: @btn-circle-size2;

            input {
                .input;
                border-radius: @btn-border-radius;
                margin: 0 5px;
                width: 50px;
                height: @btn-circle-size2;
            }
        }
    }

    &-total {
        display: inline-block;
        //float: left;
        height: @btn-circle-size2;
        line-height: @btn-circle-size2;
        margin-right: 10px;
    }

    &-simple &-prev,
    &-simple &-next {
        margin: 0;
        border: 0;
        height: 24px;
        line-height: normal;
        font-size: 18px;
    }

    &-simple &-simple-pager {
        display: inline-block;
        //float: left;
        margin-right: 8px;
        vertical-align: middle;

        input {
            .input;
            width: 30px;
            height: 24px;
            margin: 0 8px;
            padding: 5px 8px;
            text-align: center;
            box-sizing: border-box;
            background-color: #fff;
            outline: none;
            border: 1px solid @border-color-base;
            border-radius: @btn-border-radius;
            transition: border-color @transition-time @ease-in-out;

            &:hover {
                border-color: @primary-color;
            }
        }

        span {
            padding: 0 8px 0 2px;
        }
    }

    &-custom-text,
    &-custom-text:hover {
        border-color: transparent;
    }
}

.@{page-prefix-cls} {
    &.mini &-total {
        height: @btn-circle-size-small;
        line-height: @btn-circle-size-small;
    }

    &.mini &-item {
        border: 0;
        margin: 0;
        min-width: @btn-circle-size-small;
        height: @btn-circle-size-small;
        line-height: @btn-circle-size-small;
        border-radius: @btn-border-radius-small;
    }

    &.mini &-prev,
    &.mini &-next {
        margin: 0;
        min-width: @btn-circle-size-small;
        height: @btn-circle-size-small;
        line-height: @btn-circle-size-small - 2px;
        border: 0;

        a {
            i:after {
                height: @btn-circle-size-small;
                line-height: @btn-circle-size-small;
            }
        }
    }

    &.mini &-item-jump-prev,
    &.mini &-item-jump-next {
        height: @btn-circle-size-small;
        line-height: @btn-circle-size-small;
        border: none;
        margin-right: 0;
    }

    &.mini &-options {
        margin-left: 8px;
        &-elevator {
            height: @btn-circle-size-small;
            line-height: @btn-circle-size-small;

            input {
                .input-small;
                width: 44px;
            }
        }
    }
}
