2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

#3861: add span to pagination selectors for full support of non-link pagination items

This commit is contained in:
Mark Otto
2012-06-19 23:37:47 -07:00
parent ce140662a0
commit d704d6f0ed
2 changed files with 20 additions and 10 deletions
+10 -5
View File
@@ -16,7 +16,8 @@
.pagination li {
display: inline;
}
.pagination a {
.pagination a,
.pagination span {
float: left;
padding: 0 14px;
line-height: (@baseLineHeight * 2) - 2;
@@ -25,10 +26,12 @@
border-left-width: 0;
}
.pagination a:hover,
.pagination .active a {
.pagination .active a,
.pagination .active span {
background-color: #f5f5f5;
}
.pagination .active a {
.pagination .active a,
.pagination .active span {
color: @grayLight;
cursor: default;
}
@@ -39,11 +42,13 @@
background-color: transparent;
cursor: default;
}
.pagination li:first-child a {
.pagination li:first-child a,
.pagination li:first-child span {
border-left-width: 1px;
.border-radius(3px 0 0 3px);
}
.pagination li:last-child a {
.pagination li:last-child a,
.pagination li:last-child span {
.border-radius(0 3px 3px 0);
}