From: Dan Wells Date: Fri, 4 Oct 2013 15:23:13 +0000 (-0400) Subject: TPAC: Redo some margins/padding for better collapse behavior X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=00a58d70ab5f94813decf11d3443e46f27318227;p=evergreen%2Fpines.git 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 Signed-off-by: Jason Stephenson --- 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