mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 09:01:17 +00:00
feat: show installed badge and version in agent dropdown menus
This commit is contained in:
parent
f452b46b94
commit
c498aeba28
4 changed files with 70 additions and 19 deletions
|
|
@ -482,6 +482,10 @@
|
|||
font-size: 12px;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.sidebar-add-option:hover {
|
||||
|
|
@ -489,6 +493,42 @@
|
|||
color: #fff;
|
||||
}
|
||||
|
||||
.sidebar-add-option:hover .agent-badge {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.agent-option-name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.agent-option-badges {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.agent-badge {
|
||||
padding: 2px 6px;
|
||||
border-radius: 4px;
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
transition: all var(--transition);
|
||||
}
|
||||
|
||||
.agent-badge.installed {
|
||||
background: rgba(48, 209, 88, 0.15);
|
||||
color: var(--success);
|
||||
}
|
||||
|
||||
.agent-badge.version {
|
||||
background: var(--border-2);
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.sidebar-add-status {
|
||||
padding: 6px 8px;
|
||||
font-size: 11px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue