style(webui): format stylesheet
ci / lint-prettier (push) Successful in 11s
ci / lint-ruff (push) Successful in 5s
ci / lint-yaml (push) Successful in 9s
ci / lint-dockerfiles (push) Successful in 6s
ci / validate (push) Successful in 7s
ci / publish (push) Successful in 2m3s

This commit is contained in:
2026-07-26 19:02:11 +02:00
parent 08f8196bf9
commit 93c8d00af6
+404 -86
View File
@@ -1404,109 +1404,427 @@ tbody tr:hover {
--info: #d7d7d7; --info: #d7d7d7;
--radius: 8px; --radius: 8px;
--shadow: none; --shadow: none;
--font-ui: Inter, "SF Pro Display", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --font-ui: Inter, 'SF Pro Display', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
} }
body { font-size: 14px; -webkit-font-smoothing: antialiased; } body {
a { border-bottom: 0; } font-size: 14px;
a:hover, button:hover { border-color: var(--accent-line); background: var(--accent-soft); } -webkit-font-smoothing: antialiased;
}
a {
border-bottom: 0;
}
a:hover,
button:hover {
border-color: var(--accent-line);
background: var(--accent-soft);
}
.app-shell { grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; } .app-shell {
grid-template-columns: 236px minmax(0, 1fr);
min-height: 100vh;
}
.sidebar { .sidebar {
position: sticky; top: 0; height: 100vh; padding: 18px 12px; position: sticky;
background: var(--panel-alt); border-right-color: var(--line); top: 0;
height: 100vh;
padding: 18px 12px;
background: var(--panel-alt);
border-right-color: var(--line);
} }
.brand-block { position: relative; display: block; min-height: 64px; padding: 5px 9px 16px; } .brand-block {
.brand-block::before { content: '◈'; position: absolute; top: 8px; left: 9px; color: var(--text-color); font-size: 25px; line-height: 1; } position: relative;
.brand-block h1, .dialog-header h2 { color: var(--text-color); font-size: 15px; line-height: 1.12; letter-spacing: -0.01em; } display: block;
.brand-block h1 { margin-left: 36px; } min-height: 64px;
.brand-block .eyebrow { margin: 0 0 3px 36px; color: var(--muted, #747474); font-size: 12px; letter-spacing: 0; text-transform: none; } padding: 5px 9px 16px;
.brand-block .muted { display: none; }
.eyebrow, .section-title { color: #747474; font-size: 10px; font-weight: 650; letter-spacing: .08em; }
.muted { color: #9a9a9a; }
.nav-links { gap: 5px; margin: 10px 0 24px; }
.nav-link, .button, input, .content-tab, .viewer-channel-item, .account-tab {
border-color: transparent; border-radius: 6px; background: transparent;
} }
.nav-link { justify-content: flex-start; min-height: 46px; padding: 0 13px; color: #979797; font-size: 13px; font-weight: 650; } .brand-block::before {
.nav-link.active { border-color: #3b3b3b; color: var(--text-color); background: var(--accent-soft); } content: '◈';
.nav-link::before { content: '—'; width: 16px; color: currentColor; } position: absolute;
top: 8px;
.status-card, .panel, .stat-panel, .job-card, .message-card, .settings-dialog { left: 9px;
border-color: var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: none; color: var(--text-color);
font-size: 25px;
line-height: 1;
}
.brand-block h1,
.dialog-header h2 {
color: var(--text-color);
font-size: 15px;
line-height: 1.12;
letter-spacing: -0.01em;
}
.brand-block h1 {
margin-left: 36px;
}
.brand-block .eyebrow {
margin: 0 0 3px 36px;
color: var(--muted, #747474);
font-size: 12px;
letter-spacing: 0;
text-transform: none;
}
.brand-block .muted {
display: none;
}
.eyebrow,
.section-title {
color: #747474;
font-size: 10px;
font-weight: 650;
letter-spacing: 0.08em;
}
.muted {
color: #9a9a9a;
} }
.status-card { padding: 14px 10px 4px; background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.09); }
.status-card + .status-card { margin-top: 12px; }
.status-card .button { width: auto; justify-content: flex-start; padding: 0 13px; }
.status-badge { padding: 0; border: 0; border-radius: 0; color: var(--text-color); background: transparent; font-size: 12px; font-weight: 700; }
.content { max-width: none; padding: 24px 28px 40px; } .nav-links {
.content::before { content: ''; display: block; height: 43px; margin: -24px -28px 24px; border-bottom: 1px solid var(--line); } gap: 5px;
.content-tabs, .account-tabs { gap: 0; margin-bottom: 18px; padding-bottom: 0; border-bottom: 0; } margin: 10px 0 24px;
.content-tab, .account-tab { min-height: 38px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 0; color: #aaa; font-size: 13px; } }
.content-tab:first-child, .account-tab:first-child { border-radius: 6px 0 0 6px; } .nav-link,
.content-tab + .content-tab, .account-tab + .account-tab { margin-left: -1px; } .button,
.content-tab:last-child, .account-tab:last-child { border-radius: 0 6px 6px 0; } input,
.content-tab.active, .account-tab.active { position: relative; z-index: 1; border-color: #535353; color: var(--text-color); background: var(--accent-soft); } .content-tab,
.viewer-channel-item,
.account-tab {
border-color: transparent;
border-radius: 6px;
background: transparent;
}
.nav-link {
justify-content: flex-start;
min-height: 46px;
padding: 0 13px;
color: #979797;
font-size: 13px;
font-weight: 650;
}
.nav-link.active {
border-color: #3b3b3b;
color: var(--text-color);
background: var(--accent-soft);
}
.nav-link::before {
content: '—';
width: 16px;
color: currentColor;
}
.panel-grid { gap: 14px; margin-bottom: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); } .status-card,
.settings-health-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .panel,
.panel, .status-card, .job-card, .message-card { padding: 18px; } .stat-panel,
.panel { margin-bottom: 14px; } .job-card,
.stat-panel { min-height: 128px; padding: 17px 18px; } .message-card,
.stat-value { margin-top: 20px; font-size: 30px; font-weight: 650; letter-spacing: -.04em; } .settings-dialog {
.stat-compact { font-size: 19px; } border-color: var(--line);
.panel-header, .dialog-header, .job-head { align-items: center; gap: 16px; } border-radius: var(--radius);
.panel-header h2, .settings-hero h2 { font-size: 16px; font-weight: 650; letter-spacing: -.02em; } background: var(--panel);
.panel-header .muted { margin-top: 4px; font-size: 12px; } box-shadow: none;
}
.status-card {
padding: 14px 10px 4px;
background: transparent;
border: 0;
border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.status-card + .status-card {
margin-top: 12px;
}
.status-card .button {
width: auto;
justify-content: flex-start;
padding: 0 13px;
}
.status-badge {
padding: 0;
border: 0;
border-radius: 0;
color: var(--text-color);
background: transparent;
font-size: 12px;
font-weight: 700;
}
.button { min-height: 36px; padding: 7px 12px; border: 1px solid var(--line); color: #d4d4d4; font-size: 12px; font-weight: 650; } .content {
.button.primary { border-color: #d9d9d9; color: #111; background: #f1f1f1; } max-width: none;
.button.primary:hover { border-color: #fff; background: #fff; color: #080808; } padding: 24px 28px 40px;
.button.danger { color: #c5c5c5; } }
.button.button-small { min-height: 32px; padding: 5px 9px; } .content::before {
input { min-height: 36px; padding: 8px 11px; border: 1px solid var(--line); color: var(--text-color); background: #0d0d0d; font-size: 12px; } content: '';
input:focus { border-color: #777; } display: block;
height: 43px;
margin: -24px -28px 24px;
border-bottom: 1px solid var(--line);
}
.content-tabs,
.account-tabs {
gap: 0;
margin-bottom: 18px;
padding-bottom: 0;
border-bottom: 0;
}
.content-tab,
.account-tab {
min-height: 38px;
padding: 8px 14px;
border: 1px solid var(--line);
border-radius: 0;
color: #aaa;
font-size: 13px;
}
.content-tab:first-child,
.account-tab:first-child {
border-radius: 6px 0 0 6px;
}
.content-tab + .content-tab,
.account-tab + .account-tab {
margin-left: -1px;
}
.content-tab:last-child,
.account-tab:last-child {
border-radius: 0 6px 6px 0;
}
.content-tab.active,
.account-tab.active {
position: relative;
z-index: 1;
border-color: #535353;
color: var(--text-color);
background: var(--accent-soft);
}
th, td { padding: 12px 10px; border-bottom-color: var(--line); font-size: 12px; } .panel-grid {
th { color: #888; font-size: 10px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; } gap: 14px;
tbody tr:hover { background: rgba(255,255,255,.035); } margin-bottom: 14px;
.job-card { border-radius: 6px; } grid-template-columns: repeat(4, minmax(0, 1fr));
.job-status { color: #aaa; font-size: 10px; } }
.job-logs, .log-viewer { border-color: var(--line); border-radius: 6px; background: #0b0b0b; font-family: var(--font-mono); font-size: 12px; } .settings-health-grid {
.log-line { border-bottom-color: #202020; } grid-template-columns: repeat(4, minmax(0, 1fr));
.log-line:hover { background: rgba(255,255,255,.04); } }
.panel,
.status-card,
.job-card,
.message-card {
padding: 18px;
}
.panel {
margin-bottom: 14px;
}
.stat-panel {
min-height: 128px;
padding: 17px 18px;
}
.stat-value {
margin-top: 20px;
font-size: 30px;
font-weight: 650;
letter-spacing: -0.04em;
}
.stat-compact {
font-size: 19px;
}
.panel-header,
.dialog-header,
.job-head {
align-items: center;
gap: 16px;
}
.panel-header h2,
.settings-hero h2 {
font-size: 16px;
font-weight: 650;
letter-spacing: -0.02em;
}
.panel-header .muted {
margin-top: 4px;
font-size: 12px;
}
.switch { width: 42px; min-width: 42px; height: 22px; } .button {
.switch-slider { border-color: #3a3a3a; background: #181818; } min-height: 36px;
.switch-slider::before { top: 3px; left: 3px; width: 14px; height: 14px; background: #8d8d8d; } padding: 7px 12px;
.switch input:checked + .switch-slider { border-color: #858585; background: #f1f1f1; } border: 1px solid var(--line);
.switch input:checked + .switch-slider::before { transform: translateX(20px); background: #111; } color: #d4d4d4;
.checkbox-row, .settings-account-button, .account-list-item, .add-account-form, .import-account-row, .qr-wrap { border-color: var(--line); border-radius: 6px; background: #111; } font-size: 12px;
.settings-account-button.active { border-color: #535353; background: var(--accent-soft); } font-weight: 650;
}
.button.primary {
border-color: #d9d9d9;
color: #111;
background: #f1f1f1;
}
.button.primary:hover {
border-color: #fff;
background: #fff;
color: #080808;
}
.button.danger {
color: #c5c5c5;
}
.button.button-small {
min-height: 32px;
padding: 5px 9px;
}
input {
min-height: 36px;
padding: 8px 11px;
border: 1px solid var(--line);
color: var(--text-color);
background: #0d0d0d;
font-size: 12px;
}
input:focus {
border-color: #777;
}
.settings-hero { border-top: 0; } th,
.settings-dialog { border-color: #3b3b3b; } td {
.dialog-shell { padding: 20px; } padding: 12px 10px;
.settings-section { border-top-color: var(--line); } border-bottom-color: var(--line);
.toast { border-color: #4a4a4a; border-radius: 6px; background: #151515; } font-size: 12px;
}
th {
color: #888;
font-size: 10px;
font-weight: 650;
letter-spacing: 0.06em;
text-transform: uppercase;
}
tbody tr:hover {
background: rgba(255, 255, 255, 0.035);
}
.job-card {
border-radius: 6px;
}
.job-status {
color: #aaa;
font-size: 10px;
}
.job-logs,
.log-viewer {
border-color: var(--line);
border-radius: 6px;
background: #0b0b0b;
font-family: var(--font-mono);
font-size: 12px;
}
.log-line {
border-bottom-color: #202020;
}
.log-line:hover {
background: rgba(255, 255, 255, 0.04);
}
.switch {
width: 42px;
min-width: 42px;
height: 22px;
}
.switch-slider {
border-color: #3a3a3a;
background: #181818;
}
.switch-slider::before {
top: 3px;
left: 3px;
width: 14px;
height: 14px;
background: #8d8d8d;
}
.switch input:checked + .switch-slider {
border-color: #858585;
background: #f1f1f1;
}
.switch input:checked + .switch-slider::before {
transform: translateX(20px);
background: #111;
}
.checkbox-row,
.settings-account-button,
.account-list-item,
.add-account-form,
.import-account-row,
.qr-wrap {
border-color: var(--line);
border-radius: 6px;
background: #111;
}
.settings-account-button.active {
border-color: #535353;
background: var(--accent-soft);
}
.settings-hero {
border-top: 0;
}
.settings-dialog {
border-color: #3b3b3b;
}
.dialog-shell {
padding: 20px;
}
.settings-section {
border-top-color: var(--line);
}
.toast {
border-color: #4a4a4a;
border-radius: 6px;
background: #151515;
}
@media (max-width: 900px) { @media (max-width: 900px) {
.panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .panel-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.app-shell { grid-template-columns: 1fr; } .app-shell {
.sidebar { position: static; height: auto; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); } grid-template-columns: 1fr;
.brand-block { min-height: 46px; padding-bottom: 5px; } }
.nav-links { display: flex; overflow-x: auto; margin: 8px 0 0; } .sidebar {
.nav-link { min-height: 34px; white-space: nowrap; } position: static;
.status-card { display: none; } height: auto;
.content { padding: 16px; } padding: 12px;
.content::before { height: 0; margin: -16px -16px 16px; } border-right: 0;
border-bottom: 1px solid var(--line);
}
.brand-block {
min-height: 46px;
padding-bottom: 5px;
}
.nav-links {
display: flex;
overflow-x: auto;
margin: 8px 0 0;
}
.nav-link {
min-height: 34px;
white-space: nowrap;
}
.status-card {
display: none;
}
.content {
padding: 16px;
}
.content::before {
height: 0;
margin: -16px -16px 16px;
}
} }
@media (max-width: 560px) { @media (max-width: 560px) {
.panel-grid, .settings-health-grid { grid-template-columns: 1fr; } .panel-grid,
.content-tabs, .account-tabs { overflow-x: auto; flex-wrap: nowrap; } .settings-health-grid {
.content-tab, .account-tab { white-space: nowrap; } grid-template-columns: 1fr;
}
.content-tabs,
.account-tabs {
overflow-x: auto;
flex-wrap: nowrap;
}
.content-tab,
.account-tab {
white-space: nowrap;
}
} }