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:   140px; 
39
  width:    100%;
40
  border:   0px;
41
  margin:   0px;
42
  margin-left: 10px;
43
}
44

    
45
.iframesearchboxclass {
46
  height:   30px; 
47
  width:    100%;
48
  border:   0px;
49
  margin:   0px;
50
  margin-left: 10px;
51
}
52

    
53
.iframeleftcolclass  { /* not used */ 
54
  height:   100%; 
55
  width:    100px;
56
  border:   0px;
57
  margin:   0px;
58
}
59
.iframerightcolclass { /* not used */  
60
  height:   100%; 
61
  width:    100px;
62
  border:   0px;
63
  margin:   0px;
64
}
65
.iframefooterclass   { /* not used */ 
66
  height:   80px; 
67
  width:    100%;
68
  border:   0px;
69
  margin:   0px;
70
}
71

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

    
82

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

    
92

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

    
110

    
111
.templateleftcolclass {
112
  height:   100%; 
113
  width:    100px;
114
  border:   0px;
115
  padding:  0px;
116
  margin:   0px;
117
}
118

    
119

    
120
.templaterightcolclass {
121
  height:   100%; 
122
  width:    100px;
123
  border:   0px;
124
  padding:  0px;
125
  margin:   0px;
126
}
127

    
128

    
129
.templatefooterrowclass {
130
  height:   80px; 
131
/*
132
  no width allowed - uses same width as table class
133
*/
134
  border:   0px;
135
  padding:  0px;
136
  margin:   0px;
137
}
138

    
139
/**
140
 *  then add any other styles used by your page......
141
 */
142

    
143

    
144
body { 
145
  	padding-top: 3px;
146
    color: #333333; 
147
    background-image: url(@web-base-url@/images/bgpattern.gif);
148
    font-weight: normal;
149
    font-size: 11px; 
150
    font-family: Verdana,Arial,Helvetica,sans-serif; }
151
    
152
a {
153
    color: #0033FF;
154
    font-weight: bold;
155
    font-size: 12px; 
156
    text-decoration: none; }
157
    
158
a:hover {
159
    color: #ff9933;
160
    text-decoration: underline; }
161
		
162
p.searchbox {
163
    color: #0033FF;
164
    font-weight: bold;
165
    font-size: 12px; 
166
    text-decoration: none; }
167

    
168
.logo {
169
    background: #ffffff;
170
		padding: 5px; }
171
		
172
.pagetitle {
173
    font-family: Georgia, Times New Roman, Times, serif;
174
    background: #0247A8;
175
    margin-left: 0.25em; }
176
    
177
.pagesub {
178
    font-family: Verdana,Arial,Helvetica,sans-serif;
179
    font-size: 1em;
180
    font-weight: bold;
181
    color: #339933;
182
    margin-left: 3em;
183
    margin-top: 0.5em;
184
    margin-bottom: 2em; }
185
.title {
186
    font-family: Georgia, Times New Roman, Times, serif;
187
    color:      #000000;
188
    font-size: 24px; 
189
    font-weight: bold;}
190
p.title {
191

    
192
  padding-left: 15px;
193
}
194
.subtitle {
195
    font-family: Verdana,Arial,Helvetica,sans-serif;
196
    font-size: 12px;
197
    font-weight: bold;
198
    color: #666666; 
199
    margin-left: 3em;
200
    margin-top: 0.5em;
201
    margin-bottom: 2em;
202
    font-weight: normal; }
203
    
204
a.toollink {
205
    color: #0033FF;
206
	text-align: left;
207
    font-size: 14px; 
208
    text-decoration: none; }
209
    
210
a.toollink:hover {
211
    color: #ff9933;
212
    text-decoration: underline; }
213
    
214
a.sitelink {
215
    color: #339933;
216
    text-decoration: none; 
217
    font-size: 11px; 
218
    font-weight: bold; }
219
a.sitelink:hover {
220
    color: #ff9933;
221
    text-decoration: underline; }
222

    
223
.tabledefault {
224
    background: white;
225
    color: #555555;
226
    font-size: 11px; 
227
    left-padding: 5px;
228
    right-padding: 5px; }
229
.tablepanel {
230
    background: #eeeeee;
231
    color: #555555;
232
    font-size: 11px; 
233
    left-padding: 5px;
234
    right-padding: 5px; }
