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: 2008 Regents of the University of California and the
|
8
|
* National Center for Ecological Analysis and Synthesis
|
9
|
* Authors: Michael Daigle
|
10
|
*
|
11
|
* '$Author: walker $'
|
12
|
* '$Date: 2013-09-16 13:41:00 -0700 (Mon, 16 Sep 2013) $'
|
13
|
* '$Revision: 8203 $'
|
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
|
/* Import font families */
|
31
|
@import url(http://fonts.googleapis.com/css?family=Oswald:400,300,700);
|
32
|
/* Oswald weights:
|
33
|
Light 300
|
34
|
Normal 400
|
35
|
Bold 700
|
36
|
*/
|
37
|
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,400italic);
|
38
|
/* Source Sans Pro weights:
|
39
|
Light 300
|
40
|
Normal 400
|
41
|
Normal italic 400
|
42
|
Semi-bold 600
|
43
|
Bold 700
|
44
|
*/
|
45
|
|
46
|
|
47
|
/* THE BASICS
|
48
|
-------------------------------------------------- */
|
49
|
html{
|
50
|
margin: 0;
|
51
|
padding: 0;
|
52
|
width: 100%;
|
53
|
height: 100%;
|
54
|
}
|
55
|
body{
|
56
|
font: 400 1em/1em "Source Sans Pro", Arial, sans-serif;
|
57
|
color: #333333;
|
58
|
margin: 20px 20px 20px 40px;
|
59
|
padding: 0px;
|
60
|
width: 90%;
|
61
|
}
|
62
|
|
63
|
a{
|
64
|
color: #166194;
|
65
|
text-decoration: none;
|
66
|
}
|
67
|
|
68
|
a:hover{
|
69
|
color: #3399CC;
|
70
|
text-decoration: none;
|
71
|
}
|
72
|
|
73
|
h1{
|
74
|
font: 400 3em/3em "Oswald", Arial, sans-serif;
|
75
|
-webkit-margin-before: 0.2em;
|
76
|
-webkit-margin-after: 0.2em;
|
77
|
display: block;
|
78
|
clear: both;
|
79
|
}
|
80
|
|
81
|
h2 {
|
82
|
font: 400 2.5em/2.5em "Oswald", Arial, sans-serif;
|
83
|
-webkit-margin-before: 0.2em;
|
84
|
-webkit-margin-after: 0.2em;
|
85
|
display: block;
|
86
|
clear: both;
|
87
|
}
|
88
|
|
89
|
h3 {
|
90
|
font: 400 1.5em/1.5em "Oswald", Arial, sans-serif;
|
91
|
-webkit-margin-before: 0.2em;
|
92
|
-webkit-margin-after: 0.2em;
|
93
|
display: block;
|
94
|
clear: both;
|
95
|
margin-top: 20px;
|
96
|
}
|
97
|
|
98
|
input {
|
99
|
padding-left: 4px;
|
100
|
width: 400px;
|
101
|
border: 1px solid #AAAAAA;
|
102
|
font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
|
103
|
background-color:#FFFFFF;
|
104
|
color: #333333;
|
105
|
border-radius: 5px;
|
106
|
-moz-border-radius: 5px;
|
107
|
-webkit-border-radius: 5px;
|
108
|
}
|
109
|
|
110
|
select{
|
111
|
border: 1px solid #AAAAAA;
|
112
|
font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
|
113
|
height: 2em;
|
114
|
}
|
115
|
|
116
|
input[type="submit"] {
|
117
|
width: 100px;
|
118
|
margin-right: 5px;
|
119
|
margin-top: 20px;
|
120
|
cursor: pointer;
|
121
|
}
|
122
|
|
123
|
input[type="radio"] {
|
124
|
margin-bottom: 4px;
|
125
|
width: 15px;
|
126
|
height: 15px;
|
127
|
}
|
128
|
|
129
|
input[type="checkbox"] {
|
130
|
width: 15px;
|
131
|
height: 15px;
|
132
|
float: left;
|
133
|
}
|
134
|
|
135
|
label {
|
136
|
font-size: 1.1em;
|
137
|
line-height: 1.1em;
|
138
|
display: block;
|
139
|
margin-top: 10px;
|
140
|
}
|
141
|
|
142
|
|
143
|
|
144
|
/* NAVIGATION AND HEADER
|
145
|
------------------------------------- */
|
146
|
.small-message{
|
147
|
margin-top: 20px;
|
148
|
float: right;
|
149
|
}
|
150
|
|
151
|
.small-message a{
|
152
|
font: 400 20px/20px Oswald;
|
153
|
color: #166194;
|
154
|
text-transform: uppercase;
|
155
|
margin: 0 10px;
|
156
|
text-decoration: none;
|
157
|
}
|
158
|
|
159
|
body > img {
|
160
|
float: right;
|
161
|
max-height: 70px;
|
162
|
width: auto;
|
163
|
}
|
164
|
|
165
|
/* FORMS
|
166
|
----------------------------------------*/
|
167
|
.textinput {
|
168
|
margin-left: 1em;
|
169
|
vertical-align: middle;
|
170
|
width: 30em;
|
171
|
height: 2.2em;
|
172
|
font: 400 1em/2em Source Sans Pro;
|
173
|
border-radius: 5px;
|
174
|
-moz-border-radius: 5px;
|
175
|
-webkit-border-radius: 5px;
|
176
|
border: 1px solid #aaa;
|
177
|
}
|
178
|
|
179
|
.textinput-label {
|
180
|
text-align: right;
|
181
|
float: left;
|
182
|
width: 200px;
|
183
|
}
|
184
|
|
185
|
.textinput-description {
|
186
|
margin-left: 215px;
|
187
|
color: #777777;
|
188
|
font-size: 0.8em;
|
189
|
margin-top: 5px;
|
190
|
clear: both;
|
191
|
}
|
192
|
|
193
|
.button, input[type="submit"] {
|
194
|
width: 100px;
|
195
|
margin-right: 5px;
|
196
|
margin-top: 20px;
|
197
|
font: 400 1.2em/1.5em Oswald, Arial;
|
198
|
cursor: pointer;
|
199
|
}
|
200
|
|
201
|
|
202
|
.checkradio-label-inline {
|
203
|
display: inline;
|
204
|
|
205
|
vertical-align: middle;
|
206
|
}
|
207
|
|
208
|
.checkradio-description {
|
209
|
margin-left: 4.25em;
|
210
|
color: gray;
|
211
|
font-size: 11;
|
212
|
}
|
213
|
|
214
|
.question-mark {
|
215
|
float: left;
|
216
|
vertical-align: middle;
|
217
|
margin-left: 10px;
|
218
|
height: 20px;
|
219
|
cursor: pointer;
|
220
|
}
|
221
|
|
222
|
.form-row {
|
223
|
margin-top: .5em;
|
224
|
clear: both;
|
225
|
}
|
226
|
|
227
|
.form-row input,
|
228
|
.form-row select,
|
229
|
.form-row span{
|
230
|
float: left;
|
231
|
}
|
232
|
|
233
|
|
234
|
/* MESSAGES
|
235
|
----------------------------------------*/
|
236
|
|
237
|
.message-text {
|
238
|
font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
|
239
|
color: #003366;
|
240
|
margin: 10px 0px;
|
241
|
background-color: #B4C6CC;
|
242
|
border: 1px solid #003366;
|
243
|
padding: 10px;
|
244
|
}
|
245
|
|
246
|
.success-text {
|
247
|
font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
|
248
|
color: #003300;
|
249
|
margin: 10px 0px;
|
250
|
padding: 10px;
|
251
|
background-color: #99CC99;
|
252
|
border: 1px solid #003300;
|
253
|
}
|
254
|
|
255
|
.error-text,
|
256
|
.formfield-error-text {
|
257
|
font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
|
258
|
color: #660000;
|
259
|
margin: 10px 0px;
|
260
|
padding: 10px;
|
261
|
background-color: #CC9999;
|
262
|
border: 1px solid #660000;
|
263
|
}
|
264
|
|
265
|
.formfield-error-header {
|
266
|
font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
|
267
|
color: #A52A2A;
|
268
|
}
|
269
|
|
270
|
.warning {
|
271
|
color: red;
|
272
|
}
|
273
|
|
274
|
|
275
|
/* OTHER
|
276
|
----------------------------------------*/
|
277
|
|
278
|
.clear{
|
279
|
clear: both;
|
280
|
}
|
281
|
|
282
|
.username-input {
|
283
|
width: 500px;
|
284
|
}
|
285
|
|
286
|
.login-input {
|
287
|
width: 300px;
|
288
|
}
|
289
|
|
290
|
.buttons-wrapper{
|
291
|
clear:both;
|
292
|
margin-top: 20px;
|
293
|
}
|
294
|
.heading-comment {
|
295
|
margin-bottom: 0px;
|
296
|
}
|
297
|
|
298
|
|
299
|
.error-header {
|
300
|
font-size: 9pt;
|
301
|
font-weight: bold;
|
302
|
color: red;
|
303
|
}
|
304
|
|
305
|
|
306
|
.configured-tag {
|
307
|
color: green;
|
308
|
width: 115px;
|
309
|
height: 30px;
|
310
|
}
|
311
|
|
312
|
.unconfigured-tag {
|
313
|
color: red;
|
314
|
width: 125px;
|
315
|
height: 30px;
|
316
|
}
|
317
|
|
318
|
.property-title {
|
319
|
font-weight: bolder;
|
320
|
font-size: 12pt;
|
321
|
width: 300px;
|
322
|
}
|
323
|
|
324
|
.skin-name {
|
325
|
font-size: 14pt;
|
326
|
width: 300px;
|
327
|
}
|
328
|
|
329
|
.smaller-text {
|
330
|
font-size: 0.5em;
|
331
|
display: inline;
|
332
|
}
|
333
|
|
334
|
.configure-link {
|
335
|
font-size: 11pt;
|
336
|
}
|
337
|
|
338
|
.hiding-section {
|
339
|
display: none;
|
340
|
width: 100%;
|
341
|
margin-left: 2em;
|
342
|
}
|
343
|
|
344
|
|