마커 클릭 선택 패널 추가

This commit is contained in:
2026-06-06 22:06:16 +09:00
parent 5278b8cf06
commit 1bf346a898
3 changed files with 399 additions and 10 deletions

View File

@@ -819,6 +819,127 @@ button:hover {
word-break: keep-all;
}
.marker-action-panel {
position: absolute;
right: 18px;
bottom: 104px;
z-index: 6;
display: grid;
gap: 12px;
width: min(380px, calc(100% - 36px));
padding: 14px;
border: 1px solid rgba(22, 34, 49, 0.14);
border-radius: 8px;
background: rgba(255, 255, 255, 0.97);
box-shadow: var(--shadow-strong);
backdrop-filter: blur(12px);
}
.marker-action-panel.is-hidden {
display: none;
}
.marker-action-head {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: start;
}
.marker-action-head strong {
display: block;
min-width: 0;
overflow: hidden;
color: var(--navy);
font-size: 17px;
line-height: 1.2;
text-overflow: ellipsis;
white-space: nowrap;
}
.marker-action-head p {
margin: 5px 0 0;
color: var(--muted);
font-size: 12px;
font-weight: 800;
line-height: 1.35;
word-break: keep-all;
}
.marker-action-head button {
min-width: 52px;
min-height: 32px;
padding: 0 10px;
border: 1px solid var(--border);
border-radius: 7px;
background: #f6f8fb;
color: var(--muted);
font-size: 12px;
font-weight: 900;
cursor: pointer;
}
.marker-action-summary {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 7px;
}
.marker-action-summary span {
min-width: 0;
padding: 8px;
border-radius: 7px;
background: #f4f7fa;
}
.marker-action-summary b,
.marker-action-summary em {
display: block;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.marker-action-summary b {
color: var(--muted);
font-size: 10px;
font-style: normal;
font-weight: 900;
}
.marker-action-summary em {
margin-top: 3px;
color: var(--text);
font-size: 12px;
font-style: normal;
font-weight: 900;
}
.marker-action-buttons {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
}
.marker-action-buttons button {
min-width: 0;
min-height: 38px;
padding: 0 10px;
border: 1px solid rgba(31, 111, 235, 0.18);
border-radius: 7px;
background: #eef5ff;
color: #174ea6;
font-size: 13px;
font-weight: 950;
cursor: pointer;
}
.marker-action-buttons button:hover,
.marker-action-head button:hover {
filter: brightness(0.98);
}
.map-legend {
top: 18px;
right: 86px;
@@ -1289,6 +1410,12 @@ button:hover {
width: calc(100% - 20px);
}
.marker-action-panel {
right: 10px;
bottom: 118px;
width: calc(100% - 20px);
}
.driver-actions {
grid-template-columns: 1fr;
}
@@ -1342,6 +1469,22 @@ button:hover {
overflow: auto;
}
.marker-action-panel {
top: 10px;
bottom: auto;
gap: 10px;
padding: 12px;
}
.marker-action-head strong {
font-size: 15px;
}
.marker-action-summary,
.marker-action-buttons {
grid-template-columns: 1fr;
}
.history-drawer {
right: 8px;
bottom: 8px;