166 lines
9.7 KiB
CSS
166 lines
9.7 KiB
CSS
/*
|
|
* Refine the original console, preserving its visual identity.
|
|
* Palette: mist #F4F8FF, paper #FFFFFF, navy #102554,
|
|
* blue #2F6FFF, violet #8A6BFF, muted #697B9F.
|
|
* Keep the original system CJK typeface, 32px page titles, 18px sections.
|
|
* [floating icon rail] [header / status] [customers | message / actions]
|
|
* Keep blue-violet gradients, circular icons, rounded cards and pill tabs.
|
|
* Improve alignment, readability and feedback without replacing the shell.
|
|
* Static translucent fills preserve the original feel without backdrop blur.
|
|
*/
|
|
:root {
|
|
--muted:#697b9f;
|
|
--glass:rgba(255,255,255,.86);
|
|
--shadow:0 10px 30px rgba(78,99,162,.055),inset 0 1px 0 rgba(255,255,255,.96);
|
|
}
|
|
html.embedded body { font-size:14px; line-height:1.5; text-rendering:auto; }
|
|
html.embedded #stage .workspace {
|
|
grid-template-columns:108px minmax(0,1fr); gap:24px; padding:18px 20px 18px 16px;
|
|
}
|
|
html.embedded #stage .main { padding:8px 8px 24px 0; }
|
|
html.embedded #stage .rail {
|
|
border-radius:32px; padding:20px 8px 14px;
|
|
box-shadow:0 12px 32px rgba(76,97,162,.07),inset 0 1px 0 #fff;
|
|
}
|
|
html.embedded #stage .nav { gap:5px; padding:8px 0; }
|
|
html.embedded #stage :is(.nav-btn,.nav-btn.active) {
|
|
width:88px; height:70px; min-height:70px; margin:0; padding:0;
|
|
flex-direction:column; justify-content:center; gap:7px; border-radius:18px;
|
|
}
|
|
html.embedded #stage :is(.nav-icon,.nav-btn.active .nav-icon) {
|
|
width:44px; height:44px; flex:0 0 44px;
|
|
}
|
|
html.embedded #stage .nav-btn.active { box-shadow:0 6px 16px rgba(87,102,227,.10); }
|
|
html.embedded #stage .nav-btn.active .nav-icon {
|
|
box-shadow:0 0 0 4px rgba(75,107,255,.07),0 5px 12px rgba(79,92,255,.23);
|
|
}
|
|
html.embedded #stage .listener { gap:10px; margin-top:14px; }
|
|
html.embedded #stage .listener .orb { width:48px; height:48px; }
|
|
html.embedded #stage .system-btn { width:42px; height:42px; margin-top:12px; }
|
|
|
|
#stage .page-head { min-height:88px; gap:16px; padding-bottom:22px; }
|
|
#stage .page-head h1 { font-size:32px; line-height:1.25; letter-spacing:-.02em; }
|
|
#stage .page-head p { font-size:14px; margin-top:7px; }
|
|
#stage .head-actions { gap:10px; }
|
|
#stage .btn { height:44px; font-size:14px; padding:0 19px; box-shadow:0 5px 14px rgba(73,94,157,.06); }
|
|
#stage .btn.small { height:36px; padding:0 14px; font-size:13px; }
|
|
#stage .btn.primary { box-shadow:0 6px 16px rgba(67,91,255,.20); }
|
|
#stage .btn:hover { box-shadow:0 7px 18px rgba(72,92,160,.12); }
|
|
#stage :is(button,input,select,textarea):disabled { opacity:.6; cursor:not-allowed; }
|
|
#stage :is(button,[role="button"],a,input,select,textarea):focus-visible {
|
|
outline:2px solid #4779ed !important; outline-offset:3px;
|
|
}
|
|
#stage .panel { border-radius:22px; }
|
|
#stage .panel-pad { padding:20px; }
|
|
#stage .panel-title { gap:12px; margin-bottom:16px; }
|
|
#stage .panel-title h2 { font-size:18px; line-height:1.4; }
|
|
#stage .wave-ribbon { margin-bottom:18px; }
|
|
#stage .wave-ribbon:after { opacity:.20; }
|
|
#stage .metric { gap:12px; padding:0 16px; }
|
|
#stage .metric-icon { width:48px; height:48px; flex:0 0 48px; }
|
|
#stage .metric-copy strong { font-variant-numeric:tabular-nums; }
|
|
#stage .review-summary-item { padding:10px 14px; min-height:44px; }
|
|
#stage .auto-grid {
|
|
grid-template-columns:minmax(240px,.9fr) minmax(0,1.6fr) minmax(260px,1.05fr);
|
|
grid-auto-rows:minmax(230px,auto); gap:18px;
|
|
}
|
|
#stage .queue-row { grid-template-columns:42px minmax(0,1fr) 50px; gap:10px; padding:9px; }
|
|
#stage .avatar { width:40px; height:40px; font-size:16px; }
|
|
#stage .q-copy > span,#stage .q-meta { font-size:12px; }
|
|
#stage .task-head-meta { flex-wrap:wrap; gap:6px; }
|
|
#stage .task-actions { flex-wrap:wrap; gap:8px; }
|
|
#stage .answer-block { font-size:14px; line-height:1.85; padding:16px; }
|
|
#stage .copy-block { padding:15px; }
|
|
#stage .window-status { grid-template-columns:repeat(auto-fit,minmax(76px,1fr)); }
|
|
#stage .window-stat { min-width:0; }
|
|
|
|
#stage .tabs { max-width:100%; height:auto; flex-wrap:wrap; }
|
|
#stage .tab { height:42px; padding:0 26px; font-size:14px; }
|
|
#stage .filter-row { height:auto; flex-wrap:wrap; gap:10px; padding:12px; }
|
|
#stage .filter-row .search { flex:1 1 240px; min-width:0; }
|
|
#stage :is(.input,.select,.textarea,.pc-search,.pc-form input,.pc-form select,.pc-form textarea) {
|
|
border-color:#dbe4f4; background:#fbfcff; border-radius:11px;
|
|
}
|
|
#stage :is(.input,.select,.pc-search,.pc-form input,.pc-form select) { min-height:40px; }
|
|
#stage :is(input,textarea)::placeholder { color:#7888a5; }
|
|
#stage .storage-actions { flex-wrap:wrap; }
|
|
#stage .logs-grid > .panel > .btn { max-width:100%; }
|
|
/* Do not imply measured storage proportions with a decorative pie chart. */
|
|
#stage .donut { background:#eaf0fc; box-shadow:none; }
|
|
|
|
#stage .pc-grid { grid-template-columns:minmax(0,1.6fr) minmax(340px,1fr); gap:20px; }
|
|
#stage .pc-panel { padding:22px; }
|
|
#stage .pc-form h2 { margin:0 0 10px; font-size:18px; color:var(--navy); line-height:1.4; }
|
|
#stage .pc-step-number {
|
|
display:inline-grid; place-items:center; width:25px; height:25px; margin-right:9px;
|
|
background:#edf2ff; color:#3569de; border-radius:50%; font-size:12px; vertical-align:1px;
|
|
}
|
|
#stage .pc-toolbar { gap:10px; margin:14px 0; }
|
|
#stage .pc-search-toolbar { align-items:flex-end; }
|
|
#stage .pc-search-field { display:grid; gap:7px; flex:1 1 240px; min-width:0; max-width:560px; }
|
|
#stage .pc-search-field label { font-size:12px; color:var(--muted); }
|
|
#stage .pc-search-field .pc-search { width:100%; max-width:none; }
|
|
#stage .pc-search-toolbar > label { min-height:44px; display:flex; align-items:center; gap:6px; }
|
|
#stage .pc-form label { font-size:13px; margin:16px 0 8px; }
|
|
#stage .pc-form textarea { min-height:150px; font-size:14px; padding:12px; }
|
|
#stage .pc-form > .pc-toolbar {
|
|
position:sticky; bottom:0; z-index:4; background:#fff;
|
|
border-top:1px solid #e9eef8; padding:14px 0 2px; margin-top:16px; border-radius:0 0 14px 14px;
|
|
}
|
|
#stage .pc-form > .pc-toolbar .pc-primary { flex:1; }
|
|
#stage .pc-primary { background:linear-gradient(105deg,#3777f4,#6465ec) !important; border-color:#4776ed !important; }
|
|
#stage .pc-help { font-size:12px; line-height:1.8; }
|
|
#stage .pc-table { font-size:13px; }
|
|
#stage .pc-table th { padding:12px; font-size:12px; font-weight:500; background:#f6f9ff; z-index:1; }
|
|
#stage .pc-table td { padding:14px 12px; line-height:1.65; }
|
|
#stage .pc-table small { font-size:12px; line-height:1.6; margin-top:4px; }
|
|
#stage .pc-table tr:hover { background:#f8faff; }
|
|
#stage .pc-table tr:has(input[type="checkbox"]:checked) { background:#f0f5ff; }
|
|
#stage .pc-table td:first-child:has(input[type="checkbox"]) { width:38px; }
|
|
#stage .pc-table select {
|
|
width:100%; max-width:280px; min-height:36px; padding:5px 9px;
|
|
border:1px solid #dbe4f4; border-radius:9px; background:#fff; font-size:12px;
|
|
}
|
|
#stage .pc-status { font-size:12px; }
|
|
#stage .pc-status.bound { background:#edf3ff; color:#3563c9; }
|
|
#stage .pc-status.cancelled,#stage .pc-status.skipped { background:#eef1f7; color:#62718e; }
|
|
#stage .pc-feedback { box-shadow:0 5px 15px rgba(53,81,145,.05); }
|
|
#stage .pc-created strong { font-size:20px; }
|
|
#stage .pc-modal { backdrop-filter:none; -webkit-backdrop-filter:none; }
|
|
#stage .pc-modal .pc-preview { border-radius:22px; }
|
|
#stage :is(.db-account,.db-conversation) { border-radius:14px; }
|
|
#stage .db-message-bubble { font-size:14px; line-height:1.8; }
|
|
#stage .db-message-bubble time { font-size:12px; }
|
|
#stage .db-scroll,#stage .queue-list { scrollbar-width:thin; }
|
|
|
|
/* Reflow the existing cards; keep the original navigation accessible. */
|
|
html.embedded #stage[data-layout="compact"] .auto-grid {
|
|
grid-template-columns:minmax(240px,.9fr) minmax(0,1.5fr);
|
|
}
|
|
html.embedded #stage[data-layout="compact"] .auto-grid > * { grid-column:auto; grid-row:auto; }
|
|
html.embedded #stage[data-layout="compact"] .pc-grid { grid-template-columns:minmax(0,1fr) minmax(300px,1fr); }
|
|
html.embedded #stage[data-layout="narrow"] .workspace { grid-template-columns:76px minmax(0,1fr); gap:14px; padding:10px; }
|
|
html.embedded #stage[data-layout="narrow"] .rail { padding:14px 4px 10px; border-radius:26px; }
|
|
html.embedded #stage[data-layout="narrow"] :is(.nav-btn,.nav-btn.active) { width:64px; height:64px; min-height:64px; gap:6px; }
|
|
html.embedded #stage[data-layout="narrow"] :is(.nav-icon,.nav-btn.active .nav-icon) { width:36px; height:36px; flex-basis:36px; }
|
|
html.embedded #stage[data-layout="narrow"] .nav-btn > span { font-size:10px; }
|
|
html.embedded #stage[data-layout="narrow"] .main { padding:10px 4px 16px 0; }
|
|
html.embedded #stage[data-layout="narrow"] .page-head h1 { font-size:28px; }
|
|
html.embedded #stage[data-layout="narrow"] .head-actions { width:100%; }
|
|
html.embedded #stage[data-layout="narrow"] .listener .orb { width:34px; height:34px; }
|
|
html.embedded #stage[data-layout="narrow"] :is(.auto-grid,.pc-grid) { grid-template-columns:minmax(0,1fr); }
|
|
html.embedded #stage[data-layout="narrow"] .auto-grid > * { grid-column:auto; grid-row:auto; }
|
|
html.embedded #stage[data-layout="narrow"] .metric { padding:0; gap:8px; border:0; }
|
|
html.embedded #stage[data-layout="narrow"] .metric-icon { width:38px; height:38px; flex-basis:38px; }
|
|
html.embedded #stage[data-layout="narrow"] .tab { padding:0 18px; }
|
|
html.embedded #stage[data-layout="narrow"] .pc-panel { padding:18px; }
|
|
html.embedded #stage[data-layout="narrow"] .pc-table { min-width:440px; }
|
|
html.embedded #stage[data-layout="narrow"] .pc-pair { grid-template-columns:minmax(0,1fr); gap:0; }
|
|
html.embedded #stage[data-short="true"] .brand-logo { display:grid; width:40px; height:40px; font-size:24px; margin-bottom:10px; }
|
|
html.embedded #stage[data-short="true"] .listener { display:grid; padding:6px; gap:8px; }
|
|
html.embedded #stage[data-short="true"] .listener .orb { width:28px; height:28px; }
|
|
html.embedded #stage[data-short="true"] .system-btn { margin-top:8px; }
|
|
@media (prefers-reduced-motion:reduce) {
|
|
#stage *,#stage *:before,#stage *:after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
|
|
}
|