From 7114a6b284d57814a7937741d3afac97025ab917 Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Mon, 17 Oct 2011 15:00:33 -0400 Subject: [PATCH] TPac: Describe bookbags mo' semantically Rather than "big-strong", use a heading (H2, as the previously used H2 headings got bumped to H1) and wrap the description in a styled DIV rather than just dumping it after a
and wrapping it in . Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/myopac/lists.tt2 | 4 ++-- Open-ILS/web/css/skin/default/opac/style.css | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index a49b6540ce..7665f435c7 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -79,8 +79,8 @@ url = mkurl(baseurl, {}, ['id', 'edit_notes']); ltitle = l("Hide items in list"); END %] - [% bbag.name | html %] - [% IF bbag.description %]
[% bbag.description | html %][% END %] +

[% bbag.name | html %]

+ [% IF bbag.description %]
[% bbag.description | html %]
[% END %]
diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index d7481a6c96..3af0990011 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -1153,8 +1153,13 @@ a.opac-button { .bookbag-controls-holder:nth-child(odd) { background-color: #d7d7d7; } .bookbag-controls-holder:nth-child(even) { background-color: #e3e3e3; } .bookbag-controls-holder .most { padding-left: 0; width: 55%; } +h2.bookbag-name { margin-bottom: 0em; padding-bottom: 0em; } .bookbag-share .fixed { min-width: 4em; } .bookbag-specific { margin-left: 1em; } +.bookbag-description { + padding-top: 0em; + font-style: italic; +} table.bookbag-specific { border-right: 1px solid #999; border-bottom: 1px solid #666; -- 2.11.0