From b6e117684b74a8c72fd9dd8b4b0468401590fbcf Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Wed, 19 Oct 2011 22:19:20 -0400 Subject: [PATCH] TPAC: Strip inline styles from bookbags page Also use a margin instead of width percentage to keep bookbag action buttons closer to the bookbag title; with a full-width layout the buttons were almost disassociated from the bookbag title. Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/myopac/lists.tt2 | 20 ++++++++++---------- Open-ILS/web/css/skin/default/opac/style.css | 15 ++++++++++++++- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index c852364b11..67ce963be3 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -141,7 +141,7 @@ - - - - - - - - [% ELSE %] -
+ + [% l('Title') %] + [% l('Author(s)') %] + [% l('Notes') %] [% IF CGI.param("edit_notes") != bbag.id %] | [% l('Edit') %] [% END %] +
+ + [% attrs.title | html %] + [% attrs.author | html %] [% IF CGI.param("edit_notes") == bbag.id %] - + [% FOR note IN item.notes %] [% END %] + [% FOR note IN item.notes %]
[% note.note | 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 586cf9cfe4..b124496732 100644 --- a/Open-ILS/web/css/skin/default/opac/style.css +++ b/Open-ILS/web/css/skin/default/opac/style.css @@ -1155,7 +1155,10 @@ a.opac-button { .bookbag-controls-holder { width: 100%; } .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%; } +.bookbag-controls-holder .most { + padding-left: 0; + margin-right: 5em; +} h2.bookbag-name { margin-bottom: 0em; padding-bottom: 0em; } .bookbag-share .fixed { min-width: 4em; } .bookbag-specific { margin-left: 1em; } @@ -1177,6 +1180,16 @@ table.bookbag-specific { padding: 5px 0px 0px 10px; } +.bookbag-specific td.list_checkbox { + padding-left: 10px !important; +} +.bookbag-specific td.list_entry { + min-width: 10em; + padding-left: 5px !important; +} +.bookbag-specific td.list_actions { + white-space: nowrap !important; +} .save-notes { padding-bottom: 1.5ex; } /* Moved from semiauto.css */ -- 2.11.0