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

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

Instead of the pages having a max width of 1000px they now have a set width of 80% of the client width. This will make it scale better with higher resolutions.

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 {
151 position: relative;
152 margin: 0 auto 20px auto;
153 width: 80%;
154 padding: 0;
155 line-height: 120%;
156 background-color: #fff;
157 border-top-width: 0px;
158}
159
160#topArea {
161 border: none;
162 width: 80%;
163 margin: 20px auto 0;
164}
165
166#topArea table {
167 width: 100%;
168}
169
170#topArea td {
171 width: 50%;
172}
173
174#gs_banner {
175 padding:0px;
176 position: relative;
177 border: 0px;
178}
179
180#gs_content {
181 margin-top:-10px;
182 padding: 20px 20px 10px;
183 min-height: 300px;
184}
185
186#gs_footer {
187 position: relative;
188 display: block;
189 margin: -1px auto;
190 text-align: center;
191 vertical-align: middle;
192 font-size: 70%;
193 padding-top:5px;
194 padding-bottom:5px;
195}
196
197.termList {
198 font-size:12px;
199 line-height:14px;
200}
201
202.noTermHighlight{
203
204}
205
206.termHighlight{
207 background:yellow;
208}
209
210#viewAndZoomOptions {
211 margin-bottom:10px;
212 border:0px;
213}
214
215#viewOptions {
216 margin: 0px;
217 padding: 0px;
218}
219
220#viewOptions li {
221 list-style:none;
222 float:left;
223 padding: 5px;
224}
225
226.tableOfContentsTitle{
227 font-weight:bold;
228 text-align:left;
229}
230
231.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
232 text-decoration:none;
233}
234
235#rightSidebar {
236 width: 30%;
237 min-width:180px;
238 float:right;
239 margin: 0 0 10px 20px;
240}
241
242#contentsArea {
243 padding:0px 10px;
244}
245
246#collectionLinks {
247 position: relative;
248}
249
250#collectionLinks a div{
251 display: block;
252 float: left;
253 border: 1px solid #888;
254 margin: 0 20px 20px 0;
255 font-size: 150%;
256 color: #444;
257 text-decoration: none;
258 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
259 padding: 20px;
260 min-width: 200px;
261}
262
263#collectionLinks a img{
264 display: block;
265 float: left;
266 border: 1px solid #888;
267 margin: 0 20px 20px 0;
268 font-size: 150%;
269 color: #444;
270 text-decoration: none;
271 height:60px;
272}
273
274/*
275.collectionLink {
276 display: block;
277 float: left;
278 border: 1px solid #888;
279 margin: 0 20px 20px 0;
280 font-size: 150%;
281 color: #444;
282 text-decoration: none;
283 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
284 padding: 20px;
285}
286*/
287
288/* some text should not be rendered as it is just there for search engines */
289#collectionLinks a b {
290 display: none;
291}
292
293/* make sure h1s and h2s are readable on the green banner */
294#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
295 /*color: #fff;*/
296}
297body.dAction #gs_banner h2 {
298 max-width: 600px;
299 font-size: 100;
300}
301
302#titlesearchcontainer {
303 padding-top: 20px;
304 width: 100%;
305}
306
307#titlesearchcontainer, #titlesearchcontainer form, #titlesearchcontainer h2{
308 margin-top: 0px;
309 margin-bottom: 0px;
310}
311
312#titlearea {
313 float: left;
314 padding-left: 20px;
315}
316
317#titlearea h2{
318 padding-left: 0px;
319 padding-bottom: 20px;
320}
321
322#quicksearcharea {
323 float: right;
324 text-align: right;
325 padding-right: 20px;
326}
327
328#quicksearcharea ul{
329 margin:0;
330}
331
332#quicksearcharea li{
333 display:inline;
334 list-style:none;
335 margin-left:5px;
336 padding: 2px 3px 2px 5px;
337 font-size: 10px;
338}
339
340#quicksearcharea a{
341 text-transform:lowercase;
342}
343
344#breadcrumbs {
345 margin-left: 20px;
346}
347
348#breadcrumbs a{
349 text-decoration:underline;
350}
351
352
353/* css to make the page links work (home, help, preference) */
354#bannerLinks {
355 text-align: right;
356 list-style: none;
357 margin: 0 20px;
358 font-size: 90%;
359}
360
361#bannerLinks li {
362 /*display: inline;*/
363 float:right;
364 margin-left: 5px;
365 padding: 1px 4px 1px 0px;
366}
367
368#bannerLinks ul {
369 padding: 0px 3px 0px 0px;
370 text-align: right;
371 list-style: none;
372}
373
374#bannerLinks li.current a {
375 cursor: default;
376}
377
378#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
379
380#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
381#bannerLinks img.spacer { display: table-cell; }
382
383
384/* css to make the classifier list pretty */
385.navList {
386 margin: 0 0 10px 0;
387 padding: 0;
388 background-color: #0a0;
389}
390
391.navList ul {
392 margin: 0;
393 padding: 0;
394 list-style: none;
395}
396
397.navList td {
398 /*float: left;*/
399 padding-left: 3em;
400 padding-right: 3em;
401 text-align:center;
402 cursor: pointer;
403 color: #fff;
404}
405.navList li a, .navList li span {
406 padding: 0 1em;
407 display: block;
408 text-decoration: none;
409 color: #fff;
410}
411
412.navList td.current {
413 background-color: #efea6e;
414 color: #444;
415 cursor: default;
416}
417
418.navList li.current a, .navList li.current span {
419 color: #444;
420 cursor: default;
421}
422
423/* css to make the tabs work */
424#gs-nav {
425 list-style: none outside none;
426 padding: 0px;
427 margin: 0 0 0 20px;
428 font-size: 14px;
429}
430
431#gs-nav ul {
432 margin:0px;
433 padding:0px;
434}
435
436#gs-nav li {
437 float:left;
438 display: inline;
439 margin-right: 5px;
440 padding: 3px 5px 5px 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.tocTextCell {
655 padding-left:5px;
656}
657
658.tableOfContentsContainer {
659 padding:1px;
660 max-height:500px;
661 overflow:auto;
662}
663
664#tableOfContents {
665 margin: 0;
666 padding: 0;
667 font-size: 70%;
668}
669
670#tableOfContents li {
671 list-style: none;
672 margin: 0;
673 padding: 2px;
674}
675
676#tableOfContents a {text-decoration: underline; color: #444 !important;}
677#tableOfContents a:visited{text-decoration: underline; color: #444 !important;}
678#tableOfContents a:link{text-decoration: underline; color: #444 !important;}
679
680#tableOfContents li.current {
681 background-color: #090;
682}
683#tableOfContents li.current a {
684 color: #fff;
685}
686
687#tableOfContents li.current li {
688 background-color: #fff;
689}
690
691#tableOfContents li.current li a {
692 color: #444;
693}
694
695#tableOfContents ul {
696 padding: 0 0 0 0;
697}
698
699#tableOfContents ul ul{
700 padding: 0 0 0 0;
701}
702
703#tableOfContents ul ul ul{
704 padding: 0 0 0 16px;
705}
706
707/* -------- SEARCH ------- */
708.paramLabel {
709 margin: 2px;
710 float: left;
711 min-width: 250px;
712}
713.paramValue {
714 margin: 2px;
715 float: left;
716}
717
718
719table{
720 border-collapse:collapse;
721 border-spacing:0;
722}
723
724/* ------- BROWSE -------*/
725
726.childrenlist {
727 margin:0 0 0 10px;
728
729}
730.childrenlist td {
731 padding:3px 0px 0px 10px;
732}
733
734/* ------- PAGED IMAGE ------- */
735
736.pageSlider {
737 width: 250px;
738 overflow: auto;
739 margin-left: auto;
740 margin-right: auto;
741 padding: 2px;
742}
743
744.pageSliderSpacer {
745 width:2px;
746}
747
748.pageSliderCol {
749 width:75px;
750 height:100px;
751 padding: 2px;
752 text-align: center;
753 vertical-align: top;
754}
755
756/* ------- SPATIAL COLLECTIONS ------- */
757
758#nearbyDocs td, #nearbyDocs th {
759 padding: 5px;
760 border: 1px solid black;
761}
762
763#nearbyDocs th {
764 font-weight: bold;
765}
766
767#auth_navbar {
768 width: 90%;
769 margin: 10px auto;
770}
771
772#auth_navbar span{
773 padding:3px;
774}
775
776#userListTable {
777 text-align: center;
778 width: 90%;
779 margin: auto;
780}
781
782#userListTable td{
783 border: black 1px solid;
784 padding: 5px;
785}
786
787#gs_error{
788 padding: 5px;
789 margin: auto;
790 width: 50%;
791 text-align: center;
792}
793
794#loginTable{
795 margin: auto;
796 width: 25%;
797}
798
799.map_canvas_full{
800 margin:0px auto;
801 width:900px;
802 height:500px;
803}
804
805.map_canvas_half{
806 float: right;
807 width:450px;
808 height:500px;
809}
810
811dl dt { font-weight:bold;
812 padding-top:10px; }
813dl dd { padding-bottom:10px}
814
815#facetSelector{
816 padding: 0px;
817 width:30%;
818 float:right;
819}
820
821.facetTable{
822 list-style:none;
823 margin: 0px 0px 20px;
824 padding: 0px;
825 overflow:auto;
826}
827
828.facetTable li{
829 margin-bottom:5px;
830}
831
832.checkboxList{
833 list-style:none;
834 padding-left:0px;
835}
836
837.facetedResults{
838 float:left;
839 width:65%;
840}
841
842#gs-slideshow{
843 width:65%;
844}
845
846.slideshowImage{
847 width:100%;
848}
849
850/*
851ul.childrenlist li {
852list-style-type:none;
853}
854ul#classifierlist,ul#classifiernodelist {
855 list-style-type:none;
856 margin:0;
857 padding:0
858}
859ul#classifierlist li{
860list-style:none;
861margin:0 0 5px 0;
862padding:0;display:block;
863}
864ul#classifiernodelist li{
865list-style:none;
866margin:0;
867padding:5px 0 0 0;
868display:block
869}
870ul.childrenlist{
871list-style:none;
872margin:0;
873padding:0 0 0 20px;
874display:block;
875width:100%
876}
877*/
Note: See TracBrowser for help on using the repository browser.