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

Last change on this file since 22784 was 22784, checked in by sjm84, 14 years ago

Updated style files to match the new div names (gs_banner, gs_content, gs_footer)

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