Project

General

Profile

1 1929 brooke
 /*
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$'
12
  *      '$Date$'
13
  *  '$Revision$'
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 1934 brooke
32
/*
33
 *  import eml css:
34
 */
35
36
@import url(@style-common-path@/@eml-css@);
37
38 1935 brooke
39
/*
40
 *  import eml css:
41
 */
42
43
@import url(@knb-site-url@/portalpages.css);
44
45
46 1929 brooke
/**
47
 *  set the correct iframe sizes to accomodate the
48
 *  header, footer, left and right areas.
49
 *  NOTE: these styles apply only to each
50
 *  container frame, *NOT* to the document within it!
51
 */
52
.iframeheaderclass {
53
  height:   80px;
54
  width:    100%;
55
  border:   0px;
56
  margin:   0px;
57
}
58
59
.iframesearchboxclass {
60 2895 sgarg
  height:   461px;
61 1929 brooke
  width:    100%;
62
  border:   0px;
63
  margin:   0px;
64
}
65
66
.iframeleftcolclass  { /* not used */ }
67
.iframerightcolclass { /* not used */ }
68
.iframefooterclass   { /* not used */ }
69
70
/**
71
 *  set the size and alignment etc of the top-level layout table
72
 */
73
.templatetableclass {
74
  width:   100%;
75
  border:   0px;
76
  padding:  0px;
77
  margin:   0px;
78
}
79
80
81
/**
82
 *  set the style of the main content area and its contents
83
 */
84
.templatecontentareaclass {
85
  border:   0px;
86
  padding:  0px;
87
  margin:   0px;
88
}
89
90
91
/**
92
 *  set the correct <td> sizes to accomodate the
93
 *  header, footer, left and right iframes.
94
 *  NOTE: these styles apply only to each
95
 *  container frame, *NOT* to the document in
96
 *  the iframe within it!
97
 */
98
.templateheaderrowclass {
99
  height:   80px;
100
/*
101
  no width allowed - uses same width as table class
102
*/
103
  border:   0px;
104
  padding:  0px;
105
  margin:   0px;
106
}
107
108
109
.templateleftcolclass {
110
  height:   100%;
111
  width:    0px;
112
  border:   0px;
113
  padding:  0px;
114
  margin:   0px;
115
}
116
117
118
.templaterightcolclass {
119
  height:   100%;
120
  width:    0px;
121
  border:   0px;
122
  padding:  0px;
123
  margin:   0px;
124
}
125
126
127
.templatefooterrowclass {
128
  height:   0px;
129
/*
130
  no width allowed - uses same width as table class
131
*/
132
  border:   0px;
133
  padding:  0px;
134
  margin:   0px;
135
}
136
137 1935 brooke
138 1929 brooke
/**
139 1935 brooke
 *  these override styles imported from eml css
140 1929 brooke
 */
141
142 2433 sgarg
143
.sectionnames{
144
    font-weight: bold;
145
    font-size: 16px;
146
    color: #0040A1;
147
}
148
.highlight  {
149
    background-color: #dddddd;
150
    font-size: 12px;
151
    border: solid #ffffff 1px;
152
}
153
154
155
.tablehead {
156 1929 brooke
    background-image: url(@knb-site-url@/images/panelhead_bg.gif);
157
    color: #0040A1;
158 1940 brooke
    text-align: left;
159 1929 brooke
    font-size: 14px;
160 1940 brooke
    font-weight: bold;
161 2439 sgarg
    border-top: solid #ffffff 2px;
162 1940 brooke
    border-bottom: solid #ffffff 2px;
163 3015 tyburczy
    padding-left: 15px;
164 1940 brooke
    padding-top: 0px;
165
    padding-bottom: 0px;
166
}
167
168
th.tablehead {
169
170
    text-align: center;
171
    border: 0px;
172
    margin: 0px;
173 1929 brooke
    padding: 0px;
174 1940 brooke
    height:  21px;
175 1935 brooke
}
176 1929 brooke
177
.tablehead_lcorner {
178
    background-image: url(@knb-site-url@/images/panelhead_bg_lcorner.gif);
179 1940 brooke
    background-position: right top;
180
    background-repeat: no-repeat;
181 1929 brooke
    padding: 0px;
182
    margin:  0px;
183
    width:   10px;
184
    height:  21px;
185
}
186
187
.tablehead_rcorner {
188
    background-image: url(@knb-site-url@/images/panelhead_bg_rcorner.gif);
189 1940 brooke
    background-position: left top;
190
    background-repeat: no-repeat;
191 1929 brooke
    padding: 0px;
192
    margin:  0px;
193
    width:   10px;
194
    height:  21px;
195 2433 sgarg
}
196
a {
197
    color: #669933;
198
    font-weight: bold;
199
    font-size: 12px;
200
    text-decoration: none; }
