From a605ba4410b5a737758227df727c43831a9cca24 Mon Sep 17 00:00:00 2001
From: Eivin Giske Skaaren <eivin@sysmystic.com>
Date: Sun, 18 Oct 2015 14:21:01 +0000
Subject: [PATCH] [PASSED QA] 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 <veron@veron.ch>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 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 d33580a..e96b742 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.9.1