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 <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Sean Hamlin 2014-07-25 14:51:35 +12:00 committed by Tomas Cohen Arazi
parent baee536f19
commit 25f901825c
2 changed files with 9 additions and 4 deletions

View file

@ -358,11 +358,11 @@
<p>
<input class="btn btn-success" type="submit" accesskey="s" name="do" title="Search" value="Search" />
[% IF ( expanded_options ) %]
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0">[Fewer options]</a>
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=0" class="btn btn-default more-less-options">Fewer options</a>
[% ELSE %]
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=1">[More options]</a>
<a href="/cgi-bin/koha/opac-search.pl?expanded_options=1" class="btn btn-default more-less-options">More options</a>
[% END %]
<a href="/cgi-bin/koha/opac-search.pl?do=Clear">[New search]</a>
<a href="/cgi-bin/koha/opac-search.pl?do=Clear" class="btn btn-default new-search">New search</a>
</p>
[% END %]

View file

@ -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;