montpellier-ville: add template/style for full page roadworks map (#72594)
This commit is contained in:
parent
032e7cff7a
commit
004e6d60bf
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
@import 'chantiers';
|
||||
|
||||
// page picture
|
||||
body {
|
||||
background-color: $blue-light;
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue