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>
.copiesrow {
clear : both;
}
+
+#transl1 {
+ width: 35%;
+ font-size: 111%;
+}
[% 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">