201
202
a:hover {
203
    color: #ff9933;
204
    text-decoration: underline; }
205 1935 brooke
/**
206
 *  these are used only in the metacat pages
207
 */
208
209 1929 brooke
p.emphasis {
210
211
  font-size: 18px;
212
  color: #dd7744;
213
  font-weight: bold;
214
  font-style:  normal;
215
}
216
217
.searchresultsdivider {
218 3586 bowdish
   background-color: #ffffff;
219
   border-bottom: 1px solid #dddddd;
220
221 1929 brooke
}
222 2038 jones
223 3586 bowdish
.searchresultslead {
224
   background-color: #ffffff;
225
   }
226 2038 jones
/**
227
 *  these are used only in the registry skins
228
 */
229
p.searchbox {
230
    color: #0040A1;
231
    font-weight: bold;
232
    font-size: 12px;
233
    text-decoration: none;
234
}
235
236 2433 sgarg
.intro {
237 2539 sgarg
        width:   760px;
238
        margin-left:    15px;
239 2433 sgarg
}
240
241 2038 jones
br {
242
    margin: 0px;
243
    padding: 0px;
244
}
245
246
textarea {
247
   width: 80%;
248
}
249
250
.required {
251
    font-weight: bold;
252 2142 sgarg
    color: #b00000;
253 2038 jones
}
254
255
.label {
256
    font-weight: bold;
257
}
258 2350 sgarg
259
.emphasis {
260
    font-weight: bold;
261 2433 sgarg
    font-size: 18px;
262
    color: #000000;
263 2350 sgarg
}
264
265
.boldlink {
266
	font-weight: bold;
267
	font-size: 12px;
268
}
269 2433 sgarg
.colorbold {
270
	font-weight: bold;
271
	color: #669933;
272
	font-size: 12px;
273
}
274 2350 sgarg
275
.redbold {
276
	font-weight: bold;
277
	color: #b00000;
278
	font-size: 12px;
279
}
280
281
.greenbold {
282
	font-weight: bold;
283
	color: #008000;
284
	font-size: 12px;
285
}
286
287
.smalltext {
288
	font-weight: bold;
289
	font-size: 10px;
290 2433 sgarg
	vertical-align: super;
291 2350 sgarg
}
292
293
.italicized {
294
	font-style: italic;
295
	font-size: 12px;
296
}
297
298
.regtext {
299 2433 sgarg
	font-weight: normal;
300 2350 sgarg
	font-size: 12px;
301
}
302 2433 sgarg
.sectbody {
303
	background: #EAEAEA;
304
	font-size: 12px;
305
        font-weight: bold;}
306
307
.sectheader {
308
	background: #B2D2FE;
309
	color: #0040A1;
310
	font-size: 14px;
311
        font-weight: bold;}
312 2350 sgarg
313
.tables {
314 2433 sgarg
        width:   760px;
315 2539 sgarg
        margin-left:      20px;
316 2433 sgarg
        border-top: solid black 1px;
317
        border-left: solid black 1px;
318
        border-right: solid black 1px;
319 2350 sgarg
}
320
321 2433 sgarg
.hide {
322
      display:none;
323
  }
324
325
.bordertop {
326
        border-top: solid black 1px;
327
      }
328
329
.borderbottom {
330
        border-bottom: 1px solid black;}
331
332
.topbottom {
333
	border-top: 1px solid black;
334
	border-bottom: 1px solid black;
335
	}
336
337
.longwidth {
338
	width: 80%;
339
	}
340
341
.shortwidth {
342
	width: 40%;
343
	}
344
345
.rightCol {
346
       width:  24%;
347
       text-align: right;
348
    }