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 8222 walker
/* Import the Metacat documentation stylesheet */
31
@import url(../docs/_static/metacatui.css);
32 8203 walker
33
/* THE BASICS
34
-------------------------------------------------- */
35
html{
36
	margin: 0;
37
	padding: 0;
38
	width: 100%;
39
	height: 100%;
40 4080 daigle
}
41 8203 walker
body{
42 8627 walker
	 font-family: "Helvetica", "Source Sans Pro", sans-serif;
43 8203 walker
}
44 4080 daigle
45 8203 walker
46 4080 daigle
47 8627 walker
	h3 {
48
		font-size: 1.2em;
49
		line-height: 2em;
50
		display: block;
51
		clear: both;
52
		margin: 0px;
53
	}
54
55
	h2{
56
		font-size: 2em;
57
		line-height: 2.1em;
58
		font-weight: 400;
59
		display: block;
60
		clear: both;
61
		margin: 0px;
62
	}
63
64
	h1{
65
		font-size: 2.5em;
66
		line-height: 2.8em;
67
		display: inline-block;
68
		clear: both;
69
		margin: 0px;
70
	}
71
72
	h1 > a,
73
	h2 > a,
74
	h3 > a,
75
	h4 > a{
76
		color: #333333;
77
	}
78
79 4080 daigle
input {
80
	padding-left: 4px;
81
	width: 400px;
82 8203 walker
	border: 1px solid #AAAAAA;
83
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
84
	background-color:#FFFFFF;
85
	color: #333333;
86
	border-radius: 5px;
87
	-moz-border-radius: 5px;
88
	-webkit-border-radius: 5px;
89 4080 daigle
}
90
91 8203 walker
select{
92
	border: 1px solid #AAAAAA;
93
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
94
	height: 2em;
95
}
96
97 8627 walker
input[type="submit"],
98
input[type="button"] {
99
	min-width: 100px;
100 4080 daigle
	margin-right: 5px;
101
	margin-top: 20px;
102 8203 walker
	cursor: pointer;
103 8627 walker
	background-color: #555;
104
	color: #FFF;
105 4080 daigle
}
106
107
input[type="radio"] {
108
	margin-bottom: 4px;
109 8203 walker
	width: 15px;
110
	height: 15px;
111 8222 walker
	float: left;
112 8245 walker
	-webkit-appearance: radio;
113 4080 daigle
}
114
115 4082 daigle
input[type="checkbox"] {
116 8203 walker
	width: 15px;
117
	height: 15px;
118
	float: left;
119 8245 walker
	-webkit-appearance: checkbox;
120
	margin-top: 1em;
121 4082 daigle
}
122
123 4080 daigle
label {
124 8203 walker
	font-size: 1.1em;
125
	line-height: 1.1em;
126
	display: block;
127
	margin-top: 10px;
128 4080 daigle
}
129
130 8240 walker
table{
131
	background: none;
132
}
133 4080 daigle
134 4100 daigle
135 8240 walker
136 8222 walker
/* NAVIGATION AND HEADER AND FOOTER
137 8203 walker
------------------------------------- */
138 8222 walker
.footer{
139
	width: 100%;
140
	padding: 20px 20px 0 0;
141
	bottom: 0;
142
}
143
144
.footer > p{
145 9402 walker
	color: white;
146 8203 walker
	float: right;
147 8222 walker
	clear: both;
148
	display: block;
149
	text-transform: none;
150
	margin-right: 20px;
151 5010 daigle
}
152
153 8222 walker
.footer > ul{
154
	clear: both;
155
	float: right;
156
	margin-right: 20px;
157
}
158
159
.footer li {
160
	list-style: none;
161
	float: left;
162
	margin-left: 20px;
163
}
164
165 9402 walker
.header{
166
	background-color: #166194;
167
	margin: 0px;
168
}
169
.header > ul{
170
	float: left;
171
}
172
.header > ul > li > img {
173
    height: 50px;
174
    width: auto;
175
}
176
177 8222 walker
.footer li > a,
178
.header li > a{
179
	color: #FFFFFF;
180 8627 walker
	font: 400 1.5em/1.5em Oswald, Arial;
181 8203 walker
	text-transform: uppercase;
182 8222 walker
}
183
184
.footer li > a:hover,
185
.header li > a:hover{
186
	opacity: 0.6;
187 8203 walker
	text-decoration: none;
188 4080 daigle
}
189
190 8222 walker
.header{
191 9402 walker
	height: 60px;
192
	margin: 0px;
193
	padding-top: 10px;
194 8222 walker
}
195
196 8203 walker
/* FORMS
197
----------------------------------------*/
198 8222 walker
.textinput,
199 8245 walker
input[type="password"],
200
input[type="text"] {
201 8203 walker
	vertical-align: middle;
202
	width: 30em;
203
	height: 2.2em;
204
	font: 400 1em/2em Source Sans Pro;
205
	border-radius: 5px;
206
	-moz-border-radius: 5px;
207
	-webkit-border-radius: 5px;
208
	border: 1px solid #aaa;
209 4080 daigle
}
210
211 8203 walker
.textinput-label {
212
	text-align: right;
213
	float: left;
214
	width: 200px;
215 8222 walker
	clear: left;
216 4080 daigle
}
217
218 8203 walker
.textinput-description {
219
	margin-left: 215px;
220 8222 walker
	color: #666666;
221 8203 walker
	font-size: 0.8em;
222
	clear: both;
223 8240 walker
	min-height: 2em;
224 8245 walker
	max-width: 500px;
225
	position: relative;
226
	top: -5px;
227 4080 daigle
}
228
229
230 8203 walker
231
.checkradio-label-inline {
232
 	display: inline;
233
	vertical-align: middle;
234 4080 daigle
}
235
236 8222 walker
.checkradio-label{
237 8245 walker
	margin: 0.7em 0px 0px 10px;
238 8222 walker
	float: left;
239
}
240 8203 walker
.checkradio-description {
241 8222 walker
	font: 400 .8em/.8em Source Sans Pro;
242
	color: #666666;
243
	clear: both;
244
	margin: 8px 0px 10px 38px;
245 4080 daigle
}
246
247 8245 walker
.radiowrapper{
248
	padding-top: 10px;
249
}
250 8222 walker
.icon-question-sign {
251
	color: #166194;
252
	font-size: 1.2em;
253
	cursor: pointer;
254 8203 walker
	margin-left: 10px;
255 8222 walker
	margin-top: 0.5em;
256 8245 walker
	display: inline-block;
257 4080 daigle
}
258
259 8531 tao
.icon-plus-sign {
260
    color: #166194;
261
    font-size: 1.2em;
262
    cursor: pointer;
263
    margin-left: 10px;
264
    margin-top: 0.5em;
265
    display: inline-block;
266
}
267
268
.icon-minus-sign {
269
    color: #166194;
270
    font-size: 1.2em;
271
    cursor: pointer;
272
    margin-left: 10px;
273
    margin-top: 0.5em;
274
    display: inline-block;
275
}
276
277 8245 walker
.checkbox-help{			/*For question mark icons next to checkboxes (need different vertical positioning) */
278
	margin-top: 0.7em;
279
}
280
281 8203 walker
.form-row {
282 8231 walker
	height: 2em;
283 8203 walker
	clear: both;
284 4080 daigle
}
285
286 8203 walker
.form-row input,
287
.form-row select,
288
.form-row span{
289
	float: left;
290 8222 walker
	margin-left: 1em;
291 8245 walker
	margin-bottom: 10px;
292 8203 walker
}
293
294
/* OTHER
295
----------------------------------------*/
296
297
.clear{
298
	clear: both;
299
}
300
301 8222 walker
.admin-login > tbody > tr > td{
302
	padding: 0px 10px 0px 0px;
303 8203 walker
}
304
305 8222 walker
.admin-login > tbody > tr{
306
	padding: 0px;
307 8203 walker
}
308
309 8222 walker
.username-input, login-input {
310
	width: auto;
311
	margin-bottom: 0px;
312
}
313
314 8203 walker
.buttons-wrapper{
315
	clear:both;
316 8222 walker
	margin: auto;
317
	max-width: 350px;
318 8203 walker
}
319
.heading-comment {
320
	margin-bottom: 0px;
321
}
322
323
324 4080 daigle
.configured-tag {
325
	color: green;
326
	width: 115px;
327
	height: 30px;
328
}
329
330
.unconfigured-tag {
331
	color: red;
332
	width: 125px;
333
}
334
335
336
.skin-name {
337 4082 daigle
	font-size: 14pt;
338
	width: 300px;
339 4080 daigle
}
340
341
.smaller-text {
342 8203 walker
	font-size: 0.5em;
343 4082 daigle
	display: inline;
344 4080 daigle
}
345
346 8231 walker
.configuration-table{
347
	border-collapse: separate;
348
	border-spacing: 6px;
349 8240 walker
	background: none;
350 8231 walker
}
351
352 8627 walker
.configure-link a{
353 8231 walker
	background: rgba(255, 255, 255, 0.7);
354
	border-radius: 10px;
355
	-moz-border-radius: 10px;
356
	-webkit-border-radius: 10px;
357
	color: #333333;
358 8627 walker
	width: 207px;
359
	display: block;
360
	text-align: center;
361
	padding-top: 5px;
362
	padding-bottom: 5px;
363 9402 walker
	border: 1px solid #333;
364 4258 daigle
}
365
366 8231 walker
367
.configure-link > i,
368
.configure-link > a{
369
	color: inherit;
370
	vertical-align: middle;
371
}
372
373 4258 daigle
.hiding-section {
374
	display: none;
375
	width: 100%;
376
	margin-left: 2em;
377
}
378
379 8531 tao
.h3-label {
380
    text-align: left;
381
    font: 400 1.5em/1.5em "Oswald", Arial, sans-serif;
382
    -webkit-margin-before: 0.2em;
383
    -webkit-margin-after: 0.2em;
384
    display: inline-block;
385
    margin-top: 20px;
386
}
387
388 8222 walker
frame[name="bottom"] table
389
{
390
	border-collapse: collapse;
391
	border: 1px solid #333;
392
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
393
}
394 4258 daigle
395 8222 walker
frame[name="bottom"] table > tbody > td
396
{
397
	padding: 5px;
398
}
399
400
i{
401
	margin-right: 10px;
402
}
403