polish webui and add desktop gateway service support

This commit is contained in:
lpf
2026-03-10 21:25:01 +08:00
parent 74a10ed4e3
commit cfab4cd1cc
22 changed files with 712 additions and 364 deletions

View File

@@ -801,6 +801,8 @@ html.theme-dark .brand-button {
transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
/* Fixed-width buttons must opt in explicitly via ui-button-icon / ui-button-square. */
.ui-button:disabled {
opacity: 0.5;
cursor: not-allowed;
@@ -826,6 +828,16 @@ html.theme-dark .brand-button {
background: var(--button-primary-bg-hover);
}
.ui-button-accent {
background: var(--pill-accent-bg);
border-color: var(--pill-accent-border);
color: var(--pill-accent-text);
}
.ui-button-accent:hover:not(:disabled) {
background: color-mix(in srgb, var(--pill-accent-bg) 78%, white);
}
.ui-button-success {
background: var(--button-success-bg);
border-color: var(--button-success-border);
@@ -860,17 +872,16 @@ html.theme-dark .brand-button {
height: 40px;
min-height: 40px;
width: 40px;
border-radius: var(--radius-button);
}
.ui-button:has(> svg:only-child) {
width: 40px;
min-width: 40px;
flex: 0 0 40px;
padding-inline: 0;
border-radius: var(--radius-button);
}
.ui-button-square {
width: 40px;
min-width: 40px;
flex: 0 0 40px;
padding-inline: 0;
}