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

Last change on this file since 24772 was 24772, checked in by papitha, 13 years ago

changes to style

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