Commit f1840111 authored by Nigel McNie's avatar Nigel McNie
Browse files

Overhauled pagination styling to suit the new pagination function.

parent ae3140ad
......@@ -76,7 +76,7 @@ function UserSearch() {
}
this.rewritePaging = function() {
forEach(getElementsByTagAndClassName('span', 'search-results-page', 'searchresults'), function(i) {
forEach(getElementsByTagAndClassName('span', 'pagination', 'searchresults'), function(i) {
connect(i, 'onclick', self.changePage);
});
}
......
......@@ -51,7 +51,7 @@ function UserSearch() {
};
this.rewritePaging = function() {
forEach(getElementsByTagAndClassName('span', 'search-results-page', 'searchresults'), function(i) {
forEach(getElementsByTagAndClassName('span', 'pagination', 'searchresults'), function(i) {
connect(i, 'onclick', self.changePage);
});
}
......
......@@ -809,23 +809,6 @@ p {
background: #a6aa99 url(../images/tablenavbg.gif) repeat-x;
height: 15px;
}
.maincontent thead tr td a,
.maincontent thead tr td a:link,
.maincontent thead tr td a:active,
.maincontent thead tr td a:visited,
.maincontent tfoot tr td a,
.maincontent tfoot tr td a:link,
.maincontent tfoot tr td a:active,
.maincontent tfoot tr td a:visited {
font-weight: bold;
color: #5c8727;
margin: 0 10px;
font-size: 11px;
}
.maincontent thead tr td a:hover,
.maincontent tfoot tr td a:hover {
color: #4c7c10;
}
/* Within Table Navigation Styles End */
acronym {
......@@ -1578,18 +1561,43 @@ table#initials .initial-letters {
padding-right: 2px;
}
#initials .initial-letters span.selected a,
.search-results-pages span.selected a {
#initials .initial-letters span.selected a {
color: #000 !important;
text-decoration: none;
font-weight: bold;
}
.search-results-pages span.dimmed a {
color: #999 !important;
.pagination a, .pagination .disabled {
border: 1px solid #547C22;
padding: 1px 5px;
text-decoration: none;
margin: 0 .5em;
}
.pagination a:hover {
background-color: #E7EFC5;
}
.pagination .prev {
margin-right: .5em;
font-weight: bold;
}
.pagination .next {
margin-left: .5em;
font-weight: bold;
}
.pagination .disabled {
background-color: #e0e0e0;
color: #888;
font-weight: normal;
}
.pagination .selected {
font-weight: bold;
padding: 0 3px;
}
.pagination .results {
text-align: center;
color: #888;
margin-top: .5em;
}
table.tablerenderer th.asc {
background: #e5e8da url(../images/down.png) no-repeat right;
......
......@@ -144,3 +144,13 @@ body:last-child:not(:root:root) .newblockhere {
border: 2px dashed #94BC62;
margin-top: 1em;
}
.ac-pagination {
text-align: center;
white-space: nowrap;
}
.ac-pagination a, .ac-pagination .disabled {
padding: 1px 3px;
margin: 0 1px;
}
Supports Markdown
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