feat: make ops cards collapsible, hide notice and user display, increase button sizes
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 12s

This commit is contained in:
Kroonk
2026-05-21 18:21:47 +02:00
parent 995a397b2e
commit 76b7a96673
3 changed files with 74 additions and 12 deletions

View File

@@ -423,14 +423,16 @@ main {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 0 13px;
min-height: 42px;
padding: 0 18px;
color: var(--text);
font-size: 0.92rem;
text-decoration: none;
background: rgba(17, 22, 36, 0.86);
border: 1px solid var(--border);
border-radius: var(--radius);
cursor: pointer;
transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ghost-button:hover,
@@ -542,12 +544,49 @@ main {
margin-bottom: 10px;
color: #fff;
font-weight: 700;
cursor: pointer;
user-select: none;
transition: color 0.15s ease;
}
.ops-card-head:hover {
color: #67e8f9;
}
.ops-card-head > div:first-child,
.ops-card-head > span:first-child {
display: inline-flex;
align-items: center;
gap: 8px;
}
.ops-card-head > div:first-child::before,
.ops-card-head > span:first-child::before {
content: '▾';
display: inline-block;
font-size: 0.92rem;
color: var(--dim);
transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275);
transform: rotate(0deg);
}
.ops-card.is-collapsed .ops-card-head > div:first-child::before,
.ops-card.is-collapsed .ops-card-head > span:first-child::before {
transform: rotate(-90deg);
}
.ops-card.is-collapsed .ops-card-head {
margin-bottom: 0;
}
.ops-card.is-collapsed > *:not(.ops-card-head) {
display: none !important;
}
.ghost-button.mini {
min-height: 30px;
padding: 0 10px;
font-size: 0.78rem;
min-height: 34px;
padding: 0 14px;
font-size: 0.82rem;
}
.ops-list {