Subversion Repositories eFlore/Applications.cel

Rev

Rev 2943 | Rev 2948 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2943 delphine 1
@CHARSET "UTF-8";
2
/*
3
Code couleurs :
4
Police : ?
5
Gris :
6
	foncé : #2B2E34
7
	clair : #D7DBC5
8
Vert :
9
	foncé : #C4D24C / #898F5E (couverture)
10
	median : #CAD65E / #C0CE40 (titre)
11
	clair : #D9E28C / #E4E9AD / #F4F7DF
12
Marron
13
	fonçé : #999E6C
14
	clair texturé : #CDBEA2
15
 
16
*/
17
/*+--------------------------------------------------------------------------------------------------------+*/
18
/* Polices d'écriture*/
19
/* FONT : Balthazar */
20
@font-face {
21
	font-family: 'Balthazar';
22
	font-style: normal;
23
	font-weight: 400;
24
	src:
25
		local('Balthazar Regular'),
26
		local('Balthazar-Regular'),
27
		url('http://resources.tela-botanica.org/fonts/balthazar/regular.woff') format('woff');
28
}
29
/* FONT : Ubuntu */
30
@font-face {
31
	font-family: 'Ubuntu';
32
	font-style: normal;
33
	font-weight: 400;
34
	src:
35
		local('Ubuntu'),
36
		url(http://resources.tela-botanica.org/fonts/ubuntu/regular.woff) format('woff'),
37
		url(http://resources.tela-botanica.org/fonts/ubuntu/regular.ttf) format('ttf');
38
}
39
@font-face {
40
	font-family: 'Ubuntu';
41
	font-style: normal;
42
	font-weight: 700;
43
	src:
44
		local('Ubuntu Bold'),
45
		local('Ubuntu-Bold'),
46
		url(http://resources.tela-botanica.org/fonts/ubuntu/bold.woff) format('woff'),
47
		url(http://resources.tela-botanica.org/fonts/ubuntu/bold.ttf) format('ttf');
48
}
49
@font-face {
50
	font-family: 'Ubuntu';
51
	font-style: italic;
52
	font-weight: 400;
53
	src:
54
		local('Ubuntu Italic'),
55
		local('Ubuntu-Italic'),
56
		url(http://resources.tela-botanica.org/fonts/ubuntu/italic.woff) format('woff'),
57
		url(http://resources.tela-botanica.org/fonts/ubuntu/italic.ttf) format('ttf');
58
}
59
@font-face {
60
	font-family: 'Ubuntu';
61
	font-style: italic;
62
	font-weight: 700;
63
	src:
64
		local('Ubuntu Bold Italic'),
65
		local('Ubuntu-BoldItalic'),
66
		url(http://resources.tela-botanica.org/fonts/ubuntu/bold_italic.woff) format('woff'),
67
		url(http://resources.tela-botanica.org/fonts/ubuntu/bold_italic.ttf) format('ttf');
68
}
69
/* FONT : Muli */
70
@font-face {
71
	font-family: 'Muli';
72
	font-style: normal;
73
	font-weight: 300;
74
	src:
75
		local('Muli Light'),
76
		local('Muli-Light'),
77
		url(http://resources.tela-botanica.org/fonts/muli/regular.woff) format('woff'),
78
		url(http://resources.tela-botanica.org/fonts/muli/regular.ttf) format('ttf');
79
}
80
@font-face {
81
	font-family: 'Muli';
82
	font-style: normal;
83
	font-weight: 400;
84
	src:
85
		local('Muli'),
86
		url(http://resources.tela-botanica.org/fonts/muli/bold.woff) format('woff');
87
}
88
@font-face {
89
	font-family: 'Muli';
90
	font-style: italic;
91
	font-weight: 300;
92
	src:
93
		local('Muli Light Italic'),
94
		local('Muli-LightItalic'),
95
		url(http://resources.tela-botanica.org/fonts/muli/italic.woff) format('woff'),
96
		url(http://resources.tela-botanica.org/fonts/muli/italic.ttf) format('ttf');
97
}
98
@font-face {
99
	font-family: 'Muli';
100
	font-style: italic;
101
	font-weight: 400;
102
	src:
103
		local('Muli Italic'),
104
		local('Muli-Italic'),
105
		url(http://resources.tela-botanica.org/fonts/muli/bold_italic.woff) format('woff'),
106
		url(http://resources.tela-botanica.org/fonts/muli/bold_italic.ttf) format('ttf');
107
}
108
 
109
/*+--------------------------------------------------------------------------------------------------------+*/
110
/* Balises */
111
body {
112
	background-color: #d9e28c;
113
	background: url('../img/background/page_fond.jpg') no-repeat;
114
	background-attachment:fixed;
115
}
116
footer p{
117
	text-align:center;
118
}
119
button img {
120
	display:block;
121
}
122
h2 {
123
	color: #1A7239;
124
	font-family: 'Muli', sans-serif;
125
	border-bottom: 1px solid #2B2E34;
126
}
127
/*+--------------------------------------------------------------------------------------------------------+*/
128
/* Générique */
129
.discretion {
130
	color:grey;
131
	font-family:arial;
132
	font-size:11px;
133
	line-height: 13px;
134
}
135
.centre {
136
	text-align:center;
137
}
138
.modal-fenetre {
139
	position:fixed;
140
	z-index:1000;
141
	top:0;
142
	left:0;
143
	height:100%;
144
	width:100%;
145
	background:#777;
146
	background:rgba(90,86,93,0.7);
147
	text-align:center;
148
}
149
.modal-contenu {
150
	position:relative;
151
	width:30%;
152
	margin:0 auto;
153
	top:30%;
154
}
155
 
156
/*+--------------------------------------------------------------------------------------------------------+*/
157
/* Formulaire spécifique */
158
.page-header {
159
	background-color: rgba(232, 232, 232, 1);
160
	border-radius: 10px;
161
}
162
.page-header h1{
163
	font-size: 3em;
164
	line-height: 90px;
165
	color: #2B2E34;
166
	font-family: 'Ubuntu', sans-serif;
167
	margin-bottom: 0;
168
}
169
#logo-titre {
170
	position: relative;
171
	left: 8px;
172
	margin-right: 1em;
173
	height: 80px;
174
}
175
 
176
#intro-txt a {
177
	cursor: pointer;
178
}
179
 
180
#info-commune {
181
	text-align:right;
182
}
183
.ns-retenu {
184
	font-weight:bold;
185
}
186
.nn{
187
	color:#3B9D3B;
188
}
189
.nom-sci {
190
	font-style: italic;
191
}
192
 
193
.obs-action{
194
	opacity:1;
195
}
196
 
197
#miniatures {
198
	padding-top: 5px;
199
}
200
 
201
.miniature{
202
	float: left;
203
	height: 130px;
204
	padding: 10px;
205
}
206
 
207
.miniature-img {
208
	height: 100px;
209
	margin: 0;
210
}
211
 
212
.miniature img {
213
	display: block;
214
}
215
 
216
.miniature-chargement {
217
	height:100px;
218
	width: 100px;
219
}
220
 
221
.defilement-miniatures-gauche, .defilement-miniatures-droite {
222
	float: left;
223
	font-size: 1.2em;
224
	font-weight: bold;
225
	height: 62px;
226
	margin: 5px;
227
	padding-top: 30px;
228
	width: 12px;
229
}
230
 
231
.defilement-miniatures {
232
	width: 210px;
233
}
234
.defilement-miniatures .thumbnail {
235
	float: left;
236
}
237
 
238
.defilement-miniatures-cache {
239
	visibility: hidden;
240
}
241
 
242
.miniature-cachee {
243
	display: none;
244
}
245
 
246
.miniature-selectionnee {
247
	display: block;
248
	box-sizing: content-box;
249
	max-height: 100px;
250
	width: 90px;
251
	background-position: center center;
252
    background-repeat: no-repeat;
253
}
254
 
255
#referentiel {
256
	display: inline;
257
}
258
 
259
#photos-conteneur {
260
	height: 120px;
261
}
262
 
263
#photo-placeholder {
264
	background: url("../img/icones/icone-photo.png");
265
	background-size: 89px;
266
	cursor: pointer;
267
	margin-bottom: 15px;
268
	margin-right: 15px;
269
	float:left;
270
	border: 5px dashed #CCCCCC;
271
	border-radius: 8px 8px 8px 8px;
272
	height: 100px;
273
	margin: 2px 0 2px 2px;
274
	text-align: center;
275
	width: 98px;
276
	box-sizing:border-box;
277
	-moz-box-sizing:border-box;
278
	-webkit-box-sizing:border-box;
279
}
280
 
281
#photo-placeholder:hover {
282
	background: url("../img/icones/icone-photo-hover.png");
283
	background-size: 89px;
284
	border: 5px dashed #111;
285
	border-radius: 8px;
286
}
287
 
288
#barre-progression-upload span {
289
	color : #333333;
290
}
291
 
292
.obs-erreur {
293
	background-color: #DD6E6E;
294
}
295
 
296
/* par défaut BS3 fait des trucs chelous */
297
#barre-progression-upload .sr-only {
298
	height: auto;
299
	width: auto;
300
	clip: auto;
301
	margin: none;
302
	left: 230px; /* à la louche */
303
}
304
 
305
#taxon-liste optgroup + optgroup {
306
	border-top: 1px solid black;
307
}
308
 
309
/*+--------------------------------------------------------------------------------------------------------+*/
310
/* Details obs ajoutées*/
311
.obs-entete {
312
	margin-bottom: 0;
313
}
314
.obs-entete .nom-sci, .obs-entete .commune, .obs-entete .date{
315
	font-size:1.3em;
316
	font-weight:bold;
317
	color: #777;
318
}
319
.obs-entete .referentiel-obs {
320
	color:#3B9D3B;
321
}
322
.obs-details span{
323
	font-style:italic;
324
	color: #777;
325
}
326
 
327
/*+--------------------------------------------------------------------------------------------------------+*/
328
/* Google Map*/
329
#map-canvas {
330
	height:280px;
331
}
332
#map-canvas img{
333
	max-width: none;
334
}
335
 
336
/*+--------------------------------------------------------------------------------------------------------+*/
337
/* Form validation */
338
/* Validation du formulaire */
339
label.error {
340
	font-weight: bold;
341
	font-style: italic;
342
	color: #B94A48;
343
	padding: 0 8px;
344
}
345
 
346
label.valid {
347
	display: inline-block;
348
	text-indent: -9999px;
349
	color: #468847;
350
	width: 0;
351
	height: 0;
352
	padding: 0;
353
}
354
 
355
.control-group.error label {
356
	font-weight: bold;
357
}
358
 
359
/*+--------------------------------------------------------------------------------------------------------+*/
360
/* Collapse */
361
.well .fermer-symbole {
362
	position: absolute;
363
	right:0;
364
}
365
.well .titre, .fermer {
366
	margin:0;
367
	padding: 0;
368
	font-size: 20px;
369
	line-height: 20px;
370
	cursor:pointer;
371
}
372
.well .fermer {
373
	display:block;
374
	color: black;
375
}
376
.well .fermer:hover {
377
	text-decoration: none;
378
}
379
.well .glyphicon-plus-sign {
380
	position:absolute;
381
	right:1em;
382
	top: 0.2em;
383
}
384
 
385
/*+--------------------------------------------------------------------------------------------------------+*/
386
/*Modal description */
387
 
388
/* Modal : projet description */
389
.dsc-imgs {
390
	max-width: 800px;
391
	margin:0 auto;
392
}
393
.dsc-infos {
394
	max-width: 800px;
395
}
396
.dsc-clean {
397
	clear:both;
398
}
399
 
400
/* Modal : taille description */
401
.taille-img {
402
	position: relative;
403
	float:left;
404
	width:300px;
405
	height: 450px;
406
	margin-left: 10px;
407
}
408
.taille-img-alignement {
409
	display: table-cell;
410
	vertical-align: bottom;
411
	width:300px;
412
	height: 380px;
413
}
414
.taille-img img {
415
	margin: 0 auto;
416
}
417
.taille-img .caption {
418
	position: absolute;
419
	bottom:0;
420
	width:300px;
421
	text-align: center;
422
}
423
 
424
@media (min-width: 600px) and (max-width: 800px) {
425
	.taille-img, .taille-img .caption {
426
		width: 190px;
427
	}
428
	.dsc-imgs {
429
		width: 600px;
430
	}
431
	.dsc-imgs img {
432
		width: 290px;
433
	}
434
	.dsc-infos {
435
		width: 600px;
436
	}
437
}
438
@media (min-width: 801px) and (max-width: 1359px) {
439
	#taille-description .modal-content {
440
		width:800px;
441
		margin-left: -100px;
442
	}
443
	.taille-img, .taille-img .caption {
444
		width: 240px;
445
	}
446
	#projet-description .modal-content {
447
		width:800px;
448
		margin-left: -100px;
449
	}
450
	.dsc-imgs {
451
		width: 780px;
452
	}
453
	.dsc-infos {
454
		width: 750px;
455
	}
456
}
457
@media (min-width: 1360px) {
458
	#taille-description .modal-content {
459
		width:980px;
460
		margin-left: -175px;
461
	}
462
	#projet-description .modal-content {
463
		width:1360px;
464
		margin-left: -380px;
465
	}
466
	.dsc-imgs {
467
		float:left;
468
	}
469
	.dsc-infos {
470
		float:left;
471
		margin-left: 50px;
472
		max-width: 700px;
473
	}
474
}
475
/*+--------------------------------------------------------------------------------------------------------+*/
476
/* Correction style CSS Bootstrap */
477
.well {
478
	margin-bottom: 5px;
479
	padding: 4px;
480
	background-color: rgba(245,245,245,0.85);
481
}
482
.btn-primary {
483
	background-image: linear-gradient(to bottom, #D9E28C, #999E6C);
484
	background-color: #999E6C;
485
	font-weight: bold;
486
}
487
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
488
	color: rgb(255, 255, 255);
489
	background-color: #999E6C;
490
}
491
 
492
input[type="file"] {
493
	padding-top: 0;
2944 mathias 494
}
495
 
496
label input[type="text"] {
497
	font-weight: normal;
2943 delphine 498
}