diff --git a/src/features/workbench/operational-timeline/operational-timeline.tsx b/src/features/workbench/operational-timeline/operational-timeline.tsx
index 0c18e69..5b97034 100644
--- a/src/features/workbench/operational-timeline/operational-timeline.tsx
+++ b/src/features/workbench/operational-timeline/operational-timeline.tsx
@@ -2,8 +2,6 @@ import {
CalendarClock,
Check,
Clock3,
- Eye,
- EyeOff,
OctagonAlert,
PanelBottomClose,
PanelBottomOpen,
@@ -176,10 +174,10 @@ export function OperationalTimeline({
exit={prefersReducedMotion ? { opacity: 0 } : { opacity: 0, y: -4 }}
transition={prefersReducedMotion ? { duration: 0 } : { duration: 0.14 }}
>
-
+
{LANES.map((lane) => (
-
+
{lane.label}
))}
@@ -465,9 +463,8 @@ function TimelineLegend({
return (
- 图例
{LEGEND_ITEMS.map((item) => {
const visible = visibility[item.id];
return (
@@ -484,17 +481,11 @@ function TimelineLegend({
})
}
className={cn(
- "inline-flex h-7 items-center gap-1.5 rounded-lg px-1.5 text-[10px] font-medium transition-[color,background-color,opacity] hover:bg-white/80 sm:px-2",
- visible ? "text-slate-700" : "text-slate-400 opacity-55"
+ "grid h-7 w-7 place-items-center rounded-lg outline-hidden transition-[transform,filter,opacity] hover:scale-110 focus-visible:ring-2 focus-visible:ring-blue-500 active:scale-95",
+ visible ? "opacity-100" : "grayscale opacity-25"
)}
>
- {item.label}
- {visible ? (
-
- ) : (
-
- )}
);
})}
@@ -506,8 +497,8 @@ function LegendSwatch({ category }: { category: OperationalEventCategory }) {
return (