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: leinfelder $'
12
  *      '$Date: 2011-02-18 11:54:11 -0800 (Fri, 18 Feb 2011) $'
13
  *  '$Revision: 5990 $'
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/eml_xsl.css);
37

    
38

    
39
/*
40
 *  import eml css:
41
 */
42

    
43
@import url(../knb2/portalpages.css);
44

    
45
body {
46
	background-image: none;
47
}
48
th {
49
	color: #0040A1;
50
	border-bottom:1px solid #555555;
51
}
52
h3 {
53
	color: #0040A1;
54
	font-size: 12pt;
55
}
56
.citation {
57
	color: #000000;	
58
}
59
a:link, a:visited {
60
	color:#669933;
61
}
62
.rowodd {
63
	color: #555555;
64
}
65
div, td {
66
	color: #555555;	
67
}
68
.group_border {
69
	border: none;
70
}	
71

    
72

    
73
/**
74
 *  set the correct iframe sizes to accomodate the 
75
 *  header, footer, left and right areas.
76
 *  NOTE: these styles apply only to each 
77
 *  container frame, *NOT* to the document within it!
78
 */  
79
.iframeheaderclass {
80
  height:   80px; 
81
  width:    100%;
82
  border:   0px;
83
  margin:   0px;
84
}
85

    
86
.iframesearchboxclass {
87
  height:   520px; 
88
  width:    100%;
89
  border:   0px;
90
  margin:   0px;
91
}
92

    
93
.iframeleftcolclass  { /* not used */ }
94
.iframerightcolclass { /* not used */ }
95
.iframefooterclass   { /* not used */ }
96

    
97
/**
98
 *  set the size and alignment etc of the top-level layout table
99
 */  
100
.templatetableclass {
101
  width:   100%; 
102
  border:   0px;
103
  padding:  0px;
104
  margin:   0px;
105
}
106

    
107

    
108
/**
109
 *  set the style of the main content area and its contents
110
 */ 
111
.templatecontentareaclass {
112
  border:   0px;
113
  padding:  0px;
114
  margin:   0px;
115
}
116

    
117

    
118
/**
119
 *  set the correct <td> sizes to accomodate the 
120
 *  header, footer, left and right iframes.
121
 *  NOTE: these styles apply only to each 
122
 *  container frame, *NOT* to the document in
123
 *  the iframe within it!
124
 */  
125
.templateheaderrowclass {
126
  height:   80px; 
127
/*
128
  no width allowed - uses same width as table class
129
*/
130
  border:   0px;
131
  padding:  0px;
132
  margin:   0px;
133
}
134

    
135

    
136
.templateleftcolclass {
137
  height:   100%; 
138
  width:    0px;
139
  border:   0px;
140
  padding:  0px;
141
  margin:   0px;
142
}
143

    
144

    
145
.templaterightcolclass {
146
  height:   100%; 
147
  width:    0px;
148
  border:   0px;
149
  padding:  0px;
150
  margin:   0px;
151
}
152

    
153

    
154
.templatefooterrowclass {
155
  height:   0px; 
156
/*
157
  no width allowed - uses same width as table class
158
*/
159
  border:   0px;
160
  padding:  0px;
161
  margin:   0px;
162
}
163

    
164

    
165
/**
166
 *  these override styles imported from eml css 
167
 */
168

    
169

    
170
.sectionnames{
171
    font-weight: bold;
172
    font-size: 16px;
173
    color: #0040A1;
174
}
175
.highlight  {
176
    background-color: #dddddd; 
177
    font-size: 12px;
178
    border: solid #ffffff 1px;
179
} 
180

    
181

    
182
.tablehead {
183
    /*background-image: url(../knb2/images/panelhead_bg.gif);*/
184
    color: #0040A1; 
185
    text-align: left;
186
    font-size: 11px; 
187
    font-weight: bold;
188
    border-top: solid #ffffff 2px;
189
    border-bottom: solid #ffffff 2px;
190
    padding-left: 5px;
191
    padding-top: 0px;
192
    padding-bottom: 0px;
193
}
194

    
195
th.tablehead {
196

    
197
    text-align: center;
198
    border: 0px;
199
    margin: 0px;
200
    padding: 0px;
201
    height:  21px;
202
}
203

    
204
.tablehead_lcorner {
205
    /*background-image: url(../knb2/images/panelhead_bg_lcorner.gif);*/
206
    border-bottom: none;
207
    background-position: right top;
208
    background-repeat: no-repeat;
209
    padding: 0px;
210
    margin:  0px;
211
    width:   10px;
212
    height:  21px;
213
}    
214
    
