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: 2008-10-30 10:13:44 -0700 (Thu, 30 Oct 2008) $'
13
  *  '$Revision: 4492 $'
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

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

    
162

    
163
table {
164
    /*width: 80%;*/
165
    padding: 0px;
166
}
167

    
168

    
169
.title { 	
170
    color: #000000; 
171
}
172

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

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

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

    
212
p.emphasis {
213

    
214
  font-size: 12px;
215
  color: #dd7744; 
216
  font-weight: bold;
217
  font-style:  normal;
218
}
219

    
220
.searchresultsdivider {
221
    background-color: #dddddd;   
222
}
223

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

    
234
.intro {
235
        width:   760px;
236
        margin-left:    15px;
237
}
238

    
239
br {
240
    margin: 0px;
241
    padding: 0px;
242
}
243

    
244
textarea {
245
   width: 80%;
246
}
247

    
248
.required {
249
    font-weight: bold;
250
    color: #b00000;
251
}
252

    
253
.label {
254
    font-weight: bold;
255
}
256

    
257
.emphasis {
258
    font-weight: bold;
259
    font-size: 18px;
260
    color: #000000;
261
}
262

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

    
273
.redbold {
274
	font-weight: bold;
275
	color: #b00000;
276
	font-size: 12px;
277
}
278

    
279
.greenbold {
280
	font-weight: bold;
281
	color: #008000;
282
	font-size: 12px;
283
}
284

    
285
.smalltext {
286
	font-weight: bold;
287
	font-size: 10px;
288
	vertical-align: super;
289
}
290

    
291
.italicized {
292
	font-style: italic;
293
	font-size: 12px;
294
}
295

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

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

    
320
.hide {
321
      display:none;
322
  }
323

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

    
336
.longwidth {
337
	width: 80%;
338
	}
339

    
340
.shortwidth {
341
	width: 40%;
342
	}
343
	
344
.rightCol {
345
       width:  24%;
346
       text-align: right;
347
}
348

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