- For now, this is fine. Rather than ripping out the spans and redoing
the whole paginator as an unordered list (inline) I just added a css
class to each of the numbers and did the styling there.
Specifically, .results-paginator[:hover]
Signed-off-by: William Rockwood <wrockwood@tadl.org>
}
.cn_browse_item { padding: 2ex; }
-.results-paginator-selected { color: red; }
+.results-paginator-selected { color: #004677; padding: 3px 4px 2px; font-weight: bold; border: 1px solid #dadada; background:#fff; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; }
+.results-paginator { padding: 3px 4px 2px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-decoration:none; }
+.results-paginator:hover { padding: 3px 4px 2px; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; text-decoration:none; background:#fff; }
.inactive-hold { background: #e5e5e5; }
#hold-items-list td { padding: 5px; margin-bottom: 20px; }
IF pageitr == page; %]
<span class='results-paginator-selected'>[% pageitr + 1%]</span>
[% ELSE %]
- <a href="[% mkurl('', {page => pageitr}) %]">[% pageitr + 1%]</a>
+ <a href="[% mkurl('', {page => pageitr}) %]" class="results-paginator">[% pageitr + 1%]</a>
[% END;
added = added + 1;
IF added == 8; LAST; END;