Commit d704d6f0 authored by Mark Otto's avatar Mark Otto

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

parent ce140662
......@@ -4111,7 +4111,8 @@ input[type="submit"].btn.btn-mini {
display: inline;
}
.pagination a {
.pagination a,
.pagination span {
float: left;
padding: 0 14px;
line-height: 34px;
......@@ -4121,11 +4122,13 @@ input[type="submit"].btn.btn-mini {
}
.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: #999999;
cursor: default;
}
......@@ -4138,14 +4141,16 @@ input[type="submit"].btn.btn-mini {
background-color: transparent;
}
.pagination li:first-child a {
.pagination li:first-child a,
.pagination li:first-child span {
border-left-width: 1px;
-webkit-border-radius: 3px 0 0 3px;
-moz-border-radius: 3px 0 0 3px;
border-radius: 3px 0 0 3px;
}
.pagination li:last-child a {
.pagination li:last-child a,
.pagination li:last-child span {
-webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0;
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment