source: documentViewer/css/docuviewer.css @ 615:d6eca930a534

Last change on this file since 615:d6eca930a534 was 615:d6eca930a534, checked in by Dirk Wintergruen <dwinter@…>, 10 years ago

hocr viewer eingebaut

File size: 9.1 KB
Line 
1/*
2 * Documentviewer style sheet.
3 *
4 * Robert Casties 2012.
5 */
6body {
7    background-color: #ebebeb;
8    margin: 5px;
9    font-family: Verdana,Arial,sans-serif;
10    font-size: 12px;
11}
12
13a:link,
14a:visited {
15    color: black;
16    font-weight: bold;
17    text-decoration: none;
18}
19a:hover {
20    text-decoration: underline;
21}
22
23/*
24 * head
25 */
26div.page-head div.logo {
27    display: table-cell;
28    vertical-align: top;
29    padding: 5px;
30}
31div.page-head div.title-block {
32    display: table-cell;
33    vertical-align: top;
34}
35div.page-head div.title {
36    max-width: 50em;
37    background-color: white;
38        font-family: Georgia,Times,serif;
39        font-size: 14px;
40        line-height: 1.3;
41        border: 1px solid silver;
42    padding: 0.5em; 
43}
44div.page-head div.title.part-of {
45    border-top: none;
46}
47
48ul.view-switcher {
49    padding-left: 0;
50    margin-top: 4px;
51}
52ul.view-switcher li {
53    list-style-type: none;
54    display: inline;
55    background-color: #d0d0d0;
56    margin-right: 0;
57    border-bottom: 1px solid silver;
58    border-left: 1px solid silver;
59    border-right: 1px solid silver;
60    border-radius: 0 0 5px 5px;
61    padding: 5px;
62}
63ul.view-switcher li.sel {
64    background-color: white;
65}
66
67/*
68 * body
69 */
70div.page-body {
71    display: table-row;
72}
73div.page-body div.col {
74    display: table-cell;
75    vertical-align: top;
76}
77
78/*
79 * TOC
80 */
81div.toc-container {
82    display:table-row;
83}
84
85div.toc-switcher-col {
86        display: table-cell;
87}
88div.toc-switcher {
89    display: block; /* moz only does relative with block */
90    position: relative;
91    width: 26.5px; /* for moz and webkit -- don't ask me */
92}
93div.toc-switcher ul {
94    position: absolute;
95    transform: rotate(270deg);
96    transform-origin: top left;
97    -moz-transform: rotate(270deg);
98    -moz-transform-origin: top left;
99    -webkit-transform: rotate(270deg);
100    -webkit-transform-origin: top left;
101    -o-transform: rotate(270deg);
102    -o-transform-origin: top left;
103        left: 7px;
104    top: 42em;
105    width: 45em;
106    padding: 0px;
107}
108
109div.toc-switcher li {
110    list-style-type: none;
111    display: inline;
112    background-color: #d0d0d0;
113    margin-bottom: 5px;
114    border-top: 1px solid silver;
115    border-left: 1px solid silver;
116    border-right: 1px solid silver;
117    border-radius: 5px 5px 0 0;
118    padding: 5px;
119}
120div.toc-switcher li.sel {
121    background-color: white;
122}
123
124div.tocbody {
125    display: table-cell;
126    border: 1px solid silver;
127    border-radius: 5px;
128    padding: 0.5em; 
129    background-color: white;   
130}
131
132div.tocbody h4 {
133        margin-top: 0;
134        margin-bottom: 0.5em;
135}
136div.tocbody div.ruler.top {
137        text-align: center;
138        padding-bottom: 0.5em;
139}
140div.tocbody div.ruler.bottom {
141        clear: both;
142        text-align: center;
143        padding-top: 0.5em;
144}
145
146div.tocbody.text, 
147div.tocbody.figures {
148    max-width: 20em;
149    background-color: white;
150}
151
152div.tocbody.text .toc.name, 
153div.tocbody.figures .toc.name,
154div.tocbody.concordance .toc.name {
155    float:left;
156    clear:right; 
157    margin-right: 1em;
158}
159div.tocbody.text .toc.page, 
160div.tocbody.figures .toc.page,
161div.tocbody.concordance .toc.page {
162    float:right;
163}
164
165div.tocbody table.thumbs td {
166    text-align: center;
167}
168div.tocbody table.thumbs .thumb {
169    padding: 3px;
170}
171div.tocbody table.thumbs .thumbsel {
172    padding: 2px;
173    border: 1px solid #892B06;
174}
175div.tocbody table.thumbs .thumbcap {
176    color: black;
177}
178div.tocbody table.thumbs a.outside {
179    font-weight: normal;
180}
181
182div.tocbody table.concordance {
183        border-collapse: collapse;
184}
185div.tocbody table.concordance td {
186    border: 1px solid silver;
187    text-align: center;
188}
189
190/*
191 * content
192 */
193div.col.main {
194    padding-left: 5px;
195    padding-right: 5px;
196}
197div.col.main div.ruler {
198    margin-top: 4px;
199}
200div.col.main span.ruler-main {
201    background-color: #d0d0d0;
202    border-left: 1px solid silver;
203    border-top: 1px solid silver;
204    border-right: 1px solid silver;
205    border-radius: 5px 5px 0 0;
206    padding: 4px;   
207}
208div.col.main div.ruler.down span.ruler-main {
209        border-radius: 0 0 5px 5px;
210}
211
212div.col.main div.content {
213        min-width: 30em;
214    background-color: white;
215        border: 1px solid silver;
216    padding: 1em;
217}
218div.col.main div.content a:link,
219div.col.main div.content a:visited {
220    font-weight: inherit;
221    color: #892B06;
222}
223span.hit.highlight {
224    background-color: lime;
225}
226
227/*
228 * buttons
229 */
230div.col.buttons div.options {
231    background-color: white;
232        border: 1px solid silver;
233    border-radius: 5px;
234    padding: 0.5em;
235    margin-bottom: 5px; 
236}
237div.col.buttons h4 {
238    margin-top: 0;
239    margin-bottom: 0.5em;
240}
241div.col.buttons ul {
242    list-style-type: none;
243    padding-left: 0;
244    margin-top: 0;
245    margin-bottom: 0.5em;
246}
247div.col.buttons ul.list {
248        list-style-type: inherit;
249        padding-left: inherit;
250}
251div.col.buttons ul.list li {
252        margin-left: 1em;
253}
254div.options.digilib li img {
255        vertical-align: middle;
256}
257
258/*
259 * text page
260 */
261div.col.main div.content.text {
262    font-family: Junicode,Gentium,Georgia,serif;
263    font-size: 14px;
264        line-height: 1.3;
265}
266div.col.main div.content.text div.emptyPage {
267    font-family: Verdana,Arial,sans-serif;
268    font-size: 12px;
269}
270div.col.main div.content.text .bf {
271    font-weight: bold;
272}
273div.col.main div.content.text .head {
274    margin-top: 0.5em;
275    margin-bottom: 0.25em;
276}
277/* page break */
278div.col.main div.content.text span.pb span.n,
279div.col.main div.content.text span.pb span.o {
280        display: none;
281}
282/* running head */
283div.col.main div.content.text span.pb span.rhead {
284    display: block;
285    text-align: center;
286    margin-bottom: 1em;
287}
288/* note */
289div.col.main div.content.text span.note span.noteBody {
290        /* noteBody as block */
291        display: block;
292        /* float: left; */
293    margin-top: 0.5em;
294    margin-bottom: 0.5em;
295    padding: 5px;
296    border: 1px dashed silver; 
297}
298div.col.main div.content.text span.note span.noteSign {
299        /* noteSign invisible */
300    display: none;
301}
302div.col.main div.content.text span.note.right span.noteBody {
303        text-align: right;
304}
305/* footnote */
306div.col.main div.content.text div.notes.foot {
307        /* footnote separator */
308        border-top: 1px solid silver;
309}
310div.col.main div.content.text div.notes.foot span.note.foot {
311        /* footnote with sign as block */
312        display: block;
313        /* float: left; */
314    margin-top: 0.5em;
315    margin-bottom: 0.5em;
316    padding: 5px;
317}
318div.col.main div.content.text div.notes.foot span.note.foot span.noteBody {
319        /* footnote body not block */
320        display: inline;
321        margin: 0;
322        border: 0;
323}
324div.col.main div.content.text span.note.foot span.noteSign {
325        /* footnote sign superscript */
326    display: inline;
327    font-size: 70%;
328        vertical-align: super;
329}
330div.col.main div.content.text div.notes.foot span.note.foot span.noteBody span.noteSign {
331        /* noteSign in noteBody invisible */
332        display: none;
333}
334/* figure */
335div.col.main div.content.text span.figure {
336    display: block;
337    width: 200px;
338    margin-top: 0.5em;
339    margin-bottom: 0.5em;
340    padding: 5px;
341    border: 1px dashed silver;
342    /* float: right; */
343    /* text-align: center; */
344}
345div.col.main div.content.text span.figure>a,
346div.col.main div.content.text span.figure span.figureNumber,
347div.col.main div.content.text span.figure span.caption,
348div.col.main div.content.text span.figure span.description {
349    display:block;
350}
351div.col.main div.content.text span.figure span.figureNum {
352    display: none;
353}
354/*
355 * search results
356 */
357div.col.results {
358    max-width: 20em;
359    padding-right: 5px;
360}
361div.col.results div.result {
362        border: 1px solid silver;
363    border-radius: 5px;
364    padding: 0.5em;
365}
366div.col.results h4 {
367    margin-top: 0;
368    margin-bottom: 0.5em;
369}
370div.col.results div.ruler {
371        text-align: center;
372        margin-bottom: 0.5em;
373}
374div.col.results div.query {
375        margin-bottom: 0.5em;
376}
377div.col.results div.content div.hit {
378    margin-bottom: 0.5em;
379}
380div.col.results div.content div.hit span.hitLink {
381    margin-right: 0.5em;
382}
383
384/*
385 * index page
386 */
387div.index-image {
388        padding-left: 1em;
389        padding-right: 1em;
390        padding-bottom: 1em;
391        padding-top: 1em;
392}
393div.index-info {
394        padding-top: 1em;       
395}
396div.index-info h2 {
397        margin-top: 0.5em;
398        margin-bottom: 0.5em;
399}
400div.index-info td {
401        vertical-align: top;
402}
403div.index-info td.type {
404        font-weight: bold;
405}
406div.index-info td.content {
407        max-width: 30em;
408}
409
410/*
411 * image page
412 */
413div.col.main div.content.image {
414        background-color: inherit;
415        padding: 0;
416}
417div.col.main div.content.image table {
418        border-collapse: collapse; /* for tight digilib */
419}
420
421/*
422 * image search
423 */
424div.col.main div.content.image.search div.annotator-hl {
425    background-color: rgba(255, 10, 10, 0.3);
426}
427div.col.main div.content.image.search div.annotator-hl:hover {
428    background-color: transparent;
429    border: 2px solid red;
430}
431
432/*
433 * xml page
434 */
435div.col.main div.content.xml {
436        font-family: Monaco,Courier,monospace;
437        font-size: 12px;
438}
439div.col.main div.content.xml ul {
440    padding-left: 1em;
441}
442div.col.main div.content.xml div.pageHeaderTitle {
443        display: none;
444}
445
446/*
447 * thumbnail overview
448 */
449div.col.main div.content-thumbs {
450        border: 1px solid silver;
451    padding: 0.5em;
452}
453div.col.main table.thumbs td {
454        text-align: center;
455}
456
457/*
458 * footer
459 */
460div.footer {
461    max-width: 68em;
462        margin-top: 1em;
463        border-top: 1px solid silver;
464        margin-left: 28px;
465        margin-right: 28px;
466        text-align: center;
467}
468div.footer div.content {
469        font-size: 10px;
470        color: gray;   
471}
472div.footer div.content a:link,
473div.footer div.content a:visited {
474        color: gray;
475}
476
477span.ocr_line {
478display:block;
479}
Note: See TracBrowser for help on using the repository browser.