0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

fixes #5010: .pager span selector should be scoped to immediate children only

This commit is contained in:
Mark Otto 2012-09-07 11:04:51 -07:00
parent d4a16d35eb
commit 7a0f5c6c00
2 changed files with 20 additions and 18 deletions

View File

@ -4824,8 +4824,8 @@ input[type="submit"].btn.btn-mini {
display: inline; display: inline;
} }
.pager a, .pager li > a,
.pager span { .pager li > span {
display: inline-block; display: inline-block;
padding: 5px 14px; padding: 5px 14px;
background-color: #fff; background-color: #fff;
@ -4835,23 +4835,24 @@ input[type="submit"].btn.btn-mini {
border-radius: 15px; border-radius: 15px;
} }
.pager a:hover { .pager li > a:hover {
text-decoration: none; text-decoration: none;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.pager .next a, .pager .next > a,
.pager .next span { .pager .next > span {
float: right; float: right;
} }
.pager .previous a { .pager .previous > a,
.pager .previous > span {
float: left; float: left;
} }
.pager .disabled a, .pager .disabled > a,
.pager .disabled a:hover, .pager .disabled > a:hover,
.pager .disabled span { .pager .disabled > span {
color: #999999; color: #999999;
cursor: default; cursor: default;
background-color: #fff; background-color: #fff;

View File

@ -12,28 +12,29 @@
.pager li { .pager li {
display: inline; display: inline;
} }
.pager a, .pager li > a,
.pager span { .pager li > span {
display: inline-block; display: inline-block;
padding: 5px 14px; padding: 5px 14px;
background-color: #fff; background-color: #fff;
border: 1px solid #ddd; border: 1px solid #ddd;
.border-radius(15px); .border-radius(15px);
} }
.pager a:hover { .pager li > a:hover {
text-decoration: none; text-decoration: none;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.pager .next a, .pager .next > a,
.pager .next span { .pager .next > span {
float: right; float: right;
} }
.pager .previous a { .pager .previous > a,
.pager .previous > span {
float: left; float: left;
} }
.pager .disabled a, .pager .disabled > a,
.pager .disabled a:hover, .pager .disabled > a:hover,
.pager .disabled span { .pager .disabled > span {
color: @grayLight; color: @grayLight;
background-color: #fff; background-color: #fff;
cursor: default; cursor: default;