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: sgarg $'
12
  *      '$Date: 2005-03-29 12:09:49 -0800 (Tue, 29 Mar 2005) $'
13
  *  '$Revision: 2433 $'
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
.iframeloginboxclass {
53
    height:   250px; 
54
    width:    100%;
55
    border:   0px;
56
    margin:   0px;
57
}
58

    
59
.iframeleftcolclass  { /* not used */ }
60
.iframerightcolclass { /* not used */ }
61
.iframefooterclass   { /* not used */ }
62

    
63
/**
64
 *  set the size and alignment etc of the top-level layout table
65
 */  
66
.templatetableclass {
67
    width:   100%; 
68
    border:   0px;
69
    padding:  0px;
70
    margin:   0px;
71
}
72

    
73
/**
74
 *  set the style of the main content area and its contents
75
 */ 
76
.templatecontentareaclass {
77
    border:   0px;
78
    padding:  0px;
79
    margin:   0px;
80
}
81

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

    
99
.templateleftcolclass {
100
    height:   100%; 
101
    width:    0px;
102
    border:   0px;
103
    padding:  0px;
104
    margin:   0px;
105
}
106

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

    
115
.templatefooterrowclass {
116
    height:   0px; 
117
    /*
118
      no width allowed - uses same width as
119
      table class
120
    */
121
    border:   0px;
122
    padding:  0px;
123
    margin:   0px;
124
}
125

    
126
.sectioncorner {
127
    background-image: url(@style-skins-path@/default/images/panelhead_bg.gif);
128
}
129

    
130
.sectionheader {
131
    background-image: url(@style-skins-path@/default/images/panelhead_bg.gif);
132
    text-align: center;
133
    color: #0247A8; 
134
    font-size: 1em; 
135
    font-weight: bold; 
136
}
137
                    
138
.searchcat {
139
    padding-left: 5px;
140
    color: #0247A8;
141
    font-weight: bold;
142
    font-size: 11px; 
143
}
144
                    
145
td.searchsubcat {
146
    padding-left: 15px; 
147
}
148

    
149
a.searchsubcat {
150
    color: #669933; 
151
    font-weight: normal;
152
    font-size: 11px; 
153
}
154
                                        
155
a.searchsubcat:hover {
156
    color: #ff9933;
157
    text-decoration: underline; 
158
}
159
                                                
160

    
161
/**
162
 *  then add any other styles used
163
 *  by your page......
164
 */
165

    
166
body { 
167
  	padding-top: 3px;
168
    color: #333333; 
169
    background-color: #eeeeee;
170
    background-image: url(@style-skins-path@/default/images/bgpattern.gif);
171
    font-weight: normal;
172
    font-size: 12px; 
173
    font-family: Verdana,Arial,Helvetica,sans-serif; 
174
}
175
    
176
a {
177
    color: #669933;
178
    font-weight: bold;
179
    font-size: 12px; 
180
    text-decoration: none; 
181
		text-align: left;
182
}
183
		
184
a:hover {
185
    color: #ff9933;
186
    text-decoration: underline; 
187
}
188

    
189
.pagetitle {
190
    font-family: Georgia, Times New Roman, Times, serif;
191
    background: #0247A8;
192
    margin-left: 0.25em; 
193
}
194
    
195
.pagesub {
196
    font-family: Verdana,Arial,Helvetica,sans-serif;
197
    font-size: 1em;
198
    font-weight: bold;
199
    color: #339933;
200
    margin-left: 3em;
201
    margin-top: 0.5em;
202
    margin-bottom: 2em; 
203
}
204

    
205
.title {
206
    font-family: Georgia, Times New Roman, Times, serif;
207
    color:      #eeeeee;
208
    background: #0247A8;
209
    font-size: 24px; 
210
    font-weight: bold;
211
}
212

    
213
p.title {
214
  padding-left: 15px;
215
}
216

    
217
.subtitle {
218
    font-family: Verdana,Arial,Helvetica,sans-serif;
219
    font-size: 12px;
220
    font-weight: bold;
221
    color: #666666; 
222
    margin-left: 3em;
223
    margin-top: 0.5em;
224
    margin-bottom: 2em;
225
    font-weight: normal; 
226
}
227
    
228
a.toollink {
229
    color: #225522;
230
		text-align: left;
231
    font-size: 14px; 
232
    text-decoration: none; 
233
}
234
    
235
a.toollink:hover {
236
    color: #ff9933;
237
    text-decoration: underline; 
238
}
239
    
240
a.sitelink {
241
    color: #339933;
242
    text-decoration: none; 
243
    font-size: 12px; 
244
    font-weight: bold; 
245
}
246

    
247
a.sitelink:hover {
248
    color: #ff9933;
249
    text-decoration: underline; 
250
}
251

    
252
h3 {
253
	  font-size: 18px;
254
	  font-family: Georgia, Times New Roman, Times, serif;
255
	  text-align: left;
256
}
257

    
258
b {
259
	  font-size: 12px;
260
	  font-weight: bold;
261
	  text-align: left;
262
}
263
	
