From: Dan Scott Date: Thu, 20 Oct 2011 03:18:28 +0000 (-0400) Subject: TPAC: Create a meaningful bookbag class X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b66817dc66ed35c64bc80a70d7c9f328be8d4d61;p=evergreen%2Fjoelewis.git TPAC: Create a meaningful bookbag class Combine two meaningless opac-auto classes into a single bookbag class. Also give a max-width to the bookbag description to prevent action buttons from sprawling off to the right side of the screen. Signed-off-by: Dan Scott --- diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index c298acb5cc..7de4253430 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -157,7 +157,7 @@ [% UNLESS bbag.items.size %] - + [% l("This list contains no items.") %] [% END %] diff --git a/Open-ILS/web/css/skin/default/opac/semiauto.css b/Open-ILS/web/css/skin/default/opac/semiauto.css index d51ef6c67e..67ea799dfa 100644 --- a/Open-ILS/web/css/skin/default/opac/semiauto.css +++ b/Open-ILS/web/css/skin/default/opac/semiauto.css @@ -9,7 +9,6 @@ .qtype_selector_margin { margin-right: 7px; } .warning_box { margin-top: 10px; } .pad-bottom-five { padding: 5px; } -.opac-auto-097 { padding: 8px 0px 6px 0px; width: 100%; border: 0; } .item_list_padding { padding: 8px 0px 6px 0px; border: 0; } .opac-auto-102 { padding-bottom: 7px; } .opac-auto-108 { padding-left: 5px; } @@ -30,7 +29,6 @@ .nowrap { white-space: nowrap; } .opac-auto-164 { white-space: nowrap; padding-left: 5px; } .full-width { width: 100%; } -.opac-auto-171 { font-size: 120%; text-align: center; font-style: italic; } #search_box { width: 162px; } .selector_actions_for_list { width: 175px; margin-right: 11px; } .selector_actions_for_list_inner_option { margin-left: 2em; } /* XXX ".opac-auto-179 optgroup option" doesn't work!? */ diff --git a/Open-ILS/web/css/skin/default/opac/style.css b/Open-ILS/web/css/skin/default/opac/style.css index b124496732..d71a036694 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -1165,6 +1165,7 @@ h2.bookbag-name { margin-bottom: 0em; padding-bottom: 0em; } .bookbag-description { padding-top: 0em; font-style: italic; + max-width: 40em; } table.bookbag-specific { border-right: 1px solid #999; @@ -1190,6 +1191,15 @@ table.bookbag-specific { .bookbag-specific td.list_actions { white-space: nowrap !important; } + +.list_is_empty { + padding: 8px 0px 6px 0px; + width: 100%; + border: 0; + font-size: 120%; + text-align: center; + font-style: italic; +} .save-notes { padding-bottom: 1.5ex; } /* Moved from semiauto.css */