Auto deploy: 2025-12-09 06:12:18
This commit is contained in:
parent
c110e94b6c
commit
e0df3ac6d8
|
|
@ -0,0 +1,56 @@
|
||||||
|
/* Ne PAS toucher au transform du marker : MapLibre gère la position. */
|
||||||
|
.post-pin {
|
||||||
|
pointer-events: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Bulle principale (état compact) */
|
||||||
|
.post-pin-bubble {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 4px 8px;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: rgba(6, 40, 80, 0.95);
|
||||||
|
border: 1px solid rgba(80, 180, 255, 0.9);
|
||||||
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Petit rond à gauche */
|
||||||
|
.post-pin-dot {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
border-radius: 999px;
|
||||||
|
background: #ff8a00;
|
||||||
|
margin-right: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Texte compact */
|
||||||
|
.post-pin-text {
|
||||||
|
color: #e8f5ff;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: 500;
|
||||||
|
max-width: 120px;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Petite pointe qui touche la coordonnée */
|
||||||
|
.post-pin-pointer {
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-left: 6px solid transparent;
|
||||||
|
border-right: 6px solid transparent;
|
||||||
|
border-top: 7px solid rgba(6, 40, 80, 0.95);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ÉTAT AGRANDI */
|
||||||
|
.post-pin.post-pin-expanded .post-pin-bubble {
|
||||||
|
border-radius: 10px;
|
||||||
|
max-width: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.post-pin.post-pin-expanded .post-pin-text {
|
||||||
|
white-space: normal;
|
||||||
|
max-width: 220px;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue