source: main/trunk/greenstone3/web/interfaces/oran/style/core.css@ 25006

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

Some major changes to the page styling to be compatible with the new visual themes

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