0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/less/pager.less

56 lines
865 B
Plaintext
Raw Normal View History

2012-06-29 06:46:45 +02:00
//
// Pager pagination
// --------------------------------------------------
.pager {
padding-left: 0;
margin: @line-height-computed 0;
list-style: none;
text-align: center;
.clearfix();
2013-04-17 17:32:48 +02: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 17:32:48 +02:00
}
> a:hover,
> a:focus {
text-decoration: none;
background-color: @pagination-hover-bg;
2013-04-17 17:32:48 +02:00
}
}
.next {
> a,
> span {
float: right;
}
}
2013-04-17 17:32:48 +02: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 17:32:48 +02:00
}
}
}