source: main/trunk/greenstone3/web/interfaces/oran/style/core.css@ 24018

Last change on this file since 24018 was 24018, checked in by sjm84, 13 years ago

Another big set of updates to the Oran interface

File size: 9.6 KB
Line 
1html {
2 height: 100%;
3 margin-bottom: 1px;
4}
5body {
6 font-family: sans-serif;
7 padding: 20px;
8 margin: 0;
9 color: #444;
10 background-color: #eae4d9;
11}
12
13h3 {
14 margin-top:2px;
15 margin-bottom:2px;
16}
17
18p {
19 margin-top:0px;
20 margin-bottom:0.75em;
21}
22
23.sectionHeader {
24 margin-top:0px;
25 margin-bottom:0px;
26}
27
28.headerTD {
29 vertical-align: middle;
30}
31
32/* Styles for the different depths */
33.sectionHeaderDepthTitle{
34 font-size:1.8em;
35 line-height:1em;
36 font-weight:bold;
37}
38
39.sectionHeaderDepth1{
40 font-size:1.6em;
41 line-height:1em;
42 font-weight:bold;
43}
44
45.sectionHeaderDepth2{
46 font-size:1.4em;
47 line-height:1em;
48 font-weight:bold;
49 font-style:italic;
50}
51
52.sectionHeaderDepth3{
53 font-size:1.2em;
54 line-height:1em;
55 font-style:italic;
56}
57
58.sectionHeaderDepth4{
59 font-size:1em;
60 line-height:1em;
61 font-weight:italic;
62}
63
64.sectionNumberSpan{
65 /*Comment out this line to enable automatic section numbering*/
66 display:none;
67}
68
69.sectionContainer{
70 padding-top:1em;
71 padding-bottom:1em;
72 padding-left:1.5em;
73}
74
75.classifierContainer {
76 padding-left:1.5em;
77}
78
79.icon{
80 cursor:pointer;
81 padding:2px;
82}
83
84.emptyIcon {
85 height:16px;
86 width:16px;
87}
88
89.backToTop {
90 font-size:0.7em;
91 padding-left: 2em;
92 text-align:center;
93}
94
95#prevArrowTD {
96 text-align:right;
97 width:10%;
98}
99
100#nextArrowTD {
101 text-align:left;
102 width:10%;
103}
104
105#prevTD {
106 text-align:left;
107 width:20%;
108}
109
110#nextTD {
111 text-align:right;
112 width:20%;
113}
114
115#searchResultNavTable {
116 width:100%;
117}
118
119#searchResultsStatusBar {
120 text-align:center;
121}
122
123#container {
124 position: relative;
125 margin: 0 auto 20px auto;
126 max-width: 1000px;
127 padding: 0;
128 line-height: 120%;
129 background-color: #fff;
130 border: 1px solid #c8c3b9;
131}
132
133#gs_banner {
134 /*background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;*/
135 background-color: #008800;
136 padding: 10px 20px 30px 20px;
137 min-height: 80px;
138 position: relative;
139}
140
141#gs_content {
142 padding: 1em;
143 padding-right: 2em;
144 min-height: 300px;
145 /* background-color: #ff0; */
146}
147
148.termList {
149 font-size:12px;
150 line-height:14px;
151}
152
153.noTermHighlight{
154
155}
156
157.termHighlight{
158 background:yellow;
159}
160
161.viewOptions {
162 width: 100%;
163 background:#008800;
164}
165
166.viewOptions td {
167 padding: 5px;
168}
169
170.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
171 color:white;
172 text-decoration:none;
173}
174
175#rightSidebar {
176 border: 1px solid #cdc;
177 width: 25%;
178 min-width: 180px;
179 float: right;
180 margin: 0 0 10px 20px;
181 /* background-color: #f0f; */
182}
183
184#contentsArea {
185 padding:10px;
186}
187
188#quickSearch {
189}
190
191
192#collectionLinks {
193 position: relative;
194}
195
196.collectionLink {
197 display: block;
198 float: left;
199 border: 1px solid #888;
200 margin: 0 20px 20px 0;
201 font-size: 150%;
202 color: #444;
203 text-decoration: none;
204 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
205 padding: 20px;
206}
207collectionLinkImage {
208 float: left;
209}
210
211#gs_footer {
212 position: relative;
213 display: block;
214 background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;
215 margin: 0 auto;
216 text-align: center;
217 vertical-align: middle;
218 font-size: 70%;
219 color: #fff;
220 padding-top:5px;
221 padding-bottom:5px;
222}
223
224
225
226/* some text should not be rendered as it is just there for search engines */
227#collectionLinks a b {
228 display: none;
229}
230
231/* make sure h1s and h2s are readable on the green banner */
232#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
233 color: #fff;
234}
235body.dAction #gs_banner h2 {
236 max-width: 600px;
237 font-size: 100;
238}
239
240#titlearea {
241 padding-left: 1em;
242 padding-right: 1em;
243 height:60px;
244 background-color: #007200;
245 width:40%;
246}
247
248#titlesearchcontainer {
249 width:100%;
250 margin: 5px 0 5px;
251}
252
253#quicksearcharea {
254 width:60%;
255 text-align:right;
256 padding: 0.4em;
257 color:white;
258 background-color:#007200;
259}
260
261#quicksearcharea table{
262 font-size:70%;
263 margin:0;
264 float: right;
265}
266
267#quicksearcharea a{
268 color:white;
269 text-transform:lowercase;
270 padding-left:10px;
271}
272
273#breadcrumbs {
274 /*margin: 0 0 10px 0;*/
275 height: 25px;
276 line-height: 15px;
277}
278
279/* css to make the tabs work */
280#nav {
281 position:absolute;
282 width: auto;
283 bottom: 0;
284 left: 0;
285 list-style: none;
286 margin:0;
287 padding: 0 0 0 20px;
288 font-size: 14px;
289}
290
291#nav li {
292 float: left;
293 color: #fff;
294 background: transparent url('../images/tab-right.png') scroll no-repeat 100% -100px;
295 margin: 0 5px 0 0;
296 padding: 0 8px 0 0;
297 text-transform: capitalize;
298}
299
300#nav a{
301
302 display: block;
303 float:left;
304 background: transparent url('../images/tab-left.png') no-repeat scroll 0 -100px;
305 margin:0;
306 padding: 5px 4px 3px 10px;
307 font-weight: bold;
308 color: #fff;
309 text-decoration: none;
310 line-height: 1;
311}
312
313#nav li:hover, #nav li.current { background-position: 100% 0; }
314#nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; }
315
316
317/* css to make the page links work (home, help, preference) */
318#bannerLinks {
319 width: auto;
320 position: absolute;
321 list-style: none;
322 margin:0;
323 top: 7px;
324 right: 0;
325 padding: 0 15px 0 0;
326 text-transform: lowercase;
327}
328
329#bannerLinks li {
330 float: right;
331 margin: 0;
332 background: transparent url('../images/tab-right.gif') no-repeat scroll 100% -50px;
333 padding: 0 2px 0 0;
334}
335
336#bannerLinks a {
337 display: block;
338 float: left;
339 display: table-cell;
340 min-width: 1em;
341 margin:0;
342 padding: 5px 5px 3px 10px;
343 font-weight: normal;
344 text-align: center;
345 color: #fff;
346 text-decoration: none;
347 line-height: 1;
348}
349
350#bannerLinks li.current a {
351 cursor: default;
352}
353
354#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
355
356#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
357#bannerLinks img.spacer { display: table-cell; }
358
359
360/* css to make the classifier list pretty */
361.navList {
362 margin: 0 0 10px 0;
363 padding: 0;
364 background-color: #0a0;
365}
366
367.navList ul {
368 margin: 0;
369 padding: 0;
370 list-style: none;
371}
372
373.navList td {
374 /*float: left;*/
375 padding-left: 3em;
376 padding-right: 3em;
377 text-align:center;
378 cursor: pointer;
379 color: #fff;
380}
381.navList li a, .navList li span {
382 padding: 0 1em;
383 display: block;
384 text-decoration: none;
385 color: #fff;
386}
387
388.navList td.current {
389 background-color: #efea6e;
390 color: #444;
391 cursor: default;
392}
393
394.navList li.current a, .navList li.current span {
395 color: #444;
396 cursor: default;
397}
398
399/* style the search and classifier results */
400#results {
401 line-height: 160%;
402 margin: 0;
403 padding: 0;
404 /* border: 1px solid #f00; */
405}
406
407#results ul {
408 margin: 0 0 0 20px;
409 padding: 0;
410}
411
412#results li {
413 list-style: none;
414 margin: 0 0 .2em 0;
415 /* border: 1px solid #00f; */
416}
417
418#results li a {
419 padding: 3px 3px 3px 28px;
420 background-repeat: no-repeat;
421 background-position: 0 .1em;
422}
423
424
425#results .document a { background-image: url('../images/book.png'); }
426#results .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
427#results .shelf>a { background-image: url('../images/bookshelf.png'); }
428
429/* corners of the banner */
430/*
431.corner {
432 position: absolute;
433 background-image: url('../images/layout/corners.png');
434 background-repeat: no-repeat;
435 width: 20px;
436 height: 20px;
437}
438
439#cornerTopLeft {
440 left: 0; top: 0;
441 background-position: 0 0;
442}
443#cornerTopRight {
444 right: 0; top: 0;
445 background-position: -20px 0;
446}
447#cornerBottomLeft {
448 left: 0; bottom: 0;
449 background-position: 0 -20px;
450}
451#cornerBottomRight {
452 right: 0; bottom: 0;
453 background-position: -20px -20px;
454}
455*/
456.clear {
457 clear: both;
458}
459
460
461a:link, a:hover, a:active, a:visited { color: #050; }
462
463/* bg image set in style macro */
464div.divbar {
465 clear: both;
466 background-image: url('../images/bg_green.png');
467 width: 100%;
468 text-align: center;
469 font-size:80%
470}
471
472
473/** query form style**/
474div#queryform{
475
476}
477
478/** search result style */
479div#terminfo{
480
481}
482
483div#matchdocs{
484
485}
486
487div.resultnavigation{
488 margin: 0;
489 padding:0;
490}
491
492ul#resultlist li{
493 display:block;
494}
495
496div#documentheading{
497 font-size: 16pt;
498 font-weight: bold;
499}
500
501div#documentinfo {
502 float:left;
503 padding:0;
504 margin:0;
505 width:24%;
506}
507
508div#toc{
509 float:left;
510 text-align:left;
511 width:60%;
512 padding:0;
513 margin:0;
514}
515
516ul#docbuttons li {
517 display: block;
518 font-size: 11px;
519 font-weight: bold;
520 background: #f7e7c5;
521 margin: 1px;
522 border: 1px solid #eeddbb;
523 text-align: center;
524 vertical-align: middle;
525 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
526 width: 110px;
527}
528
529
530ul#tocnodes li{
531 margin: 0;
532 padding: 5px 0 0 0;
533 display:block;
534}
535
536ul.tocnode {
537 margin:0;
538 padding:5px 0 0 20px;
539}
540
541ul.tocnode a{
542 margin: 0;
543 padding:0 5px 0 0;
544 }
545
546span.bold{
547 font-weight: bold;
548}
549
550div.documentarrows{
551 margin: 0 0 0 0;
552 padding: 1em 0 0 0;
553}
554
555img.lessarrow{
556 float:left;
557 border: none;
558}
559
560img.morearrow{
561 float:right;
562 border:none;
563}
564
565div.formheading{
566 font-size: 16pt;
567 font-weight: bold;
568 margin: .5em 0 0;
569 padding:0;
570}
571
572ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
573 display: block;
574}
575
576
577div.phrasebrowse{
578 text-align:center;
579 padding:0;
580 margin: .5em 0 .5em 0;
581}
582
583div.QuickSearch {
584 float: right;
585}
586
587#coverImage {
588 text-align: center;
589}
590
591/* ----- TABLE OF CONTENTS ------ */
592#tableOfContents {
593 margin: 0;
594 padding: 0;
595 font-size: 70%;
596}
597
598#tableOfContents li {
599 list-style: none;
600 margin: 0;
601 padding: 2px;
602 background-color: #fff;
603}
604
605#tableOfContents li a {
606 color: #444;
607}
608
609#tableOfContents li.current {
610 background-color: #090;
611}
612#tableOfContents li.current a {
613 color: #fff;
614}
615
616#tableOfContents li.current li {
617 background-color: #fff;
618}
619
620#tableOfContents li.current li a {
621 color: #444;
622}
623
624#tableOfContents ul {
625 padding: 0 0 0 0;
626}
627
628#tableOfContents ul ul{
629 padding: 0 0 0 0;
630}
631
632#tableOfContents ul ul ul{
633 padding: 0 0 0 16px;
634}
635
636/* -------- SEARCH ------- */
637.paramLabel {
638 float: left;
639 min-width: 250px;
640}
641.paramValue {
642 float: left;
643}
644
645
646table{
647 border-collapse:collapse;
648 border-spacing:0;
649}
650
Note: See TracBrowser for help on using the repository browser.