diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-08-22 22:34:13 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-08-22 22:34:13 +0200 |
commit | 74647e16d37fac9425a4561b49618b52cdc3e75c (patch) | |
tree | 7bfd868f8ef2646e65ffd8dbdf63dd8bf91723e3 /vendor/bootstrap-3.2.0/_pagination.scss | |
parent | 721aa7f160db36e53d03081bbda73970b702eeb7 (diff) |
add basic bootstrap theme
Diffstat (limited to 'vendor/bootstrap-3.2.0/_pagination.scss')
-rw-r--r-- | vendor/bootstrap-3.2.0/_pagination.scss | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/vendor/bootstrap-3.2.0/_pagination.scss b/vendor/bootstrap-3.2.0/_pagination.scss new file mode 100644 index 00000000..44c12226 --- /dev/null +++ b/vendor/bootstrap-3.2.0/_pagination.scss @@ -0,0 +1,88 @@ +// +// Pagination (multiple pages) +// -------------------------------------------------- +.pagination { + display: inline-block; + padding-left: 0; + margin: $line-height-computed 0; + border-radius: $border-radius-base; + + > li { + display: inline; // Remove list-style and block-level defaults + > a, + > span { + position: relative; + float: left; // Collapse white-space + padding: $padding-base-vertical $padding-base-horizontal; + line-height: $line-height-base; + text-decoration: none; + color: $pagination-color; + background-color: $pagination-bg; + border: 1px solid $pagination-border; + margin-left: -1px; + } + &:first-child { + > a, + > span { + margin-left: 0; + @include border-left-radius($border-radius-base); + } + } + &:last-child { + > a, + > span { + @include border-right-radius($border-radius-base); + } + } + } + + > li > a, + > li > span { + &:hover, + &:focus { + color: $pagination-hover-color; + background-color: $pagination-hover-bg; + border-color: $pagination-hover-border; + } + } + + > .active > a, + > .active > span { + &, + &:hover, + &:focus { + z-index: 2; + color: $pagination-active-color; + background-color: $pagination-active-bg; + border-color: $pagination-active-border; + cursor: default; + } + } + + > .disabled { + > span, + > span:hover, + > span:focus, + > a, + > a:hover, + > a:focus { + color: $pagination-disabled-color; + background-color: $pagination-disabled-bg; + border-color: $pagination-disabled-border; + cursor: not-allowed; + } + } +} + +// Sizing +// -------------------------------------------------- + +// Large +.pagination-lg { + @include pagination-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-large); +} + +// Small +.pagination-sm { + @include pagination-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-small); +} |