Sha256: f35bd6aa3d284f9f1d88cfcbd4927188a34cda2ca7319fa533f6becec18af9b2
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 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--grouped { @extend .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; } } &.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
titon-toolkit-1.0.0 | scss/toolkit/components/pagination.scss |
titon-toolkit-1.0.0.rc.3 | scss/toolkit/components/pagination.scss |