Projet

Général

Profil

0001-thonon-agglomeration-2021-new-theme-56244.patch

Thomas Jund, 02 septembre 2021 11:48

Télécharger (20,6 ko)

Voir les différences:

Subject: [PATCH] thonon-agglomeration-2021: new theme (#56244)

 static/thonon-agglomeration-2021/_custom.scss | 596 ++++++++++++++++++
 static/thonon-agglomeration-2021/_vars.scss   |  98 +++
 static/thonon-agglomeration-2021/config.json  |  39 ++
 static/thonon-agglomeration-2021/style.scss   |   7 +
 .../choix-collectivite/link-list-cell.html    |  33 +
 .../combo/cells/page-message/text-cell.html   |   7 +
 .../combo/page_template.html                  |   4 +
 .../combo/page_template_sidebar.html          |  18 +
 .../thonon-agglomeration-2021/theme.html      |  23 +
 9 files changed, 825 insertions(+)
 create mode 100644 static/thonon-agglomeration-2021/_custom.scss
 create mode 100644 static/thonon-agglomeration-2021/_vars.scss
 create mode 100644 static/thonon-agglomeration-2021/config.json
 create mode 100644 static/thonon-agglomeration-2021/style.scss
 create mode 100644 templates/variants/thonon-agglomeration-2021/combo/cells/choix-collectivite/link-list-cell.html
 create mode 100644 templates/variants/thonon-agglomeration-2021/combo/cells/page-message/text-cell.html
 create mode 100644 templates/variants/thonon-agglomeration-2021/combo/page_template.html
 create mode 100644 templates/variants/thonon-agglomeration-2021/combo/page_template_sidebar.html
 create mode 100644 templates/variants/thonon-agglomeration-2021/theme.html
static/thonon-agglomeration-2021/_custom.scss
1
@mixin fa-icon($utf) {
2
	content: "#{$utf}";
3
	font-family: fontawesome;
4
}
5

  
6

  
7
$wrapper-gutter-mobile: 20px;
8
$wrapper-gutter-desktop: $columns-gutter * 2;
9

  
10
@mixin fill-viewport($add-padding-right: 0, $add-padding-left: 0) {
11
	@media (min-width: $width + 1) {
12
		width: 100vw;
13
		margin-left: calc(-50vw + 50%);
14
		padding-right: calc(50vw - 50% + #{$add-padding-right});
15
		padding-left: calc(50vw - 50% + #{$add-padding-left});
16
	}
17
}
18

  
19
.theme-wrapper {
20
	max-width: $width;
21
	width: 100%;
22
	margin: 0 auto;
23
	padding: $wrapper-gutter-mobile;
24
	@media ($max-mobile-viewport) {
25
		width: 800px;
26
		max-width: 100%;
27
	}
28
	@media ($min-desktop-viewport) {
29
		padding: $columns-gutter $wrapper-gutter-desktop;
30
	}
31
}
32

  
33
body {
34
	overflow-x: hidden;
35
}
36

  
37
//
38
//	HEADER
39
//
40
.site-header {
41
	background-color: white;
42
}
43
div#header {
44
	@extend .theme-wrapper;
45

  
46
}
47
#top {
48
	@media ($min-desktop-viewport) {
49
		display: flex;
50
		align-items: center;
51
	}
52
}
53
h1#logo {
54
	padding: 0;
55
	@media ($max-mobile-viewport) {
56
		text-align: center;
57
	}
58
	a {
59
		width: 150px;
60
		height: 45px;
61
		@media ($min-desktop-viewport) {
62
			width: 200px;
63
			height: 55px;
64
		}
65
	}
66
}
67
.header-desc {
68
	@media ($min-desktop-viewport) {
69
		flex: 1 1 auto;
70
		margin-left: $columns-gutter;
71
	}
72
}
73
.header-desc--yellow-bloc {
74
	background-color: $yellow;
75
	text-align: center;
76
	padding: 20px;
77
	border-radius: $cell-border-radius;
78
	position: relative;
79
	font-size: $fz-h3;
80
	font-weight: 500;
81
	strong {
82
		font-weight: 700;
83
	}
84
	@media ($min-desktop-viewport) {
85
		font-size: $fz-h2;
86
		margin: 0 auto;
87
		max-width: 660px;
88
	}
89
	&::after {
90
		content: "";
91
		display: block;
92
		position: absolute;
93
		width: 0;
94
		border: 15px solid transparent;
95
		border-top-color: $yellow;
96
		top: 100%;
97
		left: 0;
98
		right: 0;
99
		margin: 0 auto;
100
	}
101
}
102

  
103
// toplinks
104
.toplinks--wrapper {
105
	border-bottom: 1px solid #dcdce8;
106
}
107
#toplinks {
108
	// reset
