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-09-23 16:43:46 -0700 (Tue, 23 Sep 2008) $'
13
  *  '$Revision: 4380 $'
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   {   
60
  width:    90%;
61
  border:   0px;
62
  margin:   0px;
63
}
64

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

    
75

    
76
/**
77
 *  set the style of the main content area and its contents
78
 */ 
79
.templatecontentareaclass {
80
  border:   0px;
81
  padding:  10px;
82
  margin:   0px;
83
}
84

    
85

    
86
/**
87
 *  set the correct <td> sizes to accomodate the 
88
 *  header, footer, left and right iframes.
89
 *  NOTE: these styles apply only to each 
90
 *  container frame, *NOT* to the document in
91
 *  the iframe within it!
92
 */  
93
.templateheaderrowclass {
94
  height:   80px; 
95
/*
96
  no width allowed - uses same width as table class
97
*/
98
  border:   0px;
99
  padding:  0px;
100
  margin:   0px;
101
}
102

    
103

    
104
.templateleftcolclass {
105
  height:   100%; 
106
  width:    0px;
107
  border:   0px;
108
  padding:  0px;
109
  margin:   0px;
110
}
111

    
112

    
113
.templaterightcolclass {
114
  height:   100%; 
115
  width:    0px;
116
  border:   0px;
117
  padding:  0px;
118
  margin:   0px;
119
}
120

    
121

    
122
.templatefooterrowclass {
123
  height:   0px; 
124
/*
125
  no width allowed - uses same width as table class
126
*/
127
  border:   0px;
128
  padding:  0px;
129
  margin:   0px;
130
}
131

    
132

    
133
/**
134
 *  these override styles imported from eml css 
135
 */
136

    
137

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

    
149

    
150
table {
151
    /*width: 80%;*/
152
    padding: 0px;
153
}
154

    
155

    
156
.title { 	
157
    color: #000000; 
158
}
159

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

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

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

    
197
p.emphasis {
198

    
199
  font-size: 12px;
200
  color: #dd7744; 
201
  font-weight: bold;
202
  font-style:  normal;
203
}
204

    
205
.searchresultsdivider {
206
    background-color: #dddddd;   
207
}
208

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

    
219
.intro {
220
        width:   760px;
221
        margin-left:    15px;
222
}
223

    
224
br {
225
    margin: 0px;
226
    padding: 0px;
227
}
228

    
229
textarea {
230
   width: 80%;
231
}
232

    
233
.required {
234
    font-weight: bold;
235
    color: #b00000;
236
}
237

    
238
.label {
239
    font-weight: bold;
240
}
241

    
242
.emphasis {
243
    font-weight: bold;
244
    font-size: 18px;
245
    color: #000000;
246
}
247

    
248
.boldlink {
249
	font-weight: bold;
250
	font-size: 12px;
251
}
252
.colorbold {
253
	font-weight: bold;
254
	color: #669933;
255
	font-size: 12px;
256
}
257

    
258
.redbold {
259
	font-weight: bold;
260
	color: #b00000;
261
	font-size: 12px;
262
}
263

    
264
.greenbold {
265
	font-weight: bold;
266
	color: #008000;
267
	font-size: 12px;
268
}
269

    
270
.smalltext {
271
	font-weight: bold;
272
	font-size: 10px;
273
	vertical-align: super;
274
}
275

    
276
.italicized {
277
	font-style: italic;
278
	font-size: 12px;
279
}
280

    
281
.regtext {
282
	font-weight: normal;
283
	font-size: 12px;
284
}
285
.sectbody {
286
	background: #EAEAEA;
287
	font-size: 12px;
288
        font-weight: bold;}
289

    
290
.sectheader {
291
	background: #FFFFFF;
292
	color: #000000;
293
	font-size: 14px;
294
    font-weight: bold;
295
}
296
	
297
.tables {
298
        /*width:   760px;*/
299
        margin-left:      0px;
300
        border-top: solid black 1px;
301
        border-left: solid black 1px;
302
        border-right: solid black 1px;
303
}
304

    
305
.hide {
306
      display:none;
307
  }
308

    
309
.bordertop {
310
        border-top: solid black 1px;
311
      }
312
      
313
.borderbottom {
314
        border-bottom: 1px solid black;}
315
	
316
.topbottom {
317
	border-top: 1px solid black;
318
	border-bottom: 1px solid black; 
319
	}
320

    
321
.longwidth {
322
	width: 80%;
323
	}
324

    
325
.shortwidth {
326
	width: 40%;
327
	}
328
	
329
.rightCol {
330
       width:  24%;
331
       text-align: right;
332
}
333

    
334
.highlight  {
335
    color: #000000;
336
    background-color: #FFFFFF; 
337
    font-style: italic;
338
    font-size: 1em; 
339
    padding-left: 10px;
340
}
(8-8/14)