mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-10 03:37:44 +02:00
[eric] browser: drop the top border-shimmer strip, static border and tether arrow are the in-use cue
This commit is contained in:
@@ -599,7 +599,6 @@ const BrowserCard: React.FC<Props> = ({
|
||||
const isSearch = isGoogleSearch(activeUrl);
|
||||
|
||||
const accentColor = c.accent.primary;
|
||||
const accentHover = c.accent.hover;
|
||||
|
||||
const glowingBrowserCards = useAppSelector((s) => s.dashboardLayout.glowingBrowserCards);
|
||||
const isGlowingFromRedux = !!glowingBrowserCards[browserId];
|
||||
@@ -689,26 +688,6 @@ const BrowserCard: React.FC<Props> = ({
|
||||
}}
|
||||
>
|
||||
|
||||
{agentActive && (
|
||||
<Box
|
||||
sx={{
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
height: '2px',
|
||||
zIndex: 20,
|
||||
background: `linear-gradient(90deg, transparent, ${accentColor}, ${accentHover}, ${accentColor}, transparent)`,
|
||||
backgroundSize: '200% 100%',
|
||||
animation: 'border-shimmer 2s linear infinite',
|
||||
'@keyframes border-shimmer': {
|
||||
'0%': { backgroundPosition: '200% 0' },
|
||||
'100%': { backgroundPosition: '-200% 0' },
|
||||
},
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
<Box
|
||||
ref={tabBarRef}
|
||||
onPointerDown={handleDragPointerDown}
|
||||
|
||||
Reference in New Issue
Block a user