2012-06-29 00:46:45 -04:00
|
|
|
//
|
|
|
|
// Pagination (multiple pages)
|
|
|
|
// --------------------------------------------------
|
2012-09-18 23:56:20 -04:00
|
|
|
.pagination {
|
2012-01-14 23:54:37 -05:00
|
|
|
display: inline-block;
|
2013-01-12 16:15:19 -05:00
|
|
|
margin: @line-height-base 0;
|
2012-11-30 17:45:25 -05:00
|
|
|
border-radius: @border-radius-base;
|
2012-01-14 23:54:37 -05:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > li {
|
2012-09-18 23:56:20 -04:00
|
|
|
display: inline; // Remove list-style and block-level defaults
|
2012-08-27 13:56:46 -04:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > li > a,
|
|
|
|
.pagination > li > span {
|
2012-09-18 23:56:20 -04:00
|
|
|
float: left; // Collapse white-space
|
2012-09-19 00:16:08 -04:00
|
|
|
padding: 4px 12px;
|
2012-11-30 17:45:25 -05:00
|
|
|
line-height: @line-height-base;
|
2012-01-14 23:54:37 -05:00
|
|
|
text-decoration: none;
|
2013-03-31 20:20:16 -04:00
|
|
|
background-color: @pagination-bg;
|
2012-11-30 18:36:16 -05:00
|
|
|
border: 1px solid @pagination-border;
|
2012-01-15 19:27:36 -05:00
|
|
|
border-left-width: 0;
|
2012-01-14 23:54:37 -05:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > li > a:hover,
|
2013-02-05 22:53:44 -05:00
|
|
|
.pagination > li > a:focus,
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > .active > a,
|
|
|
|
.pagination > .active > span {
|
2013-03-31 20:22:12 -04:00
|
|
|
background-color: @pagination-active-bg;
|
2012-01-14 23:54:37 -05:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > .active > a,
|
|
|
|
.pagination > .active > span {
|
2013-04-21 22:35:36 -04:00
|
|
|
color: @gray-light;
|
2012-01-31 02:27:58 -05:00
|
|
|
cursor: default;
|
2012-01-15 02:33:42 -05:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > .disabled > span,
|
|
|
|
.pagination > .disabled > a,
|
2013-02-05 22:53:44 -05:00
|
|
|
.pagination > .disabled > a:hover,
|
|
|
|
.pagination > .disabled > a:focus {
|
2013-04-21 22:35:36 -04:00
|
|
|
color: @gray-light;
|
2013-03-31 20:20:16 -04:00
|
|
|
background-color: @pagination-bg;
|
2012-01-14 23:54:37 -05:00
|
|
|
cursor: default;
|
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > li:first-child > a,
|
|
|
|
.pagination > li:first-child > span {
|
2012-01-15 19:27:36 -05:00
|
|
|
border-left-width: 1px;
|
2012-11-30 17:45:25 -05:00
|
|
|
.border-left-radius(@border-radius-base);
|
2012-01-15 19:27:36 -05:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
.pagination > li:last-child > a,
|
|
|
|
.pagination > li:last-child > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
.border-right-radius(@border-radius-base);
|
2012-01-14 23:54:37 -05:00
|
|
|
}
|
2011-12-27 16:51:36 -05:00
|
|
|
|
2012-09-19 00:16:08 -04:00
|
|
|
|
|
|
|
// Sizing
|
2012-09-12 16:10:03 -04:00
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
// Large
|
|
|
|
.pagination-large {
|
2013-01-12 16:15:19 -05:00
|
|
|
> li > a,
|
|
|
|
> li > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
padding: @padding-large;
|
|
|
|
font-size: @font-size-large;
|
2012-09-19 00:16:08 -04:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
> li:first-child > a,
|
|
|
|
> li:first-child > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
.border-left-radius(@border-radius-large);
|
2012-09-19 00:16:08 -04:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
> li:last-child > a,
|
|
|
|
> li:last-child > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
.border-right-radius(@border-radius-large);
|
2012-09-12 16:10:03 -04:00
|
|
|
}
|
|
|
|
}
|
2012-09-19 00:16:08 -04:00
|
|
|
|
|
|
|
// Small and mini
|
|
|
|
.pagination-mini,
|
|
|
|
.pagination-small {
|
2013-01-12 16:15:19 -05:00
|
|
|
> li:first-child > a,
|
|
|
|
> li:first-child > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
.border-left-radius(@border-radius-small);
|
2012-09-19 00:16:08 -04:00
|
|
|
}
|
2013-01-12 16:15:19 -05:00
|
|
|
> li:last-child > a,
|
|
|
|
> li:last-child > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
.border-right-radius(@border-radius-small);
|
2012-09-19 00:16:08 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-09-12 16:10:03 -04:00
|
|
|
// Small
|
|
|
|
.pagination-small {
|
2013-01-12 16:15:19 -05:00
|
|
|
> li > a,
|
|
|
|
> li > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
padding: @padding-small;
|
|
|
|
font-size: @font-size-small;
|
2012-09-12 16:10:03 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
// Mini
|
|
|
|
.pagination-mini {
|
2013-01-12 16:15:19 -05:00
|
|
|
> li > a,
|
|
|
|
> li > span {
|
2012-11-30 17:45:25 -05:00
|
|
|
padding: @padding-mini;
|
|
|
|
font-size: @font-size-mini;
|
2012-09-12 16:10:03 -04:00
|
|
|
}
|
|
|
|
}
|