# HG changeset patch # User casties # Date 1343401799 -7200 # Node ID ad6f97fd394439cd17e3e3aeee17bd64bd58b5af # Parent abd36d4d97b8e49dc18773095b609205cd3b512f fixes closing tickets concerning tocs. diff -r abd36d4d97b8 -r ad6f97fd3944 css/docuviewer.css --- a/css/docuviewer.css Thu Jul 26 21:22:56 2012 +0200 +++ b/css/docuviewer.css Fri Jul 27 17:09:59 2012 +0200 @@ -117,10 +117,20 @@ div.tocbody { display: table-cell; border: 1px solid silver; + border-radius: 5px; padding: 0.5em; background-color: white; } +div.tocbody h4 { + margin-top: 0; + margin-bottom: 0.5em; +} +div.tocbody div.ruler { + text-align: center; + margin-bottom: 0.5em; +} + div.tocbody.text, div.tocbody.figures { max-width: 20em; @@ -153,6 +163,14 @@ color: black; } +div.tocbody table.concordance { + border-collapse: collapse; +} +div.tocbody table.concordance td { + border: 1px solid silver; + text-align: center; +} + /* * content */ @@ -205,12 +223,12 @@ } div.col.buttons h4 { margin-top: 0; - margin-bottom: 0; + margin-bottom: 0.5em; } div.col.buttons ul { list-style-type: none; padding-left: 0; - margin-top: 0.5em; + margin-top: 0; margin-bottom: 0.5em; } @@ -256,7 +274,7 @@ border: 1px solid silver; } div.col.main div.content-images table { - border-collapse:collapse; /* for tight digilib */ + border-collapse: collapse; /* for tight digilib */ } /* diff -r abd36d4d97b8 -r ad6f97fd3944 zpt/layer_text_dict.zpt --- a/zpt/layer_text_dict.zpt Thu Jul 26 21:22:56 2012 +0200 +++ b/zpt/layer_text_dict.zpt Fri Jul 27 17:09:59 2012 +0200 @@ -23,19 +23,20 @@ -
+ diff -r abd36d4d97b8 -r ad6f97fd3944 zpt/toc_concordance.zpt --- a/zpt/toc_concordance.zpt Thu Jul 26 21:22:56 2012 +0200 +++ b/zpt/toc_concordance.zpt Fri Jul 27 17:09:59 2012 +0200 @@ -12,11 +12,12 @@ tal:define="start pageinfo/start; tocsize docinfo/numPages; grpsize pageinfo/tocPageSize; pageNumbers docinfo/pageNumbers | nothing; batch python:here.getBatch(start=start,size=grpsize,end=tocsize,data=pageNumbers);"> +

Page concordance

- +
diff -r abd36d4d97b8 -r ad6f97fd3944 zpt/toc_figures.zpt --- a/zpt/toc_figures.zpt Thu Jul 26 21:22:56 2012 +0200 +++ b/zpt/toc_figures.zpt Fri Jul 27 17:09:59 2012 +0200 @@ -11,6 +11,7 @@
+

Table of figures

diff -r abd36d4d97b8 -r ad6f97fd3944 zpt/toc_text.zpt --- a/zpt/toc_text.zpt Thu Jul 26 21:22:56 2012 +0200 +++ b/zpt/toc_text.zpt Fri Jul 27 17:09:59 2012 +0200 @@ -5,18 +5,19 @@ -
+
-
+
+

Table of contents

- + diff -r abd36d4d97b8 -r ad6f97fd3944 zpt/toc_thumbs.zpt --- a/zpt/toc_thumbs.zpt Thu Jul 26 21:22:56 2012 +0200 +++ b/zpt/toc_thumbs.zpt Fri Jul 27 17:09:59 2012 +0200 @@ -18,10 +18,10 @@ right python:test(flowLtr,pageBatch['nextStart'],pageBatch['prevStart']);">
+

List of thumbnails

-
Scan Original
- Download as →HTML or →XML