From 0a0f74af5942501939a376837cce31f909509c6c Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Fri, 4 Oct 2013 11:23:13 -0400 Subject: [PATCH] TPAC: Redo some margins/padding for better collapse behavior In the "results header", we have both buttons and form elements. In order to have these elements collapse in an orderly fashion, they need to be exactly the same size. To accomplish this, let's simplify and redo a few of the element margins and padding. At the very least, this will make the elements line up better vertically when viewed at the normal screen width. Signed-off-by: Dan Wells --- Open-ILS/src/templates/opac/css/style.css.tt2 | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index a7b65c3beb..60ae498a9c 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -680,8 +680,23 @@ div.format_icon { font-weight: bold; float: left; color: [% css_colors.text %]; + /* this border is not visible, but it keeps these labels the same size + as the buttons */ + border: 1px solid [% css_colors.accent_medium %]; background: [% css_colors.accent_medium %]; - margin: 0.5em 0.5em 0.5em 0em; + margin: 0.5em 0.3em; + padding: 0.3em; +} +/* we need a negative margin on the select to allow the containing