From b4c23794fe1b67331094c8494dc103cf7608dabe Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Mon, 12 Dec 2011 15:12:26 -0500 Subject: [PATCH] tests, blah Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/templates/opac/parts/searchbar.tt2 | 33 +++++++++++-------- Open-ILS/web/css/skin/default/opac/style.css | 44 +++++++++++++++++++++++-- 2 files changed, 62 insertions(+), 15 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/searchbar.tt2 b/Open-ILS/src/templates/opac/parts/searchbar.tt2 index 907a0e75f8..27680df3e1 100644 --- a/Open-ILS/src/templates/opac/parts/searchbar.tt2 +++ b/Open-ILS/src/templates/opac/parts/searchbar.tt2 @@ -9,26 +9,33 @@ id="home_adv_search_link">[% l('Advanced Search') %] -
[%- l('Search '); - INCLUDE "opac/parts/coded_value_selector.tt2" - attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats'); - l(' for '); - %] - +
+
+ [%- + l('Search '); + INCLUDE "opac/parts/coded_value_selector.tt2" attr=["mattype", "item_type"] none_ok=1 none_label=l('All Formats'); + l(' for ') + %] +
+
- + x-webkit-speech />
+
test
+
+
[%- INCLUDE "opac/parts/qtype_selector.tt2"; l(' in '); PROCESS build_org_selector name='loc' value=CGI.param('loc'); %] - - - - + + + + +
+
[% IF is_advanced || is_special %]
diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index 27eb9d8b97..90a57036a3 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -216,8 +216,48 @@ span.dash_divider { background: white; } -.search_box_wrapper { - padding: 1px 1px 1px 3px; +.basic-search-row { +} + +.basic-search-formats { + float: left; + margin-top: 2px; + height: 3.5ex; + width: 22em; /* This and .basic-search-foo may not need explicit widths + like this. if the autosuggest dropdown can be made to stay directly + underneath input#search_box by some cleaner means, I'm all for it. */ +} + +.basic-search-term { + float: left; + width: 16em; + height: 3.5ex; + margin-top: 2px; +} + +.basic-search-remainder { + height: 3.5ex; + float: left; + width: 40em; + margin-left: 1em; +} + +.basic-search-autosuggest { + width: 14.5em; + float: left; + position: absolute; + z-index: 100; + background-color: #ccc; + padding: 0.5ex 0.5em; +} + +.basic-search-row div { + font-size: 12px; +} + +#search_box { + width: 15.5em; + font-size: inherit; } #search-wrapper #breadcrumb { -- 2.11.0