# HG changeset patch # User casties # Date 1345136989 -7200 # Node ID 4b43a57ad9b3155e9a4df51c32add55bedfed487 # Parent 37d122560028dc5429940a156acfc81fa624b556 more nicer diff -r 37d122560028 -r 4b43a57ad9b3 css/docuviewer.css --- a/css/docuviewer.css Wed Aug 15 16:59:45 2012 +0200 +++ b/css/docuviewer.css Thu Aug 16 19:09:49 2012 +0200 @@ -126,9 +126,14 @@ margin-top: 0; margin-bottom: 0.5em; } -div.tocbody div.ruler { +div.tocbody div.ruler.top { text-align: center; - margin-bottom: 0.5em; + padding-bottom: 0.5em; +} +div.tocbody div.ruler.bottom { + clear: both; + text-align: center; + padding-top: 0.5em; } div.tocbody.text, @@ -196,9 +201,6 @@ div.col.main div.content { min-width: 30em; background-color: white; - font-family: Junicode,Gentium,Georgia,serif; - font-size: 14px; - line-height: 1.3; border: 1px solid silver; padding: 1em; } @@ -231,16 +233,41 @@ margin-top: 0; margin-bottom: 0.5em; } - div.options.digilib li img { vertical-align: middle; } /* + * text page + */ +div.col.main div.content.text { + font-family: Junicode,Gentium,Georgia,serif; + font-size: 14px; + line-height: 1.3; +} + +/* * search results */ div.col.results { max-width: 20em; + padding-right: 5px; +} +div.col.results div.result { + border: 1px solid silver; + border-radius: 5px; + padding: 0.5em; +} +div.col.results h4 { + margin-top: 0; + margin-bottom: 0.5em; +} +div.col.results div.ruler { + text-align: center; + margin-bottom: 0.5em; +} +div.col.results div.query { + margin-bottom: 0.5em; } /* @@ -259,6 +286,9 @@ margin-top: 0.5em; margin-bottom: 0.5em; } +div.index-info td { + vertical-align: top; +} div.index-info td.type { font-weight: bold; } @@ -278,19 +308,33 @@ /* * image page */ -div.col.main div.content-images { - border: 1px solid silver; +div.col.main div.content.images { + background-color: inherit; + padding: 0; } -div.col.main div.content-images table { +div.col.main div.content.images table { border-collapse: collapse; /* for tight digilib */ } /* + * xml page + */ +div.col.main div.content.xml { + font-family: Monaco,Courier,monospace; + font-size: 12px; +} +div.col.main div.content.xml div.pageHeaderTitle { + display: none; +} + + + +/* * thumbnail overview */ div.col.main div.content-thumbs { border: 1px solid silver; - padding: 1em; + padding: 0.5em; } div.col.main table.thumbs td { text-align: center; diff -r 37d122560028 -r 4b43a57ad9b3 zpt/layer_text_search.zpt --- a/zpt/layer_text_search.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/layer_text_search.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -16,7 +16,7 @@ @@ -24,8 +24,7 @@
- -
+

Search results

+
+ Searching "" () +
@@ -41,7 +43,7 @@ - +

Search

@@ -54,7 +56,7 @@
Clear + tal:condition="query" tal:attributes="href python:here.getLink('query',None)">Clear
  • Exact
  • @@ -67,7 +69,7 @@
- +
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/toc_concordance.zpt --- a/zpt/toc_concordance.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/toc_concordance.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -13,7 +13,7 @@ pageNumbers docinfo/pageNumbers | nothing; batch python:here.getBatch(start=start,size=grpsize,end=tocsize,data=pageNumbers);">

Page concordance

-
+
@@ -35,7 +35,7 @@
-
+
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/toc_figures.zpt --- a/zpt/toc_figures.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/toc_figures.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -12,12 +12,12 @@ tal:define="start pageinfo/start; tocsize docinfo/numFigureEntries; grpsize pageinfo/tocPageSize; batch python:here.getBatch(start=start,size=grpsize,end=tocsize);">

Table of figures

-
+
-
+
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/toc_text.zpt --- a/zpt/toc_text.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/toc_text.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -12,11 +12,11 @@

Table of contents

-
+
-
+
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/toc_thumbs.zpt --- a/zpt/toc_thumbs.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/toc_thumbs.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -19,7 +19,7 @@

List of thumbnails

-
+
@@ -34,7 +34,7 @@
-
+
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/viewer_images.zpt --- a/zpt/viewer_images.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/viewer_images.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -58,10 +58,10 @@
-
+
-
+
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/viewer_index.zpt --- a/zpt/viewer_index.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/viewer_index.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -22,7 +22,7 @@
- @@ -67,33 +67,41 @@ -

Permanent URL

- - - - - - - - -
Document ID: -
Permanent URL:
+

Permanent URL

+ + + + + + + + +
Document ID: +
Permanent URL:
-

Copyright information

- - - - - -
- - -
+

Copyright information

+ + + + + +
+ + + + + + + + + +
Copyright:Max Planck Institute for the + History of Science (unless otherwise stated)
License:CC-BY-SA
@@ -106,14 +114,21 @@ tal:attributes="href python:'http://mpdl-system.mpiwg-berlin.mpg.de/mpdl/getDoc?doc=%s'%(docpath.replace('.xml','.html'))" target="_blank">→HTML or →XML + (copyright and license see above)
-
+ + tal:attributes="name param; value python:params[param]" /> + + Clear
Exact All forms Fulltext index + + Morphological index
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/viewer_text.zpt --- a/zpt/viewer_text.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/viewer_text.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -51,10 +51,10 @@
-
+
-
+
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/viewer_thumbs.zpt --- a/zpt/viewer_thumbs.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/viewer_thumbs.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -58,10 +58,9 @@
-
+
-
diff -r 37d122560028 -r 4b43a57ad9b3 zpt/viewer_xml.zpt --- a/zpt/viewer_xml.zpt Wed Aug 15 16:59:45 2012 +0200 +++ b/zpt/viewer_xml.zpt Thu Aug 16 19:09:49 2012 +0200 @@ -42,10 +42,10 @@
-
+
-
+