From ce5504d8e64433f6e948920092c5c96cf0558634 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 23 Sep 2013 15:16:16 -0400 Subject: [PATCH] Mobile TPAC: Show Advanced Search button in results header Now that the advanced search UI is reasonably mobile-friendly, make it visible. At the same time, make the wrapping behaviour more friendly by giving a little bit of vertical margin between wrapped buttons (because adding "Advanced Search" is almost guaranteed to cause wrapping). Signed-off-by: Dan Scott Signed-off-by: Lebbeous Fogle-Weekley Signed-off-by: Dan Wells --- Open-ILS/src/templates/opac/css/style.css.tt2 | 10 ++++------ Open-ILS/src/templates/opac/results.tt2 | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index e3dcad8e30..5973d5f549 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -677,7 +677,8 @@ div.format_icon { font-size: [% css_fonts.size_small %]; color: [% css_colors.text %]; background: [% css_colors.accent_medium %]; - margin-right: 6px; + margin-right: 0.5em; + margin-top: 0.5em; } .results_header_sel { @@ -1200,8 +1201,8 @@ a.dash-link:hover { text-decoration: underline !important; } .results_header_btns, .results_header_sel { float:left; - margin-right: 6px; - height: 26px; + margin-right: 0.5em; + margin-top: 0.5em; } .opac-button:disabled { @@ -1723,9 +1724,6 @@ a.preflib_change { #simple-detail-view-links { display: none; } - .results_header_btns:nth-child(2) { - display: none; - } .opac-button { padding: 5px; margin: 3px; diff --git a/Open-ILS/src/templates/opac/results.tt2 b/Open-ILS/src/templates/opac/results.tt2 index 3862355ffa..a1c087a236 100644 --- a/Open-ILS/src/templates/opac/results.tt2 +++ b/Open-ILS/src/templates/opac/results.tt2 @@ -24,11 +24,11 @@ - - + + [% IF ctx.mylist.size %]
[%- IF ctx.user; %] -- 2.11.0