109
	position: static;
110
	border: none;
111
	border-radius: 0;
112
	box-shadow: none;
113

  
114
	max-width: $width;
115
	margin: 0 auto;
116
	padding: 0.5em 0;
117
	font-weight: 500;
118
	letter-spacing: 0.1em;
119
	text-align: right;
120
	font-size: $fz-small;
121

  
122
	.sep {
123
		display: none;
124
	}
125

  
126
	> span  {
127
		display: inline-flex;
128
	}
129

  
130
	a {
131
		padding: 0 $columns-gutter / 2;
132
		display: inline-block;
133
		color: $font-color;
134
		white-space: nowrap;
135
		&::after {
136
			color: darken($gray-light, 15%);
137
		}
138

  
139
		&.login-link::after {
140
			@include fa-icon("\f2be");
141
		}
142
		&.registration::after {
143
			@include fa-icon(" \f196");
144
			font-size: 1.1em;
145
			vertical-align: middle;
146
		}
147
		&.logout::after {
148
			@include fa-icon(" \f18e");
149
			font-size: 1.1em;
150
		}
151
		&.account-link {
152
			white-space: normal;
153
			font-size: $fz-small;
154
			line-height: 1.2rem;
155
			@media($min-desktop-viewport) {
156
				&::before {
157
					content: "Bienvenue";
158
					font-weight: bold;
159
				}
160
			}
161
		}
162
		&:first-child {
163
			border-right: 1px solid $gray-light;
164
		}
165
	}
166
}
167

  
168
//
169
//	PWA NAV
170
//	nav inside sidebar
171
//
172
.pwa-navigation {
173
	left: 0;
174
	border-top: 1px solid $gray-light;
175
	div > ul {
176
		justify-content: space-between;
177

  
178
		li {
179
			&:not(:first-child) {
180
				border: 1px solid $gray-light;
181
				border-width: 0 0 0 1px;
182
			}
183
			a {
184
				padding-top: 40px;
185
				padding-bottom: 5px;
186
				background-size: auto 25px;
187
				background-position: left 50% bottom 25px;
188
				span {
189
					display: flex;
190
					align-items: flex-end;
191
					justify-content: center;
192
					height: 100%;
193
					line-height: .9;
194
					font-weight: 600;
195
					font-size: 0.7em;
196

  
197
					span.badge {
198
						font-size: 1.1em;
199
					}
200
				}
201
			}
202
		}
203
		li:hover, li.selected {
204
			a {
205
				background-blend-mode: color-dodge;
206
				span span.badge {
207
					background-color: white;
208
				}
209
			}
210
		}
211
	}
212
}
213
.sidebar--pwa-navigation {
214
	.pwa-navigation {
215
		@media ($min-desktop-viewport) {
216
			border-top: none;
217
			margin-bottom: $columns-gutter;
218
			display: block;
219
			position: static;
220

  
221
			div > ul {
222
				flex-direction: column;
223

  
224
				li {
225
					&:not(:first-child) {
226
						border-width: 1px 0 0 0;
227
					}
228
					a {
229
						background-size: 30px auto;
230
						background-position: left 10px center;
231
						padding: 1em;
232
						padding-left: 65px;
233
						span {
234
							align-items: center;
235
							justify-content: flex-start;
236
							font-size: 1rem;
237
							font-weight: 800;
238

  
239
							span.badge {
240
								font-size: 0.7em;
241
								left: 30px;
242
							}
243
						}
244
					}
245
				}
246
			}
247
		}
248
	}
249
}
250

  
251
//
252
//	MAIN
253
//
254

  
255
// top message
256
.top-message--wrapper {
257
	background-color: $gray-message;
258
	@include fill-viewport();
259
}
260
.top-message {
261
	@extend .theme-wrapper;
262
	@media ($min-desktop-viewport) {
263
		padding-left: 0;
264
	}
265
}
266
.top-message--text-cell {
267
	& > div {
268
		display: flex;
269
		align-items: center;
270
		&::before {
271
			@include fa-icon("\f05a");
272
			display: block;
273
			font-size: 1.4em;
274
			text-align: center;
275
			color: darken($gray-message, 25);
276
			@media ($min-desktop-viewport) {
277
				flex: 0 0 $wrapper-gutter-desktop;
278
			}
279
		}
280
		picture {
281
			flex: 0 0 10em;
282
			line-height: 0;
283
			img {
284
				max-width: 100%;
285
			}
286
			@media ($max-mobile-viewport) {
287
				display: none;
288
			}
289
		}
290
	}
291
}
292

  
293
#columns-wrapper {
294
	@extend .theme-wrapper;
