source: documentViewer/css/docuviewer.css @ 609:7962e6891d99

Last change on this file since 609:7962e6891d99 was 609:7962e6891d99, checked in by casties, 11 years ago

works with new notes and notesHandwritten.

File size: 8.2 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        display: block;
291        /* float: left; */
292    margin-top: 0.5em;
293    margin-bottom: 0.5em;
294    padding: 5px;
295    border: 1px dashed silver; 
296}
297div.col.main div.content.text span.note span.noteSign {
298    display: none;
299    /* font-size: 70%;
300        vertical-align: super; */
301}
302/* figure */
303div.col.main div.content.text span.figure {
304    display: block;
305    width: 200px;
306    margin-top: 0.5em;
307    margin-bottom: 0.5em;
308    padding: 5px;
309    border: 1px dashed silver;
310    /* float: right; */
311    /* text-align: center; */
312}
313div.col.main div.content.text span.figure>a,
314div.col.main div.content.text span.figure span.figureNumber,
315div.col.main div.content.text span.figure span.caption,
316div.col.main div.content.text span.figure span.description {
317    display:block;
318}
319div.col.main div.content.text span.figure span.figureNum {
320    display: none;
321}
322/*
323 * search results
324 */
325div.col.results {
326    max-width: 20em;
327    padding-right: 5px;
328}
329div.col.results div.result {
330        border: 1px solid silver;
331    border-radius: 5px;
332    padding: 0.5em;
333}
334div.col.results h4 {
335    margin-top: 0;
336    margin-bottom: 0.5em;
337}
338div.col.results div.ruler {
339        text-align: center;
340        margin-bottom: 0.5em;
341}
342div.col.results div.query {
343        margin-bottom: 0.5em;
344}
345div.col.results div.content div.hit {
346    margin-bottom: 0.5em;
347}
348div.col.results div.content div.hit span.hitLink {
349    margin-right: 0.5em;
350}
351
352/*
353 * index page
354 */
355div.index-image {
356        padding-left: 1em;
357        padding-right: 1em;
358        padding-bottom: 1em;
359        padding-top: 1em;
360}
361div.index-info {
362        padding-top: 1em;       
363}
364div.index-info h2 {
365        margin-top: 0.5em;
366        margin-bottom: 0.5em;
367}
368div.index-info td {
369        vertical-align: top;
370}
371div.index-info td.type {
372        font-weight: bold;
373}
374div.index-info td.content {
375        max-width: 30em;
376}
377
378/*
379 * image page
380 */
381div.col.main div.content.image {
382        background-color: inherit;
383        padding: 0;
384}
385div.col.main div.content.image table {
386        border-collapse: collapse; /* for tight digilib */
387}
388
389/*
390 * image search
391 */
392div.col.main div.content.image.search div.annotator-hl {
393    background-color: rgba(255, 10, 10, 0.3);
394}
395div.col.main div.content.image.search div.annotator-hl:hover {
396    background-color: transparent;
397    border: 2px solid red;
398}
399
400/*
401 * xml page
402 */
403div.col.main div.content.xml {
404        font-family: Monaco,Courier,monospace;
405        font-size: 12px;
406}
407div.col.main div.content.xml ul {
408    padding-left: 1em;
409}
410div.col.main div.content.xml div.pageHeaderTitle {
411        display: none;
412}
413
414/*
415 * thumbnail overview
416 */
417div.col.main div.content-thumbs {
418        border: 1px solid silver;
419    padding: 0.5em;
420}
421div.col.main table.thumbs td {
422        text-align: center;
423}
424
425/*
426 * footer
427 */
428div.footer {
429    max-width: 68em;
430        margin-top: 1em;
431        border-top: 1px solid silver;
432        margin-left: 28px;
433        margin-right: 28px;
434        text-align: center;
435}
436div.footer div.content {
437        font-size: 10px;
438        color: gray;   
439}
440div.footer div.content a:link,
441div.footer div.content a:visited {
442        color: gray;
443}
Note: See TracBrowser for help on using the repository browser.