mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 13:46:42 +02:00
Merge pull request #7608 from Fowowski/3.0.0-wip
more nested less rules - pager component
This commit is contained in:
2
docs/assets/css/bootstrap.css
vendored
2
docs/assets/css/bootstrap.css
vendored
@@ -4240,7 +4240,7 @@ button.close {
|
|||||||
.pager .disabled > span {
|
.pager .disabled > span {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-color: #fff;
|
background-color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-open {
|
.modal-open {
|
||||||
|
@@ -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: @pagination-bg;
|
||||||
|
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;
|
|
||||||
}
|
|
Reference in New Issue
Block a user