diff options
author | Yaco <franco@reevo.org> | 2021-10-20 04:11:50 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2021-10-20 04:11:50 -0300 |
commit | 907654f4729387a3438c32a70a4ef283a7147c10 (patch) | |
tree | b78e7b04042e3cc0d68cbab19764669c8019faa2 /style.less | |
parent | aff4ae1e02ccf5c064dea803d98878473b34c3d1 (diff) |
adds map markers styles
Diffstat (limited to 'style.less')
-rw-r--r-- | style.less | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -66,3 +66,17 @@ div#p-logo { font-weight: normal; display: block; } + + + +// **************** Map elements + +// We change the color of the marker using filter. The base color must be black. Color generator: https://codepen.io/sosuke/pen/Pjoqqp + +.leaflet-marker-icon img, img.leaflet-marker-icon.leaflet-zoom-animated.leaflet-interactive { + filter: invert(18%) sepia(67%) saturate(3680%) hue-rotate(93deg) brightness(95%) contrast(103%) drop-shadow(2px 4px 6px lightgrey); +} + +.leaflet-marker-icon span { + color: white; +} |