Fork-Awesome/assets/less/bootstrap-3.2.0/pager.less

56 lines
857 B
Plaintext
Raw Normal View History

2013-10-23 23:12:39 +08:00
//
// Pager pagination
// --------------------------------------------------
.pager {
padding-left: 0;
margin: @line-height-computed 0;
list-style: none;
text-align: center;
2014-05-15 04:13:14 +08:00
&:extend(.clearfix all);
2013-10-23 23:12:39 +08:00
li {
display: inline;
> a,
> span {
display: inline-block;
padding: 5px 14px;
2014-05-15 04:13:14 +08:00
background-color: @pager-bg;
border: 1px solid @pager-border;
2013-10-23 23:12:39 +08:00
border-radius: @pager-border-radius;
}
> a:hover,
> a:focus {
text-decoration: none;
2014-05-15 04:13:14 +08:00
background-color: @pager-hover-bg;
2013-10-23 23:12:39 +08:00
}
}
.next {
> a,
> span {
float: right;
}
}
.previous {
> a,
> span {
float: left;
}
}
.disabled {
> a,
> a:hover,
> a:focus,
> span {
color: @pager-disabled-color;
2014-05-15 04:13:14 +08:00
background-color: @pager-bg;
2013-10-23 23:12:39 +08:00
cursor: not-allowed;
}
}
}