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

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

Some updates for Solr facets in a query. Also changing to a new font stack.

File size: 11.6 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.horizontalClassifierNode {
78 padding:0px 0px 10px 10px;
79}
80
81.icon{
82 cursor:pointer;
83 padding:2px;
84 border:0px;
85}
86
87.emptyIcon {
88 height:16px;
89 width:16px;
90}
91
92.backToTop {
93 font-size:0.7em;
94 padding-left: 2em;
95 text-align:center;
96}
97
98.hidden{
99 display:none;
100}
101
102#prevArrowTD {
103 text-align:right;
104 width:10%;
105}
106
107#nextArrowTD {
108 text-align:left;
109 width:10%;
110}
111
112#prevTD {
113 text-align:left;
114 width:20%;
115}
116
117#nextTD {
118 text-align:right;
119 width:20%;
120}
121
122#searchResultNavTable {
123 width:100%;
124}
125
126#searchResultsStatusBar {
127 text-align:center;
128}
129
130#container { position: relative;
131 margin: 0 auto 20px auto;
132 max-width: 1000px;
133 padding: 0;
134 line-height: 120%;
135 background-color: #fff;
136 border-top-width: 0px;
137}
138
139#topArea {
140 border-bottom-width: 0px;
141 max-width: 998px;
142 margin: 20px auto 0;
143}
144
145#topArea table {
146 width: 100%;
147}
148
149#topArea td {
150 width: 50%;
151}
152
153#gs_banner {
154 padding:0px;
155 height:100px;
156 position: relative;
157}
158
159#gs_content {
160 margin-top:-10px;
161 padding: 20px 20px 10px;
162 min-height: 300px;
163 /* background-color: #ff0; */
164}
165
166#gs_footer {
167 position: relative;
168 display: block;
169 /*background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;*/
170 margin: -1px auto;
171 text-align: center;
172 vertical-align: middle;
173 font-size: 70%;
174 padding-top:5px;
175 padding-bottom:5px;
176}
177
178#gs_footer a {
179 /*color:#FFF;*/
180}
181
182.termList {
183 font-size:12px;
184 line-height:14px;
185}
186
187.noTermHighlight{
188
189}
190
191.termHighlight{
192 background:yellow;
193}
194
195.viewOptions {
196 width: 100%;
197}
198
199.viewOptions td {
200 padding: 5px;
201}
202
203.tableOfContentsTitle{
204 font-weight:bold;
205 text-align:left;
206}
207
208.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
209 text-decoration:none;
210}
211
212#rightSidebar {
213 border: 1px solid #cdc;
214 width: 30%;
215 min-width:180px;
216 float:right;
217 margin: 0 0 10px 20px;
218 background-color: #FFFFFF;
219}
220
221#contentsArea {
222 padding:10px;
223}
224
225#collectionLinks {
226 position: relative;
227}
228
229#collectionLinks a div{
230 display: block;
231 float: left;
232 border: 1px solid #888;
233 margin: 0 20px 20px 0;
234 font-size: 150%;
235 color: #444;
236 text-decoration: none;
237 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
238 padding: 20px;
239 min-width: 200px;
240}
241
242#collectionLinks a img{
243 display: block;
244 float: left;
245 border: 1px solid #888;
246 margin: 0 20px 20px 0;
247 font-size: 150%;
248 color: #444;
249 text-decoration: none;
250 height:60px;
251}
252
253/*
254.collectionLink {
255 display: block;
256 float: left;
257 border: 1px solid #888;
258 margin: 0 20px 20px 0;
259 font-size: 150%;
260 color: #444;
261 text-decoration: none;
262 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
263 padding: 20px;
264}
265*/
266
267/* some text should not be rendered as it is just there for search engines */
268#collectionLinks a b {
269 display: none;
270}
271
272/* make sure h1s and h2s are readable on the green banner */
273#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
274 /*color: #fff;*/
275}
276body.dAction #gs_banner h2 {
277 max-width: 600px;
278 font-size: 100;
279}
280
281#titlearea {
282 padding-left: 20px;
283 width:40%;
284}
285
286#titlesearchcontainer {
287 height: 70px;
288 width: 100%;
289}
290
291#titlesearchcontainer h2 {
292 padding-left: 0px;
293}
294
295#titlesearchcontainer, #titlesearchcontainer form, #titlesearchcontainer h2{
296 padding-top: 0px;
297 padding-bottom: 0px;
298 margin-top: 0px;
299 margin-bottom: 0px;
300}
301
302#quicksearcharea {
303 width: 60%;
304 text-align: right;
305 padding-right: 20px;
306 padding-top: 10px;
307}
308
309#quicksearcharea ul{
310 margin:0;
311}
312
313#quicksearcharea li{
314 display:inline;
315 list-style:none;
316 margin-left:5px;
317 padding: 2px 3px 2px 5px;
318 font-size: 10px;
319}
320
321#quicksearcharea a{
322 text-transform:lowercase;
323}
324
325#breadcrumbs {
326 margin-left: 20px;
327}
328
329#breadcrumbs a{
330 text-decoration:underline;
331}
332
333
334/* css to make the page links work (home, help, preference) */
335#bannerLinks {
336 text-align: right;
337 list-style: none;
338 margin: 0 20px;
339 font-size: 90%;
340}
341
342#bannerLinks li {
343 /*display: inline;*/
344 float:right;
345 margin-left: 5px;
346 padding: 1px 4px 1px 0px;
347}
348
349#bannerLinks ul {
350 padding: 0px 3px 0px 0px;
351 text-align: right;
352 list-style: none;
353}
354
355#bannerLinks li.current a {
356 cursor: default;
357}
358
359#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
360
361#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
362#bannerLinks img.spacer { display: table-cell; }
363
364
365/* css to make the classifier list pretty */
366.navList {
367 margin: 0 0 10px 0;
368 padding: 0;
369 background-color: #0a0;
370}
371
372.navList ul {
373 margin: 0;
374 padding: 0;
375 list-style: none;
376}
377
378.navList td {
379 /*float: left;*/
380 padding-left: 3em;
381 padding-right: 3em;
382 text-align:center;
383 cursor: pointer;
384 color: #fff;
385}
386.navList li a, .navList li span {
387 padding: 0 1em;
388 display: block;
389 text-decoration: none;
390 color: #fff;
391}
392
393.navList td.current {
394 background-color: #efea6e;
395 color: #444;
396 cursor: default;
397}
398
399.navList li.current a, .navList li.current span {
400 color: #444;
401 cursor: default;
402}
403
404/* css to make the tabs work */
405#nav {
406 list-style: none outside none;
407 padding: 0px;
408 margin: 9px 0 0 20px;
409 font-size: 14px;
410}
411
412#nav ul {
413 margin:0px;
414 padding:0px;
415}
416
417#nav li {
418 display: inline;
419 margin-right: 5px;
420 padding: 3px 5px 4px 7px;
421 text-transform: capitalize;
422 text-align: center;
423 border-bottom: none;
424}
425
426#nav a{
427 margin:0px;
428 font-weight: bold;
429 text-decoration: none;
430}
431
432#nav li:hover, #nav li.current { background-position: 100% 0; }
433#nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; }
434
435/* style the search and classifier results */
436#resultsTable {
437 line-height: 160%;
438 margin: 0;
439 padding: 0;
440 /* border: 1px solid #f00; */
441}
442
443#resultsTable ul {
444 margin: 0 0 0 20px;
445 padding: 0;
446}
447
448#resultsTable li {
449 list-style: none;
450 margin: 0 0 .2em 0;
451 /* border: 1px solid #00f; */
452}
453
454#resultsTable li a {
455 padding: 3px 3px 3px 3px;
456 background-repeat: no-repeat;
457 background-position: 0 .1em;
458}
459
460
461#resultsTable .document a { /*background-image: url('../images/book.png'); */}
462#resultsTable .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
463#resultsTable .shelf>a { background-image: url('../images/bookshelf.png'); }
464
465/* corners of the banner */
466/*
467.corner {
468 position: absolute;
469 background-image: url('../images/layout/corners.png');
470 background-repeat: no-repeat;
471 width: 20px;
472 height: 20px;
473}
474
475#cornerTopLeft {
476 left: 0; top: 0;
477 background-position: 0 0;
478}
479#cornerTopRight {
480 right: 0; top: 0;
481 background-position: -20px 0;
482}
483#cornerBottomLeft {
484 left: 0; bottom: 0;
485 background-position: 0 -20px;
486}
487#cornerBottomRight {
488 right: 0; bottom: 0;
489 background-position: -20px -20px;
490}
491*/
492.clear {
493 clear: both;
494}
495
496
497/*a:link, a:hover, a:active, a:visited { color: #050; }*/
498
499/* bg image set in style macro */
500div.divbar {
501 clear: both;
502 background-image: url('../images/bg_green.png');
503 width: 100%;
504 text-align: center;
505 font-size:80%
506}
507
508
509/** query form style**/
510div#queryform{
511
512}
513
514/** search result style */
515div#terminfo{
516
517}
518
519div#matchdocs{
520
521}
522
523div.resultnavigation{
524 margin: 0;
525 padding:0;
526}
527
528ul#resultlist li{
529 display:block;
530}
531
532div#documentheading{
533 font-size: 16pt;
534 font-weight: bold;
535}
536
537div#documentinfo {
538 float:left;
539 padding:0;
540 margin:0;
541 width:24%;
542}
543
544div#toc{
545 float:left;
546 text-align:left;
547 width:60%;
548 padding:0;
549 margin:0;
550}
551
552ul#docbuttons li {
553 display: block;
554 font-size: 11px;
555 font-weight: bold;
556 background: #f7e7c5;
557 margin: 1px;
558 border: 1px solid #eeddbb;
559 text-align: center;
560 vertical-align: middle;
561 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
562 width: 110px;
563}
564
565
566ul#tocnodes li{
567 margin: 0;
568 padding: 5px 0 0 0;
569 display:block;
570}
571
572ul.tocnode {
573 margin:0;
574 padding:5px 0 0 20px;
575}
576
577ul.tocnode a{
578 margin: 0;
579 padding:0 5px 0 0;
580 }
581
582span.bold{
583 font-weight: bold;
584}
585
586div.documentarrows{
587 margin: 0 0 0 0;
588 padding: 1em 0 0 0;
589}
590
591img.lessarrow{
592 float:left;
593 border: none;
594}
595
596img.morearrow{
597 float:right;
598 border:none;
599}
600
601div.formheading{
602 font-size: 16pt;
603 font-weight: bold;
604 margin: .5em 0 0;
605 padding:0;
606}
607
608ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
609 display: block;
610}
611
612
613div.phrasebrowse{
614 text-align:center;
615 padding:0;
616 margin: .5em 0 .5em 0;
617}
618
619div.QuickSearch {
620 float: right;
621}
622
623#coverImage {
624 text-align: center;
625}
626
627/* ----- TABLE OF CONTENTS ------ */
628#tableOfContents {
629 margin: 0;
630 padding: 0;
631 font-size: 70%;
632}
633
634#tableOfContents li {
635 list-style: none;
636 margin: 0;
637 padding: 2px;
638 background-color: #fff;
639}
640
641#tableOfContents li a {
642 color: #444;
643}
644
645#tableOfContents li.current {
646 background-color: #090;
647}
648#tableOfContents li.current a {
649 color: #fff;
650}
651
652#tableOfContents li.current li {
653 background-color: #fff;
654}
655
656#tableOfContents li.current li a {
657 color: #444;
658}
659
660#tableOfContents ul {
661 padding: 0 0 0 0;
662}
663
664#tableOfContents ul ul{
665 padding: 0 0 0 0;
666}
667
668#tableOfContents ul ul ul{
669 padding: 0 0 0 16px;
670}
671
672/* -------- SEARCH ------- */
673.paramLabel {
674 margin: 2px;
675 float: left;
676 min-width: 250px;
677}
678.paramValue {
679 margin: 2px;
680 float: left;
681}
682
683
684table{
685 border-collapse:collapse;
686 border-spacing:0;
687}
688
689/* ------- BROWSE -------*/
690
691.childrenlist {
692 margin:0 0 0 10px;
693
694}
695.childrenlist td {
696 padding:3px 0px 0px 10px;
697}
698
699/* ------- PAGED IMAGE ------- */
700
701.pageSlider {
702 width: 250px;
703 overflow: auto;
704 margin-left: auto;
705 margin-right: auto;
706 padding: 2px;
707}
708
709.pageSliderSpacer {
710 width:2px;
711}
712
713.pageSliderCol {
714 width:75px;
715 height:100px;
716 padding: 2px;
717 text-align: center;
718 vertical-align: bottom;
719}
720
721/* ------- SPATIAL COLLECTIONS ------- */
722
723#nearbyDocs td, #nearbyDocs th {
724 padding: 5px;
725 border: 1px solid black;
726}
727
728#nearbyDocs th {
729 font-weight: bold;
730}
731
732#auth_navbar {
733 width: 90%;
734 margin: 10px auto;
735}
736
737#auth_navbar span{
738 padding:3px;
739}
740
741#userListTable {
742 text-align: center;
743 width: 90%;
744 margin: auto;
745}
746
747#userListTable td{
748 border: black 1px solid;
749 padding: 5px;
750}
751
752#gs_error{
753 padding: 5px;
754 margin: auto;
755 width: 50%;
756 text-align: center;
757}
758
759#loginTable{
760 margin: auto;
761 width: 25%;
762}
763
764.map_canvas_full{
765 margin:0px auto;
766 width:900px;
767 height:500px;
768}
769
770.map_canvas_half{
771 float: right;
772 width:450px;
773 height:500px;
774}
775
776dl dt { font-weight:bold;
777 padding-top:10px; }
778dl dd { padding-bottom:10px}
779
780#facetSelector{
781 padding: 0px;
782 width:30%;
783 float:right;
784}
785
786.facetTable{
787 list-style:none;
788 margin: 0px 0px 20px;
789 padding: 0px;
790 overflow:auto;
791}
792
793.facetTable li{
794 margin-bottom:5px;
795}
796
797.checkboxList{
798 list-style:none;
799 padding-left:0px;
800}
801
802.facetedResults{
803 float:left;
804 width:65%;
805}
806
807/*
808ul.childrenlist li {
809list-style-type:none;
810}
811ul#classifierlist,ul#classifiernodelist {
812 list-style-type:none;
813 margin:0;
814 padding:0
815}
816ul#classifierlist li{
817list-style:none;
818margin:0 0 5px 0;
819padding:0;display:block;
820}
821ul#classifiernodelist li{
822list-style:none;
823margin:0;
824padding:5px 0 0 0;
825display:block
826}
827ul.childrenlist{
828list-style:none;
829margin:0;
830padding:0 0 0 20px;
831display:block;
832width:100%
833}
834*/
Note: See TracBrowser for help on using the repository browser.