Project

General

Profile

1
 /*
2
  *   '$RCSfile$'
3
  *     Purpose: Default style sheet for KNB project web pages 
4
  *              Using this stylesheet rather than placing styles directly in 
5
  *              the KNB web documents allows us to globally change the 
6
  *              formatting styles of the entire site in one easy place.
7
  *   Copyright: 2000 Regents of the University of California and the
8
  *               National Center for Ecological Analysis and Synthesis
9
  *     Authors: Matt Jones
10
  *
11
  *    '$Author: costa $'
12
  *      '$Date: 2005-11-16 10:34:08 -0800 (Wed, 16 Nov 2005) $'
13
  *  '$Revision: 2745 $'
14
  *
15
  * This program is free software; you can redistribute it and/or modify
16
  * it under the terms of the GNU General Public License as published by
17
  * the Free Software Foundation; either version 2 of the License, or
18
  * (at your option) any later version.
19
  *
20
  * This program is distributed in the hope that it will be useful,
21
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
  * GNU General Public License for more details.
24
  *
25
  * You should have received a copy of the GNU General Public License
26
  * along with this program; if not, write to the Free Software
27
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
  */
29

    
30

    
31
/**
32
 *  set the correct iframe sizes to accomodate the 
33
 *  header, footer, left and right areas.
34
 *  NOTE: these styles apply only to each 
35
 *  container frame, *NOT* to the document within it!
36
 */  
37

    
38
.iframeheaderclass {
39
    height:   100px; 
40
    width:    100%;
41
    border:   0px;
42
    margin:   0px;
43
}
44

    
45
.iframesearchboxclass {
46
    height:   300px; 
47
    width:    100%;
48
    border:   0px;
49
    margin:   0px;
50
}
51

    
52
.iframeadvancedsearchboxclass {
53
    height:   1250px; 
54
    width:    100%;
55
    border:   0px;
56
    margin:   0px;
57
}
58

    
59
.iframeloginboxclass {
60
    height:   250px; 
61
    width:    100%;
62
    border:   0px;
63
    margin:   0px;
64
}
65

    
66
.iframeleftcolclass  { /* not used */ }
67
.iframerightcolclass { /* not used */ }
68
.iframefooterclass   { /* not used */ }
69

    
70
/**
71
 *  set the size and alignment etc of the top-level layout table
72
 */  
73
.templatetableclass {
74
    width:   100%; 
75
    border:   0px;
76
    padding:  0px;
77
    margin:   0px;
78
}
79

    
80
/**
81
 *  set the style of the main content area and its contents
82
 */ 
83
.templatecontentareaclass {
84
    border:   0px;
85
    padding:  0px;
86
    margin:   0px;
87
}
88

    
89
/**
90
 *  set the correct <td> sizes to accomodate the 
91
 *  header, footer, left and right iframes.
92
 *  NOTE: these styles apply only to each 
93
 *  container frame, *NOT* to the document in
94
 *  the iframe within it!
95
 */  
96
.templateheaderrowclass {
97
    height:   80px; 
98
    /*
99
      no width allowed - uses same width as table class
100
    */
101
    border:   0px;
102
    padding:  0px;
103
    margin:   0px;
104
}
105

    
106
.templateleftcolclass {
107
    height:   100%; 
108
    width:    0px;
109
    border:   0px;
110
    padding:  0px;
111
    margin:   0px;
112
}
113

    
114
.templaterightcolclass {
115
    height:   100%; 
116
    width:    0px;
117
    border:   0px;
118
    padding:  0px;
119
    margin:   0px;
120
}
121

    
122
.templatefooterrowclass {
123
    height:   0px; 
124
    /*
125
      no width allowed - uses same width as
126
      table class
127
    */
128
    border:   0px;
129
    padding:  0px;
130
    margin:   0px;
131
}
132

    
133
.sectioncorner {
134
    background-image: url(@style-skins-path@/default/images/panelhead_bg.gif);
135
}
136

    
137
.sectionheader {
138
    background-image: url(@style-skins-path@/default/images/panelhead_bg.gif);
139
    text-align: center;
140
    color: #0247A8; 
141
/*    font-size: 1em; 
142
    font-weight: bold; */
143
        font-size: 14px; 
144
    font-weight: bold;
145

    
146
}
147
                    
148
.searchcat {
149
    padding-left: 5px;
150
    color: #0247A8;
151
    font-weight: bold;
152
    font-size: 11px; 
153
}
154
                    
