source: documentViewer/css/docuviewer.css @ 537:ad6f97fd3944

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

fixes closing tickets concerning tocs.

File size: 5.1 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    border-radius: 5px;
121    padding: 0.5em; 
122    background-color: white;   
123}
124
125div.tocbody h4 {
126        margin-top: 0;
127        margin-bottom: 0.5em;
128}
129div.tocbody div.ruler {
130        text-align: center;
131        margin-bottom: 0.5em;
132}
133
134div.tocbody.text, 
135div.tocbody.figures {
136    max-width: 20em;
137    background-color: white;
138}
139
140div.tocbody.text .toc, 
141div.tocbody.figures .toc,
142div.tocbody.concordance .toc {
143    float:left;
144    clear:right; 
145}
146div.tocbody.text .toc.float.right, 
147div.tocbody.figures .toc.float.right,
148div.tocbody.concordance .toc.float.right {
149    float:right;
150}
151
152div.tocbody table.thumbs td {
153    text-align: center;
154}
155div.tocbody table.thumbs .thumb {
156    padding: 3px;
157}
158div.tocbody table.thumbs .thumbsel {
159    padding: 2px;
160    border: 1px solid #892B06;
161}
162div.tocbody table.thumbs .thumbcap {
163    color: black;
164}
165
166div.tocbody table.concordance {
167        border-collapse: collapse;
168}
169div.tocbody table.concordance td {
170    border: 1px solid silver;
171    text-align: center;
172}
173
174/*
175 * content
176 */
177div.col.main {
178    padding-left: 5px;
179    padding-right: 5px;
180}
181div.col.main div.ruler {
182    margin-top: 4px;
183}
184div.col.main span.ruler-main {
185    background-color: #d0d0d0;
186    border-left: 1px solid silver;
187    border-top: 1px solid silver;
188    border-right: 1px solid silver;
189    border-radius: 5px 5px 0 0;
190    padding: 4px;   
191}
192div.col.main div.ruler.down span.ruler-main {
193        border-radius: 0 0 5px 5px;
194}
195
196div.col.main div.content {
197        min-width: 30em;
198    background-color: white;
199    font-family: Junicode,Gentium,Georgia,serif;
200    font-size: 14px;
201        line-height: 1.3;
202        border: 1px solid silver;
203    padding: 1em;
204}
205div.col.main div.content a:link,
206div.col.main div.content a:visited {
207    font-weight: inherit;
208    color: #892B06;
209}
210span.hit.highlight {
211    background-color: lime;
212}
213
214/*
215 * buttons
216 */
217div.col.buttons div.options {
218    background-color: white;
219        border: 1px solid silver;
220    border-radius: 5px;
221    padding: 0.5em;
222    margin-bottom: 5px; 
223}
224div.col.buttons h4 {
225    margin-top: 0;
226    margin-bottom: 0.5em;
227}
228div.col.buttons ul {
229    list-style-type: none;
230    padding-left: 0;
231    margin-top: 0;
232    margin-bottom: 0.5em;
233}
234
235/*
236 * search results
237 */
238div.col.results {
239    max-width: 20em;
240}
241
242/*
243 * index page
244 */
245div.index-image {
246        padding-left: 1em;
247        padding-right: 1em;
248        padding-bottom: 1em;
249        padding-top: 1em;
250}
251div.index-info {
252        padding-top: 1em;       
253}
254div.index-info td.type {
255        font-weight: bold;
256}
257div.index-info td.content {
258        max-width: 30em;
259}
260div.index-actions {
261        float: left;
262        border: 1px solid silver;
263    padding: 1em;
264        margin-top: 2em;
265}
266div.index-actions div.action {
267        margin-bottom: 1em;
268}
269
270/*
271 * image page
272 */
273div.col.main div.content-images {
274        border: 1px solid silver;
275}
276div.col.main div.content-images table {
277        border-collapse: collapse; /* for tight digilib */
278}
279
280/*
281 * thumbnail overview
282 */
283div.col.main div.content-thumbs {
284        border: 1px solid silver;
285    padding: 1em;
286}
287div.col.main table.thumbs td {
288        text-align: center;
289}
Note: See TracBrowser for help on using the repository browser.