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

Last change on this file since 19988 was 19988, checked in by oranfry, 15 years ago

checking in a batch of changes to the oran skin. more work yet to do.

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