Fork-Awesome/assets/less/twbs-222/pager.less

41 lines
711 B
Plaintext
Raw Normal View History

2013-01-02 13:40:00 +08:00
//
// Pager pagination
// --------------------------------------------------
2012-06-05 03:33:52 +08:00
.pager {
2013-01-02 13:40:00 +08:00
margin: @baseLineHeight 0;
2012-06-05 03:33:52 +08:00
list-style: none;
text-align: center;
.clearfix();
}
.pager li {
display: inline;
}
2013-01-02 13:40:00 +08:00
.pager li > a,
.pager li > span {
2012-06-05 03:33:52 +08:00
display: inline-block;
padding: 5px 14px;
background-color: #fff;
border: 1px solid #ddd;
.border-radius(15px);
}
2013-01-02 13:40:00 +08:00
.pager li > a:hover {
2012-06-05 03:33:52 +08:00
text-decoration: none;
background-color: #f5f5f5;
}
2013-01-02 13:40:00 +08:00
.pager .next > a,
.pager .next > span {
2012-06-05 03:33:52 +08:00
float: right;
}
2013-01-02 13:40:00 +08:00
.pager .previous > a,
.pager .previous > span {
2012-06-05 03:33:52 +08:00
float: left;
}
2013-01-02 13:40:00 +08:00
.pager .disabled > a,
.pager .disabled > a:hover,
.pager .disabled > span {
2012-06-05 03:33:52 +08:00
color: @grayLight;
background-color: #fff;
cursor: default;
}