2191 lines
34 KiB
CSS
2191 lines
34 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--bg-color: #000000;
|
|
--panel: #0b0b0b;
|
|
--panel-solid: #101010;
|
|
--panel-alt: #050505;
|
|
--text-color: #f3f5f8;
|
|
--accent: #2f57b8;
|
|
--accent-hover: #3b63c6;
|
|
--accent-soft: #0d1730;
|
|
--accent-line: #24428d;
|
|
--accent-2: #6f95eb;
|
|
--bubble-own: #0f1c3f;
|
|
--bubble-other: #111111;
|
|
--dim: #9ea7b7;
|
|
--line: #1f1f1f;
|
|
--danger: #ff7373;
|
|
--ok: #65e6a4;
|
|
--warn: #f6c969;
|
|
--info: #8ec7ff;
|
|
--radius: 22px;
|
|
--shadow: none;
|
|
--font-ui: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
|
|
--font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg-color);
|
|
color: var(--text-color);
|
|
font-family: var(--font-ui);
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
border-bottom: 1px solid var(--dim);
|
|
}
|
|
|
|
a:hover,
|
|
button:hover {
|
|
border-color: #2b2b2b;
|
|
background: #111111;
|
|
color: var(--text-color);
|
|
}
|
|
|
|
code,
|
|
pre,
|
|
input,
|
|
button {
|
|
font: inherit;
|
|
}
|
|
|
|
.app-shell {
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: 360px minmax(0, 1fr);
|
|
}
|
|
|
|
.sidebar {
|
|
background: var(--panel-alt);
|
|
border-right: 1px solid var(--line);
|
|
padding: 30px 24px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.content {
|
|
overflow-y: auto;
|
|
padding: 32px;
|
|
max-width: 1440px;
|
|
width: 100%;
|
|
}
|
|
|
|
.brand-block {
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.brand-block h1,
|
|
.dialog-header h2 {
|
|
margin: 0;
|
|
color: var(--accent);
|
|
font-size: 1.65rem;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.brand-block .muted {
|
|
margin: 22px 0 0;
|
|
max-width: 26ch;
|
|
font-size: 1.03rem;
|
|
line-height: 1.62;
|
|
}
|
|
|
|
.eyebrow,
|
|
.section-title {
|
|
color: var(--dim);
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
}
|
|
|
|
.muted {
|
|
color: var(--dim);
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.nav-links,
|
|
.jobs-list,
|
|
.continuous-form {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
.nav-links {
|
|
margin: 34px 0;
|
|
}
|
|
|
|
.nav-link,
|
|
.button,
|
|
input,
|
|
.content-tab,
|
|
.viewer-channel-item {
|
|
border: 1px solid var(--line);
|
|
background: #101010;
|
|
color: var(--text-color);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
a.nav-link,
|
|
a.button,
|
|
a.content-tab {
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.nav-link,
|
|
.button,
|
|
.content-tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 42px;
|
|
padding: 10px 18px;
|
|
cursor: pointer;
|
|
transition:
|
|
background-color 0.18s ease,
|
|
border-color 0.18s ease,
|
|
box-shadow 0.18s ease,
|
|
transform 0.18s ease;
|
|
}
|
|
|
|
.nav-link {
|
|
min-height: 52px;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.nav-link.active,
|
|
.button.primary,
|
|
.content-tab.active {
|
|
border-color: var(--accent-line);
|
|
color: #ffffff;
|
|
background: var(--accent);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.nav-link.active:hover,
|
|
.button.primary:hover,
|
|
.content-tab.active:hover {
|
|
background: var(--accent-hover);
|
|
color: #ffffff;
|
|
}
|
|
|
|
.button.danger {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.button.button-small {
|
|
min-height: 34px;
|
|
padding: 6px 10px;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.status-card,
|
|
.panel,
|
|
.stat-panel,
|
|
.job-card,
|
|
.message-card,
|
|
.settings-dialog {
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.status-card,
|
|
.panel,
|
|
.job-card,
|
|
.message-card {
|
|
padding: 22px;
|
|
}
|
|
|
|
.status-card {
|
|
margin-top: 20px;
|
|
display: grid;
|
|
gap: 12px;
|
|
align-content: start;
|
|
}
|
|
|
|
.status-card .button {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.status-card .section-title,
|
|
.status-card p,
|
|
.status-card .status-badge {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.status-badge {
|
|
display: inline-flex;
|
|
padding: 7px 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
color: var(--ok);
|
|
background: #0d1410;
|
|
}
|
|
|
|
.content-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.tab-panel {
|
|
display: none;
|
|
}
|
|
|
|
.tab-panel.active {
|
|
display: block;
|
|
}
|
|
|
|
.panel-grid {
|
|
display: grid;
|
|
gap: 18px;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.settings-health-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.panel {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.panel-header,
|
|
.dialog-header,
|
|
.job-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.stat-value {
|
|
margin-top: 10px;
|
|
font-size: 2.25rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.stat-compact {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.inline-form {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.stack-form {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.settings-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
|
|
gap: 18px;
|
|
align-items: start;
|
|
}
|
|
|
|
.settings-layout .panel:last-child {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.settings-page-shell .content {
|
|
max-width: 1280px;
|
|
}
|
|
|
|
.settings-hero {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.settings-account-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.settings-account-button {
|
|
width: 100%;
|
|
min-height: 48px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
text-align: left;
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
background: #101010;
|
|
color: var(--text-color);
|
|
padding: 12px 14px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings-account-button.active {
|
|
border-color: var(--accent-line);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.settings-account-name {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.settings-account-status {
|
|
color: var(--warn);
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.settings-account-status.ok {
|
|
color: var(--ok);
|
|
}
|
|
|
|
.settings-meta-list {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 16px;
|
|
color: var(--dim);
|
|
}
|
|
|
|
input {
|
|
min-width: 160px;
|
|
padding: 11px 14px;
|
|
outline: 0;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: var(--accent);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.switch {
|
|
position: relative;
|
|
display: inline-flex;
|
|
width: 48px;
|
|
min-width: 48px;
|
|
height: 26px;
|
|
}
|
|
|
|
.switch input {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
min-width: 0;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.switch-slider {
|
|
position: absolute;
|
|
inset: 0;
|
|
border: 1px solid var(--line);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.switch-slider::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: var(--dim);
|
|
border-radius: 50%;
|
|
transition:
|
|
transform 0.16s ease,
|
|
background-color 0.16s ease;
|
|
}
|
|
|
|
.switch input:checked + .switch-slider {
|
|
border-color: var(--accent);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.switch input:checked + .switch-slider::before {
|
|
transform: translateX(22px);
|
|
background: var(--accent);
|
|
}
|
|
|
|
.table-wrap {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 10px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: #0d0d0d;
|
|
}
|
|
|
|
.action-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.job-status {
|
|
color: var(--dim);
|
|
font-size: 0.82rem;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.job-logs {
|
|
max-height: 220px;
|
|
margin: 10px 0 0;
|
|
overflow: auto;
|
|
white-space: pre-wrap;
|
|
color: var(--dim);
|
|
}
|
|
|
|
.continuous-meta {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin: 16px 0;
|
|
color: var(--dim);
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.continuous-meta span {
|
|
color: var(--text-color);
|
|
}
|
|
|
|
.checkbox-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.checkbox-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-height: 38px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
background: #101010;
|
|
}
|
|
|
|
.checkbox-row input {
|
|
min-width: auto;
|
|
}
|
|
|
|
.checkbox-row.disabled {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.log-viewer {
|
|
display: grid;
|
|
max-height: 420px;
|
|
overflow: auto;
|
|
border: 1px solid var(--line);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.log-line {
|
|
display: grid;
|
|
grid-template-columns: 86px 112px 74px minmax(0, 1fr);
|
|
gap: 10px;
|
|
padding: 5px 9px;
|
|
border-bottom: 1px solid #151515;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.log-line:hover {
|
|
background: rgba(53, 95, 199, 0.08);
|
|
}
|
|
|
|
.log-time,
|
|
.log-age,
|
|
.log-level {
|
|
color: var(--dim);
|
|
}
|
|
|
|
.log-message {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.log-line.info .log-level,
|
|
.log-line.info .log-message {
|
|
color: var(--info);
|
|
}
|
|
|
|
.log-line.success .log-level,
|
|
.log-line.success .log-message {
|
|
color: var(--ok);
|
|
}
|
|
|
|
.log-line.warn .log-level,
|
|
.log-line.warn .log-message {
|
|
color: var(--warn);
|
|
}
|
|
|
|
.log-line.error .log-level,
|
|
.log-line.error .log-message {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.settings-dialog {
|
|
width: min(720px, calc(100vw - 32px));
|
|
color: var(--text-color);
|
|
padding: 0;
|
|
}
|
|
|
|
.settings-dialog::backdrop {
|
|
background: rgba(0, 0, 0, 0.82);
|
|
}
|
|
|
|
.dialog-shell {
|
|
padding: 24px;
|
|
}
|
|
|
|
.settings-section {
|
|
margin-top: 18px;
|
|
padding-top: 16px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.qr-wrap {
|
|
margin-top: 14px;
|
|
padding: 12px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.qr-wrap img {
|
|
display: block;
|
|
width: 100%;
|
|
max-width: 240px;
|
|
aspect-ratio: 1;
|
|
margin: 0 auto 10px;
|
|
background: white;
|
|
}
|
|
|
|
.hidden {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ---------- Viewer layout: sidebar + chat ---------- */
|
|
|
|
.viewer-shell {
|
|
display: grid;
|
|
grid-template-columns: 360px minmax(0, 1fr);
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.viewer-sidebar {
|
|
background: var(--panel-alt);
|
|
border-right: 1px solid var(--line);
|
|
padding: 18px 14px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.sidebar-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.viewer-sidebar-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
padding: 10px 6px 8px;
|
|
}
|
|
|
|
.viewer-sidebar-head h1 {
|
|
margin: 0;
|
|
color: var(--accent);
|
|
font-size: 1.55rem;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.viewer-channel-list {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
|
|
.viewer-channel-item {
|
|
display: grid;
|
|
grid-template-columns: 52px minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
min-height: 68px;
|
|
padding: 10px 12px;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: var(--text-color);
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.viewer-channel-item.active {
|
|
border-color: var(--accent-line);
|
|
background: var(--accent-soft);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.viewer-channel-item:hover {
|
|
background: #0f0f0f;
|
|
}
|
|
|
|
.viewer-channel-avatar {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
background: #274894;
|
|
color: white;
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.viewer-channel-copy {
|
|
display: grid;
|
|
gap: 3px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.viewer-channel-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.viewer-channel-name {
|
|
color: var(--text-color);
|
|
font-weight: 700;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.viewer-channel-time,
|
|
.viewer-channel-preview {
|
|
color: var(--dim);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.viewer-channel-preview {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.viewer-channel-count {
|
|
min-width: 22px;
|
|
padding: 2px 7px;
|
|
border-radius: 999px;
|
|
background: #111a32;
|
|
color: var(--accent-2);
|
|
font-size: 0.76rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ---------- Main panel ---------- */
|
|
|
|
.viewer-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
background: var(--bg-color);
|
|
}
|
|
|
|
.viewer-header {
|
|
flex-shrink: 0;
|
|
padding: 18px 26px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel-alt);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.viewer-header h2 {
|
|
margin: 0;
|
|
color: var(--accent);
|
|
font-size: 1.55rem;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.viewer-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.viewer-tools input[type='search'] {
|
|
min-width: min(260px, 40vw);
|
|
}
|
|
|
|
.viewer-auto-refresh {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-height: 34px;
|
|
color: var(--dim);
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.viewer-auto-refresh input {
|
|
min-width: auto;
|
|
}
|
|
|
|
.messages-list {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 22px 38px 26px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.scroll-sentinel {
|
|
flex-shrink: 0;
|
|
height: 1px;
|
|
width: 100%;
|
|
}
|
|
|
|
/* ---------- Date separator ---------- */
|
|
|
|
.chat-date-sep {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
margin: 12px 0;
|
|
font-size: 0.78rem;
|
|
color: #d6e6e8;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.chat-date-sep::before,
|
|
.chat-date-sep::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 1px;
|
|
background: #242424;
|
|
}
|
|
|
|
.chat-date-sep {
|
|
align-self: center;
|
|
padding: 5px 12px;
|
|
border-radius: 999px;
|
|
background: #111111;
|
|
}
|
|
|
|
.chat-date-sep:empty {
|
|
display: none;
|
|
}
|
|
|
|
/* ---------- Bubble wrap ---------- */
|
|
|
|
.chat-bubble-wrap {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.chat-bubble-wrap--own {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
/* ---------- Chat bubble ---------- */
|
|
|
|
.chat-bubble {
|
|
max-width: min(680px, 74%);
|
|
padding: 9px 13px 8px;
|
|
background: var(--bubble-other);
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px 18px 18px 6px;
|
|
margin-bottom: 7px;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
position: relative;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.chat-bubble::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 8px;
|
|
border: 6px solid transparent;
|
|
}
|
|
|
|
.chat-bubble-wrap:not(.chat-bubble-wrap--own) .chat-bubble::before {
|
|
left: -12px;
|
|
border-right-color: var(--bubble-other);
|
|
border-left: 0;
|
|
}
|
|
|
|
.chat-bubble-wrap--own .chat-bubble::before {
|
|
right: -12px;
|
|
border-left-color: var(--bubble-own);
|
|
border-right: 0;
|
|
}
|
|
|
|
.chat-bubble-wrap--own .chat-bubble {
|
|
background: var(--bubble-own);
|
|
border-color: var(--accent-line);
|
|
border-radius: 18px 18px 6px 18px;
|
|
}
|
|
|
|
.chat-bubble--highlight {
|
|
animation: chat-highlight 0.5s ease-in-out 3;
|
|
}
|
|
|
|
@keyframes chat-highlight {
|
|
0%,
|
|
100% {
|
|
box-shadow: 0 0 0 0 rgba(139, 180, 248, 0);
|
|
}
|
|
50% {
|
|
box-shadow: 0 0 0 3px rgba(139, 180, 248, 0.4);
|
|
}
|
|
}
|
|
|
|
/* ---------- Sender ---------- */
|
|
|
|
.chat-sender {
|
|
font-size: 0.82rem;
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.chat-sender:empty {
|
|
display: none;
|
|
}
|
|
|
|
/* ---------- Reply preview ---------- */
|
|
|
|
.chat-reply {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 4px;
|
|
padding: 6px 8px;
|
|
cursor: pointer;
|
|
border-radius: 10px;
|
|
background: rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.chat-reply.hidden {
|
|
display: none;
|
|
}
|
|
|
|
.chat-reply-border {
|
|
flex-shrink: 0;
|
|
width: 2px;
|
|
background: var(--accent);
|
|
border-radius: 999px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.chat-reply-body {
|
|
min-width: 0;
|
|
}
|
|
|
|
.chat-reply-author {
|
|
font-size: 0.78rem;
|
|
color: var(--info);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.chat-reply-text {
|
|
font-size: 0.82rem;
|
|
color: var(--dim);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* ---------- Message text ---------- */
|
|
|
|
.chat-text {
|
|
white-space: pre-wrap;
|
|
line-height: 1.45;
|
|
font-size: 0.96rem;
|
|
}
|
|
|
|
.chat-text:empty {
|
|
display: none;
|
|
}
|
|
|
|
/* ---------- Media ---------- */
|
|
|
|
.chat-media {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.chat-media:empty {
|
|
display: none;
|
|
}
|
|
|
|
.chat-media img,
|
|
.chat-media video {
|
|
display: block;
|
|
max-width: 100%;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 14px;
|
|
}
|
|
|
|
/* ---------- Footer ---------- */
|
|
|
|
.chat-footer {
|
|
margin-top: 4px;
|
|
font-size: 0.72rem;
|
|
color: var(--dim);
|
|
text-align: right;
|
|
}
|
|
|
|
.chat-footer:empty {
|
|
display: none;
|
|
}
|
|
|
|
.empty-state,
|
|
.viewer-empty-state {
|
|
padding: 16px;
|
|
color: var(--dim);
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
background: #0b0b0b;
|
|
}
|
|
|
|
.viewer-empty-state {
|
|
align-self: center;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.toast-root {
|
|
position: fixed;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 1000;
|
|
display: grid;
|
|
gap: 8px;
|
|
width: min(360px, calc(100vw - 36px));
|
|
}
|
|
|
|
.toast {
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 14px;
|
|
background: var(--panel-solid);
|
|
color: var(--text-color);
|
|
transition:
|
|
opacity 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.toast-success {
|
|
border-color: var(--accent-line);
|
|
}
|
|
|
|
.toast-error {
|
|
border-color: #7a2a2a;
|
|
color: #ffd4d4;
|
|
}
|
|
|
|
.toast-hide {
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
}
|
|
|
|
.api-docs {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.api-path {
|
|
margin: 0 0 12px;
|
|
color: var(--accent);
|
|
font-size: 1rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.api-methods {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.api-method {
|
|
border-top: 1px solid var(--line);
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.api-method:first-child {
|
|
border-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.api-method-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.api-verb {
|
|
min-width: 58px;
|
|
padding: 2px 6px;
|
|
border: 1px solid var(--line);
|
|
color: var(--ok);
|
|
text-align: center;
|
|
}
|
|
|
|
.api-summary {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.api-body {
|
|
max-height: none;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.app-shell,
|
|
.viewer-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.app-shell {
|
|
grid-template-rows: auto 1fr;
|
|
}
|
|
|
|
.sidebar,
|
|
.viewer-sidebar {
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.panel-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ── Account Tabs ─────────────────────────────────────── */
|
|
|
|
.account-tabs {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
margin-bottom: 18px;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.account-tab {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 40px;
|
|
padding: 8px 15px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: #101010;
|
|
color: var(--text-color);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: 0.88rem;
|
|
}
|
|
|
|
.account-tab.active {
|
|
border-color: var(--accent-line);
|
|
color: #ffffff;
|
|
background: var(--accent);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.account-tab .account-tab-status {
|
|
font-size: 0.72rem;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.account-tab .account-tab-status.ok {
|
|
color: var(--ok);
|
|
}
|
|
|
|
.account-tab .account-tab-status.errored {
|
|
color: var(--danger);
|
|
}
|
|
|
|
/* ── Account Panels ──────────────────────────────────── */
|
|
|
|
.account-panel {
|
|
display: block;
|
|
}
|
|
|
|
.account-panel.hidden {
|
|
display: none;
|
|
}
|
|
|
|
/* ── Settings: Account List ──────────────────────────── */
|
|
|
|
.accounts-list {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.account-list-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 12px 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
background: #101010;
|
|
}
|
|
|
|
.account-list-info {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.account-list-label {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.account-list-id {
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.account-list-auth-status {
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.account-list-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.add-account-form {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-top: 10px;
|
|
padding: 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px;
|
|
background: #101010;
|
|
}
|
|
|
|
.import-account-row {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
padding: 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 18px;
|
|
background: #101010;
|
|
}
|
|
|
|
/* ── Active Account Card ─────────────────────────────── */
|
|
|
|
#active-account-name {
|
|
word-break: break-all;
|
|
}
|
|
|
|
#active-account-status {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* ---------- Mobile: tablet & phone ---------- */
|
|
|
|
@media (max-width: 768px) {
|
|
.sidebar-toggle {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.viewer-sidebar {
|
|
position: fixed;
|
|
left: -360px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 340px;
|
|
z-index: 100;
|
|
transition: left 0.2s ease;
|
|
border-right: 1px solid var(--line);
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.viewer-sidebar.open {
|
|
left: 0;
|
|
}
|
|
|
|
.viewer-sidebar.open::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: -1;
|
|
}
|
|
|
|
.viewer-header {
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.messages-list {
|
|
padding: 8px 12px 16px;
|
|
}
|
|
|
|
.chat-bubble {
|
|
max-width: 92%;
|
|
}
|
|
|
|
.chat-bubble::before {
|
|
display: none;
|
|
}
|
|
|
|
.content {
|
|
padding: 18px;
|
|
}
|
|
|
|
.viewer-sidebar-head h1 {
|
|
font-size: 1.2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.content {
|
|
padding: 12px;
|
|
}
|
|
|
|
.viewer-main {
|
|
padding: 0;
|
|
}
|
|
|
|
.viewer-header {
|
|
padding: 10px 10px;
|
|
}
|
|
|
|
.viewer-header h2 {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.messages-list {
|
|
padding: 6px 8px 12px;
|
|
}
|
|
|
|
.chat-bubble {
|
|
max-width: 96%;
|
|
padding: 6px 9px;
|
|
font-size: 0.92rem;
|
|
}
|
|
|
|
.chat-footer {
|
|
font-size: 0.65rem;
|
|
}
|
|
|
|
.chat-sender {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.chat-reply-author {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.chat-reply-text {
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.sidebar {
|
|
padding: 16px;
|
|
}
|
|
|
|
.viewer-sidebar {
|
|
width: 300px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.panel-header,
|
|
.viewer-header,
|
|
.dialog-header {
|
|
display: grid;
|
|
}
|
|
|
|
.inline-form,
|
|
.inline-form input,
|
|
.inline-form .button {
|
|
width: 100%;
|
|
}
|
|
|
|
.log-line {
|
|
grid-template-columns: 76px 1fr;
|
|
}
|
|
|
|
.log-age,
|
|
.log-level {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* ── GPU Radar visual system ────────────────────────────
|
|
A restrained, data-first monochrome treatment inspired by gpu.chernuha.space. */
|
|
:root {
|
|
--bg-color: #080808;
|
|
--panel: #101010;
|
|
--panel-solid: #151515;
|
|
--panel-alt: #0b0b0b;
|
|
--text-color: #f5f5f5;
|
|
--dim: #9a9a9a;
|
|
--line: #2b2b2b;
|
|
--accent: #f1f1f1;
|
|
--accent-hover: #ffffff;
|
|
--accent-soft: rgba(255, 255, 255, 0.08);
|
|
--accent-line: #3b3b3b;
|
|
--accent-2: #d8d8d8;
|
|
--bubble-own: #181818;
|
|
--bubble-other: #101010;
|
|
--danger: #d0d0d0;
|
|
--ok: #e0e0e0;
|
|
--warn: #b8b8b8;
|
|
--info: #d7d7d7;
|
|
--radius: 8px;
|
|
--shadow: none;
|
|
--font-ui: Inter, 'SF Pro Display', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-size: 14px;
|
|
-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;
|
|
}
|
|
.sidebar {
|
|
position: sticky;
|
|
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::before {
|
|
content: '◈';
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 9px;
|
|
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;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
.nav-link.active {
|
|
border-color: #3b3b3b;
|
|
color: var(--text-color);
|
|
background: var(--accent-soft);
|
|
}
|
|
.nav-link::before {
|
|
display: none;
|
|
}
|
|
.nav-icon {
|
|
display: inline-grid;
|
|
width: 18px;
|
|
place-items: center;
|
|
color: #c6c6c6;
|
|
font-size: 17px;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
}
|
|
|
|
.status-card,
|
|
.panel,
|
|
.stat-panel,
|
|
.job-card,
|
|
.message-card,
|
|
.settings-dialog {
|
|
border-color: var(--line);
|
|
border-radius: var(--radius);
|
|
background: var(--panel);
|
|
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;
|
|
}
|
|
|
|
.content {
|
|
max-width: none;
|
|
padding: 0 28px 40px;
|
|
}
|
|
.content::before {
|
|
display: none;
|
|
}
|
|
.dashboard-topbar {
|
|
display: flex;
|
|
min-height: 58px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
margin: 0 -28px 20px;
|
|
padding: 0 28px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
.dashboard-title,
|
|
.runtime-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: #efefef;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
.menu-icon {
|
|
color: #dedede;
|
|
font-size: 20px;
|
|
font-weight: 400;
|
|
}
|
|
.runtime-status {
|
|
color: #b8b8b8;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
.runtime-status i {
|
|
width: 1px;
|
|
height: 17px;
|
|
background: #363636;
|
|
}
|
|
.runtime-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #e2e2e2;
|
|
}
|
|
.runtime-clock::before {
|
|
content: '◷';
|
|
color: #e1e1e1;
|
|
font-size: 17px;
|
|
}
|
|
.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);
|
|
}
|
|
|
|
.panel-grid {
|
|
gap: 14px;
|
|
margin-bottom: 14px;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
.settings-health-grid {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
.panel,
|
|
.status-card,
|
|
.job-card,
|
|
.message-card {
|
|
padding: 18px;
|
|
}
|
|
.panel {
|
|
margin-bottom: 14px;
|
|
}
|
|
.stat-panel {
|
|
position: relative;
|
|
min-height: 187px;
|
|
padding: 18px;
|
|
}
|
|
.stat-panel::after {
|
|
content: '';
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 65px;
|
|
left: 18px;
|
|
height: 1px;
|
|
background: #343434;
|
|
}
|
|
.stat-panel::before {
|
|
position: absolute;
|
|
top: 17px;
|
|
right: 18px;
|
|
display: grid;
|
|
width: 24px;
|
|
height: 24px;
|
|
place-items: center;
|
|
border: 1px solid #9c9c9c;
|
|
border-radius: 50%;
|
|
color: #e4e4e4;
|
|
font-size: 15px;
|
|
font-weight: 400;
|
|
}
|
|
.stat-panel:nth-child(1)::before {
|
|
content: '⌘';
|
|
}
|
|
.stat-panel:nth-child(2)::before {
|
|
content: '⇩';
|
|
}
|
|
.stat-panel:nth-child(3)::before {
|
|
content: '⇄';
|
|
}
|
|
.stat-panel:nth-child(4)::before {
|
|
content: '◇';
|
|
}
|
|
.stat-value {
|
|
margin-top: 24px;
|
|
font-size: 28px;
|
|
font-weight: 650;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
.stat-compact {
|
|
font-size: 19px;
|
|
}
|
|
.stat-panel .account-health-detail {
|
|
position: absolute;
|
|
right: 18px;
|
|
bottom: 17px;
|
|
left: 18px;
|
|
}
|
|
.stat-panel .section-title {
|
|
max-width: calc(100% - 34px);
|
|
}
|
|
.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;
|
|
}
|
|
|
|
.button {
|
|
min-height: 36px;
|
|
padding: 7px 12px;
|
|
border: 1px solid var(--line);
|
|
color: #d4d4d4;
|
|
font-size: 12px;
|
|
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;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 12px 10px;
|
|
border-bottom-color: var(--line);
|
|
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) {
|
|
.panel-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 768px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.sidebar {
|
|
position: static;
|
|
height: auto;
|
|
padding: 12px;
|
|
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) {
|
|
.panel-grid,
|
|
.settings-health-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.content-tabs,
|
|
.account-tabs {
|
|
overflow-x: auto;
|
|
flex-wrap: nowrap;
|
|
}
|
|
.content-tab,
|
|
.account-tab {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
/* Dashboard reference fidelity pass */
|
|
:root {
|
|
--sidebar-width: 244px;
|
|
}
|
|
|
|
.app-shell {
|
|
grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
|
|
}
|
|
|
|
.sidebar {
|
|
width: var(--sidebar-width);
|
|
padding: 18px 12px;
|
|
}
|
|
|
|
.brand-block {
|
|
min-height: 62px;
|
|
padding: 5px 9px 14px;
|
|
}
|
|
|
|
.brand-block::before {
|
|
display: none;
|
|
}
|
|
|
|
.brand-icon {
|
|
position: absolute;
|
|
top: 9px;
|
|
left: 9px;
|
|
width: 27px;
|
|
height: 27px;
|
|
fill: none;
|
|
stroke: #f1f1f1;
|
|
stroke-width: 1.65;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.brand-block h1 {
|
|
margin-left: 37px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.brand-block .eyebrow {
|
|
margin-left: 37px;
|
|
color: #f5f5f5;
|
|
font-size: 15px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.nav-links {
|
|
gap: 5px;
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.nav-link {
|
|
min-height: 45px;
|
|
gap: 12px;
|
|
padding: 0 13px;
|
|
color: #a1a1a1;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.nav-link.active {
|
|
border-color: transparent;
|
|
background: #202020;
|
|
}
|
|
|
|
a.nav-link {
|
|
border-bottom-color: transparent;
|
|
}
|
|
|
|
.nav-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
flex: 0 0 20px;
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1.7;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
|
|
.status-card:first-of-type {
|
|
margin-top: auto;
|
|
}
|
|
|
|
.status-card {
|
|
padding: 15px 10px 5px;
|
|
}
|
|
|
|
.content {
|
|
padding: 0 20px 28px;
|
|
}
|
|
|
|
.dashboard-topbar {
|
|
min-height: 58px;
|
|
margin: 0 -20px 20px;
|
|
padding: 0 28px;
|
|
}
|
|
|
|
.dashboard-title {
|
|
gap: 22px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.menu-icon {
|
|
font-size: 21px;
|
|
}
|
|
|
|
.runtime-status {
|
|
gap: 13px;
|
|
}
|
|
|
|
.account-tabs {
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.account-tab {
|
|
min-height: 36px;
|
|
padding: 7px 16px;
|
|
}
|
|
|
|
.content-tabs {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.content-tab {
|
|
min-height: 35px;
|
|
padding: 6px 13px;
|
|
}
|
|
|
|
.panel-grid {
|
|
gap: 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.panel,
|
|
.stat-panel {
|
|
border-color: #303030;
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.stat-panel {
|
|
min-height: 188px;
|
|
padding: 18px 18px 16px;
|
|
}
|
|
|
|
.stat-panel::after {
|
|
right: 16px;
|
|
bottom: 66px;
|
|
left: 16px;
|
|
background: #363636;
|
|
}
|
|
|
|
.stat-panel::before {
|
|
top: 16px;
|
|
right: 16px;
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
|
|
.section-title {
|
|
color: #ebebeb;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
text-transform: none;
|
|
}
|
|
|
|
.stat-value {
|
|
margin-top: 20px;
|
|
font-size: 27px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.stat-panel .account-health-detail {
|
|
color: #c7c7c7;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-header {
|
|
min-height: 52px;
|
|
padding: 0 18px;
|
|
border-bottom: 1px solid #343434;
|
|
}
|
|
|
|
.panel-header h2 {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.panel-header .muted {
|
|
display: none;
|
|
}
|
|
|
|
.inline-form {
|
|
gap: 8px;
|
|
}
|
|
|
|
.inline-form input {
|
|
width: 168px;
|
|
}
|
|
|
|
.table-wrap {
|
|
padding: 0 8px;
|
|
}
|
|
|
|
th,
|
|
td {
|
|
height: 38px;
|
|
padding: 9px 10px;
|
|
border-bottom-color: #303030;
|
|
}
|
|
|
|
th {
|
|
color: #e6e6e6;
|
|
font-size: 11px;
|
|
font-weight: 500;
|
|
letter-spacing: 0;
|
|
text-transform: none;
|
|
}
|
|
|
|
td {
|
|
color: #d0d0d0;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.action-row .button,
|
|
td .button,
|
|
.job-card .button {
|
|
min-height: 29px;
|
|
padding: 4px 9px;
|
|
border-radius: 5px;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.jobs-list {
|
|
padding: 12px 16px 16px;
|
|
}
|
|
|
|
.job-card {
|
|
padding: 14px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
width: auto;
|
|
}
|
|
|
|
.content {
|
|
padding: 0 16px 20px;
|
|
}
|
|
|
|
.dashboard-topbar {
|
|
margin: 0 -16px 16px;
|
|
padding: 0 16px;
|
|
}
|
|
}
|