Sha256: 50bdf3821b315bb34475124cc415261ce44052d3f41bc0b4ef1a4f1947951080

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

/**
 * @copyright   2010-2013, The Titon Project
 * @license     http://opensource.org/licenses/bsd-license.php
 * @link        http://titon.io
 */

@import "../common";

.#{$vendor-prefix}pagination {
    margin: $margin 0;

    ul, ol {
        @include reset-list;
        @include clear-fix;
    }

    li {
        position: relative;
        float: left;
        margin-right: $padding / 2;

        > a {
            display: block;
        }

        &.is-active {
            z-index: 1;
        }
    }
}

//-------------------- Modifiers --------------------//

.#{$vendor-prefix}pagination--grouped {
    @extend .#{$vendor-prefix}pagination;

    li {
        margin-left: -1px;
        margin-right: 0;

        &:first-child { margin-left: 0; }

        &:hover,
        > a:hover { z-index: 1; }

        > a {
            margin: 0;
            border-radius: 0;
        }
    }

    &.#{$shape-round-class} {
        ul, ol {
            border-radius: $round;
        }

        li:first-child > a {
            border-top-left-radius: $round;
            border-bottom-left-radius: $round;
        }

        li:last-child > a {
            border-top-right-radius: $round;
            border-bottom-right-radius: $round;
        }
    }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
titon-toolkit-1.3.2 scss/toolkit/components/pagination.scss
titon-toolkit-1.3.1 scss/toolkit/components/pagination.scss
titon-toolkit-1.3.0 scss/toolkit/components/pagination.scss