Sha256: 6068678d2dfa93830a0274d9059685e0dc56cfc0acf21e0ec0b5bcea98847e31

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

// ====================================================================================================================
// PAGER PAGINATION
// ====================================================================================================================

@if $pager {

// ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
// Base
// --------------------------------------------------------------------------------------------------------------------

	.pager {
		@include clearfix();
		list-style: none;
		margin: rhythm() 0;
		text-align: center;

		li {
			display: inline;

			a,
			span {
				@include border-radius($base-border-radius);
				border-style: solid;
				border-width: 1px;
				display: inline-block;
				line-height: 1em;
				padding: $pager-padding;
				@extend %pager-btn !optional;
			}

			a:hover,
			a:focus {
				text-decoration: none;
				@extend %pager-btn_hover !optional;
			}
		}

		[rel="next"],
		.next > a,
		.next > span {
			float: right;
		}

		[rel="prev"],
		.previous > a,
		.previous > span {
			float: left;
		}

		.disabled > a,
		.disabled > a:hover,
		.disabled > a:focus,
		.disabled > span {
			cursor: default;
			@extend %pager-btn_disabled !optional;
		}

	}
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rapido-css-0.0.2.1 stylesheets/components/_pager.scss