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: 2007-11-02 17:16:38 -0700 (Fri, 02 Nov 2007) $'
13
  *  '$Revision: 3565 $'
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-path@/@eml-css@);
37

    
38

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

    
43
/*@import url(@knb-site-url@/portalpages.css);*/
44

    
45

    
46
/**
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
  height:   461px; 
61
  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

    
138
/**
139
 *  these override styles imported from eml css 
140
 */
141

    
142

    
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
table {
156
    width: 80%;
157
    padding: 0px;
158
}
159

    
160

    
161
.title { 	
162
    color: #000000; 
163
}
164

    
165
th {
166
    /*background-color: #b5d0c1;*/
167
    border-bottom: solid #dddddd 1px;  	
168
    color: #243a2d; 
169
    text-align: left;
170
    font-size: 14px; 
171
    font-weight: bold;
172
    /*padding-left: 15px;*/
173
    padding-top: 0px;
174
    padding-bottom: 0px;
175
}
176

    
177
/** for top-level tables **/
178
.tablehead {
179
	background-color: #b5d0c1; 	
180
    color: #243a2d;
181
    text-align: center;
182
    font-size: 16px; 
183
    border: 0px;
184
    margin: 0px;
185
    padding: 2px;
186
    
187
}
188

    
189
a {
190
    color: #243a2d;
191
    font-weight: bold;
192
    font-size: 12px; 
193
    text-decoration: none; }
194
    
195
a:hover {
196
    color: #b5d0c1;
197
    text-decoration: underline; }
198
/**
199
 *  these are used only in the metacat pages
200
 */
201

    
202
p.emphasis {
203

    
204
  font-size: 12px;
205
  color: #dd7744; 
206
  font-weight: bold;
207
  font-style:  normal;
208
}
209

    
210
.searchresultsdivider {
211
    background-color: #dddddd;   
212
}
213

    
214
/**
215
 *  these are used only in the registry skins
216
 */
217
p.searchbox {
218
    color: #0040A1;
219
    font-weight: bold;
220
    font-size: 12px; 
221
    text-decoration: none; 
222
}
223

    
224
.intro {
225
        width:   760px;
226
        margin-left:    15px;
227
}
228

    
229
br {
230
    margin: 0px;
231
    padding: 0px;
232
}
233

    
234
textarea {
235
   width: 80%;
236
}
237

    
238
.required {
239
    font-weight: bold;
240
    color: #b00000;
241
}
242

    
243
.label {
244
    font-weight: bold;
245
}
246

    
247
.emphasis {
248
    font-weight: bold;
249
    font-size: 18px;
250
    color: #000000;
251
}
252

    
253
.boldlink {
254
	font-weight: bold;
255
	font-size: 12px;
256
}
257
.colorbold {
258
	font-weight: bold;
259
	color: #669933;
260
	font-size: 12px;
261
}
262

    
263
.redbold {
264
	font-weight: bold;
265
	color: #b00000;
266
	font-size: 12px;
267
}
268

    
269
.greenbold {
270
	font-weight: bold;
271
	color: #008000;
272
	font-size: 12px;
273
}
274

    
275
.smalltext {
276
	font-weight: bold;
277
	font-size: 10px;
278
	vertical-align: super;
279
}
280

    
281
.italicized {
282
	font-style: italic;
283
	font-size: 12px;
284
}
285

    
286
.regtext {
287
	font-weight: normal;
288
	font-size: 12px;
289
}
290
.sectbody {
291
	background: #EAEAEA;
292
	font-size: 12px;
293
        font-weight: bold;}
294

    
295
.sectheader {
296
	background: #FFFFFF;
297
	color: #000000;
298
	font-size: 14px;
299
    font-weight: bold;
300
}
301
	
302
.tables {
303
        width:   760px;
304
        margin-left:      20px;
305
        border-top: solid black 1px;
306
        border-left: solid black 1px;
307
        border-right: solid black 1px;
308
}
309

    
310
.hide {
311
      display:none;
312
  }
313

    
314
.bordertop {
315
        border-top: solid black 1px;
316
      }
317
      
318
.borderbottom {
319
        border-bottom: 1px solid black;}
320
	
321
.topbottom {
322
	border-top: 1px solid black;
323
	border-bottom: 1px solid black; 
324
	}
325

    
326
.longwidth {
327
	width: 80%;
328
	}
329

    
330
.shortwidth {
331
	width: 40%;
332
	}
333
	
334
.rightCol {
335
       width:  24%;
336
       text-align: right;
337
}
338

    
339
.highlight  {
340
    color: #000000;
341
    background-color: #FFFFFF; 
342
    font-style: italic;
343
    font-size: 1em; 
344
    padding-left: 10px;
345
}
(6-6/10)