2012-06-28 21:46:45 -07:00
|
|
|
//
|
|
|
|
// Pagination (multiple pages)
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2011-11-16 23:58:36 -08:00
|
|
|
|
|
|
|
.pagination {
|
|
|
|
height: @baseLineHeight * 2;
|
|
|
|
margin: @baseLineHeight 0;
|
2012-01-14 20:54:37 -08:00
|
|
|
}
|
|
|
|
.pagination ul {
|
|
|
|
display: inline-block;
|
|
|
|
.ie7-inline-block();
|
|
|
|
margin-left: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
.border-radius(3px);
|
|
|
|
.box-shadow(0 1px 2px rgba(0,0,0,.05));
|
|
|
|
}
|
2012-08-27 10:56:46 -07:00
|
|
|
.pagination ul > li {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
.pagination ul > li > a,
|
|
|
|
.pagination ul > li > span {
|
2012-01-14 20:54:37 -08:00
|
|
|
float: left;
|
|
|
|
padding: 0 14px;
|
|
|
|
line-height: (@baseLineHeight * 2) - 2;
|
|
|
|
text-decoration: none;
|
2012-08-07 22:37:38 -07:00
|
|
|
background-color: @paginationBackground;
|
|
|
|
border: 1px solid @paginationBorder;
|
2012-01-15 16:27:36 -08:00
|
|
|
border-left-width: 0;
|
2012-01-14 20:54:37 -08:00
|
|
|
}
|
2012-08-27 10:56:46 -07:00
|
|
|
.pagination ul > li > a:hover,
|
|
|
|
.pagination ul > .active > a,
|
|
|
|
.pagination ul > .active > span {
|
2012-01-14 20:54:37 -08:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
}
|
2012-08-27 10:56:46 -07:00
|
|
|
.pagination ul > .active > a,
|
|
|
|
.pagination ul > .active > span {
|
2012-01-14 23:33:42 -08:00
|
|
|
color: @grayLight;
|
2012-01-30 23:27:58 -08:00
|
|
|
cursor: default;
|
2012-01-14 23:33:42 -08:00
|
|
|
}
|
2012-08-27 10:56:46 -07:00
|
|
|
.pagination ul > .disabled > span,
|
|
|
|
.pagination ul > .disabled > a,
|
|
|
|
.pagination ul > .disabled > a:hover {
|
2012-01-14 20:54:37 -08:00
|
|
|
color: @grayLight;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: default;
|
|
|
|
}
|
2012-08-27 10:56:46 -07:00
|
|
|
.pagination ul > li:first-child > a,
|
|
|
|
.pagination ul > li:first-child > span {
|
2012-01-15 16:27:36 -08:00
|
|
|
border-left-width: 1px;
|
|
|
|
.border-radius(3px 0 0 3px);
|
|
|
|
}
|
2012-08-27 10:56:46 -07:00
|
|
|
.pagination ul > li:last-child > a,
|
|
|
|
.pagination ul > li:last-child > span {
|
2012-01-15 16:27:36 -08:00
|
|
|
.border-radius(0 3px 3px 0);
|
2012-01-14 20:54:37 -08:00
|
|
|
}
|
2011-12-27 15:51:36 -06:00
|
|
|
|
2012-01-14 20:54:37 -08:00
|
|
|
// Centered
|
|
|
|
.pagination-centered {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.pagination-right {
|
|
|
|
text-align: right;
|
2011-11-16 23:58:36 -08:00
|
|
|
}
|