Project

General

Profile

« Previous | Next » 

Revision 3553

Added by bowdish about 17 years ago

style changes for Attribute info display, set width for first column that uses added highlightAttrib and empty column; changed shading in bordered, coleven and colodd
changed .bordered width to 350px for first column, added border-bottom to columns; innercolodd, innercoleven border removed

set width for highlight to 115px and added text-align right to display highlighted items in display package

View differences:

lib/style/common/eml_xsl.css
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$'
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
  
32
/******************************************************************************/  
33
/******************************************************************************/  
34
/**  COMMON : USED BY EML STYLESHEETS AND OTHER PAGES                        **/
35
/******************************************************************************/  
36
/******************************************************************************/  
37

  
38
/*** styles that override html tags ***/
39

  
40
body {
41
    padding: 0px;
42
    margin: 0px;
43
    color: #333333; 
44
    background-color: #ffffff;
45
    font-weight: normal;
46
    font-size: 12px; 
47
    font-family: Verdana,Arial,Helvetica,sans-serif; 
48
}
49

  
50
a {
51
    color: #669933;
52
    font-weight: bold;
53
    font-size: 12px; 
54
    text-decoration: none; 
55
    text-align: left;
56
}
57

  
58
a:hover {
59
    color: #ff9933;
60
    text-decoration: underline; 
61
}
62

  
63
h1 {
64
  font-size: 24px;
65
  font-family: Georgia, Times New Roman, Times, serif;
66
  text-align: center;
67
}
68

  
69
h2 {
70
  font-size: 20px;
71
  font-family: Georgia, Times New Roman, Times, serif;
72
}
73

  
74
h3 {
75
  font-size: 16px;
76
  font-family: Georgia, Times New Roman, Times, serif;
77
  text-align: center;
78
  }
79

  
80
td {
81
    font-size: 12px; 
82
    line-height: 1.5;
83
}
84

  
85
p { 
86
    margin: 5px; 
87
}
88

  
89
p + p { 
90
    margin: 5px; 
91
    text-indent: 2em; 
92
}
93

  
94
p.label { 
95
    color: #333333; 
96
    font-weight: bold; 
97
}
98

  
99
p.contact { 
100
    color: #333333; 
101
    padding: 1em;
102
    font-size: 0.75em; 
103
    font-weight: normal;
104
    font-style: italic; 
105
}
106

  
107

  
108
/*** custom styles ***/
109

  
110
#mainTableAligmentStyle {
111
    width: 100%;
112
}
113

  
114
.mainContainerTableStyle {
115
    width: 100%;
116
}
117

  
118
.title {
119
    font-family: Georgia, Times New Roman, Times, serif;
120
    color:  #0247A8;
121
    font-size: 24px; 
122
    font-weight: bold;
123
}
124

  
125
.subtitle {
126
    font-family: Verdana,Arial,Helvetica,sans-serif;
127
    font-size: 12px;
128
    font-weight: bold;
129
    color: #666666; 
130
    margin-left: 3em;
131
    margin-top: 0.5em;
132
    margin-bottom: 2em;
133
    font-weight: normal; 
134
}
135

  
136
.tabledefault {
137
    background: white;
138
    color: #555555;
139
    width: 100%; 
140
    font-size: 12px; 
141
    line-height: 1.2;
142
    left-padding: 5px;
143
    right-padding: 5px; 
144
}
145

  
146
.tablehead {
147
    background-color: #B3D4FF;
148
    color: #0040A1; 
149
    font-size: 14px; 
150
    font-weight: bold; 
151
    border-top: solid #ffffff 5px;
152
    border-bottom: solid #ffffff 2px;
153
    padding-left: 15%;
154
    padding-top: 0px;
155
    padding-bottom: 0px;
156
}
157

  
158
.roweven {
159
    background: white; 
160
}
161

  
162
.rowodd {
163
    background: white; 
164
}
165
  
166
.emphasis { 
167
    color: red; 
168
}
169

  
170
    
171
/******************************************************************************/  
172
/******************************************************************************/  
173
/**  USED BY EML STYLESHEETS ONLY - NO OTHERS                                **/
174
/******************************************************************************/  
175
/******************************************************************************/  
176

  
177
.mainContainerTable {
178
    width: 750px;
179
    background-color: #ffffff; 
180
    font-size: 12px;
181
}
182

  
183
.linkedHeaderStyle {
184
    background: #B2D2FE;
185
    border-top: solid #ffffff 5px;
186
    padding-left: 15%;
187
    text-align: left;
188
    font-weight: bold; 
189
}
190

  
191
.highlight  {
192
    background-color: #dddddd; 
193
    font-size: 12px;
194
    border: solid #ffffff 1px;
195
    width: 115px;
196
    padding-right: 4px;
197
    text-align: right;
198
    
199
}
200

  
201
.highlightAttrib {
202
    background-color: #ffffff;
203
    font-size: 12px;
204
    text-align: center;
205
    border-bottom: solid #cccccc  2px;
206
    padding-left: 4px;
207

  
208
}
209

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

  
214

  
215
.citation  {
216
    color: black;
217
    background-color: #FFFFFF;
218
    font-size: 1.2em; 
219
    padding-left: 10px;
220
}
221

  
222
.lsid {
223
    text-decoration: underline; 
224
}
225

  
226
.secondCol {
227
    background-color: #ffffff; 
228
    font-size: 12px; 
229
    padding-left: 2px;
230
    padding-right: 2px;
231

  
232
}
233

  
234
.bordered {
235
    background-color: #ffffff; 
236
    font-size: 12px; 
237
    text-align: left;
238
    padding: 5px;
239
    border-bottom: solid #dddddd 1px;
240
    width: 350px;
241
}
242

  
243
.coleven {
244
    background-color: #ffffff; 
245
    font-size: 12px;
246
    padding: 5px;
247
    text-align: left;
248
    border-bottom: solid #dddddd 1px;
249
}
250

  
251
.colodd {
252
    background-color: #ffffff; 
253
    font-size: 12px;
254
    padding: 5px;
255
    text-align: left;
256
    border-bottom: solid #dddddd 1px;
257
}
258
.emptycolumn {
259
    width: 1px; 
260
    border: 1px solid #ffffff;
261
    }
262

  
263
.innercolodd {
264
    font-size: 10px;
265
    padding-left: 2px;
266
    padding-right: 2px;
267
    text-align: left;
268
}
269

  
270
.innercoleven {
271
    font-size: 10px; 
272
    padding-left: 2px;
273
    padding-right: 2px;
274
    text-align: left;
275
}    
276

  
277

  
278
/******************************************************************************/  
279
/******************************************************************************/  
280
/**  USED BY OTHER PAGES ONLY - NOT EML STYLESHEETS                          **/
281
/******************************************************************************/  
282
/******************************************************************************/  
283

  
284

  
285
.tablepanel {
286
    background: #ffffff;
287
    color: #555555;
288
    font-size: 12px; 
289
    left-padding: 5px;
290
    right-padding: 5px; 
291
}
292

  
293
.tablehead2 {
294
    background: white;
295
    vertical-align: bottom;
296
    color: black;
297
    font-size: 1em;
298
    font-weight: bold;
299
}
300

  
301
.plaintext {
302
    color: #555555;
303
    font-weight: normal;
304
    font-size: 12px;
305
}
306

  
307
.boldtext {
308
    color: #333333;
309
    font-weight: bold;
310
    font-size: 12px;
311
}
312

  
313
.rowevenemphasis {
314
  background: #9ab3de;
315
  font-weight: bold;
316
}
317

  
318
.rowoddemphasis {
319
  background: #cccccc;
320
  font-weight: bold;
321
}
322

  
0 323

  

Also available in: Unified diff