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

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

Collection images (on home page) must now be 60px high so that they line up with the collections without images

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