215
.tablehead_rcorner {
216
    /*background-image: url(../knb2/images/panelhead_bg_rcorner.gif);*/
217
    border-bottom: none;
218
    background-position: left top;
219
    background-repeat: no-repeat;
220
    padding: 0px;
221
    margin:  0px;
222
    width:   10px;
223
    height:  21px;
224
} 
225
a {
226
    color: #669933;
227
    font-weight: bold;
228
    font-size: 12px; 
229
    text-decoration: none; }
230
    
231
a:hover {
232
    color: #ff9933;
233
    text-decoration: underline; }
234
/**
235
 *  these are used only in the metacat pages
236
 */
237

    
238
p.emphasis {
239
	padding-left: 5px;
240
  font-size: 18px;
241
  color: #dd7744; 
242
  font-weight: bold;
243
  font-style:  normal;
244
}
245

    
246
.searchresultsdivider {
247
   background-color: transparent;   
248
   border-bottom: none;
249
   
250
}
251

    
252
.searchresultslead {
253
   background-color: transparent;
254
   }
255
/**
256
 *  these are used only in the registry skins
257
 */
258
p.searchbox {
259
    color: #0040A1;
260
    font-weight: bold;
261
    font-size: 12px; 
262
    text-decoration: none; 
263
}
264

    
265
.intro {
266
        width:   760px;
267
        margin-left:    15px;
268
}
269

    
270
br {
271
    margin: 0px;
272
    padding: 0px;
273
}
274

    
275
textarea {
276
   width: 80%;
277
}
278

    
279
.required {
280
    font-weight: bold;
281
    color: #b00000;
282
}
283

    
284
.label {
285
    font-weight: bold;
286
}
287

    
288
.emphasis {
289
    font-weight: bold;
290
    font-size: 18px;
291
    color: #000000;
292
}
293

    
294
.boldlink {
295
	font-weight: bold;
296
	font-size: 12px;
297
}
298
.colorbold {
299
	font-weight: bold;
300
	color: #669933;
301
	font-size: 12px;
302
}
303

    
304
.redbold {
305
	font-weight: bold;
306
	color: #b00000;
307
	font-size: 12px;
308
}
309

    
310
.greenbold {
311
	font-weight: bold;
312
	color: #008000;
313
	font-size: 12px;
314
}
315

    
316
.smalltext {
317
	font-weight: bold;
318
	font-size: 10px;
319
	vertical-align: super;
320
}
321

    
322
.italicized {
323
	font-style: italic;
324
	font-size: 12px;
325
}
326

    
327
.regtext {
328
	font-weight: normal;
329
	font-size: 12px;
330
}
331
.sectbody {
332
	background: #EAEAEA;
333
	font-size: 12px;
334
        font-weight: bold;}
335

    
336
.sectheader {
337
	background: #B2D2FE;
338
	color: #0040A1;
339
	font-size: 14px;
340
        font-weight: bold;}
341
	
342
.tables {
343
        width:   760px;
344
        margin-left:      20px;
345
        border-top: solid black 1px;
346
        border-left: solid black 1px;
347
        border-right: solid black 1px;
348
	background: #fff;
349
}
350

    
351
.hide {
352
      display:none;
353
  }
354

    
355
.bordertop {
356
        border-top: solid black 1px;
357
      }
358
      
359
.borderbottom {
360
        border-bottom: 1px solid black;}
361
	
362
.topbottom {
363
	border-top: 1px solid black;
364
	border-bottom: 1px solid black; 
365
	}
366

    
367
.longwidth {
368
	width: 80%;
369
	}
370

    
371
.shortwidth {
372
	width: 40%;
373
	}
374
	
375
.rightCol {
376
       width:  24%;
377
       text-align: right;
378
    }
(4-4/9)