샤드시옌으로 쫙 수정

This commit is contained in:
leeheejin
2025-10-29 17:53:03 +09:00
parent 2517261db9
commit 437e0c331c
87 changed files with 1493 additions and 1491 deletions

View File

@@ -70,14 +70,14 @@ export function DriverManagementWidget({ element, onConfigUpdate }: DriverManage
const isCompact = element.size.width < 400 || element.size.height < 300;
return (
<div className="relative flex h-full w-full flex-col bg-white">
<div className="relative flex h-full w-full flex-col bg-background">
{/* 헤더 - 컴팩트 모드가 아닐 때만 표시 */}
{!isCompact && (
<div className="flex-shrink-0 border-b border-gray-200 bg-gray-50 px-3 py-2">
<div className="flex-shrink-0 border-b border-border bg-muted px-3 py-2">
<div className="flex items-center justify-between gap-2">
{/* 검색 */}
<div className="relative max-w-xs flex-1">
<Search className="absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-gray-400" />
<Search className="absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" />
<Input
type="text"
placeholder="기사명, 차량번호 검색"
@@ -132,20 +132,20 @@ export function DriverManagementWidget({ element, onConfigUpdate }: DriverManage
</div>
{/* 통계 정보 */}
<div className="mt-2 flex items-center gap-3 text-xs text-gray-600">
<div className="mt-2 flex items-center gap-3 text-xs text-foreground">
<span>
<span className="font-semibold text-gray-900">{filteredDrivers.length}</span>
<span className="font-semibold text-foreground">{filteredDrivers.length}</span>
</span>
<span className="text-gray-400">|</span>
<span className="text-muted-foreground">|</span>
<span>
{" "}
<span className="font-semibold text-green-600">
<span className="font-semibold text-success">
{filteredDrivers.filter((d) => d.status === "driving").length}
</span>
</span>
<span className="text-gray-400">|</span>
<span className="text-xs text-gray-500"> : {lastRefresh.toLocaleTimeString("ko-KR")}</span>
<span className="text-muted-foreground">|</span>
<span className="text-xs text-muted-foreground"> : {lastRefresh.toLocaleTimeString("ko-KR")}</span>
</div>
</div>
)}