From 7f74d5909f790d08bdbd0ca11f1bc280bf197b9b Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 4 Dec 2013 15:41:39 +0100 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- koha-tmpl/opac-tmpl/prog/en/css/opac.css | 5 +++++ koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css index c2902c17c7..b7cf025170 100644 --- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css +++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css @@ -3080,3 +3080,8 @@ padding: 0.1em 0; .copiesrow { clear : both; } + +#transl1 { + width: 35%; + font-size: 111%; +} diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 79eb1a1b10..76bf5ea7ed 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -80,9 +80,9 @@ [% END %] [% END %] [% IF ( ms_value ) %] -
+
[% ELSE %] -
+
[% END %] [% IF Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 %]