source: main/trunk/greenstone3/web/interfaces/default/style/core.css@ 26029

Last change on this file since 26029 was 26029, checked in by sjm84, 12 years ago

Some more fixes to the interface so that pages without browsing tabs still have readable titles

File size: 12.0 KB
Line 
1html {
2 height: 100%;
3 margin-bottom: 1px;
4}
5body {
6 font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
7 margin: 0;
8 background-color: #eae4d9;
9}
10
11h3 {
12 margin-top:2px;
13 margin-bottom:2px;
14}
15
16p {
17 margin-top:0px;
18 margin-bottom:0.75em;
19}
20
21.sectionHeader {
22 margin-top:0px;
23 margin-bottom:0px;
24}
25
26.headerTD {
27 vertical-align: middle;
28}
29
30/* Styles for the different depths */
31.sectionHeaderDepthTitle{
32 font-size:1.4em;
33 line-height:1em;
34 font-weight:bold;
35}
36
37.sectionHeaderDepth1{
38 font-size:1.3em;
39 line-height:1em;
40 font-weight:bold;
41}
42
43.sectionHeaderDepth2{
44 font-size:1.2em;
45 line-height:1em;
46 font-weight:bold;
47 font-style:italic;
48}
49
50.sectionHeaderDepth3{
51 font-size:1.1em;
52 line-height:1em;
53 font-style:italic;
54}
55
56.sectionHeaderDepth4{
57 font-size:1em;
58 line-height:1em;
59 font-weight:italic;
60}
61
62.sectionNumberSpan{
63 /*Comment out this line to enable automatic section numbering*/
64 display:none;
65}
66
67.sectionContainer{
68 padding-top:0.5em;
69 padding-bottom:1em;
70 padding-left:1.5em;
71}
72
73.classifierContainer {
74 padding-left:1.5em;
75}
76
77.horizontalClassifierNode {
78 padding:0px 0px 10px 10px;
79}
80
81.icon{
82 cursor:pointer;
83 padding:2px;
84 border:0px;
85}
86
87.emptyIcon {
88 height:16px;
89 width:16px;
90}
91
92.backToTop {
93 font-size:0.7em;
94 padding-left: 2em;
95 text-align:center;
96}
97
98.hidden{
99 display:none;
100}
101
102#prevArrowTD {
103 text-align:right;
104 width:10%;
105}
106
107#nextArrowTD {
108 text-align:left;
109 width:10%;
110}
111
112#prevTD {
113 text-align:left;
114 width:20%;
115}
116
117#nextTD {
118 text-align:right;
119 width:20%;
120}
121
122#searchResultNavTable {
123 width:100%;
124}
125
126#searchResultsStatusBar {
127 text-align:center;
128}
129
130#container { position: relative;
131 margin: 0 auto 20px auto;
132 max-width: 1000px;
133 padding: 0;
134 line-height: 120%;
135 background-color: #fff;
136 border-top-width: 0px;
137}
138
139#topArea {
140 border-bottom: 0px;
141 max-width: 998px;
142 margin: 20px auto 0;
143}
144
145#topArea table {
146 width: 100%;
147}
148
149#topArea td {
150 width: 50%;
151}
152
153#gs_banner {
154 padding:0px;
155 position: relative;
156 border: 0px;
157}
158
159#gs_content {
160 margin-top:-10px;
161 padding: 20px 20px 10px;
162 min-height: 300px;
163}
164
165#gs_footer {
166 position: relative;
167 display: block;
168 margin: -1px auto;
169 text-align: center;
170 vertical-align: middle;
171 font-size: 70%;
172 padding-top:5px;
173 padding-bottom:5px;
174}
175
176#gs_footer a {
177 /*color:#FFF;*/
178}
179
180.termList {
181 font-size:12px;
182 line-height:14px;
183}
184
185.noTermHighlight{
186
187}
188
189.termHighlight{
190 background:yellow;
191}
192
193#viewAndZoomOptions {
194 margin-bottom:10px;
195 border:0px;
196}
197
198#viewOptions {
199 margin: 0px;
200 padding: 0px;
201}
202
203#viewOptions li {
204 list-style:none;
205 padding: 5px;
206}
207
208#zoomOptions {
209 margin: 0px;
210 padding: 0px;
211 width: 100%;
212}
213
214#zoomOptions li {
215 margin:5px;
216 list-style:none;
217 display: inline-block;
218}
219
220.tableOfContentsTitle{
221 font-weight:bold;
222 text-align:left;
223}
224
225.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
226 text-decoration:none;
227}
228
229#rightSidebar {
230 width: 30%;
231 min-width:180px;
232 float:right;
233 margin: 0 0 10px 20px;
234}
235
236#contentsArea {
237 padding:0px 10px;
238}
239
240#collectionLinks {
241 position: relative;
242}
243
244#collectionLinks a div{
245 display: block;
246 float: left;
247 border: 1px solid #888;
248 margin: 0 20px 20px 0;
249 font-size: 150%;
250 color: #444;
251 text-decoration: none;
252 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
253 padding: 20px;
254 min-width: 200px;
255}
256
257#collectionLinks a img{
258 display: block;
259 float: left;
260 border: 1px solid #888;
261 margin: 0 20px 20px 0;
262 font-size: 150%;
263 color: #444;
264 text-decoration: none;
265 height:60px;
266}
267
268/*
269.collectionLink {
270 display: block;
271 float: left;
272 border: 1px solid #888;
273 margin: 0 20px 20px 0;
274 font-size: 150%;
275 color: #444;
276 text-decoration: none;
277 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
278 padding: 20px;
279}
280*/
281
282/* some text should not be rendered as it is just there for search engines */
283#collectionLinks a b {
284 display: none;
285}
286
287/* make sure h1s and h2s are readable on the green banner */
288#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
289 /*color: #fff;*/
290}
291body.dAction #gs_banner h2 {
292 max-width: 600px;
293 font-size: 100;
294}
295
296#titlesearchcontainer {
297 padding-top: 20px;
298 width: 100%;
299}
300
301#titlesearchcontainer, #titlesearchcontainer form, #titlesearchcontainer h2{
302 margin-top: 0px;
303 margin-bottom: 0px;
304}
305
306#titlearea {
307 float: left;
308 padding-left: 20px;
309}
310
311#titlearea h2{
312 padding-left: 0px;
313 padding-bottom: 20px;
314}
315
316#quicksearcharea {
317 float: right;
318 text-align: right;
319 padding-right: 20px;
320}
321
322#quicksearcharea ul{
323 margin:0;
324}
325
326#quicksearcharea li{
327 display:inline;
328 list-style:none;
329 margin-left:5px;
330 padding: 2px 3px 2px 5px;
331 font-size: 10px;
332}
333
334#quicksearcharea a{
335 text-transform:lowercase;
336}
337
338#breadcrumbs {
339 margin-left: 20px;
340}
341
342#breadcrumbs a{
343 text-decoration:underline;
344}
345
346
347/* css to make the page links work (home, help, preference) */
348#bannerLinks {
349 text-align: right;
350 list-style: none;
351 margin: 0 20px;
352 font-size: 90%;
353}
354
355#bannerLinks li {
356 /*display: inline;*/
357 float:right;
358 margin-left: 5px;
359 padding: 1px 4px 1px 0px;
360}
361
362#bannerLinks ul {
363 padding: 0px 3px 0px 0px;
364 text-align: right;
365 list-style: none;
366}
367
368#bannerLinks li.current a {
369 cursor: default;
370}
371
372#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
373
374#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
375#bannerLinks img.spacer { display: table-cell; }
376
377
378/* css to make the classifier list pretty */
379.navList {
380 margin: 0 0 10px 0;
381 padding: 0;
382 background-color: #0a0;
383}
384
385.navList ul {
386 margin: 0;
387 padding: 0;
388 list-style: none;
389}
390
391.navList td {
392 /*float: left;*/
393 padding-left: 3em;
394 padding-right: 3em;
395 text-align:center;
396 cursor: pointer;
397 color: #fff;
398}
399.navList li a, .navList li span {
400 padding: 0 1em;
401 display: block;
402 text-decoration: none;
403 color: #fff;
404}
405
406.navList td.current {
407 background-color: #efea6e;
408 color: #444;
409 cursor: default;
410}
411
412.navList li.current a, .navList li.current span {
413 color: #444;
414 cursor: default;
415}
416
417/* css to make the tabs work */
418#gs-nav {
419 list-style: none outside none;
420 padding: 0px;
421 margin: 9px 0 0 20px;
422 font-size: 14px;
423}
424
425#gs-nav ul {
426 margin:0px;
427 padding:0px;
428}
429
430#gs-nav li {
431 display: inline;
432 margin-right: 5px;
433 padding: 3px 5px 0px 7px;
434 text-transform: capitalize;
435 text-align: center;
436 border-bottom: 0px;
437}
438
439#gs-nav a{
440 margin:0px;
441 font-weight: bold;
442 text-decoration: none;
443}
444
445#gs-nav li:hover, #gs-nav li.current { background-position: 100% 0; }
446#gs-nav li:hover a, #gs-nav li.current a { background-position: 0 0; cursor:default; }
447
448/* style the search and classifier results */
449#resultsTable {
450 line-height: 160%;
451 margin: 0;
452 padding: 0;
453 /* border: 1px solid #f00; */
454}
455
456#resultsTable ul {
457 margin: 0 0 0 20px;
458 padding: 0;
459}
460
461#resultsTable li {
462 list-style: none;
463 margin: 0 0 .2em 0;
464 /* border: 1px solid #00f; */
465}
466
467#resultsTable li a {
468 padding: 3px 3px 3px 3px;
469 background-repeat: no-repeat;
470 background-position: 0 .1em;
471}
472
473
474#resultsTable .document a { /*background-image: url('../images/book.png'); */}
475#resultsTable .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
476#resultsTable .shelf>a { background-image: url('../images/bookshelf.png'); }
477
478/* corners of the banner */
479/*
480.corner {
481 position: absolute;
482 background-image: url('../images/layout/corners.png');
483 background-repeat: no-repeat;
484 width: 20px;
485 height: 20px;
486}
487
488#cornerTopLeft {
489 left: 0; top: 0;
490 background-position: 0 0;
491}
492#cornerTopRight {
493 right: 0; top: 0;
494 background-position: -20px 0;
495}
496#cornerBottomLeft {
497 left: 0; bottom: 0;
498 background-position: 0 -20px;
499}
500#cornerBottomRight {
501 right: 0; bottom: 0;
502 background-position: -20px -20px;
503}
504*/
505.clear {
506 clear: both;
507}
508
509
510/*a:link, a:hover, a:active, a:visited { color: #050; }*/
511
512/* bg image set in style macro */
513div.divbar {
514 clear: both;
515 background-image: url('../images/bg_green.png');
516 width: 100%;
517 text-align: center;
518 font-size:80%
519}
520
521
522/** query form style**/
523div#queryform{
524
525}
526
527/** search result style */
528div#terminfo{
529
530}
531
532div#matchdocs{
533
534}
535
536div.resultnavigation{
537 margin: 0;
538 padding:0;
539}
540
541ul#resultlist li{
542 display:block;
543}
544
545div#documentheading{
546 font-size: 16pt;
547 font-weight: bold;
548}
549
550div#documentinfo {
551 float:left;
552 padding:0;
553 margin:0;
554 width:24%;
555}
556
557div#toc{
558 float:left;
559 text-align:left;
560 width:60%;
561 padding:0;
562 margin:0;
563}
564
565ul#docbuttons li {
566 display: block;
567 font-size: 11px;
568 font-weight: bold;
569 background: #f7e7c5;
570 margin: 1px;
571 border: 1px solid #eeddbb;
572 text-align: center;
573 vertical-align: middle;
574 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
575 width: 110px;
576}
577
578
579ul#tocnodes li{
580 margin: 0;
581 padding: 5px 0 0 0;
582 display:block;
583}
584
585ul.tocnode {
586 margin:0;
587 padding:5px 0 0 20px;
588}
589
590ul.tocnode a{
591 margin: 0;
592 padding:0 5px 0 0;
593 }
594
595span.bold{
596 font-weight: bold;
597}
598
599div.documentarrows{
600 margin: 0 0 0 0;
601 padding: 1em 0 0 0;
602}
603
604img.lessarrow{
605 float:left;
606 border: none;
607}
608
609img.morearrow{
610 float:right;
611 border:none;
612}
613
614div.formheading{
615 font-size: 16pt;
616 font-weight: bold;
617 margin: .5em 0 0;
618 padding:0;
619}
620
621ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
622 display: block;
623}
624
625
626div.phrasebrowse{
627 text-align:center;
628 padding:0;
629 margin: .5em 0 .5em 0;
630}
631
632div.QuickSearch {
633 float: right;
634}
635
636#coverImage {
637 text-align: center;
638 margin: 20px;
639}
640
641/* ----- TABLE OF CONTENTS ------ */
642.tocTable {
643 width: 100%;
644 background: white !important;
645}
646
647.tableOfContentsContainer {
648 padding:1px;
649}
650
651#tableOfContents {
652 margin: 0;
653 padding: 0;
654 font-size: 70%;
655}
656
657#tableOfContents li {
658 list-style: none;
659 margin: 0;
660 padding: 2px;
661}
662
663#tableOfContents a {text-decoration: underline; color: #444 !important;}
664#tableOfContents a:visited{text-decoration: underline; color: #444 !important;}
665#tableOfContents a:link{text-decoration: underline; color: #444 !important;}
666
667#tableOfContents li.current {
668 background-color: #090;
669}
670#tableOfContents li.current a {
671 color: #fff;
672}
673
674#tableOfContents li.current li {
675 background-color: #fff;
676}
677
678#tableOfContents li.current li a {
679 color: #444;
680}
681
682#tableOfContents ul {
683 padding: 0 0 0 0;
684}
685
686#tableOfContents ul ul{
687 padding: 0 0 0 0;
688}
689
690#tableOfContents ul ul ul{
691 padding: 0 0 0 16px;
692}
693
694/* -------- SEARCH ------- */
695.paramLabel {
696 margin: 2px;
697 float: left;
698 min-width: 250px;
699}
700.paramValue {
701 margin: 2px;
702 float: left;
703}
704
705
706table{
707 border-collapse:collapse;
708 border-spacing:0;
709}
710
711/* ------- BROWSE -------*/
712
713.childrenlist {
714 margin:0 0 0 10px;
715
716}
717.childrenlist td {
718 padding:3px 0px 0px 10px;
719}
720
721/* ------- PAGED IMAGE ------- */
722
723.pageSlider {
724 width: 250px;
725 overflow: auto;
726 margin-left: auto;
727 margin-right: auto;
728 padding: 2px;
729}
730
731.pageSliderSpacer {
732 width:2px;
733}
734
735.pageSliderCol {
736 width:75px;
737 height:100px;
738 padding: 2px;
739 text-align: center;
740 vertical-align: bottom;
741}
742
743/* ------- SPATIAL COLLECTIONS ------- */
744
745#nearbyDocs td, #nearbyDocs th {
746 padding: 5px;
747 border: 1px solid black;
748}
749
750#nearbyDocs th {
751 font-weight: bold;
752}
753
754#auth_navbar {
755 width: 90%;
756 margin: 10px auto;
757}
758
759#auth_navbar span{
760 padding:3px;
761}
762
763#userListTable {
764 text-align: center;
765 width: 90%;
766 margin: auto;
767}
768
769#userListTable td{
770 border: black 1px solid;
771 padding: 5px;
772}
773
774#gs_error{
775 padding: 5px;
776 margin: auto;
777 width: 50%;
778 text-align: center;
779}
780
781#loginTable{
782 margin: auto;
783 width: 25%;
784}
785
786.map_canvas_full{
787 margin:0px auto;
788 width:900px;
789 height:500px;
790}
791
792.map_canvas_half{
793 float: right;
794 width:450px;
795 height:500px;
796}
797
798dl dt { font-weight:bold;
799 padding-top:10px; }
800dl dd { padding-bottom:10px}
801
802#facetSelector{
803 padding: 0px;
804 width:30%;
805 float:right;
806}
807
808.facetTable{
809 list-style:none;
810 margin: 0px 0px 20px;
811 padding: 0px;
812 overflow:auto;
813}
814
815.facetTable li{
816 margin-bottom:5px;
817}
818
819.checkboxList{
820 list-style:none;
821 padding-left:0px;
822}
823
824.facetedResults{
825 float:left;
826 width:65%;
827}
828
829/*
830ul.childrenlist li {
831list-style-type:none;
832}
833ul#classifierlist,ul#classifiernodelist {
834 list-style-type:none;
835 margin:0;
836 padding:0
837}
838ul#classifierlist li{
839list-style:none;
840margin:0 0 5px 0;
841padding:0;display:block;
842}
843ul#classifiernodelist li{
844list-style:none;
845margin:0;
846padding:5px 0 0 0;
847display:block
848}
849ul.childrenlist{
850list-style:none;
851margin:0;
852padding:0 0 0 20px;
853display:block;
854width:100%
855}
856*/
Note: See TracBrowser for help on using the repository browser.