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: walbridge $'
|
12
|
* '$Date: 2007-11-06 14:36:59 -0800 (Tue, 06 Nov 2007) $'
|
13
|
* '$Revision: 3583 $'
|
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
|
/*
|
33
|
* import eml css:
|
34
|
*/
|
35
|
|
36
|
@import url(@style-common-path@/@eml-css@);
|
37
|
@import url(@style-skins-path@/nceas/midnight.css);
|
38
|
|
39
|
/**
|
40
|
* set the correct iframe sizes to accomodate the
|
41
|
* header, footer, left and right areas.
|
42
|
* NOTE: these styles apply only to each
|
43
|
* container frame, *NOT* to the document within it!
|
44
|
*/
|
45
|
.iframeheaderclass {
|
46
|
height: 155px;
|
47
|
width: 98%;
|
48
|
border: 0px;
|
49
|
margin: 0px;
|
50
|
/*margin-left: 10px;*/
|
51
|
}
|
52
|
|
53
|
.iframesearchboxclass { /* not used */ }
|
54
|
.iframeleftcolclass { /* not used */ }
|
55
|
.iframerightcolclass { /* not used */ }
|
56
|
.iframefooterclass { /* not used */ }
|
57
|
|
58
|
/**
|
59
|
* set the size and alignment etc of the top-level layout table
|
60
|
*/
|
61
|
.templatetableclass {
|
62
|
width: 100%;
|
63
|
border: 0px;
|
64
|
padding: 0px;
|
65
|
margin: 0px;
|
66
|
}
|
67
|
|
68
|
|
69
|
/**
|
70
|
* set the style of the main content area and its contents
|
71
|
*/
|
72
|
.templatecontentareaclass {
|
73
|
border: 0px;
|
74
|
padding: 0px;
|
75
|
margin: 0px;
|
76
|
/* temporary fix until we remove iframes from NCEAS skin */
|
77
|
background: #fff;
|
78
|
|
79
|
}
|
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: 155px;
|
91
|
/*
|
92
|
no width allowed - uses same width as table class
|
93
|
*/
|
94
|
border: 0px;
|
95
|
padding: 0px;
|
96
|
margin: 0px;
|
97
|
}
|
98
|
|
99
|
|
100
|
.templateleftcolclass {
|
101
|
height: 100%;
|
102
|
width: 0px;
|
103
|
border: 0px;
|
104
|
padding: 0px;
|
105
|
margin: 0px;
|
106
|
}
|
107
|
|
108
|
|
109
|
.templaterightcolclass {
|
110
|
height: 100%;
|
111
|
width: 0px;
|
112
|
border: 0px;
|
113
|
padding: 0px;
|
114
|
margin: 0px;
|
115
|
}
|
116
|
|
117
|
|
118
|
.templatefooterrowclass {
|
119
|
height: 0px;
|
120
|
/*
|
121
|
no width allowed - uses same width as table class
|
122
|
*/
|
123
|
border: 0px;
|
124
|
padding: 0px;
|
125
|
margin: 0px;
|
126
|
}
|
127
|
|
128
|
.style2 {
|
129
|
font-size: 14px
|
130
|
}
|
131
|
|
132
|
/**
|
133
|
* these override styles imported from eml css
|
134
|
*/
|
135
|
|
136
|
/*
|
137
|
body {
|
138
|
padding: 0px;
|
139
|
margin: 0px;
|
140
|
margin-top: 5px;
|
141
|
background-color: #ffffff;
|
142
|
font-weight: normal;
|
143
|
font-size: 12px;
|
144
|
font-family: Verdana,Arial,Helvetica,sans-serif;
|
145
|
}
|
146
|
*/
|
147
|
.sectionnames{
|
148
|
font-weight: bold;
|
149
|
font-size: 16px;
|
150
|
color: #0040A1;
|
151
|
}
|
152
|
.title {
|
153
|
font-family: Georgia, Times New Roman, Times, serif;
|
154
|
color: black;
|
155
|
background: white;
|
156
|
font-size: 24px;
|
157
|
font-weight: bold;
|
158
|
}
|
159
|
|
160
|
.highlight {
|
161
|
color: #006699;
|
162
|
background-color: #FFFFFF;
|
163
|
font-style: italic;
|
164
|
font-size: 1em;
|
165
|
padding-left: 10px;
|
166
|
}
|
167
|
|
168
|
.resultstable {
|
169
|
margin-left: 2px;
|
170
|
}
|
171
|
|
172
|
td, th {
|
173
|
padding: 5px 5px;
|
174
|
}
|
175
|
|
176
|
.tablehead {
|
177
|
color: #0040A1;
|
178
|
background: #FFFFFF;
|
179
|
text-align: left;
|
180
|
font-size: 14px;
|
181
|
font-weight: bold;
|
182
|
border-top: solid #ffffff 15px;
|
183
|
border-bottom: solid #dddddd 1px;
|
184
|
padding-left: 10px;
|
185
|
padding-top: 0px;
|
186
|
padding-bottom: 0px;
|
187
|
}
|
188
|
|
189
|
th.tablehead {
|
190
|
|
191
|
text-align: center;
|
192
|
border-bottom: solid #006666 1px;
|
193
|
margin: 0px;
|
194
|
padding: 0px;
|
195
|
height: 21px;
|
196
|
}
|
197
|
|
198
|
.tablehead_lcorner {
|
199
|
background-position: right top;
|
200
|
background-repeat: no-repeat;
|
201
|
padding: 0px;
|
202
|
margin: 0px;
|
203
|
width: 10px;
|
204
|
height: 21px;
|
205
|
}
|
206
|
|
207
|
.tablehead_rcorner {
|
208
|
background-position: left top;
|
209
|
background-repeat: no-repeat;
|
210
|
padding: 0px;
|
211
|
margin: 0px;
|
212
|
width: 10px;
|
213
|
height: 21px;
|
214
|
}
|
215
|
|
216
|
/*
|
217
|
a {
|
218
|
color: #0040A1;
|
219
|
font-weight: bold;
|
220
|
font-size: 12px;
|
221
|
text-decoration: underline; }
|
222
|
|
223
|
a:hover {
|
224
|
color: #ff9933;
|
225
|
text-decoration: underline; }
|
226
|
*/
|
227
|
|
228
|
/**
|
229
|
* these are used only in the metacat pages
|
230
|
*/
|
231
|
|
232
|
p.emphasis {
|
233
|
|
234
|
font-size: 18px;
|
235
|
color: #dd7744;
|
236
|
font-weight: bold;
|
237
|
font-style: normal;
|
238
|
}
|
239
|
|
240
|
.searchresultsdivider {
|
241
|
background-color: transparent;
|
242
|
border-bottom: 1px solid #ddd;
|
243
|
margin-bottom: 10px;
|
244
|
}
|
245
|
|
246
|
.searchresultsdividerPale {
|
247
|
margin: 4px 4px;
|
248
|
}
|
249
|
|
250
|
.text_plain {
|
251
|
padding-top: 5px;
|
252
|
}
|
253
|
|
254
|
pre {
|
255
|
margin-right: 8em;
|
256
|
padding: .4em .75em;
|
257
|
}
|
258
|
|
259
|
/**
|
260
|
* these are used only in the registry skins
|
261
|
*/
|
262
|
p.searchbox {
|
263
|
color: #0040A1;
|
264
|
font-weight: bold;
|
265
|
font-size: 12px;
|
266
|
text-decoration: none;
|
267
|
}
|
268
|
|
269
|
td.templatecontentareaclass a {
|
270
|
border: none;
|
271
|
}
|
272
|
|
273
|
br {
|
274
|
margin: 0px;
|
275
|
padding: 0px;
|
276
|
}
|
277
|
|
278
|
.intro {
|
279
|
width: 760px;
|
280
|
margin-left: 15px;
|
281
|
}
|
282
|
|
283
|
textarea {
|
284
|
width: 80%;
|
285
|
}
|
286
|
|
287
|
.required {
|
288
|
font-weight: bold;
|
289
|
color: #b00000;
|
290
|
}
|
291
|
|
292
|
.label {
|
293
|
font-weight: bold;
|
294
|
}
|
295
|
|
296
|
|
297
|
.emphasis {
|
298
|
font-weight: bold;
|
299
|
font-size: 18px;
|
300
|
color: #000000;
|
301
|
}
|
302
|
|
303
|
.boldlink {
|
304
|
font-weight: bold;
|
305
|
font-size: 12px;
|
306
|
}
|
307
|
|
308
|
.colorbold {
|
309
|
font-weight: bold;
|
310
|
color: #0040A1;
|
311
|
font-size: 12px;
|
312
|
}
|
313
|
|
314
|
.redbold {
|
315
|
font-weight: bold;
|
316
|
color: #b00000;
|
317
|
font-size: 12px;
|
318
|
}
|
319
|
|
320
|
.greenbold {
|
321
|
font-weight: bold;
|
322
|
color: #008000;
|
323
|
font-size: 12px;
|
324
|
}
|
325
|
|
326
|
.smalltext {
|
327
|
font-weight: bold;
|
328
|
font-size: 10px;
|
329
|
vertical-align: super;
|
330
|
}
|
331
|
|
332
|
.largetext {
|
333
|
font-weight: bold;
|
334
|
font-size: 16px;
|
335
|
}
|
336
|
|
337
|
.italicized {
|
338
|
font-style: italic;
|
339
|
font-size: 12px;
|
340
|
}
|
341
|
|
342
|
.regtext {
|
343
|
font-weight: normal;
|
344
|
font-size: 12px;
|
345
|
}
|
346
|
.sectbody {
|
347
|
background: #e8eef7;
|
348
|
font-size: 12px;
|
349
|
font-weight: bold;}
|
350
|
|
351
|
.sectheader {
|
352
|
background: #B7C9E3;
|
353
|
font-size: 12px;
|
354
|
font-weight: bold;}
|
355
|
|
356
|
.tables {
|
357
|
width: 760px;
|
358
|
margin: 0px 0px 0px 20px;
|
359
|
border: solid black 1px;
|
360
|
border-bottom: none;
|
361
|
}
|
362
|
|
363
|
.hide {
|
364
|
display:none;
|
365
|
}
|
366
|
|
367
|
.bordertop {
|
368
|
border-top: solid black 1px;
|
369
|
}
|
370
|
|
371
|
.borderbottom {
|
372
|
border-bottom: solid black 1px;
|
373
|
}
|
374
|
|
375
|
.topbottom {
|
376
|
border-top: 1px solid black;
|
377
|
border-bottom: 1px solid black;
|
378
|
}
|
379
|
|
380
|
.longwidth {
|
381
|
width: 80%;
|
382
|
}
|
383
|
|
384
|
.shortwidth {
|
385
|
width: 35%;
|
386
|
}
|
387
|
|
388
|
.rightCol {
|
389
|
width: 24%;
|
390
|
text-align: right;
|
391
|
}
|
392
|
|
393
|
/**
|
394
|
* This is add to overload the p+p function defined in eml.css.
|
395
|
* Refer to bug# 1306 for further details.
|
396
|
*/
|
397
|
|
398
|
p + p {
|
399
|
text-indent: 0em;
|
400
|
|
401
|
}
|
402
|
|
403
|
|
404
|
|