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

Last change on this file since 28543 was 28543, checked in by jlwhisler, 10 years ago

Removed the text-transform: capitalize for table#classifiernodelist. This capitalization does not appear to be necessary. Bookshelf metadata is stored in xmlfinal in the same case it appears in GLI, i.e. however it is entered (unless the standardized-capitalization option is checked, in which case the bookshelves are lower-cased -- which is what the option's alt-text says it will do). The text-transform was capitalizing the first letter of every word for *all* of the metadata on the classifier pages. On Mac's this included the first letter of the file extention (e.g. Cat.Html). Buckets for horizontal classifiers are stored in lowercase, but they are made uppercase separately in line 85 of core.css.

File size: 15.3 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/*
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/* corners of the banner */
492/*
493.corner {
494 position: absolute;
495 background-image: url('../images/layout/corners.png');
496 background-repeat: no-repeat;
497 width: 20px;
498 height: 20px;
499}
500
501#cornerTopLeft {
502 left: 0; top: 0;
503 background-position: 0 0;
504}
505#cornerTopRight {
506 right: 0; top: 0;
507 background-position: -20px 0;
508}
509#cornerBottomLeft {
510 left: 0; bottom: 0;
511 background-position: 0 -20px;
512}
513#cornerBottomRight {
514 right: 0; bottom: 0;
515 background-position: -20px -20px;
516}
517*/
518.clear {
519 clear: both;
520}
521
522
523/*a:link, a:hover, a:active, a:visited { color: #050; }*/
524
525/* bg image set in style macro */
526div.divbar {
527 clear: both;
528 background-image: url('../images/bg_green.png');
529 width: 100%;
530 text-align: center;
531 font-size:80%
532}
533
534
535/** query form style**/
536div#queryform{
537
538}
539
540/** search result style */
541div#terminfo{
542
543}
544
545div#matchdocs{
546
547}
548
549div.resultnavigation{
550 margin: 0;
551 padding:0;
552}
553
554ul#resultlist li{
555 display:block;
556}
557
558div#documentheading{
559 font-size: 16pt;
560 font-weight: bold;
561}
562
563div#documentinfo {
564 float:left;
565 padding:0;
566 margin:0;
567 width:24%;
568}
569
570div#toc{
571 float:left;
572 text-align:left;
573 width:60%;
574 padding:0;
575 margin:0;
576}
577
578ul#docbuttons li {
579 display: block;
580 font-size: 11px;
581 font-weight: bold;
582 background: #f7e7c5;
583 margin: 1px;
584 border: 1px solid #eeddbb;
585 text-align: center;
586 vertical-align: middle;
587 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
588 width: 110px;
589}
590
591
592ul#tocnodes li{
593 margin: 0;
594 padding: 5px 0 0 0;
595 display:block;
596}
597
598ul.tocnode {
599 margin:0;
600 padding:5px 0 0 20px;
601}
602
603ul.tocnode a{
604 margin: 0;
605 padding:0 5px 0 0;
606 }
607
608span.bold{
609 font-weight: bold;
610}
611
612div.documentarrows{
613 margin: 0 0 0 0;
614 padding: 1em 0 0 0;
615}
616
617img.lessarrow{
618 float:left;
619 border: none;
620}
621
622img.morearrow{
623 float:right;
624 border:none;
625}
626
627div.formheading{
628 font-size: 16pt;
629 font-weight: bold;
630 margin: .5em 0 0;
631 padding:0;
632}
633
634ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
635 display: block;
636}
637
638
639div.phrasebrowse{
640 text-align:center;
641 padding:0;
642 margin: .5em 0 .5em 0;
643}
644
645div.QuickSearch {
646 float: right;
647}
648
649#coverImage {
650 text-align: center;
651 margin: 20px;
652}
653
654/* ----- TABLE OF CONTENTS ------ */
655.tocTable {
656 width: 100%;
657 background: white !important;
658}
659
660.tocTextCell {
661 padding-left:5px;
662}
663
664.tableOfContentsContainer {
665 padding:1px;
666 max-height:500px;
667 overflow:auto;
668}
669
670#tableOfContents {
671 margin: 0;
672 padding: 0;
673 font-size: 70%;
674}
675
676#tableOfContents li {
677 list-style: none;
678 margin: 0;
679 padding: 2px;
680}
681
682#tableOfContents a {text-decoration: underline; color: #444 !important;}
683#tableOfContents a:visited{text-decoration: underline; color: #444 !important;}
684#tableOfContents a:link{text-decoration: underline; color: #444 !important;}
685
686#tableOfContents li.current {
687 background-color: #090;
688}
689#tableOfContents li.current a {
690 color: #fff;
691}
692
693#tableOfContents li.current li {
694 background-color: #fff;
695}
696
697#tableOfContents li.current li a {
698 color: #444;
699}
700
701#tableOfContents ul {
702 padding: 0 0 0 0;
703}
704
705#tableOfContents ul ul{
706 padding: 0 0 0 0;
707}
708
709#tableOfContents ul ul ul{
710 padding: 0 0 0 16px;
711}
712
713/* -------- SEARCH ------- */
714.paramLabel {
715 margin: 2px;
716 float: left;
717 min-width: 250px;
718}
719.paramValue {
720 margin: 2px;
721 float: left;
722}
723
724
725table{
726 border-collapse:collapse;
727 border-spacing:0;
728}
729
730/* ------- BROWSE -------*/
731
732.childrenlist {
733 margin:0 0 0 10px;
734
735}
736.childrenlist td {
737 padding:3px 0px 0px 10px;
738}
739
740/* ------- PAGED IMAGE ------- */
741
742.pageSlider {
743 width: 250px;
744 overflow: auto;
745 margin-left: auto;
746 margin-right: auto;
747 padding: 2px;
748}
749
750.pageSliderSpacer {
751 width:2px;
752}
753
754.pageSliderCol {
755 height:100px;
756 padding: 2px;
757 text-align: center;
758 vertical-align: top;
759}
760
761/* ------- SPATIAL COLLECTIONS ------- */
762
763#nearbyDocs td, #nearbyDocs th {
764 padding: 5px;
765 border: 1px solid black;
766}
767
768#nearbyDocs th {
769 font-weight: bold;
770}
771
772#auth_navbar {
773 width: 90%;
774 margin: 10px auto;
775}
776
777#auth_navbar span{
778 padding:3px;
779}
780
781#userListTable {
782 text-align: center;
783 width: 90%;
784 margin: auto;
785}
786
787#userListTable td{
788 border: black 1px solid;
789 padding: 5px;
790}
791
792#gs_error{
793 padding: 5px;
794 margin: auto;
795 width: 50%;
796 text-align: center;
797}
798
799#loginTable{
800 margin: auto;
801 width: 25%;
802}
803
804.map_canvas_full{
805 margin:0px auto;
806 width:900px;
807 height:500px;
808}
809
810.map_canvas_half{
811 float: right;
812 width:450px;
813 height:500px;
814}
815
816.pano_canvas_full{
817 margin:0px auto;
818 width:900px;
819 height:500px;
820}
821
822.pano_canvas_fullscreen{
823 margin-left:0px auto;
824 margin-right:0px auto;
825 width:1024px;
826 height:768px;;
827}
828
829.pano_canvas_half{
830 z-index: 1;
831 float: right;
832 width:450px;
833 height:500px;
834 background-color:#000000;
835}
836
837.navigate-point {
838 z-index: 97;
839 position: absolute;
840 overflow: hidden;
841 width: 80px;
842 height: 80px;
843 margin-left: -40px;
844 margin-top: -40px;
845 background-image: url("../images/navMarker.png");
846 cursor: pointer;
847}
848
849.fullscreenToggle{
850 z-index: 2;
851 position: relative;
852 float: right;
853 top: 28px;
854 left: 128px;
855 padding: 5px;
856}
857
858dl dt { font-weight:bold;
859 padding-top:10px; }
860dl dd { padding-bottom:10px}
861
862#facetSelector{
863 padding: 0px;
864 width:30%;
865 float:right;
866}
867
868.facetTable{
869 list-style:none;
870 margin: 0px 0px 20px;
871 padding: 0px;
872 overflow:auto;
873}
874
875.facetTable li{
876 margin-bottom:5px;
877}
878
879.checkboxList{
880 list-style:none;
881 padding-left:0px;
882}
883
884.facetedResults{
885 float:left;
886 width:65%;
887}
888
889.slideshowImage{
890 width:100%;
891}
892
893/* GREENBUG */
894#gbEnableButton{
895 position:fixed;
896 left:0px;
897 bottom:0px;
898}
899
900.gbTemplateContainer{
901 float:left;
902 cursor:pointer;
903 margin:0 1em;
904 font-size:1.1em;
905 text-align:center;
906 overflow:hidden;
907 min-width:4em;
908 padding: 0.5em;
909}
910
911.gbSpacer{
912 margin:0;
913 float:left;
914 height:1.2em;
915 text-align:center;
916}
917
918/* VISUAL XML EDITOR (GREENBUG)*/
919#veMainDiv{
920 margin:0;
921 padding:0;
922}
923
924#veTemplateSelector{
925 float:left;
926 padding:0.5em;
927 margin:0 0.5em 0 0;
928}
929
930#veFileSelector{
931 float:left;
932 padding:0.5em;
933 margin:0 0.5em 0 0 ;
934}
935
936#veToolboxDiv{
937 float:left;
938 width:10%;
939 margin:0;
940 padding:0;
941 overflow:auto;
942 height:300px;
943}
944
945#veEditorDiv{
946 width:100%;
947}
948
949#veEditorContainer{
950 position:relative;
951 float:left;
952 width:70%;
953 margin:0;
954 padding:0;
955 overflow:hidden;
956 border: 3px groove;
957 background-image: url(../images/veBackground.gif);
958}
959
960#veSpacerDiv{
961 float:left;
962 width:1%;
963 height:1px;
964 margin:0;
965 padding:0;
966}
967
968#veInfoDiv{
969 float:left;
970 width:17%;
971 margin:0 0 10px 0;
972 padding:0;
973 overflow:auto;
974}
975
976.veElement{
977 border:1px solid black;
978 float:left;
979 margin:5px -1px;
980 overflow:hidden;
981 color:black;
982 cursor:pointer;
983}
984
985.veDropArea{
986 margin:5px 0;
987 float:left;
988 height:1em;
989 background:#FFAAAA;
990}
991
992.veContainerElement{
993 width:90%;
994 margin:0 auto;
995}
996
997.veTitleElement{
998 text-align:center;
999}
1000
1001.veGSFElement{
1002 background:#DFD;
1003}
1004
1005.veGSLIBElement{
1006 background:#FF9;
1007}
1008
1009.veXSLElement{
1010 background:#DDF;
1011}
1012
1013.veHTMLElement{
1014 background:#FFFFFF;
1015}
1016
1017.veTextElement{
1018 background:#F9F;
1019}
1020
1021.veTempElement{
1022 background:#9FF;
1023}
1024
1025.veTab{
1026 font-size:0.8em;
1027 padding:0.5em;
1028}
1029
1030.veInfoDivTitle{
1031 text-align:center;
1032 margin-bottom:1em;
1033}
1034
1035.veAttributeTableContainer{
1036 text-align:center;
1037 width:100%;
1038 margin-bottom:1em;
1039}
1040
1041.veAttributeTableContainer td{
1042 border:1px solid black;
1043}
1044
1045.veAttributeTableRow{
1046 min-height:1.1em;
1047}
1048
1049.veNameCell{
1050 width:25%;
1051}
1052
1053.veValueCell{
1054 width:50%;
1055}
1056
1057.veUtilCell{
1058 font-size:0.8em;
1059 width:25%;
1060}
1061
1062#veTrash{
1063 position:absolute;
1064 right:0px;
1065 bottom:0px;
1066 text-align:center;
1067}
1068
1069.toolbarElem{
1070 border:1px dashed black;
1071 text-align:center;
1072 margin-bottom:2px;
1073}
1074
1075/* DEPOSITOR STYLES */
1076
1077#wizardBar {
1078 display: table;
1079 margin: 0 auto;
1080}
1081
1082#wizardBar li {
1083 display: inline;
1084 list-style-type: none;
1085 padding: 0 10px;
1086 margin: 0 5px;
1087}
1088
1089#wizardContainer {
1090 display: table;
1091 margin: 0 auto;
1092}
1093
1094#depositorform {
1095 min-height: 300px;
1096}
1097
1098/*
1099ul.childrenlist li {
1100list-style-type:none;
1101}
1102ul#classifierlist,ul#classifiernodelist {
1103 list-style-type:none;
1104 margin:0;
1105 padding:0
1106}
1107ul#classifierlist li{
1108list-style:none;
1109margin:0 0 5px 0;
1110padding:0;display:block;
1111}
1112ul#classifiernodelist li{
1113list-style:none;
1114margin:0;
1115padding:5px 0 0 0;
1116display:block
1117}
1118ul.childrenlist{
1119list-style:none;
1120margin:0;
1121padding:0 0 0 20px;
1122display:block;
1123width:100%
1124}
1125*/
Note: See TracBrowser for help on using the repository browser.