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>
<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 %]
font-weight: bold;
font-size : 108%;
}
+ &.btn {
+ &:visited {
+ color : #333;
+ }
+ }
&.btn-primary {
&:visited {
color : #FFF;
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;