Bug 10797: Move styling of simple search from element to CSS file

This patch moves the styling of the #transl1 element from an
inline style attribute to the CSS file to make it easier to
tweak.

To test:
- Switch to prog theme, problem doesn't exist in Bootstrap theme
- Take a look at the simple search input field
- Apply patch
- Refresh page
- Make sure field has the same length and size

You can also use Firebug to make sure the same styles
are applied to the element before and after the change.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Katrin Fischer 2013-12-04 15:41:39 +01:00 committed by Galen Charlton
parent 2a4e193c24
commit 7f74d5909f
2 changed files with 7 additions and 2 deletions

View File

@ -3080,3 +3080,8 @@ padding: 0.1em 0;
.copiesrow {
clear : both;
}
#transl1 {
width: 35%;
font-size: 111%;
}

View File

@ -80,9 +80,9 @@
[% END %]
[% END %]</select>
[% IF ( ms_value ) %]
<input type="text" title="Type search term" id = "transl1" name="q" value="[% ms_value |html %]" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div>
<input type="text" title="Type search term" id = "transl1" name="q" value="[% ms_value |html %]" class="left" /><div id="translControl"></div>
[% ELSE %]
<input type="text" title="Type search term" id = "transl1" name="q" class="left" style="width: 35%; font-size: 111%;"/><div id="translControl"></div>
<input type="text" title="Type search term" id = "transl1" name="q" class="left" /><div id="translControl"></div>
[% END %]
[% IF Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 %]
<select name="branch_group_limit" id="select_library" class="left">