295
	max-width: 100%;
296
	#sidebar + & {
297
		@media ($min-desktop-viewport) {
298
			padding-right: $columns-gutter;
299
		}
300
	}
301
}
302

  
303
%sidebar {
304
	background-color: white;
305
	@media ($min-desktop-viewport) {
306
		padding-left: $columns-gutter;
307
	}
308
	@media (min-width: $width + 1) {
309
		margin-right: calc(-50vw + #{$width/2});
310
		padding-right: calc(50vw - #{$width/2} + #{$wrapper-gutter-desktop});		
311
	}
312
}
313
.gru-content #sidebar {
314
	@extend .theme-wrapper;
315
	@extend %sidebar;
316
}
317

  
318
//
319
//	CELLS
320
//
321

  
322
%title {
323
	text-align: center;
324
}
325

  
326
$cell-additional-padding : 10px;
327
.gru-content div.cell {
328
	overflow: hidden;
329
	padding: $cell-additional-padding;
330
	padding-bottom: $cell-additional-padding * 2;
331
	margin-bottom: $wrapper-gutter-mobile;
332
	@media ($min-desktop-viewport) {
333
		margin-bottom: $columns-gutter;
334
	}
335

  
336
	&.foldable.folded {
337
		padding-bottom: 0;
338
	}
339
}
340

  
341
// links-lists
342
.gru-content {
343
	div#rub_service div.category ul,
344
	div#services > ul > li > ul,
345
	div#account-management ul,
346
	div.links-list ul,
347
	div.menucell ul,
348
	div.wcsformcell,
349
	div.categoriescell ul,
350
	div.wcscurrentdraftscell ul,
351
	div.wcscurrentformscell ul {
352
		& > li > a {
353
			padding: 0.5rem 2rem 0.5rem 2.5rem;
354
			position: relative;
355
			&::before {
356
				@include fa-icon("\f0a9");
357
				color: $yellow;
358
				display: inline-block;
359
				position: absolute;
360
				left: 1em;
361
				width: 1em;
362
			}
363
			&:hover {
364
				text-decoration: underline overline $yellow;
365
			}
366
		}
367
		li div.description {
368
			padding: 0 1rem 0 1.5rem;
369
		}
370
		// Redirection Rubrique link
371
		li.keyword-redirection-rubrique a {
372
			border: 1px solid $yellow;
373
			border-radius: 3px;
374
			flex-wrap: nowrap;
375
			padding: 0;
376
			align-items: center;
377
			&:hover {
378
				text-decoration: none;
379
				background-color: $yellow-xlight;
380
			}
381
			&::before {
382
				color: black;
383
				background-color: $yellow;
384
				position: static;
385
				flex: 0 0 2rem;
386
				margin-right: 0.5rem;
387
				padding: .33em 0 .33em calc(1rem - 1px);
388
				align-self: stretch;
389
				display: flex;
390
			}
391
		}
392
	}
393
}
394

  
395
// cell picture
396
.gru-content div.link-list-cell.has-asset-picture,
397
.gru-content div.wcsformsofcategorycell.has-asset-picture {
398
	picture img {
399
		margin: 10px auto;
400
	}
401
}
402

  
403
// ".couleur-*" cell
404
.colored-cell {
405
	.gru-content &.link-list-cell.has-asset-picture,
406
	.gru-content &.wcsformsofcategorycell.has-asset-picture{
407
		picture {
408
			border-radius: $cell-border-radius $cell-border-radius 0 0;
409
		}
410
		picture, h2:first-child {
411
			background-color: currentColor;
412
			margin : -#{$cell-additional-padding + extract-width($cell-border)};
413
			margin-bottom: 0;
414
		}
415
		h2:first-child {
416
			color: white;
417
			position: relative;
418
			z-index: 1;
419
			&::before {
420
				content: "";
421
				position: absolute;
422
				bottom: 0;
423
				left: 0;
424
				right: 0;
425
				height: 5em;
426
				background: linear-gradient(to bottom, transparent, hsla(0, 0%, 0%, 0.5));
427
				z-index: -1;
428
			}
429
		}
430
		img {
431
			position: relative;
432
			z-index: 2;
433
		}
434
	}
435
}
436
@each $color, $hexa in $cell-header-color {
437
	.couleur-#{$color} {
438
		.gru-content &.link-list-cell.has-asset-picture,
439
		.gru-content &.wcsformsofcategorycell.has-asset-picture {
440
			@extend .colored-cell;
441
			picture, h2:first-child {
442
				background-color: $hexa;
443
			}
444
		}
445
	}
446
}
447

  
448
// Gray cell
449
.gray-cell {
450
	.gru-content &.cell {
451
		background-color: #e9e3e3;
452
		border: none;
453

  
454
		p {
455
			font-size: $fz-small;
456
		}
457
	}
458
}
459

  
460
#sidebar .cell {
461
	@extend .gray-cell; 
