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: tao $'
12
  *      '$Date: 2014-01-23 22:26:32 -0800 (Thu, 23 Jan 2014) $'
13
  *  '$Revision: 8531 $'
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
.icon-plus-sign {
254
    color: #166194;
255
    font-size: 1.2em;
256
    cursor: pointer;
257
    margin-left: 10px;
258
    margin-top: 0.5em;
259
    display: inline-block;
260
}
261

    
262
.icon-minus-sign {
263
    color: #166194;
264
    font-size: 1.2em;
265
    cursor: pointer;
266
    margin-left: 10px;
267
    margin-top: 0.5em;
268
    display: inline-block;
269
}
270

    
271
.checkbox-help{			/*For question mark icons next to checkboxes (need different vertical positioning) */
272
	margin-top: 0.7em;	
273
}
274

    
275
.form-row {
276
	height: 2em;
277
	clear: both;
278
}
279

    
280
.form-row input,
281
.form-row select,
282
.form-row span{
283
	float: left;
284
	margin-left: 1em;
285
	margin-bottom: 10px;
286
}
287

    
288
/* OTHER
289
----------------------------------------*/
290

    
291
.clear{
292
	clear: both;
293
}
294

    
295
.admin-login > tbody > tr > td{
296
	padding: 0px 10px 0px 0px;
297
}
298

    
299
.admin-login > tbody > tr{
300
	padding: 0px;
301
}
302

    
303
.username-input, login-input {
304
	width: auto;
305
	margin-bottom: 0px;
306
}
307

    
308
.buttons-wrapper{
309
	clear:both;
310
	margin: auto;
311
	max-width: 350px;
312
}
313
.heading-comment {
314
	margin-bottom: 0px;
315
}
316

    
317

    
318
.configured-tag {
319
	color: green;
320
	width: 115px;
321
	height: 30px;
322
}
323

    
324
.unconfigured-tag {
325
	color: red;
326
	width: 125px;
327
}
328

    
329

    
330
.skin-name {
331
	font-size: 14pt;
332
	width: 300px;
333
}
334

    
335
.smaller-text {
336
	font-size: 0.5em;
337
	display: inline;
338
}
339

    
340
.configuration-table{
341
	border-collapse: separate;
342
	border-spacing: 6px;
343
	background: none;
344
}
345

    
346
.configure-link {
347
	background: rgba(255, 255, 255, 0.7);
348
	border-radius: 10px;
349
	-moz-border-radius: 10px;
350
	-webkit-border-radius: 10px;
351
	color: #333333;
352
}
353

    
354
.configure-link.inactive{
355
	background: none;
356
}
357

    
358
.configure-link.inactive:hover{
359
	background: none;
360
	cursor: default;
361
	color: #333333;
362
}
363

    
364
.configure-link > i,
365
.configure-link > a{
366
	color: inherit;
367
	vertical-align: middle;
368
}
369

    
370
.configure-link:hover,
371
.configure-link:hover > a,
372
.configure-link:hover > i{
373
	background: rgba(255, 255, 255, 1);
374
	color: #166194;
375
	text-decoration: none;
376
	cursor: pointer;
377
}
378

    
379
.hiding-section {
380
	display: none;
381
	width: 100%;
382
	margin-left: 2em;
383
}
384

    
385
.h3-label {
386
    text-align: left;
387
    font: 400 1.5em/1.5em "Oswald", Arial, sans-serif;
388
    -webkit-margin-before: 0.2em;
389
    -webkit-margin-after: 0.2em;
390
    display: inline-block;
391
    margin-top: 20px;
392
}
393

    
394
frame[name="bottom"] table
395
{
396
	border-collapse: collapse;
397
	border: 1px solid #333;
398
	font: 400 1em/1em Source Sans Pro, Arial, sans-serif;
399
}
400

    
401
frame[name="bottom"] table > tbody > td
402
{
403
	padding: 5px;
404
}
405

    
406
i{
407
	margin-right: 10px;
408
}
409

    
410

    
(2-2/20)