mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-04-28 11:40:47 +00:00
improve Plugin Hub cards and plugin info
Surface repository metadata for installed custom plugins and add quick actions from the plugin info modal to open plugin files or jump back into the Plugin Hub. Refresh Plugin Hub card/status styling and modal spacing.
This commit is contained in:
parent
a5620506d5
commit
6b8a6d959a
9 changed files with 349 additions and 88 deletions
|
|
@ -290,7 +290,8 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--color-panel);
|
||||
background: radial-gradient(circle at top, #6b728089, var(--color-panel)),
|
||||
var(--color-panel);
|
||||
border: 1px solid var(--color-border);
|
||||
}
|
||||
|
||||
|
|
@ -404,6 +405,36 @@
|
|||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.pi-card-installed-pill {
|
||||
display: inline-flex;
|
||||
padding: 0.24rem 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
background: rgba(34, 197, 94, 0.15);
|
||||
color: #4ade80;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
body.light-mode .pi-card-installed-pill {
|
||||
background: rgba(34, 197, 94, 0.22);
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
.pi-card-update-pill {
|
||||
display: inline-flex;
|
||||
padding: 0.24rem 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
background: rgba(59, 130, 246, 0.16);
|
||||
color: #60a5fa;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
body.light-mode .pi-card-update-pill {
|
||||
background: rgba(59, 130, 246, 0.2);
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.pi-status-badges .pi-card-installed-pill {
|
||||
position: static;
|
||||
top: auto;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue