Sha256: c20920c67da33d67f85602de2c44fd156aadd6c3510f688f46feea820655851d
Contents?: true
Size: 1.28 KB
Versions: 4
Compression:
Stored size: 1.28 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 { 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; } &.#{$state-is-prefix}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; } } &.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
4 entries across 4 versions & 1 rubygems