From 25f901825c34a187b9bd22cf2990b3770e03684f Mon Sep 17 00:00:00 2001 From: Sean Hamlin Date: Fri, 25 Jul 2014 14:51:35 +1200 Subject: [PATCH] Bug 12576: Make the more/fewer options and "new search" links on the advanced search page look better. How to test: 1/ Visit /cgi-bin/koha/opac-search.pl 2/ Assert the "More/Fewer options" buttons look like bootstrap default buttons 3/ Assert the "New search" button looks like a bootstrap default button 4/ Assert the visited colour of the buttons remains #333 (light grey) 5/ Assert the buttons still function as expected Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt | 6 +++--- koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt index d9b2d4b208..c2655783f0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt @@ -358,11 +358,11 @@

[% IF ( expanded_options ) %] - [Fewer options] + Fewer options [% ELSE %] - [More options] + More options [% END %] - [New search] + New search

[% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less index bccfcb058c..e23ae4dacf 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less +++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less @@ -57,6 +57,11 @@ a { font-weight: bold; font-size : 108%; } + &.btn { + &:visited { + color : #333; + } + } &.btn-primary { &:visited { color : #FFF; @@ -360,7 +365,7 @@ td { background: linear-gradient(to bottom, #c7c7c1 38%,#a7a7a2 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c7c7c1', endColorstr='#a7a7a2',GradientType=0 ); - /* IE6-9 */; + /* IE6-9 */ label { font-size: 115%; font-weight: bold; -- 2.39.5