source: documentViewer/css/docuviewer.css @ 607:cb5a9c4f5e3a

Last change on this file since 607:cb5a9c4f5e3a was 607:cb5a9c4f5e3a, checked in by casties, 11 years ago

CLOSED - # 268: display of subdocuments
https://it-dev.mpiwg-berlin.mpg.de/tracs/mpdl-project-software/ticket/268

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