Sha256: 539fd9b1541c54fcd80d18b62ca74607f69da9172e25d57237e6446656c18f18

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

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

@import "../common";

.pagination {
    display: block;
    margin: $margin 0;

    ul, ol {
        margin: 0;
        padding: 0;

        @include clear-fix;
    }

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

        > a {
            display: block;
        }

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

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

.pagination.pagination--grouped {
    li {
        margin-left: -1px;
        margin-right: 0;

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

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

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

    &.round {
        ul {
            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

1 entries across 1 versions & 1 rubygems

Version Path
titon-toolkit-1.0.0.rc.2 scss/toolkit/components/pagination.scss