462
}
463

  
464
// 
465
//	FORMS
466
//
467
%button {
468
	&, &:hover {
469
		font-weight: 500;
470
		box-shadow: none;
471
	}
472
}
473
%button2 {
474
	@extend %button;
475
	background-color: white;
476
	&:hover {
477
		background-color: $yellow-xlight;
478
	}
479
}
480
%cancel-button {
481
	background-color: white;
482
	border-color: black;
483
	&:hover {
484
		background-color: $gray-xlight;
485
	}
486
}
487

  
488

  
489

  
490
// 
491
//	WCS
492
//
493
div#rub_service {
494
	h2 {
495
		font-size: $fz-h1;
496
		text-align: left;
497
		padding-left: 0.5rem;
498
	}
499
	h3 {
500
		font-size: $fz-h3;
501
		text-transform: uppercase;
502
		display: flex;
503
		&::after {
504
			content: "";
505
			height: 2px;
506
			background-color: $yellow;
507
			display: block;
508
			flex: 1;
509
			margin-left: .66em;
510
			align-self: center;
511
		}
512
	}
513
	h4 {
514
		text-transform: uppercase;
515
	}
516

  
517
	.previous-button button {
518
		@extend %button2;
519
	}
520
}
521
div#gauche {
522
	background-color: white;
523
	@media ($min-desktop-viewport) {
524
		padding: $columns-gutter;
525
		width: 33%;
526
		+ div#rub_service {
527
			width: calc(66% - #{$columns-gutter});
528
		}
529
	}
530
	@media ($max-mobile-viewport) {
531
		width: auto;
532
		margin-left: -1 *$wrapper-gutter-mobile;
533
		margin-right: -1 * $wrapper-gutter-mobile;
534
		padding: $wrapper-gutter-mobile;
535
	}
536
}
537
div#tracking-code {
538
	background-color: #e9e3e3;
539
	border-radius: $cell-border-radius;
540
	padding: $cell-additional-padding;
541
	@media ($min-desktop-viewport) {
542
		text-align: center;
543
		margin-bottom: $columns-gutter;
544
		a {
545
			padding-left: 0;
546
		}
547
		button {
548
			margin-right: 0;
549
		}
550
	}
551
}
552
.wcs-step--marker {
553
	font-weight: bold;
554
}
555

  
556
//
557
//	FOOTER
558
//
559
#footer-wrapper {
560
	margin-top: 0;
561
	padding-bottom: 0;
562
}
563
#footer {
564
	padding-top: 2rem;
565
	.pk-button {
566
		color: white;
567
		background-color: transparent;
568
		&:hover {
569
			background-color: black;
570
		}
571
	}
572
	.cell {
573
		&[class^="grid-"],
574
		&[class*=" grid-"] {
575
			padding-bottom: 2rem;
576
		}
577
	}
578
	.menu-cell {
579
		@include fill-viewport();
580
		background-color: black;
581
		clear: both;
582
		padding-top: 1rem;
583
		padding-bottom: 1rem;
584
		text-transform: uppercase;
585
		font-size: $fz-small;
586
		@media (max-width: $very-small-limit) {
587
			li {
588
				display: block;
589
				a {
590
					justify-content: center;
591
				}
592
			}
593
		}
594
	}
