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

Last change on this file since 24359 was 24359, checked in by ak19, 13 years ago

Corrections to commits of revision 24339 and 24340: better layout for oran skin when the default contents of collectionconfig.xml are present (if there's nothing in collectionconfig.xml, it will use Sam's better interface). Uses table and table rows and cells instead of unordered list and listitems.

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.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 background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;
213 text-align: center;
214 vertical-align: middle;
215 font-size: 70%;
216 color: #fff;
217 padding-top:5px;
218 padding-bottom:5px;
219}
220
221
222
223/* some text should not be rendered as it is just there for search engines */
224#collectionLinks a b {
225 display: none;
226}
227
228/* make sure h1s and h2s are readable on the green banner */
229#breadcrumbs, #gs_banner h2, #breadcrumbs a, #gs_banner h2 a {
230 color: #fff;
231}
232body.dAction #gs_banner h2 {
233 max-width: 600px;
234 font-size: 100;
235}
236
237#titlearea {
238 padding-left: 1em;
239 padding-right: 1em;
240 height:60px;
241 background-color: #007200;
242 width:40%;
243}
244
245#titlesearchcontainer {
246 width:100%;
247 margin: 5px 0 5px;
248}
249
250#quicksearcharea {
251 width:60%;
252 text-align:right;
253 padding: 0.4em;
254 color:white;
255 background-color:#007200;
256}
257
258#quicksearcharea table{
259 font-size:70%;
260 margin:0;
261 float: right;
262}
263
264#quicksearcharea a{
265 color:white;
266 text-transform:lowercase;
267 padding-left:10px;
268}
269
270#breadcrumbs {
271 /*margin: 0 0 10px 0;*/
272 height: 25px;
273 line-height: 15px;
274}
275
276/* css to make the tabs work */
277#nav {
278 position:absolute;
279 width: auto;
280 bottom: 0;
281 left: 0;
282 list-style: none;
283 margin:0;
284 padding: 0 0 0 20px;
285 font-size: 14px;
286}
287
288#nav li {
289 float: left;
290 color: #fff;
291 background: transparent url('../images/tab-right.png') scroll no-repeat 100% -100px;
292 margin: 0 5px 0 0;
293 padding: 0 8px 0 0;
294 text-transform: capitalize;
295}
296
297#nav a{
298
299 display: block;
300 float:left;
301 background: transparent url('../images/tab-left.png') no-repeat scroll 0 -100px;
302 margin:0;
303 padding: 5px 4px 3px 10px;
304 font-weight: bold;
305 color: #fff;
306 text-decoration: none;
307 line-height: 1;
308}
309
310#nav li:hover, #nav li.current { background-position: 100% 0; }
311#nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; }
312
313#authennavbarlist {
314 display: inline;
315 list-style-type: none;
316 padding-right: 20px;
317}
318
319/* css to make the page links work (home, help, preference) */
320#bannerLinks {
321 width: auto;
322 position: absolute;
323 list-style: none;
324 margin:0;
325 top: 7px;
326 right: 0;
327 padding: 0 15px 0 0;
328 text-transform: lowercase;
329}
330
331#bannerLinks li {
332 float: right;
333 margin: 0;
334 padding: 0 2px 0 0;
335}
336
337#bannerLinks a {
338 display: block;
339 float: left;
340 display: table-cell;
341 min-width: 1em;
342 margin:0;
343 padding: 5px 5px 3px 10px;
344 font-weight: normal;
345 text-align: center;
346 color: #fff;
347 text-decoration: none;
348 line-height: 1;
349}
350
351#bannerLinks li.current a {
352 cursor: default;
353}
354
355#bannerLinks li:hover, #bannerLinks li.current { background-position: 100% 0; }
356
357#bannerLinks li.current a { text-decoration: underline; background-position: 0 0;}
358#bannerLinks img.spacer { display: table-cell; }
359
360
361/* css to make the classifier list pretty */
362.navList {
363 margin: 0 0 10px 0;
364 padding: 0;
365 background-color: #0a0;
366}
367
368.navList ul {
369 margin: 0;
370 padding: 0;
371 list-style: none;
372}
373
374.navList td {
375 /*float: left;*/
376 padding-left: 3em;
377 padding-right: 3em;
378 text-align:center;
379 cursor: pointer;
380 color: #fff;
381}
382.navList li a, .navList li span {
383 padding: 0 1em;
384 display: block;
385 text-decoration: none;
386 color: #fff;
387}
388
389.navList td.current {
390 background-color: #efea6e;
391 color: #444;
392 cursor: default;
393}
394
395.navList li.current a, .navList li.current span {
396 color: #444;
397 cursor: default;
398}
399
400/* style the search and classifier results */
401#results {
402 line-height: 160%;
403 margin: 0;
404 padding: 0;
405 /* border: 1px solid #f00; */
406}
407
408#results ul {
409 margin: 0 0 0 20px;
410 padding: 0;
411}
412
413#results li {
414 list-style: none;
415 margin: 0 0 .2em 0;
416 /* border: 1px solid #00f; */
417}
418
419#results li a {
420 padding: 3px 3px 3px 28px;
421 background-repeat: no-repeat;
422 background-position: 0 .1em;
423}
424
425
426/*#results .document a { background-image: url('../images/book.png'); }*/
427#results .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
428#results .shelf>a { background-image: url('../images/bookshelf.png'); }
429
430/* corners of the banner */
431/*
432.corner {
433 position: absolute;
434 background-image: url('../images/layout/corners.png');
435 background-repeat: no-repeat;
436 width: 20px;
437 height: 20px;
438}
439
440#cornerTopLeft {
441 left: 0; top: 0;
442 background-position: 0 0;
443}
444#cornerTopRight {
445 right: 0; top: 0;
446 background-position: -20px 0;
447}
448#cornerBottomLeft {
449 left: 0; bottom: 0;
450 background-position: 0 -20px;
451}
452#cornerBottomRight {
453 right: 0; bottom: 0;
454 background-position: -20px -20px;
455}
456*/
457.clear {
458 clear: both;
459}
460
461
462a:link, a:hover, a:active, a:visited { color: #050; }
463
464/* bg image set in style macro */
465div.divbar {
466 clear: both;
467 background-image: url('../images/bg_green.png');
468 width: 100%;
469 text-align: center;
470 font-size:80%
471}
472
473
474/** query form style**/
475div#queryform{
476
477}
478
479/** search result style */
480div#terminfo{
481
482}
483
484div#matchdocs{
485
486}
487
488div.resultnavigation{
489 margin: 0;
490 padding:0;
491}
492
493ul#resultlist li{
494 display:block;
495}
496
497div#documentheading{
498 font-size: 16pt;
499 font-weight: bold;
500}
501
502div#documentinfo {
503 float:left;
504 padding:0;
505 margin:0;
506 width:24%;
507}
508
509div#toc{
510 float:left;
511 text-align:left;
512 width:60%;
513 padding:0;
514 margin:0;
515}
516
517ul#docbuttons li {
518 display: block;
519 font-size: 11px;
520 font-weight: bold;
521 background: #f7e7c5;
522 margin: 1px;
523 border: 1px solid #eeddbb;
524 text-align: center;
525 vertical-align: middle;
526 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
527 width: 110px;
528}
529
530
531ul#tocnodes li{
532 margin: 0;
533 padding: 5px 0 0 0;
534 display:block;
535}
536
537ul.tocnode {
538 margin:0;
539 padding:5px 0 0 20px;
540}
541
542ul.tocnode a{
543 margin: 0;
544 padding:0 5px 0 0;
545 }
546
547span.bold{
548 font-weight: bold;
549}
550
551div.documentarrows{
552 margin: 0 0 0 0;
553 padding: 1em 0 0 0;
554}
555
556img.lessarrow{
557 float:left;
558 border: none;
559}
560
561img.morearrow{
562 float:right;
563 border:none;
564}
565
566div.formheading{
567 font-size: 16pt;
568 font-weight: bold;
569 margin: .5em 0 0;
570 padding:0;
571}
572
573ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
574 display: block;
575}
576
577
578div.phrasebrowse{
579 text-align:center;
580 padding:0;
581 margin: .5em 0 .5em 0;
582}
583
584div.QuickSearch {
585 float: right;
586}
587
588#coverImage {
589 text-align: center;
590}
591
592/* ----- TABLE OF CONTENTS ------ */
593#tableOfContents {
594 margin: 0;
595 padding: 0;
596 font-size: 70%;
597}
598
599#tableOfContents li {
600 list-style: none;
601 margin: 0;
602 padding: 2px;
603 background-color: #fff;
604}
605
606#tableOfContents li a {
607 color: #444;
608}
609
610#tableOfContents li.current {
611 background-color: #090;
612}
613#tableOfContents li.current a {
614 color: #fff;
615}
616
617#tableOfContents li.current li {
618 background-color: #fff;
619}
620
621#tableOfContents li.current li a {
622 color: #444;
623}
624
625#tableOfContents ul {
626 padding: 0 0 0 0;
627}
628
629#tableOfContents ul ul{
630 padding: 0 0 0 0;
631}
632
633#tableOfContents ul ul ul{
634 padding: 0 0 0 16px;
635}
636
637/* -------- SEARCH ------- */
638.paramLabel {
639 float: left;
640 min-width: 250px;
641}
642.paramValue {
643 float: left;
644}
645
646
647table{
648 border-collapse:collapse;
649 border-spacing:0;
650}
651
652/* ------- BROWSE -------*/
653
654.childrenlist {
655 margin:0 0 0 10px;
656
657}
658.childrenlist td {
659 padding:3px 0px 0px 10px;
660}
661
662/*
663ul.childrenlist li {
664list-style-type:none;
665}
666ul#classifierlist,ul#classifiernodelist {
667 list-style-type:none;
668 margin:0;
669 padding:0
670}
671ul#classifierlist li{
672list-style:none;
673margin:0 0 5px 0;
674padding:0;display:block;
675}
676ul#classifiernodelist li{
677list-style:none;
678margin:0;
679padding:5px 0 0 0;
680display:block
681}
682ul.childrenlist{
683list-style:none;
684margin:0;
685padding:0 0 0 20px;
686display:block;
687width:100%
688}
689*/
Note: See TracBrowser for help on using the repository browser.