montpellier-ville: add asset to import default page background image (#53232)

This commit is contained in:
Thomas Jund 2021-04-27 12:14:48 +02:00
parent 14a10561d7
commit ae15a16eb0
2 changed files with 6 additions and 4 deletions

View File

@ -1,14 +1,15 @@
// page picture
body {
background-color: $blue-light;
}
body.has-picture {
background-image: var(--page-picture);
background-image: url("/assets/page:background");
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
body.has-picture {
background-image: var(--page-picture);
}
//
// HEADER

View File

@ -9,7 +9,8 @@
"combo": {
"COMBO_ASSET_SLOTS.update": {
"header:logo": { "label": "Têtière : logo" },
"emails:logo": {"label": "Emails : logo"}
"emails:logo": {"label": "Emails : logo"},
"page:background" : {"label": "Page : image d'arrière plan"}
}
}
}