中控支持一键安装到桌面,HTTPS 下可装成独立应用。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-05 18:54:59 +08:00
parent 470c6ba261
commit 0327f49f4e
15 changed files with 220 additions and 5 deletions
+39 -1
View File
@@ -169,11 +169,16 @@ a:hover { color: #7dd3fc; }
.nav-spot--flat .nav-spot-last,
.nav-spot--flat .nav-spot-chg,
.nav-spot--flat .nav-spot-pct { color: #9aa3bf; }
.topbar-logout {
.topbar-actions {
position: fixed;
top: 16px;
right: 22px;
z-index: 20;
display: flex;
align-items: center;
gap: 10px;
}
.topbar-logout {
color: var(--muted);
font-size: 0.82rem;
letter-spacing: 0.04em;
@@ -181,6 +186,39 @@ a:hover { color: #7dd3fc; }
.topbar-logout:hover {
color: #e8f1ff;
}
.topbar-install {
appearance: none;
border: 1px solid #304164;
background: #151a2a;
color: #dbe4ff;
font-size: 0.78rem;
border-radius: 8px;
padding: 4px 10px;
cursor: pointer;
font-family: inherit;
}
.topbar-install:hover {
color: #ffffff;
border-color: #3d5278;
}
.topbar-install-hint {
position: fixed;
top: 46px;
right: 22px;
z-index: 20;
margin: 0;
max-width: min(360px, calc(100vw - 40px));
color: var(--muted);
font-size: 0.75rem;
line-height: 1.4;
text-align: right;
}
@media (display-mode: standalone) {
.topbar-install,
.topbar-install-hint {
display: none !important;
}
}
@media (max-width: 1100px) {
.topbar-row {
grid-template-columns: 1fr;