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

Last change on this file since 26931 was 26931, checked in by sjm84, 11 years ago

Adding the styles necessary for the visual editor

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