1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 16:19:53 +02:00

more nested pager.less

This commit is contained in:
Artur Kwiatkowski
2013-04-17 17:32:48 +02:00
parent dc97a1967b
commit 67a5d8ce74

View File

@@ -8,36 +8,47 @@
list-style: none; list-style: none;
text-align: center; text-align: center;
.clearfix(); .clearfix();
} li {
.pager li {
display: inline; display: inline;
} > a,
.pager li > a, > span {
.pager li > span {
display: inline-block; display: inline-block;
padding: 5px 14px; padding: 5px 14px;
background-color: @pagination-bg; background-color: @pagination-bg;
border: 1px solid @pagination-border; border: 1px solid @pagination-border;
border-radius: 15px; border-radius: 15px;
} }
.pager li > a:hover,
.pager li > a:focus { > a:hover,
> a:focus {
text-decoration: none; text-decoration: none;
background-color: @pagination-active-bg; background-color: @pagination-active-bg;
} }
.pager .next > a, }
.pager .next > span {
.next {
> a,
> span {
float: right; float: right;
} }
.pager .previous > a, }
.pager .previous > span {
.previous {
> a,
> span {
float: left; float: left;
} }
.pager .disabled > a, }
.pager .disabled > a:hover,
.pager .disabled > a:focus, .disabled {
.pager .disabled > span { > a,
> a:hover,
> a:focus,
> span {
color: @grayLight; color: @grayLight;
background-color: #fff; background-color: #fff;
cursor: default; cursor: default;
}
}
} }