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

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

Pre tags are now wrapped. Selected horizontal classifier nodes now are not underlined

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