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 > li > a:focus,
36 .pagination ul > .active > a,
37 .pagination ul > .active > span {
38 background-color: @paginationActiveBackground;
40 .pagination ul > .active > a,
41 .pagination ul > .active > span {
45 .pagination ul > .disabled > span,
46 .pagination ul > .disabled > a,
47 .pagination ul > .disabled > a:hover,
48 .pagination ul > .disabled > a:focus {
50 background-color: transparent;
53 .pagination ul > li:first-child > a,
54 .pagination ul > li:first-child > span {
55 border-left-width: 1px;
56 .border-left-radius(@baseBorderRadius);
58 .pagination ul > li:last-child > a,
59 .pagination ul > li:last-child > span {
60 .border-right-radius(@baseBorderRadius);
65 // --------------------------------------------------
67 .pagination-centered {
76 // --------------------------------------------------
82 padding: @paddingLarge;
83 font-size: @fontSizeLarge;
85 ul > li:first-child > a,
86 ul > li:first-child > span {
87 .border-left-radius(@borderRadiusLarge);
89 ul > li:last-child > a,
90 ul > li:last-child > span {
91 .border-right-radius(@borderRadiusLarge);
98 ul > li:first-child > a,
99 ul > li:first-child > span {
100 .border-left-radius(@borderRadiusSmall);
102 ul > li:last-child > a,
103 ul > li:last-child > span {
104 .border-right-radius(@borderRadiusSmall);
112 padding: @paddingSmall;
113 font-size: @fontSizeSmall;
120 padding: @paddingMini;
121 font-size: @fontSizeMini;