2025-04-19 23:46:37 +02:00
|
|
|
/**
|
|
|
|
overrides leaflet
|
|
|
|
*/
|
|
|
|
|
|
|
|
.leaflet-left .leaflet-control {
|
|
|
|
margin-left: 2rem;
|
|
|
|
}
|
|
|
|
|
2025-04-20 00:32:45 +02:00
|
|
|
.leaflet-interactive {
|
|
|
|
border: solid 3px white;
|
|
|
|
}
|
|
|
|
|
2025-04-20 00:54:04 +02:00
|
|
|
.leaflet-control-layers {
|
|
|
|
&.leaflet-control-layers-toggle {
|
|
|
|
background: url('img/burger.png');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2025-04-19 23:46:37 +02:00
|
|
|
/* Styles pour les contrôles de couches */
|
|
|
|
.leaflet-control-layers {
|
|
|
|
&.base-layers {
|
|
|
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M2 9l10-5 10 5-10 5-10-5zm0 6l10 5 10-5M2 12l10 5 10-5"/></svg>');
|
|
|
|
background-size: 16px;
|
|
|
|
background-position: 6px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
padding-left: 28px !important;
|
|
|
|
|
|
|
|
.leaflet-control-layers-toggle {
|
|
|
|
background-image: none;
|
|
|
|
width: auto;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "Fonds";
|
|
|
|
margin-left: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.overlay-layers {
|
|
|
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
|
|
|
|
background-size: 16px;
|
|
|
|
background-position: 6px center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
padding-left: 28px !important;
|
|
|
|
|
|
|
|
.leaflet-control-layers-toggle {
|
|
|
|
background-image: none;
|
|
|
|
width: auto;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "Calques";
|
|
|
|
margin-left: 5px;
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
|
|
|
}
|
2025-04-20 00:54:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// Styles pour les contrôles de calques
|
|
|
|
.leaflet-control-layers {
|
|
|
|
&.base-layers {
|
|
|
|
.leaflet-control-layers-toggle {
|
|
|
|
background-image: url('../img/burger.png') !important;
|
|
|
|
background-size: 20px 20px !important;
|
|
|
|
background-position: center !important;
|
|
|
|
background-repeat: no-repeat !important;
|
|
|
|
width: 30px !important;
|
|
|
|
height: 30px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.overlay-layers {
|
|
|
|
.leaflet-control-layers-toggle {
|
|
|
|
background-image: url('../img/pizza.png') !important;
|
|
|
|
background-size: 20px 20px !important;
|
|
|
|
background-position: center !important;
|
|
|
|
background-repeat: no-repeat !important;
|
|
|
|
background-color: #3f74aa !important;
|
|
|
|
width: 30px !important;
|
|
|
|
height: 30px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Style commun pour le conteneur
|
|
|
|
background: white;
|
|
|
|
padding: 5px;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
|
2025-04-19 23:46:37 +02:00
|
|
|
}
|