Skip to content
Snippets Groups Projects
pagination.scss 1.12 KiB
Newer Older
.audible {
    position: absolute;
    left: -999em;
}
.pagination,
.pagination li {
    line-height: 1.2em;
    list-style: none;
    margin: 0;
    padding: 0;
}
.pagination {
    li {
        display: inline-block;

        &:not(:first-of-type) {
            &::before {
                content: ' | ';
                font-weight: normal;
            }
        }
    }

    .divider--template {
        display: none;
    }

    .pagination--link {
        background-color: transparent;
        border: 0;
        color: $base-color;
        cursor: pointer;
        padding: 0;
    }

    .current .pagination--link {
        font-weight: bold;
        color: $black;
    }

    .prev,
    .next {
        .pagination--link {
            @include hide-text();
            background-position: center;
            background-repeat: no-repeat;
            display: inline-block;
            height: 16px;
            width: 16px;
            vertical-align: top;
        }
    }
    .prev .pagination--link {
        @include background-icon(arr_1left);
    }
    .next .pagination--link {
        @include background-icon(arr_1right);