From 627f0488e5bd3c31359fc9e78acffbfea4a86a8b Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 24 Aug 2012 21:12:36 -0700 Subject: committed website v. 0.1.0 --- app/assets/stylesheets/bootstrap/_pagination.scss | 55 +++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 app/assets/stylesheets/bootstrap/_pagination.scss (limited to 'app/assets/stylesheets/bootstrap/_pagination.scss') diff --git a/app/assets/stylesheets/bootstrap/_pagination.scss b/app/assets/stylesheets/bootstrap/_pagination.scss new file mode 100644 index 0000000..6957128 --- /dev/null +++ b/app/assets/stylesheets/bootstrap/_pagination.scss @@ -0,0 +1,55 @@ +// PAGINATION +// ---------- + +.pagination { + height: $baseLineHeight * 2; + margin: $baseLineHeight 0; + } +.pagination ul { + display: inline-block; + @include ie7-inline-block(); + margin-left: 0; + margin-bottom: 0; + @include border-radius(3px); + @include box-shadow(0 1px 2px rgba(0,0,0,.05)); +} +.pagination li { + display: inline; + } +.pagination a { + float: left; + padding: 0 14px; + line-height: ($baseLineHeight * 2) - 2; + text-decoration: none; + border: 1px solid #ddd; + border-left-width: 0; +} +.pagination a:hover, +.pagination .active a { + background-color: #f5f5f5; +} +.pagination .active a { + color: $grayLight; + cursor: default; +} +.pagination .disabled a, +.pagination .disabled a:hover { + color: $grayLight; + background-color: transparent; + cursor: default; +} +.pagination li:first-child a { + border-left-width: 1px; + @include border-radius(3px 0 0 3px); +} +.pagination li:last-child a { + @include border-radius(0 3px 3px 0); +} + +// Centered +.pagination-centered { + text-align: center; +} +.pagination-right { + text-align: right; +} -- cgit v1.2.3