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
|
|
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: center;
|
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: #B2D2FE;
|
285
|
color: #0040A1;
|
286
|
text-align: center;
|
287
|
font-size: 14px;
|
288
|
font-weight: bold;
|
289
|
padding: 0px;
|
290
|
}
|
291
|
|
292
|
.tableheadcontrast {
|
293
|
background: #dddddd;
|
294
|
vertical-align: baseline;
|
295
|
color: #666666;
|
296
|
font-size: 16px;
|
297
|
font-weight: bold;
|
298
|
}
|
299
|
|
300
|
.instright {
|
301
|
color: #333333;
|
302
|
text-align: right;
|
303
|
vertical-align: middle;
|
304
|
padding: 1em;
|
305
|
font-size: 1em;
|
306
|
font-weight: bold;
|
307
|
}
|
308
|
|
309
|
.instleft {
|
310
|
color: #333333;
|
311
|
text-align: left;
|
312
|
vertical-align: middle;
|
313
|
padding: 1em;
|
314
|
font-size: 1em;
|
315
|
font-weight: bold;
|
316
|
}
|
317
|
|
318
|
p {
|
319
|
margin: 5px;
|
320
|
}
|
321
|
|
322
|
.required {
|
323
|
color: red;
|
324
|
}
|
325
|
|
326
|
.emphasis {
|
327
|
color: red;
|
328
|
}
|
329
|
|
330
|
p.label {
|
331
|
color: #333333;
|
332
|
font-weight: bold;
|
333
|
}
|
334
|
|
335
|
p.contact {
|
336
|
color: #333333;
|
337
|
padding: 1em;
|
338
|
font-size: 0.75em;
|
339
|
font-weight: normal;
|
340
|
font-style: italic;
|
341
|
}
|
342
|
|
343
|
p.header {
|
344
|
color: #333333;
|
345
|
padding: 5px;
|
346
|
font-size: 12px;
|
347
|
font-weight: bold;
|
348
|
}
|
349
|
|
350
|
p.emphasis {
|
351
|
font-size: 18px;
|
352
|
color: #dd7744;
|
353
|
font-weight: bold;
|
354
|
font-style: normal;
|
355
|
}
|
356
|
|
357
|
.roweven {
|
358
|
background: white;
|
359
|
}
|
360
|
|
361
|
.rowodd {
|
362
|
background: white;
|
363
|
}
|
364
|
|
365
|
.plaintext {
|
366
|
color: #555555;
|
367
|
font-weight: normal;
|
368
|
font-size: 12px;
|
369
|
}
|
370
|
|
371
|
.boldtext {
|
372
|
color: #333333;
|
373
|
font-weight: bold;
|
374
|
font-size: 12px;
|
375
|
}
|
376
|
|
377
|
.searchresultsdivider {
|
378
|
background-color: #dddddd;
|
379
|
}
|
380
|
|
381
|
.maintable {
|
382
|
background: #ffffff;
|
383
|
}
|
384
|
|
385
|
.subpanel {
|
386
|
background: #ffffff;
|
387
|
border-left: solid #cccccc 1px;
|
388
|
border-right: solid #cccccc 1px;
|
389
|
border-bottom: solid #cccccc 1px;
|
390
|
}
|
391
|
|
392
|
.text_plain {
|
393
|
padding: 5px;
|
394
|
color: #666666;
|
395
|
font-weight: normal;
|
396
|
font-size: 12px;
|
397
|
}
|
398
|
|
399
|
.text_plain_smaller {
|
400
|
padding: 5px;
|
401
|
font-weight: normal;
|
402
|
font-size: 12px;
|
403
|
}
|
404
|
|
405
|
.text_example {
|
406
|
padding: 5px;
|
407
|
color: #999999;
|
408
|
font-weight: normal;
|
409
|
font-size: 12px;
|
410
|
}
|
411
|
|
412
|
td {
|
413
|
line-height: 1.5;
|
414
|
}
|
415
|
|
416
|
/******************************************************************************/
|
417
|
/******************************************************************************/
|
418
|
/** USED BY EML STYLESHEETS ONLY - NO OTHERS **/
|
419
|
/******************************************************************************/
|
420
|
/******************************************************************************/
|
421
|
.highlight {
|
422
|
background-color: #dddddd;
|
423
|
font-size: 12px;
|
424
|
}
|
425
|
.secondCol {
|
426
|
background-color: #ffffff;
|
427
|
font-size: 12px;
|
428
|
}
|
429
|
.bordered {
|
430
|
background-color: #dddddd;
|
431
|
font-size: 12px;
|
432
|
}
|
433
|
|
434
|
.coleven {
|
435
|
background-color: #eeeeee;
|
436
|
font-size: 12px;
|
437
|
padding-left: 3px;
|
438
|
padding-right: 3px;
|
439
|
}
|
440
|
|
441
|
.colodd {
|
442
|
background-color: #ffffff;
|
443
|
font-size: 12px;
|
444
|
padding-left: 3px;
|
445
|
padding-right: 3px;
|
446
|
}
|
447
|
|
448
|
.innercolodd {
|
449
|
font-size: 10px;
|
450
|
padding-left: 3px;
|
451
|
}
|
452
|
|
453
|
.innercoleven {
|
454
|
font-size: 10px;
|
455
|
padding-left: 3px;
|
456
|
}
|
457
|
|