Project

General

Profile

1 4082 daigle
/*
2 4080 daigle
  *   '$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$'
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 8203 walker
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 4080 daigle
}
55 8203 walker
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 4080 daigle
63 8203 walker
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 4080 daigle
h2 {
82 8203 walker
	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 4080 daigle
}
88
89
h3 {
90 8203 walker
	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 4080 daigle
}
97
98
input {
99
	padding-left: 4px;
100
	width: 400px;
101 8203 walker
	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 4080 daigle
}
109
110 8203 walker
select{
111
	border: 1px solid #AAAAAA;
112
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
113
	height: 2em;
114
}
115
116 4080 daigle
input[type="submit"] {
117
	width: 100px;
118
	margin-right: 5px;
119
	margin-top: 20px;
120 8203 walker
	cursor: pointer;
121 4080 daigle
}
122
123
input[type="radio"] {
124
	margin-bottom: 4px;
125 8203 walker
	width: 15px;
126
	height: 15px;
127 4080 daigle
}
128
129 4082 daigle
input[type="checkbox"] {
130 8203 walker
	width: 15px;
131
	height: 15px;
132
	float: left;
133 4082 daigle
}
134
135 4080 daigle
label {
136 8203 walker
	font-size: 1.1em;
137
	line-height: 1.1em;
138
	display: block;
139
	margin-top: 10px;
140 4080 daigle
}
141
142
143 4100 daigle
144 8203 walker
/* NAVIGATION AND HEADER
145
------------------------------------- */
146
.small-message{
147
	margin-top: 20px;
148
	float: right;
149 5010 daigle
}
150
151 8203 walker
.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 4080 daigle
}
158
159 8203 walker
body > img {
160
	float: right;
161
	max-height: 70px;
162
	width: auto;
163 4080 daigle
}
164
165 8203 walker
/* 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 4080 daigle
}
178
179 8203 walker
.textinput-label {
180
	text-align: right;
181
	float: left;
182
	width: 200px;
183 4080 daigle
}
184
185 8203 walker
.textinput-description {
186
	margin-left: 215px;
187
	color: #777777;
188
	font-size: 0.8em;
189
	margin-top: 5px;
190
	clear: both;
191 4080 daigle
}
192
193 8203 walker
.button, input[type="submit"] {
194 4080 daigle
	width: 100px;
195
	margin-right: 5px;
196
	margin-top: 20px;
197 8203 walker
	font: 400 1.2em/1.5em Oswald, Arial;
198
	cursor: pointer;
199 4080 daigle
}
200
201 8203 walker
202
.checkradio-label-inline {
203
 	display: inline;
204
205
	vertical-align: middle;
206 4080 daigle
}
207
208 8203 walker
.checkradio-description {
209
	margin-left: 4.25em;
210
	color: gray;
211
	font-size: 11;
212 4080 daigle
}
213
214 8203 walker
.question-mark {
215
	float: left;
216
	vertical-align: middle;
217
	margin-left: 10px;
218
	height: 20px;
219
	cursor: pointer;
220 4080 daigle
}
221
222 8203 walker
.form-row {
223
	margin-top: .5em;
224
	clear: both;
225 4080 daigle
}
226
227 8203 walker
.form-row input,
228
.form-row select,
229
.form-row span{
230
	float: left;
231
}
232
233
234
/* MESSAGES
235
----------------------------------------*/
236
237 4080 daigle
.message-text {
238 8203 walker
	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 4080 daigle
}
245
246
.success-text {
247 8203 walker
	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 4080 daigle
}
254
255 8203 walker
.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 4080 daigle
}
264
265 8203 walker
.formfield-error-header {
266
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
267
	color: #A52A2A;
268 4080 daigle
}
269
270 8203 walker
.warning {
271 4080 daigle
	color: red;
272
}
273
274 8203 walker
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 4080 daigle
	font-size: 9pt;
301
	font-weight: bold;
302
	color: red;
303
}
304
305 8203 walker
306 4080 daigle
.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 4082 daigle
	font-size: 14pt;
326
	width: 300px;
327 4080 daigle
}
328
329
.smaller-text {
330 8203 walker
	font-size: 0.5em;
331 4082 daigle
	display: inline;
332 4080 daigle
}
333
334
.configure-link {
335
	font-size: 11pt;
336 4258 daigle
}
337
338
.hiding-section {
339
	display: none;
340
	width: 100%;
341
	margin-left: 2em;
342
}
343