/** overrides leaflet */ .leaflet-control-layers { &.leaflet-control-layers-toggle { background: url('img/burger.png'); } +.leaflet-control-layers { display: none; } } .leaflet-control-layers-list { label { cursor: pointer; &:hover { background-color: var(--button-border); color: white; } } } .leaflet-control-attribution { padding: 10px; font-size: 0.7rem !important; } /* Styles pour les contrĂ´les de couches */ .leaflet-control-layers { &.base-layers { background-image: url('data:image/svg+xml;utf8,'); 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,'); 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; } } } // 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); } .battery-marker { background: white; border-radius: 1rem; padding: 30px; width: 5rem; height: 5rem; border: solid 1px #ccc;}