rearrange record details / related items to be one line
authorWilliam Rockwood <wrockwood@tadl.org>
Tue, 14 Aug 2012 18:35:57 +0000 (14:35 -0400)
committerWilliam Rockwood <wrockwood@tadl.org>
Tue, 14 Aug 2012 18:35:57 +0000 (14:35 -0400)
- Added divs around the record details and related items bits, gave
  them 'float-left' and 'padding-ten' classes.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
css/tadl.css
templates_tadlskin/opac/parts/record/summary.tt2

index fc487ce..0ebdaef 100644 (file)
@@ -1418,7 +1418,7 @@ a.opac-button {
 .success { color: green; font-weight: bold; }
 
 .rdetail_related_subjects {
-    margin-top: 1.5em;
+    margin-top: 1em;
 }
 
 .rdetail_related_series {
@@ -1515,6 +1515,8 @@ table.bookbag-specific {
 .alert { color: red; }
 .float-left { float: left; }
 .float-right { float: right; }
+.padding-ten { padding: 10px; }
+.padding-twenty { padding: 20px; }
 
 .saved-searches-header { width: 100%; font-weight: bold; font-size: 120%; }
 .saved-searches-header .button { float: right; width: 28px; }
index 4ef3eda..9ec931c 100644 (file)
@@ -111,6 +111,7 @@ IF num_uris > 0;
 </div>
 [%- END %]
 
+<div class="padding-ten float-left">
 <h2 id='rdetail_record_details'>[% l("Record details") %]</h2>
 <ul>
     [%- IF attrs.isbns.0; FOR isbn IN attrs.isbns %]
@@ -151,7 +152,9 @@ IF num_uris > 0;
     </li>
     [%- END %]
 </ul>
-
+</div>
+<div class="padding-ten float-left">
 [%- INCLUDE "opac/parts/record/subjects.tt2" %]
+</div>
 [%- INCLUDE "opac/parts/record/series.tt2" %]
 [%- INCLUDE "opac/parts/record/extras.tt2" %]