2012-06-29 06:46:45 +02:00
|
|
|
//
|
|
|
|
// Pagination (multiple pages)
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
2011-11-17 08:58:36 +01:00
|
|
|
|
|
|
|
.pagination {
|
|
|
|
height: @baseLineHeight * 2;
|
|
|
|
margin: @baseLineHeight 0;
|
2012-01-15 05:54:37 +01: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));
|
|
|
|
}
|
|
|
|
.pagination li {
|
2011-11-17 08:58:36 +01:00
|
|
|
display: inline;
|
|
|
|
}
|
2012-06-20 08:37:47 +02:00
|
|
|
.pagination a,
|
|
|
|
.pagination span {
|
2012-01-15 05:54:37 +01:00
|
|
|
float: left;
|
|
|
|
padding: 0 14px;
|
|
|
|
line-height: (@baseLineHeight * 2) - 2;
|
|
|
|
text-decoration: none;
|
2012-01-16 01:27:36 +01:00
|
|
|
border: 1px solid #ddd;
|
|
|
|
border-left-width: 0;
|
2012-01-15 05:54:37 +01:00
|
|
|
}
|
|
|
|
.pagination a:hover,
|
2012-06-20 08:37:47 +02:00
|
|
|
.pagination .active a,
|
|
|
|
.pagination .active span {
|
2012-01-15 05:54:37 +01:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
}
|
2012-06-20 08:37:47 +02:00
|
|
|
.pagination .active a,
|
|
|
|
.pagination .active span {
|
2012-01-15 08:33:42 +01:00
|
|
|
color: @grayLight;
|
2012-01-31 08:27:58 +01:00
|
|
|
cursor: default;
|
2012-01-15 08:33:42 +01:00
|
|
|
}
|
2012-02-20 08:51:59 +01:00
|
|
|
.pagination .disabled span,
|
2012-01-15 05:54:37 +01:00
|
|
|
.pagination .disabled a,
|
|
|
|
.pagination .disabled a:hover {
|
|
|
|
color: @grayLight;
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: default;
|
|
|
|
}
|
2012-06-20 08:37:47 +02:00
|
|
|
.pagination li:first-child a,
|
|
|
|
.pagination li:first-child span {
|
2012-01-16 01:27:36 +01:00
|
|
|
border-left-width: 1px;
|
|
|
|
.border-radius(3px 0 0 3px);
|
|
|
|
}
|
2012-06-20 08:37:47 +02:00
|
|
|
.pagination li:last-child a,
|
|
|
|
.pagination li:last-child span {
|
2012-01-16 01:27:36 +01:00
|
|
|
.border-radius(0 3px 3px 0);
|
2012-01-15 05:54:37 +01:00
|
|
|
}
|
2011-12-27 22:51:36 +01:00
|
|
|
|
2012-01-15 05:54:37 +01:00
|
|
|
// Centered
|
|
|
|
.pagination-centered {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.pagination-right {
|
|
|
|
text-align: right;
|
2011-11-17 08:58:36 +01:00
|
|
|
}
|