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

Last change on this file since 29978 was 29978, checked in by Georgiy Litvinov, 9 years ago

Fix for web editor. Moved to textarea for metadata fields.

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