관제 첫 화면 디자인 개선
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
:root {
|
||||
color-scheme: light;
|
||||
--bg: #f5f7f9;
|
||||
--bg: #eef3f7;
|
||||
--surface: #ffffff;
|
||||
--surface-muted: #eef2f5;
|
||||
--border: #d9e0e7;
|
||||
@@ -10,7 +10,10 @@
|
||||
--green: #15803d;
|
||||
--amber: #b45309;
|
||||
--red: #b42318;
|
||||
--navy: #162231;
|
||||
--cyan: #0e7490;
|
||||
--shadow: 0 12px 30px rgba(25, 37, 52, 0.08);
|
||||
--shadow-strong: 0 18px 46px rgba(18, 30, 44, 0.16);
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -35,6 +38,7 @@ body {
|
||||
BlinkMacSystemFont,
|
||||
sans-serif;
|
||||
letter-spacing: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
button {
|
||||
@@ -56,7 +60,7 @@ button:hover {
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
grid-template-rows: 58px minmax(0, 1fr);
|
||||
grid-template-rows: 64px minmax(0, 1fr);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -65,30 +69,94 @@ button:hover {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
padding: 0 18px;
|
||||
gap: 18px;
|
||||
padding: 0 20px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: var(--surface);
|
||||
box-shadow: 0 1px 0 rgba(23, 33, 43, 0.02);
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
box-shadow: 0 1px 0 rgba(23, 33, 43, 0.04);
|
||||
}
|
||||
|
||||
.brand-lockup {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
min-width: 232px;
|
||||
}
|
||||
|
||||
.brand-mark {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border: 1px solid rgba(31, 111, 235, 0.22);
|
||||
border-radius: 8px;
|
||||
background: #142033;
|
||||
color: #ffffff;
|
||||
font-size: 13px;
|
||||
font-weight: 950;
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: block;
|
||||
font-size: 18px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.subtitle {
|
||||
margin-left: 8px;
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.topbar-context {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.topbar-chip {
|
||||
padding: 6px 9px;
|
||||
border: 1px solid rgba(14, 116, 144, 0.18);
|
||||
border-radius: 999px;
|
||||
background: rgba(14, 116, 144, 0.08);
|
||||
color: var(--cyan);
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.toolbar-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
padding: 0 11px;
|
||||
}
|
||||
|
||||
.button-icon,
|
||||
.button-icon svg {
|
||||
display: block;
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.button-icon svg {
|
||||
fill: none;
|
||||
stroke: currentColor;
|
||||
stroke-linecap: round;
|
||||
stroke-linejoin: round;
|
||||
stroke-width: 2.1;
|
||||
}
|
||||
|
||||
.status-pill {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -116,18 +184,92 @@ button:hover {
|
||||
|
||||
.workspace {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
|
||||
grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
grid-template-rows: auto auto auto minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
min-height: 0;
|
||||
padding: 14px;
|
||||
border-right: 1px solid var(--border);
|
||||
background: #fbfcfd;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.section-eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 20px;
|
||||
color: #496173;
|
||||
font-size: 11px;
|
||||
font-weight: 950;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.ops-brief {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
min-width: 0;
|
||||
padding: 14px;
|
||||
border: 1px solid rgba(22, 34, 49, 0.08);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
box-shadow: var(--shadow);
|
||||
}
|
||||
|
||||
.ops-brief > strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--navy);
|
||||
font-size: 22px;
|
||||
line-height: 1.15;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ops-brief p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
font-weight: 750;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.ops-brief-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.ops-brief-grid span {
|
||||
min-width: 0;
|
||||
padding: 9px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 7px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.ops-brief-grid small,
|
||||
.ops-brief-grid strong {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.ops-brief-grid small {
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ops-brief-grid strong {
|
||||
margin-top: 3px;
|
||||
font-size: 16px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.summary-grid {
|
||||
@@ -138,10 +280,11 @@ button:hover {
|
||||
|
||||
.metric {
|
||||
min-width: 0;
|
||||
padding: 12px;
|
||||
padding: 11px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
background: var(--surface);
|
||||
box-shadow: 0 1px 0 rgba(23, 33, 43, 0.02);
|
||||
}
|
||||
|
||||
.metric-label {
|
||||
@@ -154,7 +297,7 @@ button:hover {
|
||||
.metric strong {
|
||||
display: block;
|
||||
margin-top: 4px;
|
||||
font-size: 24px;
|
||||
font-size: 25px;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
@@ -183,6 +326,8 @@ button:hover {
|
||||
}
|
||||
|
||||
.vehicle-panel {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
min-height: 0;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
@@ -200,7 +345,7 @@ button:hover {
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
padding: 13px 14px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
@@ -211,14 +356,75 @@ button:hover {
|
||||
}
|
||||
|
||||
.panel-heading span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vehicle-controls {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
padding: 11px 12px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
background: #fbfcfd;
|
||||
}
|
||||
|
||||
.search-field {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.search-field span {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.search-field input {
|
||||
width: 100%;
|
||||
min-height: 36px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 6px;
|
||||
padding: 0 10px;
|
||||
background: #ffffff;
|
||||
color: var(--text);
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.search-field input:focus {
|
||||
border-color: var(--blue);
|
||||
outline: 2px solid rgba(31, 111, 235, 0.14);
|
||||
}
|
||||
|
||||
.status-filters {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.filter-button {
|
||||
min-width: 0;
|
||||
min-height: 32px;
|
||||
border-color: transparent;
|
||||
background: #eef3f7;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.filter-button.is-active {
|
||||
border-color: rgba(31, 111, 235, 0.22);
|
||||
background: rgba(31, 111, 235, 0.1);
|
||||
color: #174ea6;
|
||||
}
|
||||
|
||||
.vehicle-list {
|
||||
height: calc(100% - 50px);
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -266,7 +472,6 @@ button:hover {
|
||||
}
|
||||
|
||||
.driver-list {
|
||||
height: calc(100% - 259px);
|
||||
min-height: 160px;
|
||||
overflow: auto;
|
||||
}
|
||||
@@ -329,10 +534,11 @@ button:hover {
|
||||
|
||||
.vehicle-item {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(74px, auto);
|
||||
gap: 10px;
|
||||
padding: 13px 14px;
|
||||
padding: 13px 14px 12px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
border-left: 3px solid transparent;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -340,6 +546,11 @@ button:hover {
|
||||
background: #f6f9fb;
|
||||
}
|
||||
|
||||
.vehicle-item.is-selected {
|
||||
border-left-color: var(--blue);
|
||||
background: rgba(31, 111, 235, 0.06);
|
||||
}
|
||||
|
||||
.vehicle-main {
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -364,6 +575,43 @@ button:hover {
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.vehicle-route-line,
|
||||
.vehicle-cargo-line {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.vehicle-route-line {
|
||||
margin-top: 8px;
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.vehicle-cargo-line {
|
||||
margin-top: 3px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 750;
|
||||
}
|
||||
|
||||
.vehicle-progress {
|
||||
height: 4px;
|
||||
margin-top: 9px;
|
||||
border-radius: 999px;
|
||||
background: #e4ebf1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.vehicle-progress span {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: #1f6feb;
|
||||
}
|
||||
|
||||
.badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -418,12 +666,35 @@ button:hover {
|
||||
}
|
||||
|
||||
.speed {
|
||||
display: grid;
|
||||
justify-items: end;
|
||||
align-content: start;
|
||||
gap: 2px;
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.speed strong {
|
||||
font-size: 20px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.speed span {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.speed small {
|
||||
max-width: 92px;
|
||||
overflow: hidden;
|
||||
color: #174ea6;
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.map-panel {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
@@ -459,10 +730,138 @@ button:hover {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.map-status-panel,
|
||||
.route-focus-panel,
|
||||
.map-legend {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
border: 1px solid rgba(22, 34, 49, 0.12);
|
||||
border-radius: 8px;
|
||||
background: rgba(255, 255, 255, 0.94);
|
||||
box-shadow: var(--shadow-strong);
|
||||
backdrop-filter: blur(10px);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.map-status-panel {
|
||||
top: 18px;
|
||||
left: 18px;
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
width: min(330px, calc(100% - 36px));
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.map-status-panel > strong {
|
||||
color: var(--navy);
|
||||
font-size: 18px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.map-status-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.map-status-grid span {
|
||||
min-width: 0;
|
||||
padding: 8px;
|
||||
border-radius: 7px;
|
||||
background: #f5f8fb;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.map-status-grid b {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
color: var(--text);
|
||||
font-size: 16px;
|
||||
line-height: 1.15;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.route-focus-panel {
|
||||
right: 18px;
|
||||
bottom: 18px;
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
width: min(390px, calc(100% - 36px));
|
||||
padding: 13px 14px 14px;
|
||||
border-left: 4px solid #aebccc;
|
||||
}
|
||||
|
||||
.route-focus-panel.is-active {
|
||||
border-left-color: var(--blue);
|
||||
}
|
||||
|
||||
.route-focus-panel strong {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
color: var(--navy);
|
||||
font-size: 16px;
|
||||
line-height: 1.2;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.route-focus-panel p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.map-legend {
|
||||
top: 18px;
|
||||
right: 18px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 36px;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
|
||||
.map-legend span {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 900;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.legend-dot {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.legend-dot.active {
|
||||
background: var(--green);
|
||||
}
|
||||
|
||||
.legend-dot.stale {
|
||||
background: var(--amber);
|
||||
}
|
||||
|
||||
.legend-line {
|
||||
width: 18px;
|
||||
height: 3px;
|
||||
border-radius: 999px;
|
||||
background: #1f6feb;
|
||||
}
|
||||
|
||||
.history-drawer {
|
||||
position: absolute;
|
||||
z-index: 4;
|
||||
right: 14px;
|
||||
right: min(424px, 48%);
|
||||
bottom: 14px;
|
||||
left: 14px;
|
||||
max-height: min(310px, calc(100% - 28px));
|
||||
@@ -813,9 +1212,18 @@ button:hover {
|
||||
.topbar {
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.brand-lockup {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.topbar-context {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
@@ -830,12 +1238,32 @@ button:hover {
|
||||
order: 2;
|
||||
border-top: 1px solid var(--border);
|
||||
border-right: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.map-panel {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.map-status-panel {
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
width: min(300px, calc(100% - 20px));
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.map-legend {
|
||||
right: 10px;
|
||||
top: auto;
|
||||
bottom: 10px;
|
||||
}
|
||||
|
||||
.route-focus-panel {
|
||||
right: 10px;
|
||||
bottom: 56px;
|
||||
width: calc(100% - 20px);
|
||||
}
|
||||
|
||||
.driver-actions {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
@@ -854,3 +1282,38 @@ button:hover {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.workspace {
|
||||
grid-template-rows: minmax(300px, 42vh) minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.toolbar-button {
|
||||
flex: 1 1 128px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.status-pill {
|
||||
flex: 1 0 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.sidebar {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.ops-brief > strong {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.map-status-panel {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.map-legend {
|
||||
left: 10px;
|
||||
right: auto;
|
||||
max-width: calc(100% - 20px);
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user