관제 지도 갱신 안정화

This commit is contained in:
2026-06-06 21:51:18 +09:00
parent 3b21cfb9a9
commit 5278b8cf06
2 changed files with 292 additions and 72 deletions

View File

@@ -932,17 +932,19 @@ button:hover {
--truck-color: var(--blue);
--truck-cab: #1556b8;
--truck-accent: rgba(255, 255, 255, 0.2);
--truck-heading: 0deg;
--body-width: 42px;
--body-height: 24px;
--cab-width: 19px;
position: relative;
display: inline-flex;
align-items: flex-end;
width: max-content;
min-width: calc(var(--body-width) + var(--cab-width));
min-height: 38px;
display: grid;
place-items: center;
width: 86px;
min-width: 86px;
height: 56px;
min-height: 56px;
border: 0;
padding: 0 0 8px;
padding: 0;
background: transparent;
color: #ffffff;
filter: drop-shadow(0 8px 13px rgba(16, 32, 48, 0.28));
@@ -1017,8 +1019,19 @@ button:hover {
--truck-cab: #8f1d15;
}
.truck-marker::before,
.truck-marker::after {
.truck-marker__vehicle {
position: relative;
display: inline-flex;
align-items: flex-end;
justify-content: center;
padding-bottom: 8px;
transform: rotate(var(--truck-heading));
transform-origin: 50% 44%;
transition: transform 0.35s ease;
}
.truck-marker__vehicle::before,
.truck-marker__vehicle::after {
content: "";
position: absolute;
bottom: 1px;
@@ -1029,19 +1042,17 @@ button:hover {
background: #17212b;
}
.truck-marker::before {
.truck-marker__vehicle::before {
left: 11px;
}
.truck-marker::after {
.truck-marker__vehicle::after {
right: 12px;
}
.truck-marker__body {
position: relative;
display: grid;
grid-template-rows: 1fr 1fr;
place-items: center;
display: block;
width: var(--body-width);
height: var(--body-height);
border: 2px solid #ffffff;
@@ -1050,31 +1061,43 @@ button:hover {
background:
var(--truck-accent),
var(--truck-color);
font-size: 10px;
font-weight: 900;
line-height: 1;
white-space: nowrap;
overflow: hidden;
}
.truck-marker.type-van .truck-marker__body {
grid-template-rows: 1fr;
border-radius: 9px 0 0 7px;
}
.truck-marker.type-van .truck-marker__type {
display: none;
.truck-marker__label {
position: absolute;
left: 50%;
bottom: 0;
display: inline-flex;
align-items: center;
gap: 4px;
max-width: 82px;
min-height: 18px;
padding: 2px 6px;
border: 1px solid rgba(255, 255, 255, 0.7);
border-radius: 999px;
background: rgba(15, 23, 42, 0.88);
box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
color: #ffffff;
font-size: 10px;
font-weight: 900;
line-height: 1.1;
transform: translateX(-50%);
white-space: nowrap;
}
.truck-marker__type {
align-self: end;
font-size: 9px;
opacity: 0.88;
.truck-marker__type,
.truck-marker__plate {
display: inline-block;
min-width: 0;
}
.truck-marker__plate {
align-self: start;
font-size: 11px;
overflow: hidden;
text-overflow: ellipsis;
}
.truck-marker__cab {
@@ -1319,6 +1342,35 @@ button:hover {
overflow: auto;
}
.history-drawer {
right: 8px;
bottom: 8px;
left: 8px;
max-height: min(178px, calc(100% - 86px));
}
.history-heading {
gap: 8px;
padding: 8px 10px;
}
.history-heading strong {
font-size: 14px;
}
.history-heading span {
font-size: 11px;
}
.history-list {
max-height: 122px;
}
.history-row {
padding: 7px 10px;
font-size: 12px;
}
.vehicle-item {
grid-template-columns: minmax(0, 1fr);
}