Subversion Repositories eFlore/Applications.cel

Rev

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

Rev Author Line No. Line
2360 jpm 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 {
2365 jpm 112
	background-color: #d9e28c;
113
	background: url('../img/background/insectes.png') no-repeat 2em 2em,
114
		url('../img/background/tetard_faune.png') no-repeat right bottom,
115
		url('../img/background/faune.png') no-repeat 2em bottom,
116
		-moz-radial-gradient(center, ellipse cover, #d9e28c 8%, #999e6c 85%);
117
	background: url('../img/background/insectes.png') no-repeat 2em 2em,
118
		url('../img/background/tetard_faune.png') no-repeat right bottom,
119
		url('../img/background/faune.png') no-repeat 2em bottom,
120
		 -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(27%,#d9e28c), color-stop(85%,#999e6c));
121
	background: url('../img/background/insectes.png') no-repeat 2em 2em,
122
		url('../img/background/tetard_faune.png') no-repeat right bottom,
123
		url('../img/background/faune.png') no-repeat 2em bottom,
124
		 -webkit-radial-gradient(center, ellipse cover,  #d9e28c 27%,#999e6c 85%);
125
	background: url('../img/background/insectes.png') no-repeat 2em 2em,
126
		url('../img/background/tetard_faune.png') no-repeat right bottom,
127
		url('../img/background/faune.png') no-repeat 2em bottom,
128
		 -o-radial-gradient(center, ellipse cover,  #d9e28c 27%,#999e6c 85%);
129
	background: url('../img/background/insectes.png') no-repeat 2em 2em,
130
		url('../img/background/tetard_faune.png') no-repeat right bottom,
131
		url('../img/background/faune.png') no-repeat 2em bottom,
132
		 -ms-radial-gradient(center, ellipse cover,  #d9e28c 27%,#999e6c 85%);
133
	background: url('../img/background/insectes.png') no-repeat 2em 2em,
134
		url('../img/background/tetard_faune.png') no-repeat right bottom,
135
		url('../img/background/faune.png') no-repeat 2em bottom,
136
		 radial-gradient(ellipse at center,  #d9e28c 27%,#999e6c 85%);
2360 jpm 137
	background-attachment:fixed;
138
}
139
footer p{
140
	text-align:center;
141
}
142
button img {
143
	display:block;
144
}
145
h2 {
146
	color: #C0CE40;
147
	font-family: 'Muli', sans-serif;
148
	border-bottom: 1px solid #2B2E34;
149
}
150
/*+--------------------------------------------------------------------------------------------------------+*/
151
/* Générique */
152
.discretion {
153
	color:grey;
154
	font-family:arial;
155
	font-size:11px;
156
	line-height: 13px;
157
}
158
.centre {
159
	text-align:center;
160
}
161
.modal-fenetre {
162
	position:fixed;
163
	z-index:1000;
164
	top:0;
165
	left:0;
166
	height:100%;
167
	width:100%;
168
	background:#777;
169
	background:rgba(90,86,93,0.7);
170
	text-align:center;
171
}
172
.modal-contenu {
173
	position:relative;
174
	width:30%;
175
	margin:0 auto;
176
	top:30%;
177
}
2410 jpm 178
 
2360 jpm 179
/*+--------------------------------------------------------------------------------------------------------+*/
180
/* Formulaire spécifique */
181
.page-header {
182
	background-color: rgba(202, 214, 94, 0.4);
183
	border-radius: 10px;
2365 jpm 184
	background: url('../img/background/capricorne.png') no-repeat right top rgba(202, 214, 94, 0.4);
2360 jpm 185
}
186
.page-header h1{
187
	font-size: 3em;
2372 jpm 188
	line-height: 90px;
2360 jpm 189
	color: #2B2E34;
2372 jpm 190
	font-family: 'Ubuntu', sans-serif;
191
	margin-bottom: 0;
2360 jpm 192
}
193
#logo-titre {
194
	position: relative;
195
	left: 8px;
196
	margin-right: 1em;
2372 jpm 197
	height: 80px;
2360 jpm 198
}
199
 
2543 mathias 200
#intro-txt a {
201
	cursor: pointer;
2360 jpm 202
}
203
 
204
#info-commune {
205
	text-align:right;
206
}
207
.ns-retenu {
208
	font-weight:bold;
209
}
210
.nn{
211
	color:#3B9D3B;
212
}
2366 jpm 213
.nom-sci {
214
	font-style: italic;
2360 jpm 215
}
2366 jpm 216
 
2360 jpm 217
.obs-action{
218
	opacity:1;
219
}
220
 
221
#miniatures {
222
	padding-top: 5px;
223
}
224
 
225
.miniature{
226
	float: left;
227
	height: 130px;
2372 jpm 228
	padding: 10px;
2360 jpm 229
}
230
 
231
.miniature-img {
232
	height: 100px;
2372 jpm 233
	margin: 0;
2360 jpm 234
}
235
 
236
.miniature img {
237
	display: block;
238
}
239
 
240
.miniature-chargement {
241
	height:100px;
242
	width: 100px;
243
}
244
 
245
.defilement-miniatures-gauche, .defilement-miniatures-droite {
246
	float: left;
247
	font-size: 1.2em;
248
	font-weight: bold;
249
	height: 62px;
250
	margin: 5px;
251
	padding-top: 30px;
252
	width: 12px;
253
}
254
 
255
.defilement-miniatures {
256
	width: 210px;
257
}
2372 jpm 258
.defilement-miniatures .thumbnail {
259
	float: left;
260
}
2360 jpm 261
 
262
.defilement-miniatures-cache {
263
	visibility: hidden;
264
}
265
 
266
.miniature-cachee {
267
	display: none;
268
}
269
 
270
.miniature-selectionnee {
271
	display: block;
2372 jpm 272
	box-sizing: content-box;
273
	max-height: 100px;
2712 mathias 274
	width: 90px;
275
	background-position: center center;
276
    background-repeat: no-repeat;
2360 jpm 277
}
278
 
279
#referentiel {
280
	display: inline;
281
}
282
 
283
#photos-conteneur {
284
	height: 120px;
285
}
286
 
