Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <markotto@twitter.com>2012-06-20 10:37:47 +0400
committerMark Otto <markotto@twitter.com>2012-06-20 10:37:47 +0400
commitd704d6f0ed3d87377b2c53f29c5d196f75c24e6d (patch)
tree6bb34c2d7c0f45fb9970b0c28bad539f42e3c190 /less
parentce140662a0a52d8ff2cd1acee4a57591d336249d (diff)
#3861: add span to pagination selectors for full support of non-link pagination items
Diffstat (limited to 'less')
-rw-r--r--less/pagination.less15
1 files changed, 10 insertions, 5 deletions
diff --git a/less/pagination.less b/less/pagination.less
index 38cf65cc44..d978a7b8c0 100644
--- a/less/pagination.less
+++ b/less/pagination.less
@@ -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);
}