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

Last change on this file since 30167 was 30167, checked in by kjdon, 9 years ago

the right side bar was 30% inside a 30% thing and ended up being very narrow

File size: 15.7 KB
Line 
1html {
2 height: 100%;
3 margin-bottom: 1px;
4}
5body {
6 font-family: Arial, "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 text-transform: capitalize; /* To get the bookshelves and buckets titlecased (they're stored lowercased) */
89}
90
91.selectedHorizontalClassifierNode a{
92 font-weight: bold;
93 text-decoration: none;
94}
95
96.horizontalClassifierNode {
97 padding:0px 0px 10px 10px;
98 list-style:none;
99 display: inline-block;
100}
101
102.icon{
103 cursor:pointer;
104 padding:2px;
105 border:0px;
106}
107
108.emptyIcon {
109 height:16px;
110 width:16px;
111}
112
113.backToTop {
114 font-size:0.7em;
115 padding-left: 2em;
116 text-align:center;
117}
118
119.hidden{
120 display:none;
121}
122
123#prevArrowTD {
124 text-align:right;
125 width:10%;
126}
127
128#nextArrowTD {
129 text-align:left;
130 width:10%;
131}
132
133#prevTD {
134 text-align:left;
135 width:20%;
136}
137
138#nextTD {
139 text-align:right;
140 width:20%;
141}
142
143#searchResultNavTable {
144 width:100%;
145}
146
147#searchResultsStatusBar {
148 text-align:center;
149}
150
151.HighlightSnippet {
152 font-size:0.7em;
153}
154
155#container {
156 position: relative;
157 margin: 0 auto 20px auto;
158 max-width: 1000px;
159 padding: 0;
160 line-height: 120%;
161 background-color: #fff;
162 border-top-width: 0px;
163}
164
165#topArea {
166 border: none;
167 max-width: 1000px;
168 margin: 20px auto 0;
169}
170
171#topArea table {
172 width: 100%;
173}
174
175#topArea td {
176 width: 50%;
177}
178
179#gs_banner {
180 padding:0px;
181 position: relative;
182 border: 0px;
183}
184
185#gs_content {
186 margin-top:-10px;
187 padding: 20px 20px 10px;
188 min-height: 300px;
189}
190
191#gs_footer {
192 position: relative;
193 display: block;
194 margin: -1px auto;
195 text-align: center;
196 vertical-align: middle;
197 font-size: 70%;
198 padding-top:5px;
199 padding-bottom:5px;
200}
201
202.termList {
203 font-size:12px;
204 line-height:14px;
205}
206
207.noTermHighlight{
208
209}
210
211.termHighlight{
212 background:yellow;
213}
214.snippetText{
215 font-weight:bold;
216 font-style:italic;
217}
218
219
220#viewAndZoomOptions {
221 margin-bottom:10px;
222 border:0px;
223}
224
225#viewOptions {
226 margin: 0px;
227 padding: 0px;
228}
229
230#viewOptions li {
231 list-style:none;
232 float:left;
233 padding: 5px;
234 cursor:pointer;
235}
236
237.tableOfContentsTitle{
238 font-weight:bold;
239 text-align:left;
240}
241
242.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
243 text-decoration:none;
244}
245
246#rightSidebar {
247 /*width: 30%;*/
248 min-width:180px;
249 float:right;
250 margin: 0 0 10px 20px;
251}
252
253#contentsArea {
254 padding:0px 10px;
255}
256
257#collectionLinks {
258 position: relative;
259}
260
261/*
262#collectionLinks a div{
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 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
271 padding: 20px;
272 min-width: 200px;
273 text-align:center;
274}
275*/
276
277#collectionLinks a img{
278 display: block;
279 float: left;
280 border: 1px solid #888;
281 margin: 0 20px 20px 0;
282 font-size: 150%;
283 color: #444;
284 text-decoration: none;
285 height:60px;
286}
287
288.collectionLink {
289 display: block;
290 float: left;
291 border: 1px solid #888;
292 margin: 0 20px 20px 0;
293 font-size: 150%;
294 color: #444;
295 text-decoration: none;
296 min-width: 200px;
297 text-align:center;
298}
299
300.collectionLinkText {
301 padding: 15px 15px 10px;
302}
303
304/* some text should not be rendered as it is just there for search engines */
305#collectionLinks a b {
306 display: none;
307}
308
309/* make sure h1s and h2s are readable on the green banner */
310#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
311 /*color: #fff;*/
312}
313body.dAction #gs_banner h2 {
314 max-width: 600px;
315 font-size: 100;
316}
317
318#titlesearchcontainer {
319 padding-top: 20px;
320 width: 100%;
321}
322
323#titlesearchcontainer, #titlesearchcontainer form, #titlesearchcontainer h2{
324 margin-top: 0px;
325 margin-bottom: 0px;
326}
327
328#titlearea {
329 float: left;
330 padding-left: 20px;
331}
332
333#titlearea h2{
334 padding-left: 0px;
335 padding-bottom: 20px;
336}
337
338#quicksearcharea {
339 float: right;
340 text-align: right;
341 padding-right: 20px;
342}
343
344#quicksearcharea ul{
345 margin:0;
346}
347
348#quicksearcharea li{
349 display:inline;
350 list-style:none;
351 margin-left:5px;
352 padding: 2px 3px 2px 5px;
353 font-size: 10px;
354}
355
356#quicksearcharea a{
357 text-transform:lowercase;
358}
359
360#breadcrumbs {
361 margin-left: 20px;
362}
363
364#breadcrumbs a{
365 text-decoration:underline;
366}
367
368
369/* css to make the page links work (home, help, preference) */
370#bannerLinks {
371 text-align: right;
372 list-style: none;
373 margin: 0 20px;
374 font-size: 90%;
375}
376
377#bannerLinks li {
378 /*display: inline;*/
379 float:right;
380 padding: 1px 4px 1px 0px;
381}
382
383#bannerLinks ul {
384 padding: 0px 3px 0px 0px;
385 text-align: right;
386 list-style: none;
387}
388
389#bannerLinks li.current a {
390 cursor: default;
391}
392
393#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
394
395#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
396#bannerLinks img.spacer { display: table-cell; }
397
398
399/* css to make the classifier list pretty */
400.navList {
401 margin: 0 0 10px 0;
402 padding: 0;
403 background-color: #0a0;
404}
405
406.navList ul {
407 margin: 0;
408 padding: 0;
409 list-style: none;
410}
411
412.navList td {
413 /*float: left;*/
414 padding-left: 3em;
415 padding-right: 3em;
416 text-align:center;
417 cursor: pointer;
418 color: #fff;
419}
420.navList li a, .navList li span {
421 padding: 0 1em;
422 display: block;
423 text-decoration: none;
424 color: #fff;
425}
426
427.navList td.current {
428 background-color: #efea6e;
429 color: #444;
430 cursor: default;
431}
432
433.navList li.current a, .navList li.current span {
434 color: #444;
435 cursor: default;
436}
437
438/* css to make the tabs work */
439#gs-nav {
440 list-style: none outside none;
441 padding: 0px;
442 margin: 0 0 0 20px;
443 font-size: 14px;
444}
445
446#gs-nav ul {
447 margin:0px;
448 padding:0px;
449}
450
451#gs-nav li {
452 float:left;
453 display: inline;
454 margin-right: 5px;
455 padding: 3px 5px 5px 7px;
456 text-transform: capitalize;
457 text-align: center;
458 border-bottom: 0px;
459}
460
461#gs-nav a{
462 margin:0px;
463 font-weight: bold;
464 text-decoration: none;
465}
466
467#gs-nav li:hover, #gs-nav li.current { background-position: 100% 0; }
468#gs-nav li:hover a, #gs-nav li.current a { background-position: 0 0; cursor:default; }
469
470/* style the search and classifier results */
471#resultsTable {
472 line-height: 130%;
473 margin: 0;
474 padding: 0;
475 /* border: 1px solid #f00; */
476}
477
478#resultsTable ul {
479 margin: 0 0 0 20px;
480 padding: 0;
481}
482
483#resultsTable li {
484 list-style: none;
485 margin: 0 0 .2em 0;
486 /* border: 1px solid #00f; */
487}
488
489#resultsTable li a {
490 padding: 3px 3px 3px 3px;
491 background-repeat: no-repeat;
492 background-position: 0 .1em;
493}
494
495
496#resultsTable .document a { /*background-image: url('../images/book.png'); */}
497#resultsTable .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
498#resultsTable .shelf>a { background-image: url('../images/bookshelf.png'); }
499
500.metaTableCell { border: 1;}
501.metaTableCellArea {
502 border: none;
503 resize: none;
504 outline: none;
505 overflow: auto;
506 width: 400px;
507 -webkit-box-sizing: border-box;
508 -moz-box-sizing: border-box;
509 box-sizing: border-box;
510}
511/* corners of the banner */
512/*
513.corner {
514 position: absolute;
515 background-image: url('../images/layout/corners.png');
516 background-repeat: no-repeat;
517 width: 20px;
518 height: 20px;
519}
520
521#cornerTopLeft {
522 left: 0; top: 0;
523 background-position: 0 0;
524}
525#cornerTopRight {
526 right: 0; top: 0;
527 background-position: -20px 0;
528}
529#cornerBottomLeft {
530 left: 0; bottom: 0;
531 background-position: 0 -20px;
532}
533#cornerBottomRight {
534 right: 0; bottom: 0;
535 background-position: -20px -20px;
536}
537*/
538.clear {
539 clear: both;
540}
541
542
543/*a:link, a:hover, a:active, a:visited { color: #050; }*/
544
545/* bg image set in style macro */
546div.divbar {
547 clear: both;
548 background-image: url('../images/bg_green.png');
549 width: 100%;
550 text-align: center;
551 font-size:80%
552}
553
554
555/** query form style**/
556div#queryform{
557
558}
559
560/** search result style */
561div#terminfo{
562
563}
564
565div#matchdocs{
566
567}
568
569div.resultnavigation{
570 margin: 0;
571 padding:0;
572}
573
574ul#resultlist li{
575 display:block;
576}
577
578div#documentheading{
579 font-size: 16pt;
580 font-weight: bold;
581}
582
583div#documentinfo {
584 float:left;
585 padding:0;
586 margin:0;
587 width:24%;
588}
589
590div#toc{
591 float:left;
592 text-align:left;
593 width:60%;
594 padding:0;
595 margin:0;
596}
597
598ul#docbuttons li {
599 display: block;
600 font-size: 11px;
601 font-weight: bold;
602 background: #f7e7c5;
603 margin: 1px;
604 border: 1px solid #eeddbb;
605 text-align: center;
606 vertical-align: middle;
607 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
608 width: 110px;
609}
610
611
612ul#tocnodes li{
613 margin: 0;
614 padding: 5px 0 0 0;
615 display:block;
616}
617
618ul.tocnode {
619 margin:0;
620 padding:5px 0 0 20px;
621}
622
623ul.tocnode a{
624 margin: 0;
625 padding:0 5px 0 0;
626 }
627
628span.bold{
629 font-weight: bold;
630}
631
632div.documentarrows{
633 margin: 0 0 0 0;
634 padding: 1em 0 0 0;
635}
636
637img.lessarrow{
638 float:left;
639 border: none;
640}
641
642img.morearrow{
643 float:right;
644 border:none;
645}
646
647div.formheading{
648 font-size: 16pt;
649 font-weight: bold;
650 margin: .5em 0 0;
651 padding:0;
652}
653
654ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
655 display: block;
656}
657
658
659div.phrasebrowse{
660 text-align:center;
661 padding:0;
662 margin: .5em 0 .5em 0;
663}
664
665div.QuickSearch {
666 float: right;
667}
668
669#coverImage {
670 text-align: center;
671 margin: 20px;
672}
673
674/* ----- TABLE OF CONTENTS ------ */
675.tocTable {
676 width: 100%;
677 background: white !important;
678}
679
680.tocTextCell {
681 padding-left:5px;
682}
683
684.tableOfContentsContainer {
685 padding:1px;
686 max-height:500px;
687 overflow:auto;
688}
689
690#tableOfContents {
691 margin: 0;
692 padding: 0;
693 font-size: 70%;
694}
695
696#tableOfContents li {
697 list-style: none;
698 margin: 0;
699 padding: 2px;
700}
701
702#tableOfContents a {text-decoration: underline; color: #444 !important;}
703#tableOfContents a:visited{text-decoration: underline; color: #444 !important;}
704#tableOfContents a:link{text-decoration: underline; color: #444 !important;}
705
706#tableOfContents li.current {
707 background-color: #090;
708}
709#tableOfContents li.current a {
710 color: #fff;
711}
712
713#tableOfContents li.current li {
714 background-color: #fff;
715}
716
717#tableOfContents li.current li a {
718 color: #444;
719}
720
721#tableOfContents ul {
722 padding: 0 0 0 0;
723}
724
725#tableOfContents ul ul{
726 padding: 0 0 0 0;
727}
728
729#tableOfContents ul ul ul{
730 padding: 0 0 0 16px;
731}
732
733/* -------- SEARCH ------- */
734.paramLabel {
735 margin: 2px;
736 float: left;
737 min-width: 250px;
738}
739.paramValue {
740 margin: 2px;
741 float: left;
742}
743
744
745table{
746 border-collapse:collapse;
747 border-spacing:0;
748}
749
750/* ------- BROWSE -------*/
751
752.childrenlist {
753 margin:0 0 0 10px;
754
755}
756.childrenlist td {
757 padding:3px 0px 0px 10px;
758}
759
760/* ------- PAGED IMAGE ------- */
761
762.pageSlider {
763 width: 250px;
764 overflow: auto;
765 margin-left: auto;
766 margin-right: auto;
767 padding: 2px;
768}
769
770.pageSliderSpacer {
771 width:2px;
772}
773
774.pageSliderCol {
775 height:100px;
776 padding: 2px;
777 text-align: center;
778 vertical-align: top;
779}
780
781/* ------- SPATIAL COLLECTIONS ------- */
782
783#nearbyDocs td, #nearbyDocs th {
784 padding: 5px;
785 border: 1px solid black;
786}
787
788#nearbyDocs th {
789 font-weight: bold;
790}
791
792#auth_navbar {
793 width: 90%;
794 margin: 10px auto;
795}
796
797#auth_navbar span{
798 padding:3px;
799}
800
801#userListTable {
802 text-align: center;
803 width: 90%;
804 margin: auto;
805}
806
807#userListTable td{
808 border: black 1px solid;
809 padding: 5px;
810}
811
812#gs_error{
813 padding: 5px;
814 margin: auto;
815 width: 50%;
816 text-align: center;
817}
818
819#loginTable{
820 margin: auto;
821 width: 25%;
822}
823
824.map_canvas_full{
825 margin:0px auto;
826 width:900px;
827 height:500px;
828}
829
830.map_canvas_half{
831 float: right;
832 width:450px;
833 height:500px;
834}
835
836.pano_canvas_full{
837 margin:0px auto;
838 width:900px;
839 height:500px;
840}
841
842.pano_canvas_fullscreen{
843 margin-left:0px auto;
844 margin-right:0px auto;
845 width:1024px;
846 height:768px;;
847}
848
849.pano_canvas_half{
850 z-index: 1;
851 float: right;
852 width:450px;
853 height:500px;
854 background-color:#000000;
855}
856
857.navigate-point {
858 z-index: 97;
859 position: absolute;
860 overflow: hidden;
861 width: 80px;
862 height: 80px;
863 margin-left: -40px;
864 margin-top: -40px;
865 background-image: url("../images/navMarker.png");
866 cursor: pointer;
867}
868
869.fullscreenToggle{
870 z-index: 2;
871 position: relative;
872 float: right;
873 top: 28px;
874 left: 128px;
875 padding: 5px;
876}
877
878dl dt { font-weight:bold;
879 padding-top:10px; }
880dl dd { padding-bottom:10px}
881
882#facetSelector{
883 padding: 0px;
884 width:30%;
885 float:right;
886}
887
888.facetTable{
889 list-style:none;
890 margin: 0px 0px 20px;
891 padding: 0px;
892 overflow:auto;
893}
894
895.facetTable li{
896 margin-bottom:5px;
897}
898
899.checkboxList{
900 list-style:none;
901 padding-left:0px;
902}
903
904.facetedResults{
905 float:left;
906 width:65%;
907}
908
909.slideshowImage{
910 width:100%;
911}
912
913/* GREENBUG */
914#gbEnableButton{
915 position:fixed;
916 left:0px;
917 bottom:0px;
918}
919
920.gbTemplateContainer{
921 float:left;
922 cursor:pointer;
923 margin:0 1em;
924 font-size:1.1em;
925 text-align:center;
926 overflow:hidden;
927 min-width:4em;
928 padding: 0.5em;
929}
930
931.gbSpacer{
932 margin:0;
933 float:left;
934 height:1.2em;
935 text-align:center;
936}
937
938/* VISUAL XML EDITOR (GREENBUG)*/
939#veMainDiv{
940 margin:0;
941 padding:0;
942}
943
944#veTemplateSelector{
945 float:left;
946 padding:0.5em;
947 margin:0 0.5em 0 0;
948}
949
950#veFileSelector{
951 float:left;
952 padding:0.5em;
953 margin:0 0.5em 0 0 ;
954}
955
956#veToolboxDiv{
957 float:left;
958 width:10%;
959 margin:0;
960 padding:0;
961 overflow:auto;
962 height:300px;
963}
964
965#veEditorDiv{
966 width:100%;
967}
968
969#veEditorContainer{
970 position:relative;
971 float:left;
972 width:70%;
973 margin:0;
974 padding:0;
975 overflow:hidden;
976 border: 3px groove;
977 background-image: url(../images/veBackground.gif);
978}
979
980#veSpacerDiv{
981 float:left;
982 width:1%;
983 height:1px;
984 margin:0;
985 padding:0;
986}
987
988#veInfoDiv{
989 float:left;
990 width:17%;
991 margin:0 0 10px 0;
992 padding:0;
993 overflow:auto;
994}
995
996.veElement{
997 border:1px solid black;
998 float:left;
999 margin:5px -1px;
1000 overflow:hidden;
1001 color:black;
1002 cursor:pointer;
1003}
1004
1005.veDropArea{
1006 margin:5px 0;
1007 float:left;
1008 height:1em;
1009 background:#FFAAAA;
1010}
1011
1012.veContainerElement{
1013 width:90%;
1014 margin:0 auto;
1015}
1016
1017.veTitleElement{
1018 text-align:center;
1019}
1020
1021.veGSFElement{
1022 background:#DFD;
1023}
1024
1025.veGSLIBElement{
1026 background:#FF9;
1027}
1028
1029.veXSLElement{
1030 background:#DDF;
1031}
1032
1033.veHTMLElement{
1034 background:#FFFFFF;
1035}
1036
1037.veTextElement{
1038 background:#F9F;
1039}
1040
1041.veTempElement{
1042 background:#9FF;
1043}
1044
1045.veTab{
1046 font-size:0.8em;
1047 padding:0.5em;
1048}
1049
1050.veInfoDivTitle{
1051 text-align:center;
1052 margin-bottom:1em;
1053}
1054
1055.veAttributeTableContainer{
1056 text-align:center;
1057 width:100%;
1058 margin-bottom:1em;
1059}
1060
1061.veAttributeTableContainer td{
1062 border:1px solid black;
1063}
1064
1065.veAttributeTableRow{
1066 min-height:1.1em;
1067}
1068
1069.veNameCell{
1070 width:25%;
1071}
1072
1073.veValueCell{
1074 width:50%;
1075}
1076
1077.veUtilCell{
1078 font-size:0.8em;
1079 width:25%;
1080}
1081
1082#veTrash{
1083 position:absolute;
1084 right:0px;
1085 bottom:0px;
1086 text-align:center;
1087}
1088
1089.toolbarElem{
1090 border:1px dashed black;
1091 text-align:center;
1092 margin-bottom:2px;
1093}
1094
1095/* DEPOSITOR STYLES */
1096
1097#wizardBar {
1098 display: table;
1099 margin: 0 auto;
1100}
1101
1102#wizardBar li {
1103 display: inline;
1104 list-style-type: none;
1105 padding: 0 10px;
1106 margin: 0 5px;
1107}
1108
1109#wizardContainer {
1110 display: table;
1111 margin: 0 auto;
1112}
1113
1114#depositorform {
1115 min-height: 300px;
1116}
1117
1118/*
1119ul.childrenlist li {
1120list-style-type:none;
1121}
1122ul#classifierlist,ul#classifiernodelist {
1123 list-style-type:none;
1124 margin:0;
1125 padding:0
1126}
1127ul#classifierlist li{
1128list-style:none;
1129margin:0 0 5px 0;
1130padding:0;display:block;
1131}
1132ul#classifiernodelist li{
1133list-style:none;
1134margin:0;
1135padding:5px 0 0 0;
1136display:block
1137}
1138ul.childrenlist{
1139list-style:none;
1140margin:0;
1141padding:0 0 0 20px;
1142display:block;
1143width:100%
1144}
1145*/
Note: See TracBrowser for help on using the repository browser.