595

  
596
}
static/thonon-agglomeration-2021/_vars.scss
1
// Colors
2
$yellow: #FCC400;
3
$yellow-light: #ffd53f;
4
$yellow-xlight: #fff7da;
5
$gray-dark: #2A2A2E;
6
$gray-light: #D4CAC8;
7
$gray-xlight:#f6f4f5;
8
$gray-message: #efeef4;
9
$blue-dark: #253A8E;
10

  
11
$cell-header-color: (
12
	"rouge": #D8635C,
13
	"rose": #D1377A,
14
	"bleu-fonce": $blue-dark,
15
	"prune-fonce": #732066,
16
	"turquoise": #3185AD,
17
	"violet": #69599F,
18
	"bleu-clair": #79ADC2,
19
	"vert-fonce": #00965C,
20
	"magenta": #E50046,
21
	"jaune": $yellow,
22
	"vert-clair": #CFCD00,
23
	"prune-clair": #942581
24
);
25

  
26
// Typo 
27
$roboto: Roboto, sans-serif;
28
$raleway: Raleway, sans-serif;
29

  
30
$fz-h1: calc(36em / 16);
31
$fz-h2: calc(24em / 16);
32
$fz-h3: calc(18em / 16);
33
$fz-small: 0.875em;
34

  
35
// Core vars
36
$body-background: $gray-xlight;
37
$font-color: $gray-dark;
38
$font-family: $raleway;
39

  
40
$link-color: $blue-dark;
41
$primary-color: $yellow;
42

  
43
$width: 1290px;
44
$mobile-limit: 1180px;
45
$columns-gutter: 30px;
46
$sidebar-width: 30%;
47
$sidebar-position: right;
48
$sidebar-columns-gutter: 0;
49

  
50
$nav-mobile-bottom-bar-background: white;
51
$nav-mobile-bottom-bar-color: $font-color;
52
$nav-mobile-bottom-bar-item-hover-background: $yellow;
53
$nav-mobile-bottom-bar-item-hover-color: $nav-mobile-bottom-bar-color;
54
$nav-mobile-bottom-bar-item-selected-background: $nav-mobile-bottom-bar-item-hover-background;
55
$nav-mobile-bottom-bar-item-selected-color: $nav-mobile-bottom-bar-item-hover-color;
56
$nav-mobile-bottom-bar-badge-color: font-color;
57
$nav-mobile-bottom-bar-badge-background: $yellow;
58

  
59
$title-background: transparent;
60
$title-weight: bold;
61
$title-font-size: $fz-h3;
62

  
63
$cell-border-radius: 12px;
64
$cell-border: 1px solid $gray-light;
65
$cell-title-cover-border: false;
66
$cell-image-position: top;
67
$cell-entry-border-color: transparent;
68
$cell-entry-color: $font-color;
69
$cell-entry-hover-color: black;
70
$cell-entry-font-weight: 500;
71
$cell-entry-hover-background: transparent;
72

  
73
$widget-unique-checkbox-position: left;
74
$widget-border-radius: 5px;
75
$widget-focus-border: 1px solid black;
76

  
77
$button-border-radius: 5px;
78
$button-background: $yellow;
79
$button-color: black;
80
$button-border: 1px solid $yellow;
81
$button-hover-background: $yellow-light;
82
$button-focus-outline: 1px solid black;
83
$buttons-order: cancel, previous, submit;
84

  
85
$form-sidebar-position: right;
86

  
87
$wcs-steps-spacing: 1rem;
88
$wcs-step-color: $gray-dark;
89
$wcs-step-current-color: black;
90
$wcs-step-border-bottom: none;
91
$wcs-step-marker-background: $gray-message;
92
$wcs-step-current-marker-background: $yellow;
93
$wcs-step-marker-type: disc tied;
94
$wcs-step-marker-tie-color: $wcs-step-marker-background;
95
$wcs-step-marker-tie-width: 2px;
96

  
97
$footer-background: $gray-dark;
98
$footer-link-color: $yellow;
static/thonon-agglomeration-2021/config.json
1
{
2
  "label": "Thonon Agglomération 2021",
3
  "variables": {
4
    "pwa_display": "standalone",
5
    "theme_color": "#FCC400",
6
    "email_header_asset": "emails:logo"
7
  },
8
  "settings": {
9
    "combo": {
10
      "COMBO_ASSET_SLOTS.update": {
11
        "header:logo": { "label": "Têtière : logo" },
12
        "emails:logo": {"label": "Emails : logo"}
13
      },
14
      "COMBO_CELL_ASSET_SLOTS.update" : {
15
        "data_textcell" : {
16
          "picture" : {
17
            "prefix" : "Image message"
18
          }
19
        }
20
      },
21
      "COMBO_CELL_TEMPLATES.update" : {
22
        "data_textcell" : {
23
          "page-message" : {
24
            "extra-css-classes" : "top-message--text-cell",
25
            "label" : "Message d'information",
26
            "template" : "combo/cells/page-message/text-cell.html"
27
          }
28
        },
29
        "data_linklistcell" : {
30
          "change-community" : {
31
            "extra-css-classes" : "choix-collectivite",
32
            "label" : "Changer de collectivité",
33
            "template" : "combo/cells/choix-collectivite/link-list-cell.html"
34
          }
35
        }
36
      }
37
    }
38
  }
39
}
static/thonon-agglomeration-2021/style.scss
1
@charset "UTF-8";
2
@import '../includes/fonts/raleway';
3
@import '../includes/fonts/roboto';
4

  
5
@import 'vars';
6
@import '../includes/publik';
7
@import 'custom';
templates/variants/thonon-agglomeration-2021/combo/cells/choix-collectivite/link-list-cell.html
1
{% load assets %}
2
{% block cell-content %}
3
<h2 class="choix-collectivite--title">
4
  {{ title }}
