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:
+10
-5
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user