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: brooke $'
12
  *      '$Date: 2003-11-21 15:05:54 -0800 (Fri, 21 Nov 2003) $'
13
  *  '$Revision: 1929 $'
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
.iframeheaderclass {
38
  height:   80px; 
39
  width:    100%;
40
  border:   0px;
41
  margin:   0px;
42
}
43

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

    
51
.iframeleftcolclass  { /* not used */ }
52
.iframerightcolclass { /* not used */ }
53
.iframefooterclass   { /* not used */ }
54

    
55
/**
56
 *  set the size and alignment etc of the top-level layout table
57
 */  
58
.templatetableclass {
59
  width:   100%; 
60
  border:   0px;
61
  padding:  0px;
62
  margin:   0px;
63
}
64

    
65

    
66
/**
67
 *  set the style of the main content area and its contents
68
 */ 
69
.templatecontentareaclass {
70
  border:   0px;
71
  padding:  0px;
72
  margin:   0px;
73
}
74

    
75

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

    
93

    
94
.templateleftcolclass {
95
  height:   100%; 
96
  width:    0px;
97
  border:   0px;
98
  padding:  0px;
99
  margin:   0px;
100
}
101

    
102

    
103
.templaterightcolclass {
104
  height:   100%; 
105
  width:    0px;
106
  border:   0px;
107
  padding:  0px;
108
  margin:   0px;
109
}
110

    
111

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

    
122
/**
123
 *  then add any other styles used by your page......
124
 */
125

    
126

    
127
body { 
128
  	padding-top: 3px;
129
    color: #333333; 
130
    background-image: url(@knb-site-url@/images/bgpattern.gif);
131
    font-weight: normal;
132
    font-size: 11px; 
133
    font-family: Verdana,Arial,Helvetica,sans-serif; }
134
    
135
a {
136
    color: #669933;
137
    font-weight: bold;
138
    font-size: 12px; 
139
    text-decoration: none; }
140
		
141
a:hover {
142
    color: #ff9933;
143
    text-decoration: underline; }
144
		
145
.logo {
146
    background: #ffffff;
147
		padding: 5px; }
148
		
149
.pagetitle {
150
    font-family: Georgia, Times New Roman, Times, serif;
151
    background: #0247A8;
152
    margin-left: 0.25em; }
153
    
154
.pagesub {
155
    font-family: Verdana,Arial,Helvetica,sans-serif;
156
    font-size: 1em;
157
    font-weight: bold;
158
    color: #339933;
159
    margin-left: 3em;
160
    margin-top: 0.5em;
161
    margin-bottom: 2em; }
162
.title {
163
    font-family: Georgia, Times New Roman, Times, serif;
164
    color:      #eeeeee;
165
    background: #0247A8;
166
    font-size: 24px; 
167
    font-weight: bold;}
168
p.title {
169

    
170
  padding-left: 15px;
171
}
172
.subtitle {
173
    font-family: Verdana,Arial,Helvetica,sans-serif;
174
    font-size: 12px;
175
    font-weight: bold;
176
    color: #666666; 
177
    margin-left: 3em;
178
    margin-top: 0.5em;
179
    margin-bottom: 2em;
180
    font-weight: normal; }
181
    
182
a.toollink {
183
    color: #225522;
184
		text-align: left;
185
    font-size: 14px; 
186
    text-decoration: none; }
187
    
188
a.toollink:hover {
189
    color: #ff9933;
190
    text-decoration: underline; }
191
    
192
a.sitelink {
193
    color: #339933;
194
    text-decoration: none; 
195
    font-size: 11px; 
196
    font-weight: bold; }
197
a.sitelink:hover {
198
    color: #ff9933;
199
    text-decoration: underline; }
200

    
201
.tabledefault {
202
    background: white;
203
    color: #555555;
204
		width: 790px;
205
    font-size: 11px; 
206
    left-padding: 5px;
207
    right-padding: 5px; }
208
.tablepanel {
209
    background: #eeeeee;
210
    color: #555555;
211
    font-size: 11px; 
212
    left-padding: 5px;
213
    right-padding: 5px; }
214
.tablehead {
215
    background-image: url(@knb-site-url@/images/panelhead_bg.gif);
216
    color: #0040A1; 
217
	  text-align: center;
218
    font-size: 14px; 
219
    font-weight: bold; 
220
    padding: 0px;
221
    }
222

    
223
.tablehead_lcorner {
224
    background-image: url(@knb-site-url@/images/panelhead_bg_lcorner.gif);
225
    padding: 0px;
226
    margin:  0px;
227
    width:   10px;
228
    height:  21px;
229
}    
230
    
231
.tablehead_rcorner {
232
    background-image: url(@knb-site-url@/images/panelhead_bg_rcorner.gif);
233
    padding: 0px;
234
    margin:  0px;
235
    width:   10px;
236
    height:  21px;
237
}    
238
       
