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: 2009-07-28 10:01:52 -0700 (Tue, 28 Jul 2009) $'
13
  *  '$Revision: 5000 $'
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
 *  import eml css:
33
 */
34

    
35
@import url(../../../style/common/eml_xsl.css);
36

    
37
/**
38
 *  set the correct iframe sizes to accomodate the 
39
 *  header, footer, left and right areas.
40
 *  NOTE: these styles apply only to each 
41
 *  container frame, *NOT* to the document within it!
42
 */  
43
.iframeheaderclass {
44
  height:   183px; 
45
  width:    100%;
46
  border:   0px;
47
  margin:   0px;
48
}
49

    
50
.iframesearchboxclass {
51
  height:   461px; 
52
  width:    100%;
53
  border:   0px;
54
  margin:   0px;
55
}
56

    
57
.iframeleftcolclass  {
58
	height:   100%; 
59
	width:    144px;
60
/*	border-right: dashed #C8C4B9 1px;*/
61
}
62
.iframerightcolclass { 
63
	height:   100%; 
64
	width:    144px;
65
}
66
.iframefooterclass   {   
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:   80px; 
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:    0px;
114
  border:   0px;
115
  padding:  0px;
116
  margin:   0px;
117
  vertical-align: top;
118
  background-image: url(images/chalkboard_left.png);
119
  background-repeat: repeat-y;
120
}
121

    
122

    
123
.templaterightcolclass {
124
  height:   100%; 
125
  width:    0px;
126
  border:   0px;
127
  padding:  0px;
128
  margin:   0px;
129
  vertical-align: top;
130
  background-image: url(images/chalkboard_right.png);
131
  background-repeat: repeat-y;
132
}
133

    
134

    
135
.templatefooterrowclass {
136
  height:   0px; 
137
/*
138
  no width allowed - uses same width as table class
139
*/
140
  border:   0px;
141
  padding:  0px;
142
  margin:   0px;
143
}
144

    
145

    
146
/**
147
 *  these override styles imported from eml css 
148
 */
149

    
150
body {
151
	margin: 0px;
152
}
153
	
154
.sectionnames{
155
    font-weight: bold;
156
    font-size: 16px;
157
    color: #0040A1;
158
}
159
.highlight  {
160
    background-color: #dddddd; 
161
    font-size: 12px;
162
    border: solid #ffffff 1px;
163
} 
164

    
165

    
166
table {
167
    /*width: 80%;*/
168
    padding: 0px;
169
}
170

    
171

    
172
.title { 	
173
    color: #000000; 
174
}
175

    
176
th {
177
    /*background-color: #b5d0c1;*/
178
    border-bottom: solid #dddddd 1px;  	
179
    color: #243a2d; 
180
    text-align: left;
181
    font-size: 14px; 
182
    font-weight: bold;
183
    /*padding-left: 15px;*/
184
    padding-top: 0px;
185
    padding-bottom: 0px;
186
}
187

    
188
/** for top-level tables **/
189
.tablehead {
190
	background-color: #C8C4B9;
191
	background-image: url(images/30pix_bkgrndgradient.gif);
192
	background-repeat: repeat-x;
193
    color: #243a2d;
194
    text-align: center;
195
    font-size: 16px; 
196
    border: 0px;
197
    margin: 0px;
198
    padding: 2px;
199
    
200
}
201

    
202
a {
203
    color: #243a2d;
204
    font-weight: bold;
205
    font-size: 12px; 
206
    text-decoration: none; }
207
    
208
a:hover {
209
    color: #b5d0c1;
210
    text-decoration: underline; }
211
/**
212
 *  these are used only in the metacat pages
213
 */
214

    
215
p.emphasis {
216

    
217
  font-size: 12px;
218
  color: #dd7744; 
219
  font-weight: bold;
220
  font-style:  normal;
221
}
222

    
223
.searchresultsdivider {
224
    background-color: #dddddd;   
225
}
226

    
227
/**
228
 *  these are used only in the registry skins
229
 */
230
p.searchbox {
231
    color: #0040A1;
232
    font-weight: bold;
233
    font-size: 12px; 
234
    text-decoration: none; 
235
}
236

    
237
.intro {
238
        width:   760px;
239
        margin-left:    15px;
240
}
241

    
242
br {
243
    margin: 0px;
244
    padding: 0px;
245
}
246

    
247
textarea {
248
   width: 80%;
249
}
250

    
251
.required {
252
    font-weight: bold;
253
    color: #b00000;
254
}
255

    
256
.label {
257
    font-weight: bold;
258
}
259

    
260
.emphasis {
261
    font-weight: bold;
262
    font-size: 18px;
263
    color: #000000;
264
}
265

    
266
.boldlink {
267
	font-weight: bold;
268
	font-size: 12px;
269
}
270
.colorbold {
271
	font-weight: bold;
272
	color: #669933;
273
	font-size: 12px;
274
}
275

    
276
.redbold {
277
	font-weight: bold;
278
	color: #b00000;
279
	font-size: 12px;
280
}
281

    
282
.greenbold {
283
	font-weight: bold;
284
	color: #008000;
285
	font-size: 12px;
286
}
287

    
288
.smalltext {
289
	font-weight: bold;
290
	font-size: 10px;
291
	vertical-align: super;
292
}
293

    
294
.italicized {
295
	font-style: italic;
296
	font-size: 12px;
297
}
298

    
299
.regtext {
300
	font-weight: normal;
301
	font-size: 12px;
302
}
303
.sectbody {
304
	background: #EAEAEA;
305
	font-size: 12px;
306
        font-weight: bold;}
307

    
308
.sectheader {
309
	background: #FFFFFF;
310
	color: #000000;
311
	font-size: 14px;
312
    font-weight: bold;
313
}
314
	
315
.tables {
316
        /*width:   760px;*/
317
        margin-left:      0px;
318
        border-top: solid black 1px;
319
        border-left: solid black 1px;
320
        border-right: solid black 1px;
321
}
322

    
323
.hide {
324
      display:none;
325
  }
326

    
327
.bordertop {
328
        border-top: solid black 1px;
329
      }
330
      
331
.borderbottom {
332
        border-bottom: 1px solid black;}
333
	
334
.topbottom {
335
	border-top: 1px solid black;
336
	border-bottom: 1px solid black; 
337
	}
338

    
339
.longwidth {
340
	width: 80%;
341
	}
342

    
343
.shortwidth {
344
	width: 40%;
345
	}
346
	
347
.rightCol {
348
       width:  24%;
349
       text-align: right;
350
}
351

    
352
.highlight  {
353
    color: #000000;
354
    background-color: #FFFFFF; 
355
    font-style: italic;
356
    font-size: 1em; 
357
    padding-left: 10px;
358
}
(8-8/21)