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

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

Fixed horizontal classifiers going off the edge of the page when there are many of them

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