239
.tableheadcontrast {
240
    background: #dddddd;
241
    vertical-align: baseline;
242
    color: #666666;
243
    font-size: 16px; 
244
    font-weight: bold; }
245
.instright { 
246
    color: #333333; 
247
    text-align: right;
248
    vertical-align: middle;
249
    padding: 1em;
250
    font-size: 1em; 
251
    font-weight: bold; }
252
.instleft { 
253
    color: #333333; 
254
    text-align: left;
255
    vertical-align: middle;
256
    padding: 1em;
257
    font-size: 1em; 
258
    font-weight: bold; }
259
p { 
260
    margin: 5px; }
261
.required { 
262
    color: red; }
263
.emphasis { 
264
    color: red; }
265
p.label { 
266
    color: #333333; 
267
    font-weight: bold; }
268
p.contact { 
269
    color: #333333; 
270
    padding: 1em;
271
    font-size: 0.75em; 
272
    font-weight: normal;
273
    font-style: italic; }
274
p.header {
275
    color: #333333; 
276
    padding: 5px;
277
    font-size: 12px; 
278
    font-weight: bold; }
279

    
280
p.emphasis {
281

    
282
  font-size: 18px;
283
  color: #dd7744; 
284
  font-weight: bold;
285
  font-style:  normal;
286
}
287
img.logoright {
288
    padding: 0.5em;
289
    border: none;
290
    float: right; }
291
img.logoleft {
292
    padding: 0.25em;
293
    border: none;
294
    float: left; }
295
.roweven {
296
/*
297
    background: #d0e3f7; }
298
*/
299
    background: white; }
300
.rowodd {
301
    background: white; }
302

    
303
.plaintext {
304
    color: #555555;
305
    font-weight: normal;
306
    font-size: 11px;
307
    }
308
.boldtext {
309
    color: #333333;
310
    font-weight: bold;
311
    font-size: 11px;
312
    }
313

    
314
.searchresultsdivider {
315
    background-color: #dddddd;   
316
}
317

    
318

    
319
/******************************************************************************/
320
/******************************************************************************/
321
/******************************************************************************/
322
/**                                                                          **/
323
/**                         FROM PORTAL CSS FILE                             **/
324
/**                                                                          **/
325
/******************************************************************************/
326
/******************************************************************************/
327
/******************************************************************************/
328

    
329
		
330
.maintable {
331
    background: #ffffff;
332
}
333

    
334
.subpanel {
335

    
336
  background:   #ffffff;
337
  border-left:   solid #cccccc 1px;
338
  border-right:  solid #cccccc 1px;
339
  border-bottom: solid #cccccc 1px;
340
}
341

    
342

    
343
.sectionheader {
344

    
345
    background-image: url(@knb-site-url@/images/panelhead_bg.gif);
346
	  text-align: center;
347
    color: #0247A8; 
348
    font-size: 16px; 
349
    font-weight: bold; }
350

    
351
.text_plain { 
352

    
353
	  padding: 5px;
354
    color: #666666;
355
    font-weight: normal;
356
    font-size: 12px; }
357

    
358
.text_plain_smaller { 
359

    
360
	  padding: 5px;
361
    font-weight: normal;
362
    font-size: 11px; }
363

    
364
.text_example { 
365

    
366
	  padding: 5px;
367
    color: #999999;
368
    font-weight: normal;
369
    font-size: 11px; }
370

    
371
.searchcat {
372
  	padding-left: 5px;
373
    color: #0247A8;
374
    font-weight: bold;
375
    font-size: 11px; }
376
		
377
td.searchsubcat {
378
  	padding-left: 15px; }
379

    
380
a.searchsubcat {
381
    color: #669933; 
382
    font-weight: normal;
383
    font-size: 11px; }
384
		
385
a.searchsubcat:hover {
386
    color: #ff9933;
387
    text-decoration: underline; }
388

    
389

    
390
/******************************************************************************/  
391
/******************************************************************************/  
392
/**  USED BY EML STYLESHEETS ONLY - NO OTHERS                                **/
393
/******************************************************************************/  
394
/******************************************************************************/  
395

    
396
.highlight  {
397
    background-color: #dddddd; 
398
    font-size: 12px;
399
}
400
.secondCol {
401
    background-color: #ffffff; 
402
    font-size: 12px; 
403
}
404
.bordered {
405
    background-color: #dddddd; 
406
    font-size: 12px; 
407
}
408

    
409
.coleven {
410
    background-color: #eeeeee; 
411
    font-size: 12px;
412
    padding-left: 3px;
413
    padding-right: 3px;
414
}
415

    
416
.colodd {
417
    background-color: #ffffff; 
418
    font-size: 12px;
419
    padding-left: 3px;
420
    padding-right: 3px;
421
}
422

    
423
.innercolodd {
424
    font-size: 10px;
425
    padding-left: 3px;
426
}
427

    
428
.innercoleven {
429
  font-size: 10px; 
430
  padding-left: 3px;
431
}    
432
    
433

    
(2-2/4)