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:
parent
2a4e193c24
commit
7f74d5909f
|
|
@ -3080,3 +3080,8 @@ padding: 0.1em 0;
|
|||
.copiesrow {
|
||||
clear : both;
|
||||
}
|
||||
|
||||
#transl1 {
|
||||
width: 35%;
|
||||
font-size: 111%;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in New Issue