montpellier-ville: add template/style for full page roadworks map (#72594)

This commit is contained in:
Frédéric Péters 2022-12-19 14:50:06 +01:00 committed by Gitea
parent 032e7cff7a
commit 004e6d60bf
3 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,33 @@
$cell-map-height: calc(100vh - 265px);
$cell-map-mobile-height: calc(100vh - 108px);
.page-template-roadworks-map {
#main-content {
min-height: auto;
}
#main-content, #columns-wrapper {
padding: 0;
overflow: hidden;
position: relative;
}
div.combo-cell-map.leaflet-container {
height: $cell-map-height;
}
@media ($max-mobile-viewport) {
footer {
display: none;
}
div.combo-cell-map.leaflet-container {
height: $cell-map-mobile-height;
}
&.has-pwa-navigation div.combo-cell-map.leaflet-container {
height: calc(#{$cell-map-mobile-height} - 64px);
}
}
div.cell {
margin-bottom: 0;
}
div.config-json-cell {
border: none;
}
}

View File

@ -1,3 +1,5 @@
@import 'chantiers';
// page picture
body {
background-color: $blue-light;

View File

@ -11,6 +11,12 @@
"header:logo": { "label": "Têtière : logo" },
"emails:logo": {"label": "Emails : logo"},
"page:background" : {"label": "Page : image d'arrière plan"}
},
"COMBO_PUBLIC_TEMPLATES.update": {
"roadworks-map": {
"name": "Une colonne (spéciale carte travaux)",
"template": "combo/page_template.html"
}
}
}
}