Sha256: 207fcfdcf8231ef9a221164eb7b436cf5c4fb90fea397100c3c8a572bb8e2a44

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 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,
    li {
        @include reset-inline-block;
        list-style: none;
    }

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

        .button {
            float: left;
        }

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

    @include clear-fix;
}

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

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

        &:first-child { margin-left: 0; }
        &:hover,
        .button:hover { z-index: 1; }

        .button {
            margin: 0;
            border-radius: 0;
        }
    }

    &.round {
        ul {
            border-radius: $round;
        }

        li:first-child .button {
            border-top-left-radius: $round;
            border-bottom-left-radius: $round;
        }

        li:last-child .button {
            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.rc1 scss/toolkit/components/pagination.scss