From: William Rockwood Date: Wed, 28 Nov 2012 21:53:05 +0000 (-0500) Subject: Preliminary pagination reformatting X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c5aa3fb8afce5a2a68ed08623543e060d613dfde;p=evergreen%2Ftadl.git Preliminary pagination reformatting - 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 --- diff --git a/css/tadl.css b/css/tadl.css index d7a4a25c16..2ce434bc53 100644 --- a/css/tadl.css +++ b/css/tadl.css @@ -1336,7 +1336,9 @@ a.dash-link:hover { text-decoration: underline !important; } } .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; } diff --git a/templates_tadlskin/opac/parts/result/paginate.tt2 b/templates_tadlskin/opac/parts/result/paginate.tt2 index edcc817b48..cd5efd4a5f 100644 --- a/templates_tadlskin/opac/parts/result/paginate.tt2 +++ b/templates_tadlskin/opac/parts/result/paginate.tt2 @@ -32,7 +32,7 @@ IF pageitr == page; %] [% pageitr + 1%] [% ELSE %] - [% pageitr + 1%] + [% pageitr + 1%] [% END; added = added + 1; IF added == 8; LAST; END;