// // 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; .border-left-radius(@border-radius-base); } } &:last-child { > a, > span { .border-right-radius(@border-radius-base); } } } > li > a, > li > span { &:hover, &:focus { z-index: 2; color: @pagination-hover-color; background-color: @pagination-hover-bg; border-color: @pagination-hover-border; } } > .active > a, > .active > span { &, &:hover, &:focus { z-index: 3; 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: @cursor-disabled; } } } // Sizing // -------------------------------------------------- // Large .pagination-lg { .pagination-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large); } // Small .pagination-sm { .pagination-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small); }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
mixins | Folder | 0755 |
|
|
.csscomb.json | File | 7.91 KB | 0644 |
|
.csslintrc | File | 456 B | 0644 |
|
alerts.less | File | 1.48 KB | 0644 |
|
badges.less | File | 1.17 KB | 0644 |
|
bootstrap.less | File | 1.26 KB | 0644 |
|
breadcrumbs.less | File | 594 B | 0644 |
|
button-groups.less | File | 5.55 KB | 0644 |
|
buttons.less | File | 3.58 KB | 0644 |
|
carousel.less | File | 5.52 KB | 0644 |
|
close.less | File | 764 B | 0644 |
|
code.less | File | 1.37 KB | 0644 |
|
component-animations.less | File | 666 B | 0644 |
|
dropdowns.less | File | 4.76 KB | 0644 |
|
forms.less | File | 15.45 KB | 0644 |
|
glyphicons.less | File | 19.34 KB | 0644 |
|
grid.less | File | 1.35 KB | 0644 |
|
input-groups.less | File | 4.18 KB | 0644 |
|
jumbotron.less | File | 1.13 KB | 0644 |
|
labels.less | File | 1.05 KB | 0644 |
|
list-group.less | File | 3.05 KB | 0644 |
|
media.less | File | 900 B | 0644 |
|
mixins.less | File | 1.11 KB | 0644 |
|
modals.less | File | 3.44 KB | 0644 |
|
navbar.less | File | 14.29 KB | 0644 |
|
navs.less | File | 4.81 KB | 0644 |
|
normalize.less | File | 7.38 KB | 0644 |
|
pager.less | File | 861 B | 0644 |
|
pagination.less | File | 2.01 KB | 0644 |
|
panels.less | File | 6.13 KB | 0644 |
|
popovers.less | File | 3.41 KB | 0644 |
|
print.less | File | 1.89 KB | 0644 |
|
progress-bars.less | File | 1.88 KB | 0644 |
|
responsive-embed.less | File | 546 B | 0644 |
|
responsive-utilities.less | File | 4.16 KB | 0644 |
|
scaffolding.less | File | 2.92 KB | 0644 |
|
tables.less | File | 4.5 KB | 0644 |
|
theme.less | File | 8 KB | 0644 |
|
thumbnails.less | File | 753 B | 0644 |
|
tooltip.less | File | 2.92 KB | 0644 |
|
type.less | File | 5.81 KB | 0644 |
|
utilities.less | File | 747 B | 0644 |
|
variables.less | File | 26.83 KB | 0644 |
|
wells.less | File | 527 B | 0644 |
|