Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | 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;
274
	max-width: 100px;
2360 jpm 275
}
276
 
277
#referentiel {
278
	display: inline;
279
}
280
 
281
#photos-conteneur {
282
	height: 120px;
283
}
284
 
285
#photo-placeholder {
286
	background: url("../img/icones/icone-photo.png");
287
	background-size: 89px;
288
	cursor: pointer;
289
	margin-bottom: 15px;
290
	margin-right: 15px;
291
	float:left;
292
	border: 5px dashed #CCCCCC;
293
	border-radius: 8px 8px 8px 8px;
294
	height: 100px;
295
	margin: 2px 0 2px 2px;
296
	text-align: center;
297
	width: 98px;
298
	box-sizing:border-box;
299
	-moz-box-sizing:border-box;
300
	-webkit-box-sizing:border-box;
301
}
302
 
303
#photo-placeholder:hover {
304
	background: url("../img/icones/icone-photo-hover.png");
305
	background-size: 89px;
306
	border: 5px dashed #111;
307
	border-radius: 8px;
308
}
309
 
310
#barre-progression-upload span {
311
	color : #333333;
312
}
313
 
314
.obs-erreur {
315
	background-color: #DD6E6E;
316
}
317
 
2711 mathias 318
/* par défaut BS3 fait des trucs chelous */
319
#barre-progression-upload .sr-only {
320
	height: auto;
321
	width: auto;
322
	clip: auto;
323
	margin: none;
324
	left: 230px; /* à la louche */
2360 jpm 325
}
326
 
2366 jpm 327
#taxon-liste optgroup + optgroup {
328
	border-top: 1px solid black;
329
}
330
 
2360 jpm 331
/*+--------------------------------------------------------------------------------------------------------+*/
2366 jpm 332
/* Details obs ajoutées*/
333
.obs-entete {
334
	margin-bottom: 0;
335
}
336
.obs-entete .nom-sci, .obs-entete .commune, .obs-entete .date{
337
	font-size:1.3em;
338
	font-weight:bold;
339
	color: #777;
340
}
341
.obs-entete .referentiel-obs {
342
	color:#3B9D3B;
343
}
344
.obs-details span{
345
	font-style:italic;
346
	color: #777;
347
}
348
 
349
/*+--------------------------------------------------------------------------------------------------------+*/
350
/* Google Map*/
351
#map-canvas {
352
	height:280px;
353
}
354
#map-canvas img{
355
	max-width: none;
356
}
357
 
358
/*+--------------------------------------------------------------------------------------------------------+*/
2360 jpm 359
/* Form validation */
360
/* Validation du formulaire */
361
label.error {
362
	font-weight: bold;
363
	font-style: italic;
364
	color: #B94A48;
365
	padding: 0 8px;
366
}
367
 
368
label.valid {
369
	display: inline-block;
370
	text-indent: -9999px;
371
	color: #468847;
372
	width: 0;
373
	height: 0;
374
	padding: 0;
375
}
376
 
377
.control-group.error label {
378
	font-weight: bold;
379
}
380
 
381
/*+--------------------------------------------------------------------------------------------------------+*/
382
/* Collapse */
383
.well .fermer-symbole {
384
	position: absolute;
385
	right:0;
386
}
387
.well .titre, .fermer {
388
	margin:0;
389
	padding: 0;
390
	font-size: 20px;
391
	line-height: 20px;
392
	cursor:pointer;
393
}
394
.well .fermer {
395
	display:block;
396
	color: black;
397
}
398
.well .fermer:hover {
399
	text-decoration: none;
400
}
2372 jpm 401
.well .glyphicon-plus-sign {
2360 jpm 402
	position:absolute;
2372 jpm 403
	right:1em;
404
	top: 0.2em;
2360 jpm 405
}
406
 
407
/*+--------------------------------------------------------------------------------------------------------+*/
2366 jpm 408
/*Modal description */
2373 jpm 409
 
410
/* Modal : projet description */
2360 jpm 411
.dsc-imgs {
412
	max-width: 800px;
413
	margin:0 auto;
414
}
415
.dsc-infos {
416
	max-width: 800px;
417
}
418
.dsc-clean {
419
	clear:both;
420
}
2373 jpm 421
 
422
/* Modal : taille description */
423
.taille-img {
424
	position: relative;
425
	float:left;
426
	width:300px;
427
	height: 450px;
428
	margin-left: 10px;
429
}
2402 jpm 430
.taille-img-alignement {
431
	display: table-cell;
432
	vertical-align: bottom;
433
	width:300px;
434
	height: 380px;
435
}
2373 jpm 436
.taille-img img {
437
	margin: 0 auto;
438
}
439
.taille-img .caption {
440
	position: absolute;
441
	bottom:0;
442
	width:300px;
443
	text-align: center;
444
}
445
 
2360 jpm 446
@media (min-width: 600px) and (max-width: 800px) {
2373 jpm 447
	.taille-img, .taille-img .caption {
448
		width: 190px;
449
	}
2360 jpm 450
	.dsc-imgs {
451
		width: 600px;
452
	}
453
	.dsc-imgs img {
454
		width: 290px;
455
	}
456
	.dsc-infos {
457
		width: 600px;
458
	}
459
}
460
@media (min-width: 801px) and (max-width: 1359px) {
2373 jpm 461
	#taille-description .modal-content {
2360 jpm 462
		width:800px;
2373 jpm 463
		margin-left: -100px;
2360 jpm 464
	}
2373 jpm 465
	.taille-img, .taille-img .caption {
466
		width: 240px;
467
	}
468
	#projet-description .modal-content {
469
		width:800px;
470
		margin-left: -100px;
471
	}
2360 jpm 472
	.dsc-imgs {
473
		width: 780px;
474
	}
475
	.dsc-infos {
2373 jpm 476
		width: 750px;
2360 jpm 477
	}
478
}
479
@media (min-width: 1360px) {
2373 jpm 480
	#taille-description .modal-content {
481
		width:980px;
482
		margin-left: -175px;
483
	}
484
	#projet-description .modal-content {
2360 jpm 485
		width:1360px;
2373 jpm 486
		margin-left: -380px;
2360 jpm 487
	}
488
	.dsc-imgs {
489
		float:left;
490
	}
491
	.dsc-infos {
492
		float:left;
2373 jpm 493
		margin-left: 50px;
494
		max-width: 700px;
2360 jpm 495
	}
496
}
497
/*+--------------------------------------------------------------------------------------------------------+*/
498
/* Correction style CSS Bootstrap */
499
.well {
500
	margin-bottom: 5px;
501
	padding: 4px;
502
	background-color: rgba(245,245,245,0.85);
503
}
504
.btn-primary {
505
	background-image: linear-gradient(to bottom, #D9E28C, #999E6C);
506
	background-color: #999E6C;
507
	font-weight: bold;
508
}
509
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .btn-primary.disabled, .btn-primary[disabled] {
510
	color: rgb(255, 255, 255);
511
	background-color: #999E6C;
2372 jpm 512
}
513
 
514
input[type="file"] {
515
	padding-top: 0;
2360 jpm 516
}