From 5b53b59fe47e01d3427fda89d444246a7968688e Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 11 Jun 2013 09:54:13 -0300 Subject: [PATCH] Bug 10444 - In advanced search(more), [+] and [-] should behave like links on hover MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch add href="#" to the [+] and [-] links for adding and removing search terms. It also defines its style so it doesn't show underlined. To test: - Browse your OPAC to "Advanced Search" and then "More options". - The [+] and [-] don't change the cursor on hover - Apply the patch, reload and see the cursor changes - Functionality should remain unchanged Regards To+ Sponsored-by: Universidad Nacional de Córdoba Signed-off-by: Owen Leonard Signed-off-by: Kyle M Hall Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 4 ++++ koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index 84b8489611..28c0eb97b7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -30,6 +30,10 @@ body { color : #C00; } +a.ButtonPlus, a.ButtonLess { + text-decoration : none; +} + caption { font-size : 140%; font-weight : bold; diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt index 8f763d18cf..eeed2eb894 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt @@ -125,8 +125,8 @@ [% IF ( expanded_options ) %] [% IF ( !loop.first ) %] - [+] - [-] + [+] + [-] [% END %] [% END %]

-- 2.39.5