155
td.searchsubcat {
156
    padding-left: 15px; 
157
}
158

    
159
a.searchsubcat {
160
    color: #669933; 
161
    font-weight: normal;
162
    font-size: 11px; 
163
}
164
                                        
165
a.searchsubcat:hover {
166
    color: #ff9933;
167
    text-decoration: underline; 
168
}
169
                                                
170

    
171
/**
172
 *  then add any other styles used
173
 *  by your page......
174
 */
175

    
176
body { 
177
  	padding-top: 3px;
178
    color: #333333; 
179
    background-color: #eeeeee;
180
    background-image: url(@style-skins-path@/default/images/bgpattern.gif);
181
    font-weight: normal;
182
    font-size: 12px; 
183
    font-family: Verdana,Arial,Helvetica,sans-serif; 
184
}
185
    
186
a {
187
    color: #669933;
188
    font-weight: bold;
189
    font-size: 12px; 
190
    text-decoration: none; 
191
		text-align: left;
192
}
193
		
194
a:hover {
195
    color: #ff9933;
196
    text-decoration: underline; 
197
}
198

    
199
.pagetitle {
200
    font-family: Georgia, Times New Roman, Times, serif;
201
    background: #0247A8;
202
    margin-left: 0.25em; 
203
}
204
    
205
.pagesub {
206
    font-family: Verdana,Arial,Helvetica,sans-serif;
207
    font-size: 1em;
208
    font-weight: bold;
209
    color: #339933;
210
    margin-left: 3em;
211
    margin-top: 0.5em;
212
    margin-bottom: 2em; 
213
}
214

    
215
.title {
216
    font-family: Georgia, Times New Roman, Times, serif;
217
    color:      #eeeeee;
218
    background: #0247A8;
219
    font-size: 24px; 
220
    font-weight: bold;
221
}
222

    
223
p.title {
224
  padding-left: 15px;
225
}
226

    
227
.subtitle {
228
    font-family: Verdana,Arial,Helvetica,sans-serif;
229
    font-size: 12px;
230
    font-weight: bold;
231
    color: #666666; 
232
    margin-left: 3em;
233
    margin-top: 0.5em;
234
    margin-bottom: 2em;
235
    font-weight: normal; 
236
}
237
    
238
a.toollink {
239
    color: #225522;
240
		text-align: left;
241
    font-size: 14px; 
242
    text-decoration: none; 
243
}
244
    
245
a.toollink:hover {
246
    color: #ff9933;
247
    text-decoration: underline; 
248
}
249
    
250
a.sitelink {
251
    color: #339933;
252
    text-decoration: none; 
253
    font-size: 12px; 
254
    font-weight: bold; 
255
}
256

    
257
a.sitelink:hover {
258
    color: #ff9933;
259
    text-decoration: underline; 
260
}
261

    
262
h3 {
263
	  font-size: 18px;
264
	  font-family: Georgia, Times New Roman, Times, serif;
265
	  text-align: left;
266
}
267

    
268
b {
269
	  font-size: 12px;
270
	  font-weight: bold;
271
	  text-align: left;
272
}
273
	
274
.tabledefault {
275
    background: white;
276
    color: #555555;
277
		width: 790px; 
278
		width: 100%; 
279
    font-size: 12px; 
280
		line-height: 1.2;
281
    /*padding-left: 5px;
282
    padding-right: 5px;*/ 
283
}
284

    
285
.tablepanel {
286
    background: #eeeeee;
287
    color: #555555;
288
    font-size: 12px; 
289
    padding-left: 5px;
290
    padding-right: 5px; 
291
}
292

    
293
.tablehead {
294
    background-image: url(@style-skins-path@/default/images/panelhead_bg.gif);
295
    color: #0040A1; 
296
    text-align: left;
297
    font-size: 14px; 
298
    font-weight: bold;
299
    border-top: solid #ffffff 2px;
300
    border-bottom: solid #ffffff 2px;
301
    padding-left: 15%;
302
    padding-top: 0px;
303
    padding-bottom: 0px;
304
}
305

    
306
th.tablehead {
307

    
308
    text-align: center;
309
    border: 0px;
310
    margin: 0px;
311
    padding: 0px;
312
    height:  21px;
313
}
314

    
315
.tablehead_lcorner {
316
    background-image: url(@style-skins-path@/default/images/panelhead_bg_lcorner.gif);
317
    background-position: right top;
318
    background-repeat: no-repeat;
319
    padding: 0px;
320
    margin:  0px;
321
    width:   10px;
322
    height:  21px;
323
}    
324
    