5
</h2>
6
<div class="cell--body">
7
  <form id="choix-collectivite--form">
8
    <label class="choix-collectivite--label" for="choix-collectivite--select">
9
      Ma commune
10
    </label>
11
    <select id="choix-collectivite--select-{{ cell.id }}" class="choix-collectivite--select">
12
      <option value="">Sélectionnez</option>
13
      {% for link in links %}
14
        <option value="{{ link.url }}">{{ link.title }}</option>
15
      {% endfor %}
16
    </select>
17
    <p>
18
      Sélectionnez votre commune et découvrez ses services en ligne.
19
    </p>
20
  </form>
21
</div>
22
{% endblock %}
23

  
24
<script>
25
  $(function() {
26
    $('#choix-collectivite--select-{{ cell.id }}').change(function(e){
27
      const link = this.options[this.selectedIndex].value;
28
      if (link) {
29
        window.location.href = link;
30
      }
31
    })
32
  });
33
</script>
templates/variants/thonon-agglomeration-2021/combo/cells/page-message/text-cell.html
1
{% load assets %}
2

  
3
{% include "combo/asset_picture_fragment.html" %}
4

  
5
<div class="cell--body">
6
	{{ text }}
7
</div>
templates/variants/thonon-agglomeration-2021/combo/page_template.html
1
{% extends "combo/page_template.html" %}
2

  
3
{# remove nav #}
4
{% block nav %}{% endblock %}
templates/variants/thonon-agglomeration-2021/combo/page_template_sidebar.html
1
{% extends "combo/page_template_sidebar.html" %}
2
{% load combo i18n pwa %}
3

  
4
{# move PWA nav inside sidebar #}
5
{% block before-main-content %}
6
	{{ block.super }}
7
{% endblock %}
8
{% block sidebar %}
9
<div id="sidebar">
10
{% if pwa_display == "standalone" %}
11
	<div class="sidebar--pwa-navigation">
12
		{% pwa_navigation %}
13
	</div>
14
{% endif %}
15
{% trans "Sidebar" as name %}
16
{% placeholder "sidebar" name=name %}
17
</div>
18
{% endblock %}
templates/variants/thonon-agglomeration-2021/theme.html
1
{% extends "theme.html" %}
2

  
3
{# Move user infos block & add header content #}
4
{% block header-pre %}
5
	<div class="toplinks--wrapper">
6
     {% block top-links %}{% endblock %}
7
	</div>
8
{% endblock %}
9
{% block header-content %}
10
	<div class="header-desc">
11
		<h2 class="header-desc--yellow-bloc">{{ header_title|safe }}</h2>
12
	</div>
13
{% endblock %}
14

  
15
{# Remove nav #}
16
{% block nav %}{% endblock %}
17

  
18
{# Top message #}
19
{% block content-pre %}
20
	<div class="top-message--wrapper">
21
		<div class="top-message">{% placeholder "top-message" name="Message d'information" %}</div>
22
	</div>
23
{% endblock %}
0
-