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

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

a sample skin in progress

File size: 9.3 KB
Line 
1body {
2 font-family: sans-serif;
3 padding: 20px;
4 margin: 0;
5}
6
7#container {
8 margin: 0 auto 20px auto;
9 max-width: 1000px;
10 padding: 0;
11 line-height: 160%;
12}
13
14#banner {
15 background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;
16 padding: 10px 20px 30px 20px;
17 max-height: 110px;
18 position: relative;
19}
20
21#content {
22 border-left: 1px solid #ccc;
23 border-right: 1px solid #ccc;
24 padding: 1em;
25}
26
27
28#quickSearch {
29}
30
31
32#collectionLinks {
33 position: relative;
34}
35
36#collectionLinks a {
37 display: block;
38 float: left;
39 width: 160px;
40 height: 120px;
41 border: 1px solid #888;
42 background-position: center center;
43 background-repeat: no-repeat;
44 margin: 0 20px 20px 0;
45}
46
47#footer {
48 position: relative;
49 display: block;
50 height: 30px;
51 background: transparent url('../images/gsdlhead.gif') scroll no-repeat left top;
52 margin: 0 auto;
53 max-width: 1000px;
54 text-align: center;
55 vertical-align: middle;
56 font-size: 70%;
57 color: #fff;
58}
59
60
61/* some text should not be rendered as it is just there for search engines */
62#collectionLinks a b {
63 display: none;
64}
65
66/* make sure h1s and h2s are readable on the green banner */
67#banner h1, #banner h2, #banner h1 a, #banner h2 a {
68 color: #fff;
69 text-decoration: none;
70}
71
72#banner h1 {
73 font-size: 16px;
74 margin: 0 0 10px 0;
75}
76#banner h2 {
77 margin: 0 0 10px 1em;
78}
79
80
81/* css to make the tabs work */
82#nav {
83 position: absolute;
84 width: auto;
85 bottom: 0;
86 right: 0;
87
88 list-style: none;
89
90 margin:0;
91 padding: 0 15px 0 0;
92
93 font-size: 14px;
94}
95
96#nav li {
97 float: right;
98 color: #fff;
99 background: transparent url('../images/tab-right.png') scroll no-repeat 100% -100px;
100 margin: 0 5px 0 0;
101 padding: 0 8px 0 0;
102
103}
104
105#nav a {
106 display: block;
107 float: left;
108
109 background: transparent url('../images/tab-left.png') no-repeat scroll 0 -100px;
110 margin:0;
111 padding: 5px 4px 3px 10px;
112 font-weight: normal;
113 color: #fff;
114 text-decoration: none;
115 line-height: 1;
116}
117
118#nav li:hover, #nav li.current { background-position: 100% 0; }
119#nav li:hover a, #nav li.current a { background-position: 0 0; cursor:default; }
120
121/* css to make the classifier list pretty */
122#classifierList {
123 margin: 0 0 10px 0;
124 padding: 0;
125 background-color: #0a0;
126}
127
128#classifierList ul {
129 margin: 0;
130 padding: 0;
131 list-style: none;
132}
133
134#classifierList li {
135 float: left;
136 margin: 0 0 0 20px;
137}
138#classifierList li a {
139 padding: 0 1em;
140 display: block;
141 text-decoration: none;
142 color: #fff;
143}
144
145#classifierList li.current a {
146 background-color: #efea6e;
147 color: #444;
148 cursor: default;
149}
150
151/* style the classifier results */
152#classifierResults {
153 margin: 0;
154 padding: 0;
155 /* border: 1px solid #f00; */
156}
157
158#classifierResults ul {
159 margin: 0 0 0 20px;
160 padding: 0;
161}
162
163#classifierResults li {
164 list-style: none;
165 margin: 0 0 .2em 0;
166 /* border: 1px solid #00f; */
167}
168
169#classifierResults li a {
170 padding: 3px 3px 3px 28px;
171 background-repeat: no-repeat;
172 background-position: 0 .1em;
173}
174
175
176#classifierResults .document a { background-image: url('../images/book.png'); }
177#classifierResults .document a:visited { background-image: url('../images/book-visited.png'); color: #999; }
178
179#classifierResults .shelf>a { background-image: url('../images/bookshelf.png'); }
180
181/* corners of the banner */
182.corner {
183 position: absolute;
184 background: transparent url('../images/whatever.png') scroll no-repeat left top;
185 width: 20px; height: 20px;
186}
187
188#cornerTopLeft { left: 0; top: 0; background-image: url('../images/corner-top-left.png'); }
189#cornerTopRight { right: 0; top: 0; background-image: url('../images/corner-top-right.png'); }
190#cornerBottomLeft { left: 0; bottom: 0; background-image: url('../images/corner-bottom-left.png'); }
191#cornerBottomRight { right: 0; bottom: 0; background-image: url('../images/corner-bottom-right.png'); }
192
193.clear {
194 clear: both;
195}
196
197
198a:link, a:hover, a:active, a:visited { color: #050; }
199
200/*
201
202ul li>select, ul li>input {
203 padding: 0;
204 margin-left:5px;
205}
206
207
208
209div#banner ul, ul#resultlist, ul#tocnodes, ul#docbuttons, ul.tocnode, ul#bannerlist, ul#navbarlist, ul#collectionlist, ul#servicelist, ul#classifierlist, ul#classifiernodelist, ul#queryitemlist{
210 list-style-type:none;
211 margin:0;
212 padding:0;
213}
214
215div#banner ul li, ul#bannerlist li, ul#navbarlist li {
216 display: inline;
217 margin:0;
218 padding:0;
219}
220
221
222
223div#banner p {
224 margin:0;
225 padding: 0;
226 float:left;
227 font-size: 16px;
228 text-align: left;
229 overflow:hidden
230}
231
232div#banner p a {
233 background-image: url('../images/banner_bg.png');
234 background-repeat: repeat-y;
235}
236
237
238div#banner ul{
239 margin:0;
240 padding:0;
241 float:right;
242 font-size: 12px;
243}
244
245div#banner a{
246 text-decoration: none;
247 color:#000000;
248}
249
250
251
252ul#bannerlist li a {
253 padding: 0 10px 0 10px;
254 text-decoration: none;
255}
256
257ul#bannerlist li a:link, ul#bannerlist li a:visited
258{
259 background-color: #DEE79C;
260 background-image: url('../images/bg_off.png');
261 text-decoration: none
262}
263
264ul#bannerlist li a:hover{
265 background-color: #FFFF66;
266 background-image: url('../images/bg_on.png') ;
267 text-decoration: none
268}
269
270
271div#navbar{
272 clear:both;
273}
274
275ul#navbarlist{
276 margin:0;
277 padding:0;
278 list-style-type: none;
279 text-align:center;
280 width: 100%;
281 font-size: 80%;
282 background-image: url('../images/bg_green.png');
283 background-color: #99CC99
284 }
285
286ul#navbarlist li a {
287 padding: 0 20px 0 20px;
288 margin: 0;
289 color: #000000;
290 text-decoration: none;
291}
292
293ul#navbarlist li a:link, ul#navbarlist li a:visited{
294 background-image: url('../images/bg_off.png') ;
295 }
296
297ul#navbarlist li a:hover{
298 background-image: url('../images/bg_on.png') ;
299}
300
301
302ul#collectionlist li, ul#servicelist li{
303 display:block;
304 padding:0;
305 margin: .2em 0 0 0;
306 overflow:hidden;
307}
308
309
310ul#collectionlist img{
311 margin:0;
312 padding:0;
313 width: 150px;
314 height: 45px;
315 border: 1px solid black;
316 background-image: url('../images/collectimg_bg.png');
317 background-repeat: repeat-y;
318 overflow:hidden
319}
320
321ul#collectionlist li a.noimage{
322 display: block;
323 margin:0;
324 width: 145px;
325 height: 40px;
326 border: 1px solid black;
327 background-image: url('../images/collectimg_bg.png');
328 background-repeat: repeat-y;
329 overflow:hidden; padding-left:5px; padding-right:0; padding-top:5px; padding-bottom:0
330
331}
332
333ul#collectionlist li a{
334 font-size: 16px;
335 color: #000000;
336 text-decoration: none;
337 font-weight: bold;
338}
339
340ul#servicelist li a{
341 margin:0 .5em 0 0;
342}
343
344ul#queryitemlist li{
345 display:block;
346 margin: .2em 0 .2em 0;
347}
348
349ul#classifierlist li{
350 list-style: none;
351 margin: 0 0 5px 0;
352 padding: 0;
353 display: block;
354 color:#000;
355}
356
357ul#classifierlist li#activeclassifier{
358 font-weight:bold;
359 padding: 0 0 0 5px;
360 margin:0 0 5px 0;
361}
362
363 ul#classifierlist li a:link, ul#classifierlist li a:visited
364{
365 display:block;
366 margin:0;
367 background-image: url('../images/bg_off.png');
368 text-decoration: none;
369 color:#000;
370 width:100%; padding-left:5px; padding-right:0; padding-top:2px; padding-bottom:2px
371 }
372
373ul#classifierlist li a:hover, ul#classifierlist li a:active
374{
375 display:block;
376 margin:0;
377 background-image: url('../images/bg_on.png');
378 text-decoration: none; padding-left:5px; padding-right:0; padding-top:2px; padding-bottom:2px
379
380}
381
382ul#classifierlist{
383 float:left;
384 font-size: 14px;
385 text-align: left;
386 width: 15%;
387 margin:0;
388 padding:0;
389}
390
391div#classifiers{
392 float:left;
393 width: 75%;
394 margin:0;
395 padding:0 0 0 10px;
396 }
397
398ul#classifiernodelist li{
399 list-style: none;
400 margin: 0;
401 padding: 5px 0 0 0;
402 display: block;
403 }
404
405ul.childrenlist{
406 margin: 0 0 0 0;
407 padding: 0 0 0 20px;
408 display: block;
409 width: 100%;
410}
411
412div#content{
413 clear: both;
414 overflow: hidden;
415 margin: .2em 0 0 0;
416}
417
418/* bg image set in style macro */
419div.divbar {
420 clear: both;
421 background-image: url('../images/bg_green.png');
422 width: 100%;
423 text-align: center;
424 font-size:80%
425}
426
427
428/** query form style**/
429div#queryform{
430
431}
432
433/** search result style */
434div#terminfo{
435
436}
437
438div#matchdocs{
439
440}
441
442div.resultnavigation{
443 margin: 0;
444 padding:0;
445}
446
447ul#resultlist li{
448 display:block;
449}
450
451
452div.documenttext { clear: both; } /* come after any floating divs */
453
454div#documentheading{
455 font-size: 16pt;
456 font-weight: bold;
457}
458
459div#documentinfo {
460 float:left;
461 padding:0;
462 margin:0;
463 width:24%;
464}
465
466div#toc{
467 float:left;
468 text-align:left;
469 width:60%;
470 padding:0;
471 margin:0;
472}
473
474ul#docbuttons li {
475 display: block;
476 font-size: 11px;
477 font-weight: bold;
478 background: #f7e7c5;
479 margin: 1px;
480 border: 1px solid #eeddbb;
481 text-align: center;
482 vertical-align: middle;
483 height: 30px; /* IE6 and NS4 treat width/height as min-width/min-height */
484 width: 110px;
485}
486
487
488ul#tocnodes li{
489 margin: 0;
490 padding: 5px 0 0 0;
491 display:block;
492}
493
494ul.tocnode {
495 margin:0;
496 padding:5px 0 0 20px;
497}
498
499ul.tocnode a{
500 margin: 0;
501 padding:0 5px 0 0;
502 }
503
504span.bold{
505 font-weight: bold;
506}
507
508div.documentarrows{
509 clear: both;
510 margin: 0 0 0 0;
511 padding: 1em 0 0 0;
512}
513
514img.lessarrow{
515 float:left;
516 border: none;
517}
518
519img.morearrow{
520 float:right;
521 border:none;
522}
523
524div.formheading{
525 font-size: 16pt;
526 font-weight: bold;
527 margin: .5em 0 0;
528 padding:0;
529}
530
531ul#presprefs li, ul#berrybasketprefs li, ul#searchprefs li{
532 display: block;
533}
534
535
536div.phrasebrowse{
537 text-align:center;
538 padding:0;
539 margin: .5em 0 .5em 0;
540}
541
542div.QuickSearch {
543 float: right;
544}
545
Note: See TracBrowser for help on using the repository browser.