source: documentViewer/css/docuviewer.css @ 536:abd36d4d97b8

Last change on this file since 536:abd36d4d97b8 was 536:abd36d4d97b8, checked in by casties, 12 years ago

new version of index page. improvements for digilib page and thumbnail overview.

File size: 4.8 KB
Line 
1
2body {
3    background-color: #ebebeb;
4    margin: 5px;
5    font-family: Verdana,Arial,sans-serif;
6    font-size: 12px;
7}
8
9a:link,
10a:visited {
11    color: black;
12    font-weight: bold;
13    text-decoration: none;
14}
15a:hover {
16    text-decoration: underline;
17}
18
19/*
20 * head
21 */
22div.page-head div.logo {
23    display: table-cell;
24    vertical-align: top;
25    padding: 5px;
26}
27div.page-head div.title-block {
28    display: table-cell;
29    vertical-align: top;
30}
31div.page-head div.title {
32    max-width: 50em;
33    background-color: white;
34        font-family: Georgia,Times,serif;
35        font-size: 14px;
36        line-height: 1.3;
37        border: 1px solid silver;
38    padding: 0.5em; 
39}
40
41ul.view-switcher {
42    padding-left: 0;
43    margin-top: 4px;
44}
45ul.view-switcher li {
46    list-style-type: none;
47    display: inline;
48    background-color: #d0d0d0;
49    margin-right: 0;
50    border-bottom: 1px solid silver;
51    border-left: 1px solid silver;
52    border-right: 1px solid silver;
53    border-radius: 0 0 5px 5px;
54    padding: 5px;
55}
56ul.view-switcher li.sel {
57    background-color: white;
58}
59
60/*
61 * body
62 */
63div.page-body {
64    display: table-row;
65}
66div.page-body div.col {
67    display: table-cell;
68    vertical-align: top;
69}
70
71/*
72 * TOC
73 */
74div.toc-container {
75    display:table-row;
76}
77
78div.toc-switcher-col {
79        display: table-cell;
80}
81div.toc-switcher {
82    display: block; /* moz only does relative with block */
83    position: relative;
84    width: 26.5px; /* for moz and webkit -- don't ask me */
85}
86div.toc-switcher ul {
87    position: absolute;
88    transform: rotate(270deg);
89    transform-origin: top left;
90    -moz-transform: rotate(270deg);
91    -moz-transform-origin: top left;
92    -webkit-transform: rotate(270deg);
93    -webkit-transform-origin: top left;
94    -o-transform: rotate(270deg);
95    -o-transform-origin: top left;
96        left: 7px;
97    top: 32em;
98    width: 40em;
99    padding: 0px;
100}
101
102div.toc-switcher li {
103    list-style-type: none;
104    display: inline;
105    background-color: #d0d0d0;
106    margin-bottom: 5px;
107    border-top: 1px solid silver;
108    border-left: 1px solid silver;
109    border-right: 1px solid silver;
110    border-radius: 5px 5px 0 0;
111    padding: 5px;
112}
113div.toc-switcher li.sel {
114    background-color: white;
115}
116
117div.tocbody {
118    display: table-cell;
119    border: 1px solid silver;
120    padding: 0.5em; 
121    background-color: white;   
122}
123
124div.tocbody.text, 
125div.tocbody.figures {
126    max-width: 20em;
127    background-color: white;
128}
129
130div.tocbody.text .toc, 
131div.tocbody.figures .toc,
132div.tocbody.concordance .toc {
133    float:left;
134    clear:right; 
135}
136div.tocbody.text .toc.float.right, 
137div.tocbody.figures .toc.float.right,
138div.tocbody.concordance .toc.float.right {
139    float:right;
140}
141
142div.tocbody table.thumbs td {
143    text-align: center;
144}
145div.tocbody table.thumbs .thumb {
146    padding: 3px;
147}
148div.tocbody table.thumbs .thumbsel {
149    padding: 2px;
150    border: 1px solid #892B06;
151}
152div.tocbody table.thumbs .thumbcap {
153    color: black;
154}
155
156/*
157 * content
158 */
159div.col.main {
160    padding-left: 5px;
161    padding-right: 5px;
162}
163div.col.main div.ruler {
164    margin-top: 4px;
165}
166div.col.main span.ruler-main {
167    background-color: #d0d0d0;
168    border-left: 1px solid silver;
169    border-top: 1px solid silver;
170    border-right: 1px solid silver;
171    border-radius: 5px 5px 0 0;
172    padding: 4px;   
173}
174div.col.main div.ruler.down span.ruler-main {
175        border-radius: 0 0 5px 5px;
176}
177
178div.col.main div.content {
179        min-width: 30em;
180    background-color: white;
181    font-family: Junicode,Gentium,Georgia,serif;
182    font-size: 14px;
183        line-height: 1.3;
184        border: 1px solid silver;
185    padding: 1em;
186}
187div.col.main div.content a:link,
188div.col.main div.content a:visited {
189    font-weight: inherit;
190    color: #892B06;
191}
192span.hit.highlight {
193    background-color: lime;
194}
195
196/*
197 * buttons
198 */
199div.col.buttons div.options {
200    background-color: white;
201        border: 1px solid silver;
202    border-radius: 5px;
203    padding: 0.5em;
204    margin-bottom: 5px; 
205}
206div.col.buttons h4 {
207    margin-top: 0;
208    margin-bottom: 0;
209}
210div.col.buttons ul {
211    list-style-type: none;
212    padding-left: 0;
213    margin-top: 0.5em;
214    margin-bottom: 0.5em;
215}
216
217/*
218 * search results
219 */
220div.col.results {
221    max-width: 20em;
222}
223
224/*
225 * index page
226 */
227div.index-image {
228        padding-left: 1em;
229        padding-right: 1em;
230        padding-bottom: 1em;
231        padding-top: 1em;
232}
233div.index-info {
234        padding-top: 1em;       
235}
236div.index-info td.type {
237        font-weight: bold;
238}
239div.index-info td.content {
240        max-width: 30em;
241}
242div.index-actions {
243        float: left;
244        border: 1px solid silver;
245    padding: 1em;
246        margin-top: 2em;
247}
248div.index-actions div.action {
249        margin-bottom: 1em;
250}
251
252/*
253 * image page
254 */
255div.col.main div.content-images {
256        border: 1px solid silver;
257}
258div.col.main div.content-images table {
259        border-collapse:collapse; /* for tight digilib */
260}
261
262/*
263 * thumbnail overview
264 */
265div.col.main div.content-thumbs {
266        border: 1px solid silver;
267    padding: 1em;
268}
269div.col.main table.thumbs td {
270        text-align: center;
271}
Note: See TracBrowser for help on using the repository browser.