235
.tablehead {
236
    background-image: url(@web-base-url@/images/panelhead_bg.gif);
237
    color: #0040A1; 
238
	  text-align: center;
239
    font-size: 14px; 
240
    font-weight: bold; 
241
    padding: 0px;
242
    }
243
.tableheadcontrast {
244
    background: #dddddd;
245
    vertical-align: baseline;
246
    color: #666666;
247
    font-size: 16px; 
248
    font-weight: bold; }
249
.spacerrow {
250
    top-margin: 10px; }
251
.instright { 
252
    color: #333333; 
253
    text-align: right;
254
    vertical-align: middle;
255
    padding: 1em;
256
    font-size: 1em; 
257
    font-weight: bold; }
258
.instleft { 
259
    color: #333333; 
260
    text-align: left;
261
    vertical-align: middle;
262
    padding: 1em;
263
    font-size: 1em; 
264
    font-weight: bold; }
265
p { 
266
    margin: 5px; }
267
.required { 
268
    color: red; }
269
.emphasis { 
270
    color: red; }
271
p.label { 
272
    color: #333333; 
273
    font-weight: bold; }
274
p.contact { 
275
    color: #333333; 
276
    padding: 1em;
277
    font-size: 0.75em; 
278
    font-weight: normal;
279
    font-style: italic; }
280
p.header {
281
    color: #333333; 
282
    padding: 5px;
283
    font-size: 12px; 
284
    font-weight: bold; }
285

    
286
p.emphasis {
287

    
288
  font-size: 18px;
289
  color: #dd7744; 
290
  font-weight: bold;
291
  font-style:  normal;
292
}
293
img.logoright {
294
    padding: 0.5em;
295
    border: none;
296
    float: right; }
297
img.logoleft {
298
    padding: 0.25em;
299
    border: none;
300
    float: left; }
301
.roweven {
302
/*
303
    background: #d0e3f7; }
304
*/
305
    background: white; }
306
.rowodd {
307
    background: white; }
308
.highlight  {
309
    background-color: #dddddd; 
310
    font-size: -1; }
311
.plaintext {
312
    color: #555555;
313
    font-weight: normal;
314
    font-size: 11px;
315
    }
316
.boldtext {
317
    color: #333333;
318
    font-weight: bold;
319
    font-size: 11px;
320
    }
321

    
322
.searchresultsdivider {
323
    background-color: #dddddd;   
324
}
325

    
326

    
327
/******************************************************************************/
328
/******************************************************************************/
329
/******************************************************************************/
330
/**                                                                          **/
331
/**                         FROM PORTAL CSS FILE                             **/
332
/**                                                                          **/
333
/******************************************************************************/
334
/******************************************************************************/
335
/******************************************************************************/
336

    
337
		
338
.maintable {
339
    background: #ffffff;
340
}
341

    
342
.subpanel {
343

    
344
  background:   #ffffff;
345
  border-left:   solid #cccccc 1px;
346
  border-right:  solid #cccccc 1px;
347
  border-bottom: solid #cccccc 1px;
348
}
349

    
350

    
351
.sectionheader {
352

    
353
    background-image: url(@web-base-url@/images/panelhead_bg.gif);
354
	  text-align: center;
355
    color: #0247A8; 
356
    font-size: 16px; 
357
    font-weight: bold; }
358

    
359
.text_plain { 
360

    
361
	  padding: 5px;
362
    color: #666666;
363
    font-weight: normal;
364
    font-size: 12px; }
365

    
366
.text_plain_smaller { 
367

    
368
	  padding: 5px;
369
    font-weight: normal;
370
    font-size: 11px; }
371

    
372
.text_example { 
373

    
374
	  padding: 5px;
375
    color: #999999;
376
    font-weight: normal;
377
    font-size: 11px; }
378

    
379
.searchcat {
380
  	padding-left: 5px;
381
    color: #0247A8;
382
    font-weight: bold;
383
    font-size: 11px; }
384
		
385
td.searchsubcat {
386
  	padding-left: 15px; }
387

    
388
a.searchsubcat {
389
    color: #669933; 
390
    font-weight: normal;
391
    font-size: 11px; }
392
		
393
a.searchsubcat:hover {
394
    color: #ff9933;
395
    text-decoration: underline; }
(6-6/9)