264
/*.tabledefault {
265
    background: white;
266
    color: #555555;
267
		width: 790px; 
268
		width: 100%; 
269
    font-size: 12px; 
270
		line-height: 1.2;
271
    padding-left: 5px;
272
    padding-right: 5px; 
273
}*/
274

    
275
.tablepanel {
276
    background: #eeeeee;
277
    color: #555555;
278
    font-size: 12px; 
279
    padding-left: 5px;
280
    padding-right: 5px; 
281
}
282

    
283
.tablehead {
284
    background-color: #B3D4FF;
285
    color: #0040A1; 
286
    font-size: 14px; 
287
    font-weight: bold; 
288
    border-top: solid #ffffff 5px;
289
    border-bottom: solid #ffffff 2px;
290
    padding-left: 15%;
291
    padding-top: 0px;
292
    padding-bottom: 0px;
293
}
294

    
295

    
296
       
297
.tableheadcontrast {
298
    background: #dddddd;
299
    vertical-align: baseline;
300
    color: #666666;
301
    font-size: 16px; 
302
    font-weight: bold; 
303
}
304

    
305
.instright { 
306
    color: #333333; 
307
    text-align: right;
308
    vertical-align: middle;
309
    padding: 1em;
310
    font-size: 1em; 
311
    font-weight: bold; 
312
}
313

    
314
.instleft { 
315
    color: #333333; 
316
    text-align: left;
317
    vertical-align: middle;
318
    padding: 1em;
319
    font-size: 1em; 
320
    font-weight: bold; 
321
}
322

    
323
p { 
324
    margin: 0px; 
325
}
326

    
327
.required { 
328
    color: red; 
329
}
330

    
331
.emphasis { 
332
    color: red;
333
}
334

    
335
p.label { 
336
    color: #333333; 
337
    font-weight: bold; 
338
}
339

    
340
p.contact { 
341
    color: #333333; 
342
    padding: 1em;
343
    font-size: 0.75em; 
344
    font-weight: normal;
345
    font-style: italic; 
346
}
347

    
348
p.header {
349
    color: #333333; 
350
    padding: 5px;
351
    font-size: 12px; 
352
    font-weight: bold; 
353
}
354

    
355
p.emphasis {
356
  font-size: 18px;
357
  color: #dd7744; 
358
  font-weight: bold;
359
  font-style:  normal;
360
}
361

    
362
.roweven {
363
    background: white; 
364
}
365

    
366
.rowodd {
367
    background: white; 
368
}
369

    
370
.plaintext {
371
    color: #555555;
372
    font-weight: normal;
373
    font-size: 12px;
374
}
375

    
376
.boldtext {
377
    color: #333333;
378
    font-weight: bold;
379
    font-size: 12px;
380
}
381

    
382
.searchresultsdivider {
383
    background-color: #dddddd;   
384
}
385

    
386
.maintable {
387
    background: #ffffff;
388
}
389

    
390
.subpanel {
391
  background:   #ffffff;
392
  border-left:   solid #cccccc 1px;
393
  border-right:  solid #cccccc 1px;
394
  border-bottom: solid #cccccc 1px;
395
}
396

    
397
.text_plain { 
398
	  padding: 5px;
399
    color: #666666;
400
    font-weight: normal;
401
    font-size: 12px; 
402
}
403

    
404
.text_plain_smaller { 
405
	  padding: 5px;
406
    font-weight: normal;
407
    font-size: 12px; 
408
}
409

    
410
.text_example { 
411
	  padding: 5px;
412
    color: #999999;
413
    font-weight: normal;
414
    font-size: 12px; 
415
}
416

    
417
td {
418
		line-height: 1.5;
419
}		
420

    
421
/******************************************************************************/  
422
/******************************************************************************/  
423
/**  USED BY EML STYLESHEETS ONLY - NO OTHERS                                **/
424
/******************************************************************************/  
425
/******************************************************************************/  
426

    
427

    
428
.highlight  {
429
    background-color: #dddddd; 
430
    font-size: 12px;
431
    border: solid #ffffff 1px;
432
}
433

    
434
.secondCol {
435
    background-color: #ffffff; 
436
    font-size: 12px; 
437
}
438
.bordered {
439
    background-color: #dddddd; 
440
    font-size: 12px; 
441
}
442

    
443
.coleven {
444
    background-color: #eeeeee; 
445
    font-size: 12px;
446
    padding-left: 3px;
447
    padding-right: 3px;
448
}
449

    
450
.colodd {
451
    background-color: #ffffff; 
452
    font-size: 12px;
453
    padding-left: 3px;
454
    padding-right: 3px;
455
}
456

    
457
.innercolodd {
458
    font-size: 10px;
459
    padding-left: 3px;
460
}
461

    
462
.innercoleven {
463
  font-size: 10px; 
464
  padding-left: 3px;
465
}    
466

    
(1-1/9)