Mercurial > hg > documentViewer
annotate css/docuviewer.css @ 536:abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
author | casties |
---|---|
date | Thu, 26 Jul 2012 21:22:56 +0200 |
parents | 510bae2b593b |
children | ad6f97fd3944 |
rev | line source |
---|---|
532 | 1 |
2 body { | |
3 background-color: #ebebeb; | |
4 margin: 5px; | |
533 | 5 font-family: Verdana,Arial,sans-serif; |
532 | 6 font-size: 12px; |
7 } | |
8 | |
9 a:link, | |
10 a:visited { | |
11 color: black; | |
12 font-weight: bold; | |
13 text-decoration: none; | |
14 } | |
15 a:hover { | |
16 text-decoration: underline; | |
17 } | |
18 | |
19 /* | |
20 * head | |
21 */ | |
22 div.page-head div.logo { | |
23 display: table-cell; | |
24 vertical-align: top; | |
25 padding: 5px; | |
26 } | |
27 div.page-head div.title-block { | |
28 display: table-cell; | |
29 vertical-align: top; | |
30 } | |
31 div.page-head div.title { | |
32 max-width: 50em; | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
33 background-color: white; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
34 font-family: Georgia,Times,serif; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
35 font-size: 14px; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
36 line-height: 1.3; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
37 border: 1px solid silver; |
532 | 38 padding: 0.5em; |
39 } | |
40 | |
41 ul.view-switcher { | |
42 padding-left: 0; | |
43 margin-top: 4px; | |
44 } | |
45 ul.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 } | |
56 ul.view-switcher li.sel { | |
57 background-color: white; | |
58 } | |
480 | 59 |
536
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
60 /* |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
61 * body |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
62 */ |
485 | 63 div.page-body { |
481 | 64 display: table-row; |
480 | 65 } |
510 | 66 div.page-body div.col { |
483 | 67 display: table-cell; |
484 | 68 vertical-align: top; |
483 | 69 } |
480 | 70 |
532 | 71 /* |
72 * TOC | |
73 */ | |
74 div.toc-container { | |
75 display:table-row; | |
481 | 76 } |
77 | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
78 div.toc-switcher-col { |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
79 display: table-cell; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
80 } |
532 | 81 div.toc-switcher { |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
82 display: block; /* moz only does relative with block */ |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
83 position: relative; |
533 | 84 width: 26.5px; /* for moz and webkit -- don't ask me */ |
532 | 85 } |
86 div.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; | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
96 left: 7px; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
97 top: 32em; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
98 width: 40em; |
532 | 99 padding: 0px; |
100 } | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
101 |
532 | 102 div.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 } | |
113 div.toc-switcher li.sel { | |
114 background-color: white; | |
511 | 115 } |
116 | |
532 | 117 div.tocbody { |
118 display: table-cell; | |
119 border: 1px solid silver; | |
120 padding: 0.5em; | |
121 background-color: white; | |
122 } | |
123 | |
124 div.tocbody.text, | |
125 div.tocbody.figures { | |
126 max-width: 20em; | |
127 background-color: white; | |
128 } | |
129 | |
130 div.tocbody.text .toc, | |
131 div.tocbody.figures .toc, | |
132 div.tocbody.concordance .toc { | |
510 | 133 float:left; |
134 clear:right; | |
135 } | |
532 | 136 div.tocbody.text .toc.float.right, |
137 div.tocbody.figures .toc.float.right, | |
138 div.tocbody.concordance .toc.float.right { | |
510 | 139 float:right; |
140 } | |
141 | |
532 | 142 div.tocbody table.thumbs td { |
143 text-align: center; | |
144 } | |
145 div.tocbody table.thumbs .thumb { | |
481 | 146 padding: 3px; |
147 } | |
532 | 148 div.tocbody table.thumbs .thumbsel { |
481 | 149 padding: 2px; |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
150 border: 1px solid #892B06; |
21 | 151 } |
532 | 152 div.tocbody table.thumbs .thumbcap { |
481 | 153 color: black; |
21 | 154 } |
511 | 155 |
532 | 156 /* |
157 * content | |
158 */ | |
159 div.col.main { | |
160 padding-left: 5px; | |
161 padding-right: 5px; | |
162 } | |
163 div.col.main div.ruler { | |
164 margin-top: 4px; | |
165 } | |
166 div.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 } | |
536
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
174 div.col.main div.ruler.down span.ruler-main { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
175 border-radius: 0 0 5px 5px; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
176 } |
532 | 177 |
178 div.col.main div.content { | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
179 min-width: 30em; |
532 | 180 background-color: white; |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
181 font-family: Junicode,Gentium,Georgia,serif; |
532 | 182 font-size: 14px; |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
183 line-height: 1.3; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
184 border: 1px solid silver; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
185 padding: 1em; |
532 | 186 } |
187 div.col.main div.content a:link, | |
188 div.col.main div.content a:visited { | |
189 font-weight: inherit; | |
190 color: #892B06; | |
191 } | |
511 | 192 span.hit.highlight { |
532 | 193 background-color: lime; |
194 } | |
195 | |
196 /* | |
197 * buttons | |
198 */ | |
199 div.col.buttons div.options { | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
200 background-color: white; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
201 border: 1px solid silver; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
202 border-radius: 5px; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
203 padding: 0.5em; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
204 margin-bottom: 5px; |
532 | 205 } |
206 div.col.buttons h4 { | |
207 margin-top: 0; | |
208 margin-bottom: 0; | |
209 } | |
210 div.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 */ | |
220 div.col.results { | |
221 max-width: 20em; | |
222 } | |
223 | |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
224 /* |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
225 * index page |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
226 */ |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
227 div.index-image { |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
228 padding-left: 1em; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
229 padding-right: 1em; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
230 padding-bottom: 1em; |
536
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
231 padding-top: 1em; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
232 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
233 div.index-info { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
234 padding-top: 1em; |
535
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
235 } |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
236 div.index-info td.type { |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
237 font-weight: bold; |
510bae2b593b
more fixes, e.g. IE support. first version of index page.
casties
parents:
533
diff
changeset
|
238 } |
536
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
239 div.index-info td.content { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
240 max-width: 30em; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
241 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
242 div.index-actions { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
243 float: left; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
244 border: 1px solid silver; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
245 padding: 1em; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
246 margin-top: 2em; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
247 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
248 div.index-actions div.action { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
249 margin-bottom: 1em; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
250 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
251 |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
252 /* |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
253 * image page |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
254 */ |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
255 div.col.main div.content-images { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
256 border: 1px solid silver; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
257 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
258 div.col.main div.content-images table { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
259 border-collapse:collapse; /* for tight digilib */ |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
260 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
261 |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
262 /* |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
263 * thumbnail overview |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
264 */ |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
265 div.col.main div.content-thumbs { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
266 border: 1px solid silver; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
267 padding: 1em; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
268 } |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
269 div.col.main table.thumbs td { |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
270 text-align: center; |
abd36d4d97b8
new version of index page. improvements for digilib page and thumbnail overview.
casties
parents:
535
diff
changeset
|
271 } |