From 6531adc2291d9788e8b135db24e4fae0e065040a Mon Sep 17 00:00:00 2001 From: Eivin Giske Skaaren Date: Sun, 18 Oct 2015 14:21:01 +0000 Subject: [PATCH] Bug 14190: Scale search boxes in staff head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In this simple patch the width gets controlled by CSS and it becomes easy to set it in just one place. The exact width may need to be discussed but I thought 30em made it look ok on my screen. With this patch we get the wider search boxes with a very small change and another bug may be created if needed to do a bigger refactor and remove stuff not needed in the html and perhaps do this in a modern/responsive way. (Preferrably a UX/GUI developer will do this) To test: Apply the patch and reload the staff client. Now the search box is a bit wider and the border etc has changed with it. Some places with more than one search box like "Serials" will not be affected. Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 23066ea..c78a130 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -382,6 +382,10 @@ div#header_search div.residentsearch { padding : 0 0 .2em 0; } +.head-searchbox { + width: 30em; +} + div#reserves,div#checkouts { border : 1px solid #B9D8D9; padding : 1em; -- 1.7.10.4