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

Last change on this file since 24115 was 24115, checked in by sjm84, 13 years ago

Further interface updates

File size: 9.5 KB
Line 
1html {
2 height: 100%;
3 margin-bottom: 1px;
4}
5body {
6 font-family: sans-serif;
7 padding: 20px;
8 margin: 0;
9 color: #444;
10 background-color: #eae4d9;
11}
12
13h3 {
14 margin-top:2px;
15 margin-bottom:2px;
16}
17
18p {
19 margin-top:0px;
20 margin-bottom:0.75em;
21}
22
23.sectionHeader {
24 margin-top:0px;
25 margin-bottom:0px;
26}
27
28.headerTD {
29 vertical-align: middle;
30}
31
32/* Styles for the different depths */
33.sectionHeaderDepthTitle{
34 font-size:1.8em;
35 line-height:1em;
36 font-weight:bold;
37}
38
39.sectionHeaderDepth1{
40 font-size:1.6em;
41 line-height:1em;
42 font-weight:bold;
43}
44
45.sectionHeaderDepth2{
46 font-size:1.4em;
47 line-height:1em;
48 font-weight:bold;
49 font-style:italic;
50}
51
52.sectionHeaderDepth3{
53 font-size:1.2em;
54 line-height:1em;
55 font-style:italic;
56}
57
58.sectionHeaderDepth4{
59 font-size:1em;
60 line-height:1em;
61 font-weight:italic;
62}
63
64.sectionNumberSpan{
65 /*Comment out this line to enable automatic section numbering*/
66 display:none;
67}
68
69.sectionContainer{
70 padding-top:1em;
71 padding-bottom:1em;
72 padding-left:1.5em;
73}
74
75.classifierContainer {
76 padding-left:1.5em;
77}
78
79.icon{
80 cursor:pointer;
81 padding:2px;
82}
83
84.emptyIcon {
85 height:16px;
86 width:16px;
87}
88
89.backToTop {
90 font-size:0.7em;
91 padding-left: 2em;
92 text-align:center;
93}
94
95#prevArrowTD {
96 text-align:right;
97 width:10%;
98}
99
100#nextArrowTD {
101 text-align:left;
102 width:10%;
103}
104
105#prevTD {
106 text-align:left;
107 width:20%;
108}
109
110#nextTD {
111 text-align:right;
112 width:20%;
113}
114
115#searchResultNavTable {
116 width:100%;
117}
118
119#searchResultsStatusBar {
120 text-align:center;
121}
122
123#container {
124 position: relative;
125 margin: 0 auto 20px auto;
126 max-width: 1000px;
127 padding: 0;
128 line-height: 120%;
129 background-color: #fff;
130 border: 1px solid #c8c3b9;
131}
132
133#gs_banner {
134 /*background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;*/
135 background-color: #008800;
136 padding: 10px 20px 30px 20px;
137 min-height: 80px;
138 position: relative;
139}
140
141#gs_content {
142 padding: 1em;
143 padding-right: 2em;
144 min-height: 300px;
145 /* background-color: #ff0; */
146}
147
148.termList {
149 font-size:12px;
150 line-height:14px;
151}
152
153.noTermHighlight{
154
155}
156
157.termHighlight{
158 background:yellow;
159}
160
161.viewOptions {
162 width: 100%;
163 background:#008800;
164}
165
166.viewOptions td {
167 padding: 5px;
168}
169
170.viewOptions a:link, .viewOptions a:hover, .viewOptions a:active, .viewOptions a:visited {
171 color:white;
172 text-decoration:none;
173}
174
175#rightSidebar {
176 border: 1px solid #cdc;
177 width: 25%;
178 min-width: 180px;
179 float: right;
180 margin: 0 0 10px 20px;
181 /* background-color: #f0f; */
182}
183
184#contentsArea {
185 padding:10px;
186}
187
188#quickSearch {
189}
190
191
192#collectionLinks {
193 position: relative;
194}
195
196.collectionLink {
197 display: block;
198 float: left;
199 border: 1px solid #888;
200 margin: 0 20px 20px 0;
201 font-size: 150%;
202 color: #444;
203 text-decoration: none;
204 background: url(../images/collectionIconStripe.gif) scroll no-repeat 0 0;
205 padding: 20px;
206}
207collectionLinkImage {
208 float: left;
209}
210
211#gs_footer {
212 position: relative;
213 display: block;
214 background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;
215 margin: 0 auto;
216 text-align: center;
217 vertical-align: middle;
218 font-size: 70%;
219 color: #fff;
220 padding-top:5px;
221 padding-bottom:5px;
222}
223
224
225
226/* some text should not be rendered as it is just there for search engines */
227#collectionLinks a b {
228 display: none;
229}
230
231/* make sure h1s and h2s are readable on the green banner */
232#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
233 color: #fff;
234}
235body.dAction #gs_banner h2 {
236 max-width: 600px;
237 font-size: 100;
238}
239
240#titlearea {
241 padding-left: 1em;
242 padding-right: 1em;
243 height:60px;
244 background-color: #007200;
245 width:40%;
246}
247
248#titlesearchcontainer {
249 width:100%;
250 margin: 5px 0 5px;
251}
252
253#quicksearcharea {
254 width:60%;
255 text-align:right;
256 padding: 0.4em;
257 color:white;
258 background-color:#007200;
259}
260
261#quicksearcharea table{
262 font-size:70%;
263 margin:0;
264 float: right;
265}
266
267#quicksearcharea a{
268 color:white;
269 text-transform:lowercase;
270 padding-left:10px;
271}
272
273#breadcrumbs {
274 /*margin: 0 0 10px 0;*/
275 height: 25px;
276 line-height: 15px;
277}
278
279/* css to make the tabs work */
280#nav {
281 position:absolute;
282 width: auto;
283 bottom: 0;
284 left: 0;
285 list-style: none;
286 margin:0;
287 padding: 0 0 0 20px;
288 font-size: 14px;
289}
290
291#nav li {
292 float: left;
293 color: #fff;
294 background: transparent url('../images/tab-right.png') scroll no-repeat 100% -100px;
295 margin: 0 5px 0 0;
296 padding: 0 8px 0 0;
297 text-transform: capitalize;
298}
299
300#nav a{
301
302 display: block;
303 float:left;
304 background: transparent url('../images/tab-left.png') no-repeat scroll 0 -100px;
305 margin:0;
306 padding: 5px 4px 3px 10px;
307 font-weight: bold;
308 color: #fff;
309 text-decoration: none;
310 line-height: 1;
311}
312
313#nav li:hover, #nav li.current { background-position: 100% 0; }
314#nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; }
315
316
317/* css to make the page links work (home, help, preference) */
318#bannerLinks {
319 width: auto;
320 position: absolute;
321 list-style: none;
322 margin:0;
323 top: 7px;
324 right: 0;
325 padding: 0 15px 0 0;
326 text-transform: lowercase;
327}
328
329#bannerLinks li {
330 float: right;
331 margin: 0;
332 padding: 0 2px 0 0;
333}
334
335#bannerLinks a {
336 display: block;
337 float: left;
338 display: table-cell;
339 min-width: 1em;
340 margin:0;
341 padding: 5px 5px 3px 10px;
342 font-weight: normal;
343 text-align: center;
344 color: #fff;
345 text-decoration: none;
346 line-height: 1;
347}
348
349#bannerLinks li.current a {
350 cursor: default;
351}
352
353#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
354
355#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
356#bannerLinks img.spacer { display: table-cell; }
357
358
359/* css to make the classifier list pretty */
360.navList {
361 margin: 0 0 10px 0;
362 padding: 0;
363 background-color: #0a0;
364}
365
366.navList ul {
367 margin: 0;
368 padding: 0;
369 list-style: none;
370}
371
372.navList td {
373 /*float: left;*/
374 padding-left: 3em;
375 padding-right: 3em;
376 text-align:center;
377 cursor: pointer;
378 color: #fff;
379}
380.navList li a, .navList li span {
381 padding: 0 1em;
382 display: block;
383 text-decoration: none;
384 color: #fff;
385}
386
387.navList td.current {
388 background-color: #efea6e;
389 color: #444;
390 cursor: default;
391}
392
393.navList li.current a, .navList li.current span {
394 color: #444;
395 cursor: default;
396}
397
398/* style the search and classifier results */
399#results {
400 line-height: 160%;
401 margin: 0;
402 padding: 0;
403 /* border: 1px solid #f00; */
404}
405
406#results ul {
407 margin: 0 0 0 20px;
408 padding: 0;
409}
410
411#results li {
412 list-style: none;
413 margin: 0 0 .2em 0;
414 /* border: 1px solid #00f; */
415}
416
417#results li a {
418 padding: 3px 3px 3px 28px;
419 background-repeat: no-repeat;
420 background-position: 0 .1em;
421}
422
423
424/*#results .document a { background-image: url('../images/book.png'); }*/
425#results .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
426#results .shelf>a { background-image: url('../images/bookshelf.png'); }
427
428/* corners of the banner */
429/*
430.corner {
431 position: absolute;
432 background-image: url('../images/layout/corners.png');
433 background-repeat: no-repeat;
434 width: 20px;
435 height: 20px;
436}
437
438#cornerTopLeft {
439 left: 0; top: 0;
440 background-position: 0 0;
441}
442#cornerTopRight {
443 right: 0; top: 0;
444 background-position: -20px 0;
445}
446#cornerBottomLeft {
447 left: 0; bottom: 0;
448 background-position: 0 -20px;
449}
450#cornerBottomRight {
451 right: 0; bottom: 0;
452 background-position: -20px -20px;
453}
454*/
455.clear {
456 clear: both;
457}
458
459
460a:link, a:hover, a:active, a:visited { color: #050; }
461
462/* bg image set in style macro */
463div.divbar {
464 clear: both;
465 background-image: url('../images/bg_green.png');
466 width: 100%;
467 text-align: center;
468 font-size:80%
469}
470
471
472/** query form style**/
473div#queryform{
474
475}
476
477/** search result style */
478div#terminfo{
479
480}
481
482div#matchdocs{
483
484}
485
486div.resultnavigation{
487 margin: 0;
488 padding:0;
489}
490
491ul#resultlist li{
492 display:block;
493}
494
495div#documentheading{
496 font-size: 16pt;
497 font-weight: bold;
498}
499
500div#documentinfo {
501 float:left;
502 padding:0;
503 margin:0;
504 width:24%;
505}
506
507div#toc{
508 float:left;
509 text-align:left;
510 width:60%;
511 padding:0;
512 margin:0;
513}
514
515ul#docbuttons li {
516 display: block;
517 font-size: 11px;
518 font-weight: bold;
519 background: #f7e7c5;
520 margin: 1px;
521 border: 1px solid #eeddbb;
522 text-align: center;
523 vertical-align: middle;
524 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
525 width: 110px;
526}
527
528
529ul#tocnodes li{
530 margin: 0;
531 padding: 5px 0 0 0;
532 display:block;
533}
534
535ul.tocnode {
536 margin:0;
537 padding:5px 0 0 20px;
538}
539
540ul.tocnode a{
541 margin: 0;
542 padding:0 5px 0 0;
543 }
544
545span.bold{
546 font-weight: bold;
547}
548
549div.documentarrows{
550 margin: 0 0 0 0;
551 padding: 1em 0 0 0;
552}
553
554img.lessarrow{
555 float:left;
556 border: none;
557}
558
559img.morearrow{
560 float:right;
561 border:none;
562}
563
564div.formheading{
565 font-size: 16pt;
566 font-weight: bold;
567 margin: .5em 0 0;
568 padding:0;
569}
570
571ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
572 display: block;
573}
574
575
576div.phrasebrowse{
577 text-align:center;
578 padding:0;
579 margin: .5em 0 .5em 0;
580}
581
582div.QuickSearch {
583 float: right;
584}
585
586#coverImage {
587 text-align: center;
588}
589
590/* ----- TABLE OF CONTENTS ------ */
591#tableOfContents {
592 margin: 0;
593 padding: 0;
594 font-size: 70%;
595}
596
597#tableOfContents li {
598 list-style: none;
599 margin: 0;
600 padding: 2px;
601 background-color: #fff;
602}
603
604#tableOfContents li a {
605 color: #444;
606}
607
608#tableOfContents li.current {
609 background-color: #090;
610}
611#tableOfContents li.current a {
612 color: #fff;
613}
614
615#tableOfContents li.current li {
616 background-color: #fff;
617}
618
619#tableOfContents li.current li a {
620 color: #444;
621}
622
623#tableOfContents ul {
624 padding: 0 0 0 0;
625}
626
627#tableOfContents ul ul{
628 padding: 0 0 0 0;
629}
630
631#tableOfContents ul ul ul{
632 padding: 0 0 0 16px;
633}
634
635/* -------- SEARCH ------- */
636.paramLabel {
637 float: left;
638 min-width: 250px;
639}
640.paramValue {
641 float: left;
642}
643
644
645table{
646 border-collapse:collapse;
647 border-spacing:0;
648}
649
Note: See TracBrowser for help on using the repository browser.