From 8d16f647f90572039236c8da428cb1cf25b96a1e Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Fri, 6 Feb 2009 18:22:37 -0500 Subject: Clean up some markup and styles in page navigation. Signed-off-by: Loui Chang --- web/html/css/arch.css | 13 ++++++++++++- web/template/pkg_search_results.php | 15 +++++++-------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/web/html/css/arch.css b/web/html/css/arch.css index 80bbc92..4c128fa 100644 --- a/web/html/css/arch.css +++ b/web/html/css/arch.css @@ -457,4 +457,15 @@ textarea.vLargeTextField { padding: 2px; color: #0771a6; } -#pages #page_sel { color: #555; } + +#pages .page_num:hover { + border: 1px solid #8faecd; + color: #333; +} + +#pages #page_sel { + border: 1px solid #8faecd; + padding: 2px; + color: #333; + font-weight: bold; +} diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index 736823a..1ea5928 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -117,7 +117,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
-
+
0): $O = $_GET['O'] - $_GET['PP']; @@ -126,7 +126,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { $O = 0; } ?> - "> + "> $currentpage) : ?> - - '.$i.' '; + + $i"; endif; } - print ($pages > $morepages) ? '...' : ''; - - ?> + print ($pages > $morepages) ? '...' : ''; + ?> 0): ?> - '> + '>
-- cgit v1.2.3-70-g09d2