287
#photo-placeholder {
288
	background: url("../img/icones/icone-photo.png");
289
	background-size: 89px;
290
	cursor: pointer;
291
	margin-bottom: 15px;
292
	margin-right: 15px;
293
	float:left;
294
	border: 5px dashed #CCCCCC;
295
	border-radius: 8px 8px 8px 8px;
296
	height: 100px;
297
	margin: 2px 0 2px 2px;
298
	text-align: center;
299
	width: 98px;
300
	box-sizing:border-box;
301
	-moz-box-sizing:border-box;
302
	-webkit-box-sizing:border-box;
303
}
304
 
305
#photo-placeholder:hover {
306
	background: url("../img/icones/icone-photo-hover.png");
307
	background-size: 89px;
308
	border: 5px dashed #111;
309
	border-radius: 8px;
310
}
311
 
312
#barre-progression-upload span {
313
	color : #333333;
314
}
315
 
316
.obs-erreur {
317
	background-color: #DD6E6E;
318
}
319
 
2711 mathias 320
/* par défaut BS3 fait des trucs chelous */
321
#barre-progression-upload .sr-only {
322
	height: auto;
323
	width: auto;
324
	clip: auto;
325
	margin: none;
326
	left: 230px; /* à la louche */
2360 jpm 327
}
328
 
2366 jpm 329
#taxon-liste optgroup + optgroup {
330
	border-top: 1px solid black;
331
}
332
 
2360 jpm 333
/*+--------------------------------------------------------------------------------------------------------+*/
2366 jpm 334
/* Details obs ajoutées*/
335
.obs-entete {
336
	margin-bottom: 0;
337
}
338
.obs-entete .nom-sci, .obs-entete .commune, .obs-entete .date{
339
	font-size:1.3em;
340
	font-weight:bold;
341
	color: #777;
342
}
343
.obs-entete .referentiel-obs {
344
	color:#3B9D3B;
345
}
346
.obs-details span{
347
	font-style:italic;
348
	color: #777;
349
}
350
 
351
/*+--------------------------------------------------------------------------------------------------------+*/
352
/* Google Map*/
353
#map-canvas {
354
	height:280px;
355
}
356
#map-canvas img{
357
	max-width: none;
358
}
359
 
360
/*+--------------------------------------------------------------------------------------------------------+*/
2360 jpm 361
/* Form validation */
362
/* Validation du formulaire */
363
label.error {
364
	font-weight: bold;
365
	font-style: italic;
366
	color: #B94A48;
367
	padding: 0 8px;
368
}
369
 
