From: Bill Ott Date: Wed, 18 Sep 2013 11:31:58 +0000 (-0400) Subject: De-table the advanced search to allow for mobile resizing. X-Git-Tag: sprint4-merge-nov22~2716 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=817d269e129b1e0a0d32b9cdafb5473bac97d031;p=working%2FEvergreen.git De-table the advanced search to allow for mobile resizing. A first stab at allowing the advanced search page to resize for mobile use. Much of the style included was borrowed from Jason Boyer. Critical changes occur in the adv_search_xxx type id's in the non-mobile style. to-do: See if there's any hope for the search rows. Not sure what can be done to make them fit any better. Signed-off-by: Bill Ott Signed-off-by: Ben Shum Conflicts: Open-ILS/src/templates/opac/css/style.css.tt2 Open-ILS/src/templates/opac/parts/advanced/search.tt2 Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells --- diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index b7c0fbdc5a..1caa0b9c66 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -262,7 +262,7 @@ span.dash_divider { #adv_search_tabs, #acct_tabs, #acct_fines_tabs, #acct_checked_tabs, #acct_holds_tabs, #acct_prefs_tabs, #results_header_inner{ height: 40px; - margin-left: 1em; + margin-left: 2px; } #adv_search_tabs a, #acct_tabs a, #acct_fines_tabs a, #acct_checked_tabs a, #acct_holds_tabs a, #acct_prefs_tabs a { @@ -291,6 +291,31 @@ span.dash_divider { text-decoration: none; } +#adv_search_filters { + position: relative; + width: 800px; +} + +#adv_filter_block { + padding: 15px; + float: left; +} +#adv_filter_block_item { + float: left; + padding: 5px; +} + +#adv_special_block { + float: left; + padding: 5px; +} + +#adv_search_submit { + position: relative; + margin-left: 10px; + +} + .checkbox_col { width: 1%; padding-left: 10px !important; @@ -1070,6 +1095,7 @@ div.facet_sidebar { .advanced_div { padding-top: 15px; } #adv_global_search select { width: 13em; } +#adv_global_row { nowrap: 'nowrap'; } #adv_global_input_table select { width: 7em; } .adv_adv_link { font-size: [% css_fonts.size_smaller %]; @@ -1622,7 +1648,7 @@ a.preflib_change { width:75%; } #home_adv_search_link { - display: none; + display: block; } #format_selector { display:none; @@ -1648,7 +1674,7 @@ a.preflib_change { display: none; } #search-wrapper { - display: none; + display: block; } #simple-detail-view-links { display: none; @@ -1850,4 +1876,13 @@ a.preflib_change { display: block; padding-left: 15px; } + #myopac_tabs, #adv_search_parent, #fines_payments_wrapper { + background: [% css_colors.primary_fade %]; + font-size: 10px; + } + #adv_search_filters { + position: relative; + width: 300px; + } + } diff --git a/Open-ILS/src/templates/opac/parts/advanced/search.tt2 b/Open-ILS/src/templates/opac/parts/advanced/search.tt2 index e7e6b091ed..ff8893807a 100644 --- a/Open-ILS/src/templates/opac/parts/advanced/search.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/search.tt2 @@ -3,10 +3,10 @@ PROCESS get_library; %]
- - + - - - - - - - - - - -[% l('Clear Form') %] + + + +