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

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

Removed the option to resize the zoom window and made it the same as other view options. Also made the back to top links a gsf:option

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-document {
173 /*width:67%;
174 overflow:auto;*/
175}
176
177#gs_footer {
178 position: relative;
179 display: block;
180 margin: -1px auto;
181 text-align: center;
182 vertical-align: middle;
183 font-size: 70%;
184 padding-top:5px;
185 padding-bottom:5px;
186}
187
188#gs_footer a {
189 /*color:#FFF;*/
190}
191
192.termList {
193 font-size:12px;
194 line-height:14px;
195}
196
197.noTermHighlight{
198
199}
200
201.termHighlight{
202 background:yellow;
203}
204
205#viewAndZoomOptions {
206 margin-bottom:10px;
207 border:0px;
208}
209
210#viewOptions {
211 margin: 0px;
212 padding: 0px;
213}
214
215#viewOptions li {
216 list-style:none;
217 float:left;
218 padding: 5px;
219}
220
221.tableOfContentsTitle{
222 font-weight:bold;
223 text-align:left;
224}
225
226.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
227 text-decoration:none;
228}
229
230#rightSidebar {
231 width: 30%;
232 min-width:180px;
233 float:right;
234 margin: 0 0 10px 20px;
235}
236
237#contentsArea {
238 padding:0px 10px;
239}
240
241#collectionLinks {
242 position: relative;
243}
244
245#collectionLinks a div{
246 display: block;
247 float: left;
248 border: 1px solid #888;
249 margin: 0 20px 20px 0;
250 font-size: 150%;
251 color: #444;
252 text-decoration: none;
253 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
254 padding: 20px;
255 min-width: 200px;
256}
257
258#collectionLinks a img{
259 display: block;
260 float: left;
261 border: 1px solid #888;
262 margin: 0 20px 20px 0;
263 font-size: 150%;
264 color: #444;
265 text-decoration: none;
266 height:60px;
267}
268
269/*
270.collectionLink {
271 display: block;
272 float: left;
273 border: 1px solid #888;
274 margin: 0 20px 20px 0;
275 font-size: 150%;
276 color: #444;
277 text-decoration: none;
278 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
279 padding: 20px;
280}
281*/
282
283/* some text should not be rendered as it is just there for search engines */
284#collectionLinks a b {
285 display: none;
286}
287
288/* make sure h1s and h2s are readable on the green banner */
289#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
290 /*color: #fff;*/
291}
292body.dAction #gs_banner h2 {
293 max-width: 600px;
294 font-size: 100;
295}
296
297#titlesearchcontainer {
298 padding-top: 20px;
299 width: 100%;
300}
301
302#titlesearchcontainer, #titlesearchcontainer form, #titlesearchcontainer h2{
303 margin-top: 0px;
304 margin-bottom: 0px;
305}
306
307#titlearea {
308 float: left;
309 padding-left: 20px;
310}
311
312#titlearea h2{
313 padding-left: 0px;
314 padding-bottom: 20px;
315}
316
317#quicksearcharea {
318 float: right;
319 text-align: right;
320 padding-right: 20px;
321}
322
323#quicksearcharea ul{
324 margin:0;
325}
326
327#quicksearcharea li{
328 display:inline;
329 list-style:none;
330 margin-left:5px;
331 padding: 2px 3px 2px 5px;
332 font-size: 10px;
333}
334
335#quicksearcharea a{
336 text-transform:lowercase;
337}
338
339#breadcrumbs {
340 margin-left: 20px;
341}
342
343#breadcrumbs a{
344 text-decoration:underline;
345}
346
347
348/* css to make the page links work (home, help, preference) */
349#bannerLinks {
350 text-align: right;
351 list-style: none;
352 margin: 0 20px;
353 font-size: 90%;
354}
355
356#bannerLinks li {
357 /*display: inline;*/
358 float:right;
359 margin-left: 5px;
360 padding: 1px 4px 1px 0px;
361}
362
363#bannerLinks ul {
364 padding: 0px 3px 0px 0px;
365 text-align: right;
366 list-style: none;
367}
368
369#bannerLinks li.current a {
370 cursor: default;
371}
372
373#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
374
375#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
376#bannerLinks img.spacer { display: table-cell; }
377
378
379/* css to make the classifier list pretty */
380.navList {
381 margin: 0 0 10px 0;
382 padding: 0;
383 background-color: #0a0;
384}
385
386.navList ul {
387 margin: 0;
388 padding: 0;
389 list-style: none;
390}
391
392.navList td {
393 /*float: left;*/
394 padding-left: 3em;
395 padding-right: 3em;
396 text-align:center;
397 cursor: pointer;
398 color: #fff;
399}
400.navList li a, .navList li span {
401 padding: 0 1em;
402 display: block;
403 text-decoration: none;
404 color: #fff;
405}
406
407.navList td.current {
408 background-color: #efea6e;
409 color: #444;
410 cursor: default;
411}
412
413.navList li.current a, .navList li.current span {
414 color: #444;
415 cursor: default;
416}
417
418/* css to make the tabs work */
419#gs-nav {
420 list-style: none outside none;
421 padding: 0px;
422 margin: 9px 0 0 20px;
423 font-size: 14px;
424}
425
426#gs-nav ul {
427 margin:0px;
428 padding:0px;
429}
430
431#gs-nav li {
432 display: inline;
433 margin-right: 5px;
434 padding: 3px 5px 0px 7px;
435 text-transform: capitalize;
436 text-align: center;
437 border-bottom: 0px;
438}
439
440#gs-nav a{
441 margin:0px;
442 font-weight: bold;
443 text-decoration: none;
444}
445
446#gs-nav li:hover, #gs-nav li.current { background-position: 100% 0; }
447#gs-nav li:hover a, #gs-nav li.current a { background-position: 0 0; cursor:default; }
448
449/* style the search and classifier results */
450#resultsTable {
451 line-height: 160%;
452 margin: 0;
453 padding: 0;
454 /* border: 1px solid #f00; */
455}
456
457#resultsTable ul {
458 margin: 0 0 0 20px;
459 padding: 0;
460}
461
462#resultsTable li {
463 list-style: none;
464 margin: 0 0 .2em 0;
465 /* border: 1px solid #00f; */
466}
467
468#resultsTable li a {
469 padding: 3px 3px 3px 3px;
470 background-repeat: no-repeat;
471 background-position: 0 .1em;
472}
473
474
475#resultsTable .document a { /*background-image: url('../images/book.png'); */}
476#resultsTable .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
477#resultsTable .shelf>a { background-image: url('../images/bookshelf.png'); }
478
479/* corners of the banner */
480/*
481.corner {
482 position: absolute;
483 background-image: url('../images/layout/corners.png');
484 background-repeat: no-repeat;
485 width: 20px;
486 height: 20px;
487}
488
489#cornerTopLeft {
490 left: 0; top: 0;
491 background-position: 0 0;
492}
493#cornerTopRight {
494 right: 0; top: 0;
495 background-position: -20px 0;
496}
497#cornerBottomLeft {
498 left: 0; bottom: 0;
499 background-position: 0 -20px;
500}
501#cornerBottomRight {
502 right: 0; bottom: 0;
503 background-position: -20px -20px;
504}
505*/
506.clear {
507 clear: both;
508}
509
510
511/*a:link, a:hover, a:active, a:visited { color: #050; }*/
512
513/* bg image set in style macro */
514div.divbar {
515 clear: both;
516 background-image: url('../images/bg_green.png');
517 width: 100%;
518 text-align: center;
519 font-size:80%
520}
521
522
523/** query form style**/
524div#queryform{
525
526}
527
528/** search result style */
529div#terminfo{
530
531}
532
533div#matchdocs{
534
535}
536
537div.resultnavigation{
538 margin: 0;
539 padding:0;
540}
541
542ul#resultlist li{
543 display:block;
544}
545
546div#documentheading{
547 font-size: 16pt;
548 font-weight: bold;
549}
550
551div#documentinfo {
552 float:left;
553 padding:0;
554 margin:0;
555 width:24%;
556}
557
558div#toc{
559 float:left;
560 text-align:left;
561 width:60%;
562 padding:0;
563 margin:0;
564}
565
566ul#docbuttons li {
567 display: block;
568 font-size: 11px;
569 font-weight: bold;
570 background: #f7e7c5;
571 margin: 1px;
572 border: 1px solid #eeddbb;
573 text-align: center;
574 vertical-align: middle;
575 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
576 width: 110px;
577}
578
579
580ul#tocnodes li{
581 margin: 0;
582 padding: 5px 0 0 0;
583 display:block;
584}
585
586ul.tocnode {
587 margin:0;
588 padding:5px 0 0 20px;
589}
590
591ul.tocnode a{
592 margin: 0;
593 padding:0 5px 0 0;
594 }
595
596span.bold{
597 font-weight: bold;
598}
599
600div.documentarrows{
601 margin: 0 0 0 0;
602 padding: 1em 0 0 0;
603}
604
605img.lessarrow{
606 float:left;
607 border: none;
608}
609
610img.morearrow{
611 float:right;
612 border:none;
613}
614
615div.formheading{
616 font-size: 16pt;
617 font-weight: bold;
618 margin: .5em 0 0;
619 padding:0;
620}
621
622ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
623 display: block;
624}
625
626
627div.phrasebrowse{
628 text-align:center;
629 padding:0;
630 margin: .5em 0 .5em 0;
631}
632
633div.QuickSearch {
634 float: right;
635}
636
637#coverImage {
638 text-align: center;
639 margin: 20px;
640}
641
642/* ----- TABLE OF CONTENTS ------ */
643.tocTable {
644 width: 100%;
645 background: white !important;
646}
647
648.tocTextCell {
649 padding-left:5px;
650}
651
652.tableOfContentsContainer {
653 padding:1px;
654 max-height:500px;
655 overflow:auto;
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#gs-slideshow{
837 width:65%;
838}
839
840.slideshowImage{
841 width:100%;
842}
843
844/*
845ul.childrenlist li {
846list-style-type:none;
847}
848ul#classifierlist,ul#classifiernodelist {
849 list-style-type:none;
850 margin:0;
851 padding:0
852}
853ul#classifierlist li{
854list-style:none;
855margin:0 0 5px 0;
856padding:0;display:block;
857}
858ul#classifiernodelist li{
859list-style:none;
860margin:0;
861padding:5px 0 0 0;
862display:block
863}
864ul.childrenlist{
865list-style:none;
866margin:0;
867padding:0 0 0 20px;
868display:block;
869width:100%
870}
871*/
Note: See TracBrowser for help on using the repository browser.