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-08-20 11:02:29 -0700 (Wed, 20 Aug 2008) $'
13
  *  '$Revision: 4271 $'
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:   80px; 
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  { /* not used */ }
58
.iframerightcolclass { /* not used */ }
59
.iframefooterclass   { /* not used */ }
60

    
61
/**
62
 *  set the size and alignment etc of the top-level layout table
63
 */  
64
.templatetableclass {
65
  width:   100%; 
66
  border:   0px;
67
  padding:  0px;
68
  margin:   0px;
69
}
70

    
71

    
72
/**
73
 *  set the style of the main content area and its contents
74
 */ 
75
.templatecontentareaclass {
76
  border:   0px;
77
  padding:  0px;
78
  margin:   0px;
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:   80px; 
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

    
129
/**
130
 *  these override styles imported from eml css 
131
 */
132

    
133

    
134
.sectionnames{
135
    font-weight: bold;
136
    font-size: 16px;
137
    color: #0040A1;
138
}
139
.highlight  {
140
    background-color: #dddddd; 
141
    font-size: 12px;
142
    border: solid #ffffff 1px;
143
} 
144

    
145

    
146
table {
147
    width: 80%;
148
    padding: 0px;
149
}
150

    
151

    
152
.title { 	
153
    color: #000000; 
154
}
155

    
156
th {
157
    /*background-color: #b5d0c1;*/
158
    border-bottom: solid #dddddd 1px;  	
159
    color: #243a2d; 
160
    text-align: left;
161
    font-size: 14px; 
162
    font-weight: bold;
163
    /*padding-left: 15px;*/
164
    padding-top: 0px;
165
    padding-bottom: 0px;
166
}
167

    
168
/** for top-level tables **/
169
.tablehead {
170
	background-color: #b5d0c1; 	
171
    color: #243a2d;
172
    text-align: center;
173
    font-size: 16px; 
174
    border: 0px;
175
    margin: 0px;
176
    padding: 2px;
177
    
178
}
179

    
180
a {
181
    color: #243a2d;
182
    font-weight: bold;
183
    font-size: 12px; 
184
    text-decoration: none; }
185
    
186
a:hover {
187
    color: #b5d0c1;
188
    text-decoration: underline; }
189
/**
190
 *  these are used only in the metacat pages
191
 */
192

    
193
p.emphasis {
194

    
195
  font-size: 12px;
196
  color: #dd7744; 
197
  font-weight: bold;
198
  font-style:  normal;
199
}
200

    
201
.searchresultsdivider {
202
    background-color: #dddddd;   
203
}
204

    
205
/**
206
 *  these are used only in the registry skins
207
 */
208
p.searchbox {
209
    color: #0040A1;
210
    font-weight: bold;
211
    font-size: 12px; 
212
    text-decoration: none; 
213
}
214

    
215
.intro {
216
        width:   760px;
217
        margin-left:    15px;
218
}
219

    
220
br {
221
    margin: 0px;
222
    padding: 0px;
223
}
224

    
225
textarea {
226
   width: 80%;
227
}
228

    
229
.required {
230
    font-weight: bold;
231
    color: #b00000;
232
}
233

    
234
.label {
235
    font-weight: bold;
236
}
237

    
238
.emphasis {
239
    font-weight: bold;
240
    font-size: 18px;
241
    color: #000000;
242
}
243

    
244
.boldlink {
245
	font-weight: bold;
246
	font-size: 12px;
247
}
248
.colorbold {
249
	font-weight: bold;
250
	color: #669933;
251
	font-size: 12px;
252
}
253

    
254
.redbold {
255
	font-weight: bold;
256
	color: #b00000;
257
	font-size: 12px;
258
}
259

    
260
.greenbold {
261
	font-weight: bold;
262
	color: #008000;
263
	font-size: 12px;
264
}
265

    
266
.smalltext {
267
	font-weight: bold;
268
	font-size: 10px;
269
	vertical-align: super;
270
}
271

    
272
.italicized {
273
	font-style: italic;
274
	font-size: 12px;
275
}
276

    
277
.regtext {
278
	font-weight: normal;
279
	font-size: 12px;
280
}
281
.sectbody {
282
	background: #EAEAEA;
283
	font-size: 12px;
284
        font-weight: bold;}
285

    
286
.sectheader {
287
	background: #FFFFFF;
288
	color: #000000;
289
	font-size: 14px;
290
    font-weight: bold;
291
}
292
	
293
.tables {
294
        width:   760px;
295
        margin-left:      20px;
296
        border-top: solid black 1px;
297
        border-left: solid black 1px;
298
        border-right: solid black 1px;
299
}
300

    
301
.hide {
302
      display:none;
303
  }
304

    
305
.bordertop {
306
        border-top: solid black 1px;
307
      }
308
      
309
.borderbottom {
310
        border-bottom: 1px solid black;}
311
	
312
.topbottom {
313
	border-top: 1px solid black;
314
	border-bottom: 1px solid black; 
315
	}
316

    
317
.longwidth {
318
	width: 80%;
319
	}
320

    
321
.shortwidth {
322
	width: 40%;
323
	}
324
	
325
.rightCol {
326
       width:  24%;
327
       text-align: right;
328
}
329

    
330
.highlight  {
331
    color: #000000;
332
    background-color: #FFFFFF; 
333
    font-style: italic;
334
    font-size: 1em; 
335
    padding-left: 10px;
336
}
(6-6/11)