1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/less/pager.less

56 lines
865 B
Text
Raw Normal View History

2012-06-29 00:46:45 -04:00
//
// Pager pagination
// --------------------------------------------------
.pager {
padding-left: 0;
margin: @line-height-computed 0;
list-style: none;
text-align: center;
.clearfix();
2013-04-17 11:32:48 -04:00
li {
display: inline;
> a,
> span {
display: inline-block;
padding: 5px 14px;
background-color: @pagination-bg;
border: 1px solid @pagination-border;
border-radius: @pager-border-radius;
2013-04-17 11:32:48 -04:00
}
> a:hover,
> a:focus {
text-decoration: none;
background-color: @pagination-hover-bg;
2013-04-17 11:32:48 -04:00
}
}
.next {
> a,
> span {
float: right;
}
}
2013-04-17 11:32:48 -04:00
.previous {
> a,
> span {
float: left;
}
}
.disabled {
> a,
> a:hover,
> a:focus,
> span {
color: @pager-disabled-color;
background-color: @pagination-bg;
cursor: not-allowed;
2013-04-17 11:32:48 -04:00
}
}
}