From: Mike Rylander Date: Fri, 29 May 2020 16:14:55 +0000 (-0400) Subject: LP#1879983: tweak public catalog CSS X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3169dd1125c855e7144b317b35ffd01f3864ea7f;p=Evergreen.git LP#1879983: tweak public catalog CSS In particular, add CSS to support table-ish display of a div-grid for form-per-row. For example:
(cell data) (cell data)
...
Sponsored-by: PaILS Signed-off-by: Mike Rylander Signed-off-by: Galen Charlton Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/templates/opac/css/style.css.tt2 b/Open-ILS/src/templates/opac/css/style.css.tt2 index 3cb686af77..3a01b6f829 100644 --- a/Open-ILS/src/templates/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates/opac/css/style.css.tt2 @@ -3464,4 +3464,30 @@ label[for*=expert_] } .course_details_div { padding-bottom: 1em; -} \ No newline at end of file +} + +/* + Fake tables for form-rows +*/ + +div.egtable { display:table; } +form.egtr, div.egtr { display:table-row; } +span.egth { display:table-cell; font-weight: bold; } +span.egtd { display:table-cell; } + +/* Example: + +
+
+ + +
+
+ (cell data) + (cell data) +
+ ... +
+ +*/ +