mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +01:00
more nested pager.less
This commit is contained in:
parent
dc97a1967b
commit
67a5d8ce74
@ -8,36 +8,47 @@
|
|||||||
list-style: none;
|
list-style: none;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
.clearfix();
|
.clearfix();
|
||||||
|
li {
|
||||||
|
display: inline;
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 5px 14px;
|
||||||
|
background-color: @pagination-bg;
|
||||||
|
border: 1px solid @pagination-border;
|
||||||
|
border-radius: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
> a:hover,
|
||||||
|
> a:focus {
|
||||||
|
text-decoration: none;
|
||||||
|
background-color: @pagination-active-bg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.next {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.previous {
|
||||||
|
> a,
|
||||||
|
> span {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.disabled {
|
||||||
|
> a,
|
||||||
|
> a:hover,
|
||||||
|
> a:focus,
|
||||||
|
> span {
|
||||||
|
color: @grayLight;
|
||||||
|
background-color: #fff;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.pager li {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
.pager li > a,
|
|
||||||
.pager li > span {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 5px 14px;
|
|
||||||
background-color: @pagination-bg;
|
|
||||||
border: 1px solid @pagination-border;
|
|
||||||
border-radius: 15px;
|
|
||||||
}
|
|
||||||
.pager li > a:hover,
|
|
||||||
.pager li > a:focus {
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: @pagination-active-bg;
|
|
||||||
}
|
|
||||||
.pager .next > a,
|
|
||||||
.pager .next > span {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.pager .previous > a,
|
|
||||||
.pager .previous > span {
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
.pager .disabled > a,
|
|
||||||
.pager .disabled > a:hover,
|
|
||||||
.pager .disabled > a:focus,
|
|
||||||
.pager .disabled > span {
|
|
||||||
color: @grayLight;
|
|
||||||
background-color: #fff;
|
|
||||||
cursor: default;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user