2
// Pagination (multiple pages)
3
// --------------------------------------------------
5
// Space out pagination from surrounding content
7
margin: @baseLineHeight 0;
11
// Allow for text-based alignment
12
display: inline-block;
14
// Reset default ul styles
18
.border-radius(@baseBorderRadius);
19
.box-shadow(0 1px 2px rgba(0,0,0,.05));
22
display: inline; // Remove list-style and block-level defaults
24
.pagination ul > li > a,
25
.pagination ul > li > span {
26
float: left; // Collapse white-space
28
line-height: @baseLineHeight;
29
text-decoration: none;
30
background-color: @paginationBackground;
31
border: 1px solid @paginationBorder;
34
.pagination ul > li > a:hover,
35
.pagination ul > .active > a,
36
.pagination ul > .active > span {
37
background-color: @paginationActiveBackground;
39
.pagination ul > .active > a,
40
.pagination ul > .active > span {
44
.pagination ul > .disabled > span,
45
.pagination ul > .disabled > a,
46
.pagination ul > .disabled > a:hover {
48
background-color: transparent;
51
.pagination ul > li:first-child > a,
52
.pagination ul > li:first-child > span {
53
border-left-width: 1px;
54
.border-left-radius(@baseBorderRadius);
56
.pagination ul > li:last-child > a,
57
.pagination ul > li:last-child > span {
58
.border-right-radius(@baseBorderRadius);
63
// --------------------------------------------------
65
.pagination-centered {
74
// --------------------------------------------------
80
padding: @paddingLarge;
81
font-size: @fontSizeLarge;
83
ul > li:first-child > a,
84
ul > li:first-child > span {
85
.border-left-radius(@borderRadiusLarge);
87
ul > li:last-child > a,
88
ul > li:last-child > span {
89
.border-right-radius(@borderRadiusLarge);
96
ul > li:first-child > a,
97
ul > li:first-child > span {
98
.border-left-radius(@borderRadiusSmall);
100
ul > li:last-child > a,
101
ul > li:last-child > span {
102
.border-right-radius(@borderRadiusSmall);
110
padding: @paddingSmall;
111
font-size: @fontSizeSmall;
118
padding: @paddingMini;
119
font-size: @fontSizeMini;