From a98219dc34a61806f856482ec68bcf27912270b6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Nov 2011 09:00:27 -0500 Subject: [PATCH] Fix for Bug 7124 - back to search wrapping in lower resolutions Maybe not a complete fix, but hopefully an improvement. I couldn't prevent it from wrapping at smaller browser widths, but I was able to change the style so that when it does wrap it's a little more readable. Signed-off-by: Paul Poulain --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 35 ++++++++++--------- .../opac-tmpl/prog/en/modules/opac-detail.tt | 8 ++--- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 898e0aaf9d..c6a837c9a2 100755 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -2177,36 +2177,39 @@ a.koha_url { background-color:#D9D9D9; } .nav_results ul.pg_menu { - height:25px; border-top: 1px solid #D0D0D0; + white-space : nowrap; } .nav_results ul.pg_menu li { color:#B2B2B2; - display:block; - float:left; - padding:5px 0; + display:inline; list-style:none; - text-align:center; + margin: 0; } -.nav_results ul.pg_menu li.back_results { - padding:5px 0px; - width:45%; +.nav_results ul.pg_menu li.back_results a { border-left: 1px solid #D0D0D0; border-right: 1px solid #D0D0D0; } -.nav_results ul.pg_menu li a { +.nav_results ul.pg_menu li a, +.nav_results ul.pg_menu li span { + background-color: #F3F3F3; + display : block; + float:left; + padding:.4em .5em; text-decoration:none; font-weight:normal; - color:#4D4D4D; + text-align:center; } -.nav_results ul.pg_menu li a:hover { - color:#006699; + +.nav_results ul.pg_menu li span { + color : #B2B2B2; } -.nav_results ul.pg_menu li.left_results { - margin-right:10px; + +.nav_results ul.pg_menu li.left_results a { + padding-left : 0; } -.nav_results ul.pg_menu li.right_results { - margin-left:10px; + +.nav_results ul.pg_menu li a:hover { } .nav_results #listResults{ diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt index 3175d47943..d1b65705ab 100755 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt @@ -994,11 +994,11 @@ YAHOO.util.Event.onContentReady("furtherm", function () {
[% IF ( busc ) %]