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

55 lines
861 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;
cursor: @cursor-disabled;
2013-10-23 23:12:39 +08:00
}
}
}