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: 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-19 11:59:52 -0700 (Thu, 19 Sep 2013) $'
13
  *  '$Revision: 8245 $'
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 the Metacat documentation stylesheet */
31
@import url(../docs/_static/metacatui.css);
32

    
33
/* THE BASICS
34
-------------------------------------------------- */
35
html{
36
	margin: 0;
37
	padding: 0;
38
	width: 100%;
39
	height: 100%;
40
}
41
body{
42
	background: url(../docs/_static/bg.jpg) no-repeat center center fixed;
43
	background-size: cover;
44
     -webkit-background-size: cover;
45
	 -moz-background-size: cover;
46
	 -o-background-size: cover;
47
	 font: 400 1em/1.2em Source Sans Pro, Arial, sans-serif;
48
}
49

    
50
h1{
51
	font: 400 3em/3em "Oswald", Arial, sans-serif;
52
	-webkit-margin-before: 0.2em;
53
	-webkit-margin-after: 0.2em;
54
	display: block;
55
	clear: both;
56
}
57

    
58
h2 {
59
	font: 400 2.5em/2.5em "Oswald", Arial, sans-serif;
60
	-webkit-margin-before: 0.2em;
61
	-webkit-margin-after: 0.2em;
62
	display: block;
63
	clear: both;
64
}
65

    
66
h3 {
67
	font: 400 1.5em/1.5em "Oswald", Arial, sans-serif;
68
	-webkit-margin-before: 0.2em;
69
	-webkit-margin-after: 0.2em;
70
	display: block;
71
	clear: both;
72
	margin-top: 20px;
73
}
74

    
75
input {
76
	padding-left: 4px;
77
	width: 400px;
78
	border: 1px solid #AAAAAA;
79
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
80
	background-color:#FFFFFF;
81
	color: #333333;
82
	border-radius: 5px;
83
	-moz-border-radius: 5px;
84
	-webkit-border-radius: 5px;
85
}
86

    
87
select{
88
	border: 1px solid #AAAAAA;
89
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
90
	height: 2em;
91
}
92

    
93
input[type="submit"] {
94
	width: 100px;
95
	margin-right: 5px;
96
	margin-top: 20px;
97
	cursor: pointer;
98
}
99

    
100
input[type="radio"] {
101
	margin-bottom: 4px;
102
	width: 15px;
103
	height: 15px;
104
	float: left;
105
	-webkit-appearance: radio;
106
}
107

    
108
input[type="checkbox"] {
109
	width: 15px;
110
	height: 15px;
111
	float: left;
112
	-webkit-appearance: checkbox;
113
	margin-top: 1em;
114
}
115

    
116
label {
117
	font-size: 1.1em;
118
	line-height: 1.1em;
119
	display: block;
120
	margin-top: 10px;
121
}
122

    
123
table{
124
	background: none;
125
}
126

    
127

    
128

    
129
/* NAVIGATION AND HEADER AND FOOTER
130
------------------------------------- */
131
.footer{
132
	width: 100%;
133
	padding: 20px 20px 0 0;
134
	bottom: 0;
135
}
136

    
137
.footer > p{
138
	font: 400 1em/1em Source Sans Pro, Arial;
139
	float: right;
140
	clear: both;
141
	display: block;
142
	text-transform: none;
143
	margin-right: 20px;
144
}
145

    
146
.footer > ul{
147
	clear: both;
148
	float: right;
149
	margin-right: 20px;
150
}
151

    
152
.footer li {
153
	list-style: none;
154
	float: left;
155
	margin-left: 20px;
156
}
157

    
158
.footer li > a,
159
.header li > a{
160
	color: #FFFFFF;
161
	font: 400 2em/2em Oswald, Arial;
162
	text-transform: uppercase;
163
}
164

    
165
.footer li > a:hover,
166
.header li > a:hover{
167
	opacity: 0.6;
168
	text-decoration: none;
169
}
170

    
171
.document{
172
	position: relative;
173
	margin-top: 20px;
174
	padding-bottom: 10px;
175
	min-height: 800px;
176
}
177

    
178
.header{
179
	height: 100px;
180
	margin: 10px;
181
}
182

    
183
/* FORMS
184
----------------------------------------*/
185
.textinput,
186
input[type="password"],
187
input[type="text"] {
188
	vertical-align: middle;
189
	width: 30em;
190
	height: 2.2em;
191
	font: 400 1em/2em Source Sans Pro;
192
	border-radius: 5px;
193
	-moz-border-radius: 5px;
194
	-webkit-border-radius: 5px;
195
	border: 1px solid #aaa;
196
}
197

    
198
.textinput-label {
199
	text-align: right;
200
	float: left;
201
	width: 200px;
202
	clear: left;
203
}
204

    
205
.textinput-description {
206
	margin-left: 215px;
207
	color: #666666;
208
	font-size: 0.8em;
209
	clear: both;
210
	min-height: 2em;
211
	max-width: 500px;
212
	position: relative;
213
	top: -5px;
214
}
215

    
216
.button, input[type="submit"], input[type="button"] {
217
	width: 100px;
218
	margin: 20px 5px 10px 0px;
219
	font: 400 1.2em/1.5em Oswald, Arial;
220
	cursor: pointer;
221
	height: 1.7em;
222
}
223

    
224

    
225
.checkradio-label-inline {
226
 	display: inline;
227
	vertical-align: middle;
228
}
229

    
230
.checkradio-label{
231
	margin: 0.7em 0px 0px 10px;
232
	float: left;
233
}
234
.checkradio-description {
235
	font: 400 .8em/.8em Source Sans Pro;
236
	color: #666666;
237
	clear: both;
238
	margin: 8px 0px 10px 38px;
239
}
240

    
241
.radiowrapper{
242
	padding-top: 10px;
243
}
244
.icon-question-sign {
245
	color: #166194;
246
	font-size: 1.2em;
247
	cursor: pointer;
248
	margin-left: 10px;
249
	margin-top: 0.5em;
250
	display: inline-block;
251
}
252

    
253
.checkbox-help{			/*For question mark icons next to checkboxes (need different vertical positioning) */
254
	margin-top: 0.7em;	
255
}
256

    
257
.form-row {
258
	height: 2em;
259
	clear: both;
260
}
261

    
262
.form-row input,
263
.form-row select,
264
.form-row span{
265
	float: left;
266
	margin-left: 1em;
267
	margin-bottom: 10px;
268
}
269

    
270
/* OTHER
271
----------------------------------------*/
272

    
273
.clear{
274
	clear: both;
275
}
276

    
277
.admin-login > tbody > tr > td{
278
	padding: 0px 10px 0px 0px;
279
}
280

    
281
.admin-login > tbody > tr{
282
	padding: 0px;
283
}
284

    
285
.username-input, login-input {
286
	width: auto;
287
	margin-bottom: 0px;
288
}
289

    
290
.buttons-wrapper{
291
	clear:both;
292
	margin: auto;
293
	max-width: 350px;
294
}
295
.heading-comment {
296
	margin-bottom: 0px;
297
}
298

    
299

    
300
.configured-tag {
301
	color: green;
302
	width: 115px;
303
	height: 30px;
304
}
305

    
306
.unconfigured-tag {
307
	color: red;
308
	width: 125px;
309
}
310

    
311

    
312
.skin-name {
313
	font-size: 14pt;
314
	width: 300px;
315
}
316

    
317
.smaller-text {
318
	font-size: 0.5em;
319
	display: inline;
320
}
321

    
322
.configuration-table{
323
	border-collapse: separate;
324
	border-spacing: 6px;
325
	background: none;
326
}
327

    
328
.configure-link {
329
	background: rgba(255, 255, 255, 0.7);
330
	border-radius: 10px;
331
	-moz-border-radius: 10px;
332
	-webkit-border-radius: 10px;
333
	color: #333333;
334
}
335

    
336
.configure-link.inactive{
337
	background: none;
338
}
339

    
340
.configure-link.inactive:hover{
341
	background: none;
342
	cursor: default;
343
	color: #333333;
344
}
345

    
346
.configure-link > i,
347
.configure-link > a{
348
	color: inherit;
349
	vertical-align: middle;
350
}
351

    
352
.configure-link:hover,
353
.configure-link:hover > a,
354
.configure-link:hover > i{
355
	background: rgba(255, 255, 255, 1);
356
	color: #166194;
357
	text-decoration: none;
358
	cursor: pointer;
359
}
360

    
361
.hiding-section {
362
	display: none;
363
	width: 100%;
364
	margin-left: 2em;
365
}
366

    
367
frame[name="bottom"] table
368
{
369
	border-collapse: collapse;
370
	border: 1px solid #333;
371
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
372
}
373

    
374
frame[name="bottom"] table > tbody > td
375
{
376
	padding: 5px;
377
}
378

    
379
i{
380
	margin-right: 10px;
381
}
382

    
383

    
(2-2/20)