mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-08 23:33:16 +08:00
Plugins/Skills install and edit via mcpServers JSON, with clearer row actions, soft reloads, and instant loading placeholders; also drop MCP market and harden related scheduler/logging/exec guards. Co-authored-by: Cursor <cursoragent@cursor.com>
1251 lines
32 KiB
CSS
1251 lines
32 KiB
CSS
* { box-sizing: border-box; }
|
|
html, body { height: 100%; }
|
|
|
|
html {
|
|
color-scheme: dark;
|
|
scrollbar-color: var(--ds-chat-scroll-thumb, #475569) var(--ds-chat-scroll-track, #0f172a);
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background: var(--ds-chat-scroll-track, #0f172a);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background: var(--ds-chat-scroll-thumb, #475569);
|
|
border: 2px solid var(--ds-chat-scroll-track, #0f172a);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background: var(--ds-chat-scroll-thumb-hover, #64748b);
|
|
}
|
|
|
|
*::-webkit-scrollbar-corner {
|
|
background: var(--ds-chat-scroll-track, #0f172a);
|
|
}
|
|
|
|
/* Local Outfit font (no external network dependency). */
|
|
@font-face {
|
|
font-family: "Outfit";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("/admin/assets/fonts/Outfit-latin-500-600.woff2") format("woff2");
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
@font-face {
|
|
font-family: "Outfit";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("/admin/assets/fonts/Outfit-latinext-500-600.woff2") format("woff2");
|
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
}
|
|
@font-face {
|
|
font-family: "Outfit";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("/admin/assets/fonts/Outfit-latin-500-600.woff2") format("woff2");
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
@font-face {
|
|
font-family: "Outfit";
|
|
font-style: normal;
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("/admin/assets/fonts/Outfit-latinext-500-600.woff2") format("woff2");
|
|
unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
|
color: var(--ds-text, #e2e8f0);
|
|
background: var(--ds-bg, #070b14);
|
|
}
|
|
|
|
.layout { display: flex; height: 100vh; }
|
|
.sidebar {
|
|
width: 260px;
|
|
background: var(--ds-sidebar, #0c1220);
|
|
color: var(--ds-text, #e2e8f0);
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-right: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
}
|
|
.brand { padding: 16px 16px 8px; }
|
|
.brand__logoWrap {
|
|
width: 100%;
|
|
max-width: 180px;
|
|
height: 44px;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
}
|
|
.brand__logo {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|
|
.brand__title {
|
|
font-family: "Outfit", "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
|
font-weight: 600;
|
|
font-size: 1.125rem;
|
|
letter-spacing: 0.02em;
|
|
color: var(--ds-text, #e2e8f0);
|
|
}
|
|
.brand__sub { font-size: 12px; color: var(--ds-text-muted, #94a3b8); margin-top: 4px; }
|
|
.nav { padding: 8px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
|
|
.nav__group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.nav__groupTitle {
|
|
font-size: 11px;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
padding: 10px 12px 4px;
|
|
font-weight: 600;
|
|
opacity: 0.9;
|
|
}
|
|
.nav__item {
|
|
text-decoration: none;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
padding: 9px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid transparent;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
.nav__item:hover {
|
|
background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.1));
|
|
color: var(--ds-text, #e2e8f0);
|
|
}
|
|
.nav__item--active {
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.22));
|
|
border-color: var(--ds-accent-border, rgba(59, 130, 246, 0.4));
|
|
color: var(--ds-text, #e2e8f0);
|
|
box-shadow: inset 3px 0 0 var(--ds-accent, #3b82f6);
|
|
}
|
|
.sidebar__footer {
|
|
margin-top: auto;
|
|
padding: 12px 16px;
|
|
border-top: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
}
|
|
.muted { font-size: 12px; color: var(--ds-text-muted, #94a3b8); }
|
|
|
|
.main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--ds-bg, #070b14);
|
|
min-width: 0;
|
|
}
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 48px;
|
|
min-height: 48px;
|
|
padding: 0 20px;
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
background: var(--ds-topbar-bg, rgba(6, 10, 18, 0.94));
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
.topbar__title {
|
|
color: var(--ds-text, #e2e8f0);
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.topbar .row { align-items: center; gap: 8px; }
|
|
.topbar__actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
.topbar__actions > #authUser {
|
|
margin-right: 4px;
|
|
max-width: 220px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
padding: 4px 10px;
|
|
border-radius: 999px;
|
|
background: rgba(148, 163, 184, 0.08);
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.16));
|
|
font-size: 12px;
|
|
}
|
|
.admin-theme-wrap {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-right: 4px;
|
|
padding-right: 10px;
|
|
border-right: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
}
|
|
.admin-theme-wrap > .muted {
|
|
white-space: nowrap;
|
|
}
|
|
/* Shared chrome size: buttons + theme select must match in the 48px topbar. */
|
|
.topbar .btn,
|
|
.topbar a.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 32px;
|
|
min-height: 32px;
|
|
max-height: 32px;
|
|
padding: 0 12px;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
border-radius: 7px;
|
|
box-sizing: border-box;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
flex: 0 0 auto;
|
|
transform: none;
|
|
}
|
|
.topbar .btn--primary {
|
|
box-shadow: none;
|
|
}
|
|
.topbar .btn--ghost {
|
|
background: transparent;
|
|
}
|
|
.topbar .input,
|
|
.topbar .input--compact,
|
|
.topbar select.input {
|
|
height: 32px;
|
|
min-height: 32px;
|
|
max-height: 32px;
|
|
padding: 0 28px 0 10px;
|
|
font-size: 12px;
|
|
line-height: 1;
|
|
border-radius: 7px;
|
|
box-sizing: border-box;
|
|
}
|
|
.u-theme-select {
|
|
min-width: 140px;
|
|
max-width: 200px;
|
|
width: auto;
|
|
}
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
background: rgba(148, 163, 184, 0.08);
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.25));
|
|
color: var(--ds-text, #e2e8f0);
|
|
border-radius: 8px;
|
|
padding: 10px 14px;
|
|
min-height: 40px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
line-height: 1.3;
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
.btn:hover { background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.16)); }
|
|
.btn:active { transform: translateY(0.5px); }
|
|
.btn--primary {
|
|
background: var(--ds-accent, #3b82f6);
|
|
border-color: var(--ds-accent, #3b82f6);
|
|
color: #f8fafc;
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
|
|
}
|
|
.btn--primary:hover {
|
|
background: var(--ds-accent-deep, #2563eb);
|
|
border-color: var(--ds-accent-deep, #2563eb);
|
|
}
|
|
.btn--danger {
|
|
background: rgba(239, 68, 68, 0.16);
|
|
border-color: rgba(239, 68, 68, 0.4);
|
|
color: #fecaca;
|
|
}
|
|
.btn--danger:hover {
|
|
background: rgba(239, 68, 68, 0.24);
|
|
border-color: rgba(239, 68, 68, 0.55);
|
|
}
|
|
.btn--ghost {
|
|
background: transparent;
|
|
border-color: var(--ds-border, rgba(148, 163, 184, 0.22));
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
}
|
|
.btn--ghost:hover {
|
|
color: var(--ds-text, #e2e8f0);
|
|
background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.1));
|
|
}
|
|
.content {
|
|
padding: 20px 22px 32px;
|
|
overflow: auto;
|
|
color: var(--ds-text, #e2e8f0);
|
|
background:
|
|
radial-gradient(1200px 480px at 12% -10%, rgba(37, 99, 235, 0.12), transparent 55%),
|
|
radial-gradient(900px 420px at 88% 0%, rgba(14, 165, 233, 0.07), transparent 50%),
|
|
var(--ds-bg, #070b14);
|
|
}
|
|
|
|
.page-shell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
max-width: 1280px;
|
|
}
|
|
.page-shell__header {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 2px 2px 4px;
|
|
}
|
|
.page-shell__headline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.page-shell__title {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
line-height: 1.2;
|
|
font-weight: 650;
|
|
}
|
|
.page-shell__subtitle {
|
|
max-width: 920px;
|
|
line-height: 1.45;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
}
|
|
.page-shell__actions {
|
|
justify-content: flex-end;
|
|
}
|
|
.page-shell__toc {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
.page-shell__tocItem {
|
|
text-decoration: none;
|
|
color: var(--ds-text, #e2e8f0);
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.22));
|
|
border-radius: 8px;
|
|
padding: 4px 10px;
|
|
font-size: 12px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
.page-shell__tocItem:hover {
|
|
background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.16));
|
|
}
|
|
|
|
.page-grid {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
.page-grid--single {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.page-grid--two {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.page-grid > .card {
|
|
margin-bottom: 0;
|
|
height: 100%;
|
|
}
|
|
.section-card {
|
|
margin-bottom: 0;
|
|
scroll-margin-top: 76px;
|
|
}
|
|
.section-card__actions {
|
|
justify-content: flex-end;
|
|
}
|
|
.page-grid > [id] {
|
|
scroll-margin-top: 76px;
|
|
}
|
|
.page-shell__header .page-shell__actions {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 3;
|
|
padding: 2px 0;
|
|
}
|
|
|
|
.card {
|
|
background: var(--ds-panel, rgba(15, 23, 42, 0.92));
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
border-radius: 14px;
|
|
padding: 18px 20px;
|
|
margin-bottom: 14px;
|
|
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px rgba(2, 6, 23, 0.18);
|
|
}
|
|
.card__head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
.card__headline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
.card__title {
|
|
font-weight: 650;
|
|
margin: 0 0 12px;
|
|
font-size: 15px;
|
|
letter-spacing: 0.01em;
|
|
color: var(--ds-text, #e2e8f0);
|
|
}
|
|
.card__head .card__title { margin-bottom: 0; }
|
|
.card__subtitle {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
max-width: 72ch;
|
|
}
|
|
.card__actions {
|
|
flex: 0 0 auto;
|
|
justify-content: flex-end;
|
|
}
|
|
.card__body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.card__hint {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
}
|
|
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
|
|
.toolbar {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.form-inline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-end;
|
|
gap: 12px 14px;
|
|
}
|
|
.form-inline__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
flex: 1 1 160px;
|
|
min-width: 140px;
|
|
max-width: 280px;
|
|
}
|
|
.form-inline__field > label,
|
|
.form-inline__label {
|
|
font-size: 12px;
|
|
font-weight: 550;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
}
|
|
.form-inline__field .input,
|
|
.form-inline__field select.input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.form-inline__field--wide {
|
|
max-width: none;
|
|
flex: 1 1 240px;
|
|
}
|
|
.form-inline__actions {
|
|
flex: 0 0 auto;
|
|
display: inline-flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
padding-bottom: 1px;
|
|
}
|
|
.meta-line {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
.meta-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 11px;
|
|
line-height: 1.3;
|
|
padding: 4px 8px;
|
|
border-radius: 6px;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
background: rgba(148, 163, 184, 0.08);
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.16));
|
|
}
|
|
.pid-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
align-items: flex-start;
|
|
}
|
|
.pid-cell__id {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 13px;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.01em;
|
|
}
|
|
.pid-cell__tag {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--ds-accent-link, #60a5fa);
|
|
opacity: 0.9;
|
|
}
|
|
.form-stack {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 12px 14px;
|
|
}
|
|
.form-field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
.form-field--full {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.form-field__label {
|
|
font-size: 12px;
|
|
font-weight: 550;
|
|
letter-spacing: 0.01em;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
}
|
|
.form-field .input,
|
|
.form-field select.input,
|
|
.form-field textarea.input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
padding-top: 2px;
|
|
}
|
|
@media (max-width: 720px) {
|
|
.form-grid { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
.section-card .row {
|
|
width: 100%;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
}
|
|
.section-card .row > label:first-child {
|
|
min-width: 170px;
|
|
}
|
|
.section-card .row > .input,
|
|
.section-card .row > textarea.input,
|
|
.section-card .row > select.input {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.chat-login-fields {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin: 6px 0 10px;
|
|
}
|
|
.chat-login-fields .input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.chat-login-actions {
|
|
margin-bottom: 8px;
|
|
}
|
|
.row--wecom-form {
|
|
flex-wrap: nowrap;
|
|
align-items: flex-end;
|
|
gap: 10px;
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.row--wecom-form__field {
|
|
flex: 1 1 140px;
|
|
min-width: 0;
|
|
max-width: 280px;
|
|
}
|
|
.row--wecom-form__field .input {
|
|
min-width: 0;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
}
|
|
.row--wecom-form__chk {
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
.row--wecom-form .btn {
|
|
flex: 0 0 auto;
|
|
}
|
|
.kv {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 12px;
|
|
background: rgba(148, 163, 184, 0.08);
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.14));
|
|
padding: 6px 8px;
|
|
border-radius: 8px;
|
|
color: var(--ds-text, #e2e8f0);
|
|
}
|
|
.section-card .kv {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.input,
|
|
select.input,
|
|
textarea.input {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background: var(--ds-surface-2, #152033);
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.28));
|
|
color: var(--ds-text, #e2e8f0);
|
|
border-radius: 8px;
|
|
padding: 10px 12px;
|
|
min-height: 40px;
|
|
min-width: 240px;
|
|
font-size: 13px;
|
|
line-height: 1.4;
|
|
font-family: inherit;
|
|
box-sizing: border-box;
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
|
|
}
|
|
textarea.input {
|
|
min-height: 108px;
|
|
resize: vertical;
|
|
line-height: 1.5;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
}
|
|
select.input {
|
|
background-image:
|
|
linear-gradient(45deg, transparent 50%, var(--ds-text-muted, #94a3b8) 50%),
|
|
linear-gradient(135deg, var(--ds-text-muted, #94a3b8) 50%, transparent 50%);
|
|
background-position:
|
|
calc(100% - 16px) calc(50% - 2px),
|
|
calc(100% - 11px) calc(50% - 2px);
|
|
background-size: 5px 5px, 5px 5px;
|
|
background-repeat: no-repeat;
|
|
padding-right: 32px;
|
|
cursor: pointer;
|
|
}
|
|
.input::placeholder,
|
|
textarea.input::placeholder {
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
opacity: 0.85;
|
|
}
|
|
.input:hover,
|
|
select.input:hover,
|
|
textarea.input:hover {
|
|
border-color: var(--ds-accent-border, rgba(59, 130, 246, 0.4));
|
|
}
|
|
.input:focus,
|
|
select.input:focus,
|
|
textarea.input:focus {
|
|
outline: none;
|
|
border-color: var(--ds-accent-border-strong, rgba(59, 130, 246, 0.55));
|
|
box-shadow: 0 0 0 3px var(--ds-accent-soft, rgba(59, 130, 246, 0.22));
|
|
background: var(--ds-surface, #0f172a);
|
|
}
|
|
.input:disabled,
|
|
select.input:disabled,
|
|
textarea.input:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* Unified switch style for admin/chat checkboxes */
|
|
input[type="checkbox"],
|
|
.switch-input {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
width: 40px;
|
|
height: 22px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.35));
|
|
background: var(--ds-surface, rgba(15, 23, 42, 0.75));
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition: background .18s ease, border-color .18s ease;
|
|
}
|
|
input[type="checkbox"]::before,
|
|
.switch-input::before {
|
|
content: "";
|
|
position: absolute;
|
|
width: 16px;
|
|
height: 16px;
|
|
left: 2px;
|
|
top: 2px;
|
|
border-radius: 50%;
|
|
background: #cbd5e1;
|
|
transition: transform .18s ease;
|
|
}
|
|
input[type="checkbox"]:checked,
|
|
.switch-input:checked {
|
|
background: rgba(34, 197, 94, 0.45);
|
|
border-color: rgba(34, 197, 94, 0.85);
|
|
}
|
|
input[type="checkbox"]:checked::before,
|
|
.switch-input:checked::before {
|
|
transform: translateX(18px);
|
|
background: #ffffff;
|
|
}
|
|
.switch-wrap {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
cursor: pointer;
|
|
}
|
|
.switch-slider {
|
|
display: none;
|
|
}
|
|
.input--compact {
|
|
min-width: 0;
|
|
min-height: 32px;
|
|
padding: 6px 8px;
|
|
font-size: 12px;
|
|
}
|
|
.input--readonly {
|
|
max-width: min(100%, 720px);
|
|
cursor: default;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
border-color: var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
background: var(--ds-surface-2, #152033);
|
|
}
|
|
.input--readonly::placeholder {
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
}
|
|
.table { width: 100%; border-collapse: collapse; }
|
|
.table th, .table td {
|
|
border-bottom: 1px solid var(--ds-border, rgba(148, 163, 184, 0.14));
|
|
padding: 11px 12px;
|
|
text-align: left;
|
|
font-size: 13px;
|
|
vertical-align: middle;
|
|
}
|
|
.table th {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--ds-text-muted, #94a3b8);
|
|
background: rgba(148, 163, 184, 0.05);
|
|
}
|
|
.table tbody tr:hover td {
|
|
background: rgba(148, 163, 184, 0.04);
|
|
}
|
|
.table tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
.table-wrap {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.14));
|
|
border-radius: 10px;
|
|
background: rgba(2, 6, 23, 0.22);
|
|
}
|
|
.table--compact { table-layout: fixed; min-width: 860px; }
|
|
.table--compact th, .table--compact td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
.table--compact td.table__cell--form {
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
white-space: nowrap;
|
|
}
|
|
.table--compact th.table__cell--actions,
|
|
.table--compact td.table__cell--actions {
|
|
overflow: visible;
|
|
text-overflow: clip;
|
|
white-space: nowrap;
|
|
width: 4rem;
|
|
min-width: 4rem;
|
|
}
|
|
.table__cell-actions {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 6px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
.row-actions__btn {
|
|
opacity: 1 !important;
|
|
pointer-events: auto !important;
|
|
}
|
|
.row-actions__btn:focus,
|
|
.row-actions__btn:focus-visible {
|
|
outline: none;
|
|
border-color: transparent;
|
|
box-shadow: none;
|
|
}
|
|
.row-actions__menu {
|
|
z-index: 1200;
|
|
}
|
|
.row-actions__item--danger {
|
|
color: #fca5a5;
|
|
}
|
|
.row-actions__item--danger:hover {
|
|
background: rgba(239, 68, 68, 0.14);
|
|
}
|
|
/* Multi-button action cells (users / market): don't force ⋯ width. */
|
|
.table--compact td.table__cell--actions:has(.btn),
|
|
.table--users-mgmt td.table__cell--actions {
|
|
width: auto;
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.page-grid--two {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
}
|
|
.session-monitor-row--active {
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.12));
|
|
}
|
|
.session-monitor-row--active td {
|
|
border-bottom-color: var(--ds-accent-border, rgba(59, 130, 246, 0.35));
|
|
}
|
|
.session-monitor-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 320;
|
|
background: var(--ds-overlay-bg, rgba(2, 6, 23, 0.72));
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 16px;
|
|
}
|
|
.session-monitor-modal:not(.u-hidden) {
|
|
display: flex;
|
|
}
|
|
.session-monitor-modal.u-hidden {
|
|
display: none !important;
|
|
pointer-events: none !important;
|
|
visibility: hidden !important;
|
|
}
|
|
.session-monitor-modal__card {
|
|
width: min(1200px, 96vw);
|
|
max-height: 92vh;
|
|
overflow: auto;
|
|
}
|
|
.session-monitor-session-table th:nth-child(1),
|
|
.session-monitor-session-table td:nth-child(1) { width: 18%; }
|
|
.session-monitor-session-table th:nth-child(2),
|
|
.session-monitor-session-table td:nth-child(2) { width: 30%; }
|
|
.session-monitor-session-table th:nth-child(3),
|
|
.session-monitor-session-table td:nth-child(3) { width: 12%; }
|
|
.session-monitor-session-table th:nth-child(4),
|
|
.session-monitor-session-table td:nth-child(4) { width: 9%; }
|
|
.session-monitor-session-table th:nth-child(5),
|
|
.session-monitor-session-table td:nth-child(5) { width: 15%; }
|
|
.session-monitor-session-table th:nth-child(6),
|
|
.session-monitor-session-table td:nth-child(6) { width: 8%; }
|
|
.session-monitor-session-table th:nth-child(7),
|
|
.session-monitor-session-table td:nth-child(7) {
|
|
width: 8%;
|
|
min-width: 4rem;
|
|
}
|
|
|
|
.session-monitor-detail-table th:nth-child(1),
|
|
.session-monitor-detail-table td:nth-child(1) { width: 8%; }
|
|
.session-monitor-detail-table th:nth-child(2),
|
|
.session-monitor-detail-table td:nth-child(2) { width: 8%; }
|
|
.session-monitor-detail-table th:nth-child(3),
|
|
.session-monitor-detail-table td:nth-child(3) {
|
|
width: 62%;
|
|
white-space: normal;
|
|
word-break: break-word;
|
|
}
|
|
.session-monitor-detail-table th:nth-child(4),
|
|
.session-monitor-detail-table td:nth-child(4) { width: 22%; }
|
|
|
|
/* Match chat-page "three dots" action style */
|
|
.chat-sess-more {
|
|
flex: 0 0 2rem;
|
|
min-width: 2rem;
|
|
padding: 6px 4px;
|
|
border-radius: 8px;
|
|
border: 1px solid transparent;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font-size: 1.1rem;
|
|
line-height: 1;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
box-shadow: none;
|
|
}
|
|
.chat-sess-more:hover {
|
|
background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.1));
|
|
}
|
|
.chat-sess-more:focus {
|
|
outline: none;
|
|
}
|
|
.chat-sess-more:focus-visible {
|
|
outline: 1px solid var(--ds-accent-border, rgba(59, 130, 246, 0.35));
|
|
outline-offset: 1px;
|
|
}
|
|
.chat-sess-more--active {
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.18));
|
|
border-color: var(--ds-accent-border, rgba(59, 130, 246, 0.3));
|
|
}
|
|
.chat-sess-more--active:hover {
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.22));
|
|
}
|
|
.chat-sess-menu-pop {
|
|
z-index: 300;
|
|
background: var(--ds-panel, var(--ds-surface, #0f172a));
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
border-radius: 8px;
|
|
padding: 4px;
|
|
min-width: 11rem;
|
|
box-shadow: var(--ds-pop-shadow, 0 8px 24px rgba(2, 6, 23, 0.55));
|
|
color: var(--ds-text, inherit);
|
|
}
|
|
.chat-sess-menu-item {
|
|
display: block;
|
|
width: 100%;
|
|
text-align: left;
|
|
padding: 8px 10px;
|
|
border: none;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
font-size: 13px;
|
|
}
|
|
.chat-sess-menu-item:hover {
|
|
background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.1));
|
|
}
|
|
|
|
.table--resizable thead th {
|
|
position: relative;
|
|
}
|
|
.table-col-resizer {
|
|
position: absolute;
|
|
top: 0;
|
|
right: -3px;
|
|
width: 6px;
|
|
height: 100%;
|
|
cursor: col-resize;
|
|
user-select: none;
|
|
touch-action: none;
|
|
}
|
|
.table-col-resizer:hover {
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.18));
|
|
}
|
|
body.col-resize-active {
|
|
cursor: col-resize;
|
|
}
|
|
/* User management: fill row with % columns + roomier padding */
|
|
.table--compact.table--users-mgmt {
|
|
width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
.table--users-mgmt th,
|
|
.table--users-mgmt td { padding: 12px 14px; }
|
|
.table--users-mgmt th:nth-child(1),
|
|
.table--users-mgmt td:nth-child(1) { width: 15%; }
|
|
.table--users-mgmt th:nth-child(2),
|
|
.table--users-mgmt td:nth-child(2) { width: 18%; }
|
|
.table--users-mgmt th:nth-child(3),
|
|
.table--users-mgmt td:nth-child(3) { width: 8%; }
|
|
.table--users-mgmt th:nth-child(4),
|
|
.table--users-mgmt td:nth-child(4) { width: 6%; }
|
|
.table--users-mgmt th:nth-child(5),
|
|
.table--users-mgmt td:nth-child(5) { width: 13%; min-width: 7.5rem; }
|
|
.table--users-mgmt th:nth-child(6),
|
|
.table--users-mgmt td:nth-child(6) { width: 15%; min-width: 9rem; }
|
|
.table--users-mgmt th:nth-child(7),
|
|
.table--users-mgmt td:nth-child(7) {
|
|
width: 25%;
|
|
min-width: 15rem;
|
|
text-align: left;
|
|
}
|
|
.table--users-mgmt .table__cell-actions {
|
|
flex-wrap: nowrap;
|
|
gap: 8px 10px;
|
|
justify-content: flex-start;
|
|
}
|
|
.table--users-mgmt .table__cell--form .input {
|
|
min-width: 0;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
min-height: 34px;
|
|
padding: 6px 10px;
|
|
}
|
|
.table .input,
|
|
.table select.input {
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
padding: 6px 10px;
|
|
}
|
|
.btn--small {
|
|
min-height: 32px;
|
|
padding: 6px 10px;
|
|
font-size: 12px;
|
|
}
|
|
.cell-copyable { cursor: copy; position: relative; }
|
|
.cell-copyable:hover { background: var(--ds-accent-soft, rgba(59, 130, 246, 0.12)); }
|
|
.cell-copyable.cell-selected {
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.2));
|
|
outline: 1px solid var(--ds-accent-border, rgba(59, 130, 246, 0.45));
|
|
}
|
|
.cell-copyable.cell-copied::after {
|
|
content: "Copied";
|
|
position: absolute;
|
|
right: 6px;
|
|
top: 4px;
|
|
font-size: 11px;
|
|
color: var(--ds-accent-link, #60a5fa);
|
|
}
|
|
.details {
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
border-radius: 8px;
|
|
padding: 8px 10px;
|
|
background: var(--ds-surface, rgba(15, 23, 42, 0.55));
|
|
}
|
|
.details > summary { cursor: pointer; color: var(--ds-text, #e2e8f0); font-weight: 600; }
|
|
.plugins-fold { margin-bottom: 12px; }
|
|
.plugins-fold__inner {
|
|
margin-top: 10px;
|
|
padding-top: 8px;
|
|
border-top: 1px solid var(--ds-border, rgba(148, 163, 184, 0.12));
|
|
}
|
|
.plugins-pager .btn.btn--small { min-width: 72px; }
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3px 10px;
|
|
border-radius: 999px;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.25));
|
|
background: rgba(148, 163, 184, 0.08);
|
|
line-height: 1.3;
|
|
}
|
|
.badge--ok {
|
|
border-color: rgba(34, 197, 94, 0.45);
|
|
background: rgba(34, 197, 94, 0.14);
|
|
color: #86efac;
|
|
}
|
|
.badge--bad {
|
|
border-color: rgba(239, 68, 68, 0.5);
|
|
background: rgba(239, 68, 68, 0.14);
|
|
color: #fca5a5;
|
|
}
|
|
.badge--mode-restricted { border-color: rgba(250, 204, 21, 0.45); background: rgba(250, 204, 21, 0.12); }
|
|
.badge--mode-unrestricted {
|
|
border-color: var(--ds-accent-border, rgba(59, 130, 246, 0.45));
|
|
background: var(--ds-accent-soft, rgba(59, 130, 246, 0.16));
|
|
}
|
|
.pre {
|
|
white-space: pre-wrap;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
font-size: 12px;
|
|
}
|
|
.alert {
|
|
margin: 0;
|
|
padding: 14px 16px;
|
|
border-radius: 10px;
|
|
border: 1px solid var(--ds-border, rgba(148, 163, 184, 0.25));
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.alert__title {
|
|
font-weight: 650;
|
|
font-size: 13px;
|
|
}
|
|
.alert__actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
align-items: center;
|
|
margin-top: 2px;
|
|
}
|
|
.alert--critical {
|
|
border-color: rgba(239, 68, 68, 0.55);
|
|
background: linear-gradient(180deg, rgba(239, 68, 68, 0.16), rgba(239, 68, 68, 0.08));
|
|
color: #fecaca;
|
|
}
|
|
.alert--warning {
|
|
border-color: rgba(250, 204, 21, 0.45);
|
|
background: linear-gradient(180deg, rgba(250, 204, 21, 0.14), rgba(250, 204, 21, 0.06));
|
|
color: #fde68a;
|
|
}
|
|
.alert--ok {
|
|
border-color: rgba(34, 197, 94, 0.4);
|
|
background: rgba(34, 197, 94, 0.1);
|
|
color: #bbf7d0;
|
|
}
|
|
.alert-list {
|
|
margin: 0;
|
|
padding-left: 18px;
|
|
color: inherit;
|
|
opacity: 0.92;
|
|
font-size: 12px;
|
|
}
|
|
.alert-list li { margin: 4px 0; }
|
|
.alert--critical .alert-list,
|
|
.alert--warning .alert-list {
|
|
color: inherit;
|
|
}
|
|
|
|
/* Light theme: prefer light color-scheme for native controls */
|
|
body.theme-ds-body[data-admin-theme="light"] {
|
|
color-scheme: light;
|
|
}
|
|
body.theme-ds-body[data-admin-theme="light"] .content {
|
|
background: var(--ds-bg, #f1f5f9);
|
|
}
|
|
|
|
/* ---- Utility classes (replace common JS inline styles) ---- */
|
|
.u-mt-4 { margin-top: 4px; }
|
|
.u-mt-6 { margin-top: 6px; }
|
|
.u-mt-8 { margin-top: 8px; }
|
|
.u-mt-10 { margin-top: 10px; }
|
|
.u-mb-6 { margin: 0 0 6px 0; }
|
|
.u-h-8 { height: 8px; }
|
|
.u-h-10 { height: 10px; }
|
|
/* No !important: many modals/panels toggle via element.style.display. */
|
|
.u-hidden { display: none; }
|
|
.u-drag { cursor: pointer; user-select: none; }
|
|
.u-wrap-lh { white-space: normal; line-height: 1.5; }
|
|
.u-muted-block { margin-top: 6px; line-height: 1.45; }
|
|
.u-muted-block-lg { margin: 8px 0; line-height: 1.5; }
|
|
.u-spacer-v { margin: 10px 0 14px 0; }
|
|
.u-label-mt { margin: 8px 0 4px 0; }
|
|
.u-pad-block { margin: 8px 0; padding: 10px; }
|
|
.u-row-wrap-mb { gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
|
|
.u-row-wrap-mt,
|
|
.u-row-wrap-mt-loose { gap: 8px; flex-wrap: wrap; margin-top: 8px; align-items: center; }
|
|
.u-row-center { gap: 6px; align-items: center; }
|
|
.u-row-center-mt { gap: 8px; align-items: center; margin-top: 8px; }
|
|
.u-row-end { gap: 8px; justify-content: flex-end; margin-top: 10px; }
|
|
.u-row-end-sm { gap: 8px; justify-content: flex-end; margin-top: 8px; }
|
|
.u-row-between { gap: 8px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
|
|
.u-gap-8 { gap: 8px; }
|
|
.u-max-w-120 { max-width: 120px; }
|
|
.u-max-w-140 { max-width: 140px; }
|
|
.u-w-12p { width: 12%; }
|
|
.u-w-full-mt-8 { width: 100%; margin-top: 8px; }
|
|
.u-w-full-mt-10 { width: 100%; margin-top: 10px; }
|
|
.u-overlay-fixed { position: fixed; z-index: 400; }
|
|
.u-overlay-scrim { position: fixed; inset: 0; z-index: 250; background: transparent; }
|
|
.u-z-modal { z-index: 9998; }
|
|
.u-z-modal-top { z-index: 9999; }
|
|
.u-text-danger { color: #f87171; }
|
|
.u-menu-label { padding: 6px 10px 2px; font-size: 12px; }
|
|
.u-menu-select { width: 100%; margin: 4px 8px 8px; max-width: calc(100% - 16px); }
|
|
.u-btn-compact { padding: 4px 8px; min-height: auto; font-size: 12px; }
|
|
.u-modal-card { max-width: 520px; width: 100%; }
|
|
.u-modal-card-sm { max-width: 440px; width: 100%; }
|
|
.u-media-preview { max-width: 100%; max-height: 420px; margin-top: 8px; border-radius: 8px; }
|
|
.u-mono-area,
|
|
.u-mono-area-sm {
|
|
width: 100%;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
.u-mono-area { min-height: 320px; }
|
|
.u-mono-area-sm { min-height: 220px; }
|
|
.u-check-row { display: flex; gap: 6px; align-items: center; cursor: pointer; }
|
|
.u-hint { font-size: 12px; line-height: 1.45; }
|
|
.u-fs-12 { font-size: 12px; }
|
|
.u-jobs-card {
|
|
max-width: 920px;
|
|
width: 94vw;
|
|
max-height: 82vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.u-jobs-list {
|
|
overflow: auto;
|
|
flex: 1;
|
|
min-height: 220px;
|
|
max-height: 58vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
.u-profile-card { max-width: 980px; width: 92vw; max-height: 78vh; overflow: auto; }
|
|
.u-json-card { width: min(860px, 96vw); max-height: 86vh; overflow: auto; padding: 12px; }
|
|
.u-composer-meta { padding: 2px 4px 6px; align-items: center; }
|
|
.u-select-mode { min-width: 150px; max-width: 240px; padding: 6px 8px; }
|
|
.u-select-exec { min-width: 96px; max-width: 140px; padding: 6px 8px; }
|
|
.u-inline-flex { display: inline-flex; align-items: center; }
|
|
.u-switch-menu { margin: 2px 8px 8px; }
|
|
.u-pop-menu,
|
|
.chat-sess-menu-pop.u-pop-menu {
|
|
position: fixed;
|
|
min-width: 220px;
|
|
z-index: 300;
|
|
}
|
|
.u-pop-tip,
|
|
.chat-sess-menu-pop.u-pop-tip {
|
|
position: fixed;
|
|
max-width: 420px;
|
|
z-index: 300;
|
|
white-space: pre-wrap;
|
|
line-height: 1.4;
|
|
}
|
|
.u-empty-pad { padding: 10px 0 10px 8px; }
|
|
.u-avatar-chip {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 999px;
|
|
object-fit: contain;
|
|
border: 2px solid var(--ds-border, rgba(148, 163, 184, 0.18));
|
|
background: var(--ds-menu-hover-bg, rgba(148, 163, 184, 0.1));
|
|
padding: 5px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Focus ring — NetX-like accent */
|
|
.btn:focus-visible,
|
|
.input:focus-visible,
|
|
.nav__item:focus-visible,
|
|
.page-shell__tocItem:focus-visible {
|
|
outline: 2px solid var(--ds-accent, #3b82f6);
|
|
outline-offset: 1px;
|
|
}
|