feat: move Reboot button from sidebar to header, between role badge and Sign Out

This commit is contained in:
copilot-swe-agent[bot]
2026-07-15 18:58:10 +00:00
committed by GitHub
parent 599405ce18
commit 59b734995b
6 changed files with 34 additions and 32 deletions
@@ -91,3 +91,30 @@
border-color: var(--accent-color);
color: var(--accent-color);
}
/* ── Header reboot button ───────────────────────────────────────── */
.btn-header-reboot {
background: transparent;
border: 1px solid rgba(184, 125, 0, 0.35);
color: #c98d08;
font-size: 0.78rem;
font-weight: 600;
padding: 4px 12px;
border-radius: var(--radius-btn);
cursor: pointer;
transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}
.btn-header-reboot:hover {
border-color: #b87d00;
color: #e0a010;
background-color: rgba(184, 125, 0, 0.1);
}
@media (max-width: 480px) {
.btn-header-reboot {
padding: 4px 8px;
font-size: 0.72rem;
}
}
@@ -84,21 +84,6 @@
margin: 16px 0;
}
/* ── Sidebar restart button (amber/muted treatment) ─────────────── */
.sidebar-restart-btn {
border-color: rgba(184, 125, 0, 0.25);
}
.sidebar-restart-btn:hover {
border-color: #b87d00;
background-color: rgba(184, 125, 0, 0.08);
}
.sidebar-restart-btn .sidebar-restart-hint {
color: #c98d08;
}
/* ── Upgrade modal ──────────────────────────────────────────────── */
.upgrade-dialog {