325
.tablehead_rcorner {
326
    background-image: url(@style-skins-path@/default/images/panelhead_bg_rcorner.gif);
327
    background-position: left top;
328
    background-repeat: no-repeat;
329
    padding: 0px;
330
    margin:  0px;
331
    width:   10px;
332
    height:  21px;
333
} 
334
   
335

    
336
.tableheadcontrast {
337
    background: #dddddd;
338
    vertical-align: baseline;
339
    color: #666666;
340
    font-size: 16px; 
341
    font-weight: bold; 
342
}
343

    
344
.instright { 
345
    color: #333333; 
346
    text-align: right;
347
    vertical-align: middle;
348
    padding: 1em;
349
    font-size: 1em; 
350
    font-weight: bold; 
351
}
352

    
353
.instleft { 
354
    color: #333333; 
355
    text-align: left;
356
    vertical-align: middle;
357
    padding: 1em;
358
    font-size: 1em; 
359
    font-weight: bold; 
360
}
361

    
362
p { 
363
    margin: 0px; 
364
}
365

    
366
.required { 
367
    color: red; 
368
}
369

    
370
.emphasis { 
371
    color: red;
372
}
373

    
374
p.label { 
375
    color: #333333; 
376
    font-weight: bold; 
377
}
378

    
379
p.contact { 
380
    color: #333333; 
381
    padding: 1em;
382
    font-size: 0.75em; 
383
    font-weight: normal;
384
    font-style: italic; 
385
}
386

    
387
p.header {
388
    color: #333333; 
389
    padding: 5px;
390
    font-size: 12px; 
391
    font-weight: bold; 
392
}
393

    
394
p.emphasis {
395
  font-size: 18px;
396
  color: #dd7744; 
397
  font-weight: bold;
398
  font-style:  normal;
399
}
400

    
401
.roweven {
402
    background: white; 
403
}
404

    
405
.rowodd {
406
    background: white; 
407
}
408

    
409
.plaintext {
410
    color: #555555;
411
    font-weight: normal;
412
    font-size: 12px;
413
}
414

    
415
.boldtext {
416
    color: #333333;
417
    font-weight: bold;
418
    font-size: 12px;
419
}
420

    
421
.searchresultsdivider {
422
    background-color: #dddddd;   
423
}
424

    
425
.maintable {
426
    background: #ffffff;
427
}
428

    
429
.subpanel {
430
  background:   #ffffff;
431
  border-left:   solid #cccccc 1px;
432
  border-right:  solid #cccccc 1px;
433
  border-bottom: solid #cccccc 1px;
434
}
435

    
436
.text_plain { 
437
	  padding: 5px;
438
    color: #666666;
439
    font-weight: normal;
440
    font-size: 12px; 
441
}
442

    
443
.text_plain_smaller { 
444
	  padding: 5px;
445
    font-weight: normal;
446
    font-size: 12px; 
447
}
448

    
449
.text_example { 
450
	  padding: 5px;
451
    color: #999999;
452
    font-weight: normal;
453
    font-size: 12px; 
454
}
455

    
456
td {
457
		line-height: 1.5;
458
}		
459

    
460
/******************************************************************************/  
461
/******************************************************************************/  
462
/**  USED BY EML STYLESHEETS ONLY - NO OTHERS                                **/
463
/******************************************************************************/  
464
/******************************************************************************/  
465

    
466

    
467
.highlight  {
468
    background-color: #dddddd; 
469
    font-size: 12px;
470
    border: solid #ffffff 1px;
471
}
472

    
473
.secondCol {
474
    background-color: #ffffff; 
475
    font-size: 12px; 
476
}
477
.bordered {
478
    background-color: #dddddd; 
479
    font-size: 12px; 
480
}
481

    
482
.coleven {
483
    background-color: #eeeeee; 
484
    font-size: 12px;
485
    padding-left: 3px;
486
    padding-right: 3px;
487
}
488

    
489
.colodd {
490
    background-color: #ffffff; 
491
    font-size: 12px;
492
    padding-left: 3px;
493
    padding-right: 3px;
494
}
495

    
496
.innercolodd {
497
    font-size: 10px;
498
    padding-left: 3px;
499
}
500

    
501
.innercoleven {
502
  font-size: 10px; 
503
  padding-left: 3px;
504
}    
505

    
(3-3/13)