370
label.valid {
371
	display: inline-block;
372
	text-indent: -9999px;
373
	color: #468847;
374
	width: 0;
375
	height: 0;
376
	padding: 0;
377
}
378
 
379
.control-group.error label {
380
	font-weight: bold;
381
}
382
 
383
/*+--------------------------------------------------------------------------------------------------------+*/
384
/* Collapse */
385
.well .fermer-symbole {
386
	position: absolute;
387
	right:0;
388
}
389
.well .titre, .fermer {
390
	margin:0;
391
	padding: 0;
392
	font-size: 20px;
393
	line-height: 20px;
394
	cursor:pointer;
395
}
396
.well .fermer {
397
	display:block;
398
	color: black;
399
}
400
.well .fermer:hover {
401
	text-decoration: none;
402
}
2372 jpm 403
.well .glyphicon-plus-sign {
2360 jpm 404
	position:absolute;
2372 jpm 405
	right:1em;
406
	top: 0.2em;
2360 jpm 407
}
408
 
409
/*+--------------------------------------------------------------------------------------------------------+*/
2366 jpm 410
/*Modal description */
2373 jpm 411
 
412
/* Modal : projet description */
2360 jpm 413
.dsc-imgs {
414
	max-width: 800px;
415
	margin:0 auto;
416
}
417
.dsc-infos {
418
	max-width: 800px;
419
}
420
.dsc-clean {
421
	clear:both;
422
}
2373 jpm 423
 
424
/* Modal : taille description */
425
.taille-img {
426
	position: relative;
427
	float:left;
428
	width:300px;
429
	height: 450px;
430
	margin-left: 10px;
431
}
2402 jpm 432
.taille-img-alignement {
433
	display: table-cell;
434
	vertical-align: bottom;
435
	width:300px;
436
	height: 380px;
437
}
2373 jpm 438
.taille-img img {
439
	margin: 0 auto;
440
}
441
.taille-img .caption {
442
	position: absolute;
443
	bottom:0;
444
	width:300px;
445
	text-align: center;
446
}
447
 
2360 jpm 448
@media (min-width: 600px) and (max-width: 800px) {
2373 jpm 449
	.taille-img, .taille-img .caption {
450
		width: 190px;
451
	}
2360 jpm 452
	.dsc-imgs {
453
		width: 600px;
454
	}
455
	.dsc-imgs img {
456
		width: 290px;
457
	}
458
	.dsc-infos {
459
		width: 600px;
460
	}
461
}
462
@media (min-width: 801px) and (max-width: 1359px) {
2373 jpm 463
	#taille-description .modal-content {
2360 jpm 464
		width:800px;
2373 jpm 465
		margin-left: -100px;
2360 jpm 466
	}
2373 jpm 467
	.taille-img, .taille-img .caption {
468
		width: 240px;
469
	}
470
	#projet-description .modal-content {
471
		width:800px;
472
		margin-left: -100px;
473
	}
2360 jpm 474
	.dsc-imgs {
475
		width: 780px;
476
	}
477
	.dsc-infos {
2373 jpm 478
		width: 750px;
2360 jpm 479
	}
480
}
481
@media (min-width: 1360px) {
2373 jpm 482
	#taille-description .modal-content {
483
		width:980px;
484
		margin-left: -175px;
485
	}
486
	#projet-description .modal-content {
2360 jpm 487
		width:1360px;
2373 jpm 488
		margin-left: -380px;
2360 jpm 489
	}
490
	.dsc-imgs {
491
		float:left;
492
	}
493
	.dsc-infos {
494
		float:left;
2373 jpm 495
		margin-left: 50px;
496
		max-width: 700px;
2360 jpm 497
	}
498
}
499
/*+--------------------------------------------------------------------------------------------------------+*/
500
/* Correction style CSS Bootstrap */
501
.well {
502
	margin-bottom: 5px;
503
	padding: 4px;
504
	background-color: rgba(245,245,245,0.85);
505
}
506
.btn-primary {
507
	background-image: linear-gradient(to bottom, #D9E28C, #999E6C);
508
	background-color: #999E6C;
509
	font-weight: bold;
510
}
511
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
512
	color: rgb(255, 255, 255);
513
	background-color: #999E6C;
2372 jpm 514
}
515
 
516
input[type="file"] {
517
	padding-top: 0;
2360 jpm 518
}