Initial commit
This commit is contained in:
commit
57fc3525eb
7311 files changed
+1291398
No files matched your search
@@ -0,0 +1,26 @@
|
||||
/* R2-8:站点适配器维护面板(健康巡检 / 选择器稳健度 / 适配器更新) */
|
||||
.adapter-panel { display: flex; flex-direction: column; gap: 16px; }
|
||||
.adapter-card { padding: 16px 18px; }
|
||||
.adapter-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
|
||||
.adapter-card-header h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
|
||||
.adapter-card-header p { margin: 0; font-size: 13px; opacity: .75; line-height: 1.5; }
|
||||
.adapter-btn { flex-shrink: 0; padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(99, 102, 241, .45);
|
||||
background: rgba(99, 102, 241, .08); color: inherit; font-size: 13px; cursor: pointer; margin-top: 8px; }
|
||||
.adapter-btn:hover:not(:disabled) { background: rgba(99, 102, 241, .16); }
|
||||
.adapter-btn:disabled { opacity: .5; cursor: not-allowed; }
|
||||
.adapter-btn.is-small { padding: 2px 10px; margin-top: 0; font-size: 12px; }
|
||||
.adapter-result { margin-top: 12px; font-size: 13px; }
|
||||
.adapter-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 12.5px; }
|
||||
.adapter-table th, .adapter-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid rgba(127, 127, 127, .18); vertical-align: top; }
|
||||
.adapter-table code { font-size: 12px; word-break: break-all; }
|
||||
.adapter-badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: rgba(127, 127, 127, .15); }
|
||||
.adapter-badge.is-good { background: rgba(34, 197, 94, .15); color: #15803d; }
|
||||
.adapter-badge.is-warn { background: rgba(234, 179, 8, .18); color: #a16207; }
|
||||
.adapter-badge.is-bad { background: rgba(239, 68, 68, .15); color: #b91c1c; }
|
||||
.adapter-error { color: #dc2626; font-size: 13px; margin-top: 8px; }
|
||||
.adapter-good { color: #15803d; margin: 6px 0; }
|
||||
.adapter-muted { opacity: .65; margin-left: 8px; }
|
||||
.adapter-problems { margin: 6px 0 6px 18px; list-style: disc; }
|
||||
html.dark .adapter-badge.is-good, .dark .adapter-badge.is-good { color: #4ade80; }
|
||||
html.dark .adapter-badge.is-warn, .dark .adapter-badge.is-warn { color: #facc15; }
|
||||
html.dark .adapter-badge.is-bad, .dark .adapter-badge.is-bad { color: #f87171; }
|
||||
@@ -0,0 +1,622 @@
|
||||
/* ============================================================================
|
||||
dashboard-dark.css — 夜间模式主题层 + 全局细节增强
|
||||
加载顺序:dashboard.css → dashboard-migration.css → dashboard-reference.css
|
||||
→ onboarding-guide.css → 本文件(最后加载,负责夜间模式统一)
|
||||
设计目标:
|
||||
1. 让参考主题(uwa- / app- 前缀)在夜间模式下拥有完整、协调的暖绿深色配色;
|
||||
2. 通过 Tailwind 中性色变量,让旧组件(弹窗、标签页池、设置页等)的
|
||||
dark: 工具类自动落在同一套暖绿色板上,而不是冷蓝灰;
|
||||
3. 附带全局的焦点可见性、选区颜色、滚动条与动效偏好等细节增强。
|
||||
========================================================================== */
|
||||
|
||||
/* ==================== 1. Tailwind 中性色变量(亮色 = 官方默认值) ==================== */
|
||||
:root {
|
||||
color-scheme: light;
|
||||
|
||||
--twc-gray-50: 249 250 251;
|
||||
--twc-gray-100: 243 244 246;
|
||||
--twc-gray-200: 229 231 235;
|
||||
--twc-gray-300: 209 213 219;
|
||||
--twc-gray-400: 156 163 175;
|
||||
--twc-gray-500: 107 114 128;
|
||||
--twc-gray-600: 75 85 99;
|
||||
--twc-gray-700: 55 65 81;
|
||||
--twc-gray-800: 31 41 55;
|
||||
--twc-gray-900: 17 24 39;
|
||||
--twc-gray-950: 3 7 18;
|
||||
|
||||
--twc-slate-50: 248 250 252;
|
||||
--twc-slate-100: 241 245 249;
|
||||
--twc-slate-200: 226 232 240;
|
||||
--twc-slate-300: 203 213 225;
|
||||
--twc-slate-400: 148 163 184;
|
||||
--twc-slate-500: 100 116 139;
|
||||
--twc-slate-600: 71 85 105;
|
||||
--twc-slate-700: 51 65 85;
|
||||
--twc-slate-800: 30 41 59;
|
||||
--twc-slate-900: 15 23 42;
|
||||
--twc-slate-950: 2 6 23;
|
||||
|
||||
--twc-stone-50: 250 250 249;
|
||||
--twc-stone-100: 245 245 244;
|
||||
--twc-stone-200: 231 229 228;
|
||||
--twc-stone-300: 214 211 209;
|
||||
--twc-stone-400: 168 162 158;
|
||||
--twc-stone-500: 120 113 108;
|
||||
--twc-stone-600: 87 83 78;
|
||||
--twc-stone-700: 68 64 60;
|
||||
--twc-stone-800: 41 37 36;
|
||||
--twc-stone-900: 28 25 23;
|
||||
--twc-stone-950: 12 10 9;
|
||||
}
|
||||
|
||||
/* 夜间:三套中性色统一收敛到暖绿深色板,与橄榄主题同源 */
|
||||
.dark {
|
||||
color-scheme: dark;
|
||||
|
||||
--twc-gray-50: 239 243 233;
|
||||
--twc-gray-100: 228 234 221;
|
||||
--twc-gray-200: 211 219 204;
|
||||
--twc-gray-300: 183 193 178;
|
||||
--twc-gray-400: 150 161 148;
|
||||
--twc-gray-500: 117 128 114;
|
||||
--twc-gray-600: 51 61 53;
|
||||
--twc-gray-700: 38 46 40;
|
||||
--twc-gray-800: 29 36 31;
|
||||
--twc-gray-900: 21 26 23;
|
||||
--twc-gray-950: 15 19 15;
|
||||
|
||||
--twc-slate-50: 239 243 233;
|
||||
--twc-slate-100: 228 234 221;
|
||||
--twc-slate-200: 211 219 204;
|
||||
--twc-slate-300: 183 193 178;
|
||||
--twc-slate-400: 150 161 148;
|
||||
--twc-slate-500: 117 128 114;
|
||||
--twc-slate-600: 51 61 53;
|
||||
--twc-slate-700: 38 46 40;
|
||||
--twc-slate-800: 29 36 31;
|
||||
--twc-slate-900: 21 26 23;
|
||||
--twc-slate-950: 15 19 15;
|
||||
|
||||
--twc-stone-50: 239 243 233;
|
||||
--twc-stone-100: 228 234 221;
|
||||
--twc-stone-200: 211 219 204;
|
||||
--twc-stone-300: 183 193 178;
|
||||
--twc-stone-400: 150 161 148;
|
||||
--twc-stone-500: 117 128 114;
|
||||
--twc-stone-600: 51 61 53;
|
||||
--twc-stone-700: 38 46 40;
|
||||
--twc-stone-800: 29 36 31;
|
||||
--twc-stone-900: 21 26 23;
|
||||
--twc-stone-950: 15 19 15;
|
||||
}
|
||||
|
||||
/* ==================== 2. 参考主题令牌(uwa-)夜间取值 ==================== */
|
||||
.dark {
|
||||
--uwa-paper: #141915;
|
||||
--uwa-paper-strong: #1c231d;
|
||||
--uwa-paper-soft: #242c25;
|
||||
--uwa-ink: #d8dfd0;
|
||||
--uwa-ink-strong: #edf1e6;
|
||||
--uwa-muted: #a0ab97;
|
||||
--uwa-muted-soft: #7f8b76;
|
||||
--uwa-line: #333d34;
|
||||
--uwa-line-soft: #2a332b;
|
||||
--uwa-olive: #94b374;
|
||||
--uwa-olive-dark: #b4cf9a;
|
||||
--uwa-leaf: #8fbc8f;
|
||||
--uwa-leaf-soft: #31402a;
|
||||
--uwa-green-card: #2e3d26;
|
||||
--uwa-ochre: #caa365;
|
||||
--uwa-clay: #c98f7a;
|
||||
--uwa-blue: #82a9b5;
|
||||
}
|
||||
|
||||
/* ==================== 3. 参考主题里的硬编码颜色 → 夜间覆盖 ==================== */
|
||||
|
||||
/* --- 侧边栏 --- */
|
||||
.dark .app-nav-item:hover {
|
||||
background: rgba(60, 74, 54, .45) !important;
|
||||
}
|
||||
|
||||
.dark .app-guide-link,
|
||||
.dark .app-theme-toggle {
|
||||
color: var(--uwa-muted) !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
.dark .app-guide-link:hover,
|
||||
.dark .app-theme-toggle:hover {
|
||||
color: var(--uwa-ink) !important;
|
||||
background: rgba(60, 74, 54, .45) !important;
|
||||
}
|
||||
|
||||
.dark .app-theme-toggle i {
|
||||
background: #3a463b !important;
|
||||
}
|
||||
|
||||
.dark .app-theme-toggle[aria-pressed="true"] i {
|
||||
background: var(--uwa-olive) !important;
|
||||
}
|
||||
|
||||
.dark .app-sidebar-primary {
|
||||
color: #16200f !important;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, .35) !important;
|
||||
}
|
||||
|
||||
/* 亮色强调块上的白色文字,在夜间换成深墨绿,保证对比度 */
|
||||
.dark .uwa-site-mark,
|
||||
.dark .uwa-domain-avatar,
|
||||
.dark .uwa-feature-icon,
|
||||
.dark .uwa-token-kpi-icon,
|
||||
.dark .uwa-primary-button,
|
||||
.dark .uwa-button.is-primary,
|
||||
.dark .uwa-ranking-tabs button.is-active,
|
||||
.dark .uwa-segmented button.is-active,
|
||||
.dark .uwa-page-button.is-active {
|
||||
color: #16200f;
|
||||
}
|
||||
|
||||
.dark .uwa-editor-site-icon {
|
||||
border-color: var(--uwa-line);
|
||||
color: var(--uwa-ink);
|
||||
background: var(--uwa-paper-strong);
|
||||
}
|
||||
|
||||
/* --- 首页 Hero 插画 --- */
|
||||
.dark .uwa-hero-art .shape-a { background: #4e6a46; }
|
||||
.dark .uwa-hero-art .shape-b { background: #223021; }
|
||||
.dark .uwa-hero-art .shape-c { background: #3a3527; }
|
||||
.dark .uwa-hero-art .line-a,
|
||||
.dark .uwa-hero-art .line-b { background: #5a7350; }
|
||||
.dark .uwa-hero-art .node-a,
|
||||
.dark .uwa-hero-art .node-b,
|
||||
.dark .uwa-hero-art .node-c { border-color: #87a274; }
|
||||
|
||||
/* --- 首页卡片 --- */
|
||||
.dark .uwa-action-card {
|
||||
box-shadow: 0 12px 28px rgba(0, 0, 0, .32);
|
||||
}
|
||||
|
||||
.dark .uwa-action-card.is-api { background: #322c1f; }
|
||||
|
||||
.dark .uwa-soft-tag {
|
||||
border-color: rgba(148, 179, 116, .28);
|
||||
background: rgba(20, 25, 21, .55);
|
||||
}
|
||||
|
||||
.dark .uwa-endpoint-box,
|
||||
.dark .uwa-browser-preview,
|
||||
.dark .uwa-request-preview,
|
||||
.dark .uwa-empty-preview {
|
||||
border-color: rgba(148, 179, 116, .24);
|
||||
background: rgba(20, 25, 21, .5);
|
||||
}
|
||||
|
||||
/* --- 配置页工作区 --- */
|
||||
.dark .uwa-config-workspace {
|
||||
background: rgba(28, 35, 29, .55);
|
||||
}
|
||||
|
||||
.dark .uwa-site-rail {
|
||||
background: rgba(36, 44, 37, .6);
|
||||
}
|
||||
|
||||
.dark .uwa-rail-site:hover { background: rgba(44, 54, 45, .6); }
|
||||
|
||||
.dark .uwa-rail-site.is-active {
|
||||
border-color: #46573c;
|
||||
background: #2f4126;
|
||||
box-shadow: 0 3px 9px rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.dark .uwa-switcher-site.is-active { border-color: #46573c; }
|
||||
|
||||
.dark .uwa-switcher-actions button {
|
||||
background: rgba(28, 35, 29, .9);
|
||||
}
|
||||
|
||||
.dark .uwa-site-switcher-popover {
|
||||
box-shadow: 0 22px 55px rgba(0, 0, 0, .5);
|
||||
}
|
||||
|
||||
.dark .uwa-switch-label i { background: #3a463b; }
|
||||
.dark .uwa-filter-toggle i { background: #3a463b; }
|
||||
|
||||
.dark .uwa-config-editor .config-preset-card {
|
||||
background: rgba(36, 44, 37, .5) !important;
|
||||
}
|
||||
|
||||
/* --- 配置页 v3.2 重排:新元素的夜间取值 --- */
|
||||
.dark .uwa-config-toolbar-meta > span {
|
||||
border-color: var(--uwa-line-soft);
|
||||
background: rgba(28, 35, 29, .6);
|
||||
}
|
||||
|
||||
.dark .uwa-config-workspace {
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .2), 0 14px 34px rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.dark .config-preset-chip {
|
||||
border-color: rgba(148, 179, 116, .3);
|
||||
}
|
||||
|
||||
.dark .preset-more[open] > summary {
|
||||
border-color: #46573c;
|
||||
}
|
||||
|
||||
.dark .preset-more-pop {
|
||||
box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
|
||||
}
|
||||
|
||||
.dark .uwa-config-search-pop {
|
||||
box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
|
||||
}
|
||||
.dark .uwa-dropdown-menu {
|
||||
border-color: var(--uwa-line);
|
||||
background: var(--uwa-paper-strong);
|
||||
box-shadow: 0 18px 42px rgba(0, 0, 0, .5);
|
||||
}
|
||||
|
||||
.dark .uwa-dropdown-icon {
|
||||
background: var(--uwa-paper-soft);
|
||||
color: #a3c28e;
|
||||
}
|
||||
|
||||
.dark .uwa-dropdown-item:hover:not(:disabled):not(.is-disabled) {
|
||||
background: var(--uwa-paper-soft);
|
||||
}
|
||||
|
||||
|
||||
.dark .uwa-config-editor .config-preset-card .preset-more-pop button.is-danger {
|
||||
color: #d99a8c !important;
|
||||
}
|
||||
|
||||
.dark .uwa-config-editor .config-preset-card .preset-btn.is-primary {
|
||||
color: #16200f !important;
|
||||
}
|
||||
|
||||
.dark .uwa-config-editor .config-preset-card .config-preset-hint {
|
||||
border-color: var(--uwa-line);
|
||||
background: rgba(20, 25, 21, .55);
|
||||
}
|
||||
|
||||
.dark .uwa-config-section-nav {
|
||||
background: rgba(20, 25, 21, .5);
|
||||
}
|
||||
|
||||
.dark .uwa-config-section-nav button.is-active {
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
|
||||
}
|
||||
|
||||
.dark .uwa-config-editor .config-fixed-panel > div:first-child,
|
||||
.dark .uwa-config-editor .config-fixed-panel > div:first-child:hover {
|
||||
background: rgba(36, 44, 37, .4) !important;
|
||||
}
|
||||
|
||||
.dark .uwa-config-editor .config-fixed-panel button.selector-add-btn {
|
||||
border-color: var(--uwa-line) !important;
|
||||
color: var(--uwa-ink) !important;
|
||||
background: var(--uwa-paper-strong) !important;
|
||||
}
|
||||
|
||||
.dark .uwa-config-editor .config-fixed-panel button.selector-add-btn:hover {
|
||||
background: var(--uwa-paper-soft) !important;
|
||||
}
|
||||
|
||||
/* --- 请求监控:Token 用量卡片 --- */
|
||||
.dark .uwa-token-kpis article {
|
||||
border-color: #3c4a33;
|
||||
background: #2b3724;
|
||||
box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
|
||||
}
|
||||
|
||||
.dark .uwa-token-kpis article.is-input { border-color: #4a442f; background: #322d1f; }
|
||||
.dark .uwa-token-kpis article.is-output { border-color: #524a36; background: #393325; }
|
||||
.dark .uwa-token-kpis article.is-calls { border-color: #485a3c; background: #2b3724; }
|
||||
|
||||
.dark .uwa-token-kpi-icon { background: #6d8156; }
|
||||
.dark .uwa-token-kpis article.is-calls .uwa-token-kpi-icon { background: #5b7048; }
|
||||
|
||||
.dark .uwa-token-legend i { background: #c2d0b0; }
|
||||
.dark .uwa-token-legend i.is-input { background: #8ed29a; }
|
||||
.dark .uwa-token-legend i.is-output { background: #f0a35e; }
|
||||
|
||||
.dark .uwa-token-line-chart path.is-input { stroke: #8ed29a; }
|
||||
.dark .uwa-token-line-chart path.is-output { stroke: #f0a35e; }
|
||||
.dark .uwa-daily-token-chart rect.is-input { fill: #8ed29a; }
|
||||
.dark .uwa-daily-token-chart rect.is-output { fill: #f0a35e; }
|
||||
.dark .uwa-daily-token-chart path { stroke: #c2d0b0; }
|
||||
|
||||
.dark .uwa-donut-track { stroke: #2c362d; }
|
||||
.dark .uwa-model-usage-list b { background: #2c362d; }
|
||||
.dark .uwa-system-load-panel i { background: #2c362d; }
|
||||
.dark .uwa-domain-row i { background: #2c362d; }
|
||||
|
||||
.dark .uwa-inline-error {
|
||||
border-color: #5e372e;
|
||||
color: #eba896;
|
||||
background: rgba(150, 70, 55, .16);
|
||||
}
|
||||
|
||||
/* --- 请求监控:图表与列表 --- */
|
||||
.dark .uwa-ranking-tabs,
|
||||
.dark .uwa-segmented {
|
||||
background: rgba(28, 35, 29, .75);
|
||||
}
|
||||
|
||||
.dark .uwa-trend-chart polygon { fill: rgba(148, 179, 116, .16); }
|
||||
|
||||
.dark .uwa-trend-health-legend i { background: #3a463b; }
|
||||
.dark .uwa-trend-health-legend i.is-success { background: #79aa77; }
|
||||
.dark .uwa-trend-health-legend i.is-failed { background: var(--uwa-clay); }
|
||||
.dark .uwa-trend-health > div.is-idle { background: #2c362d; }
|
||||
|
||||
.dark .uwa-request-table-wrap { background: rgba(28, 35, 29, .6); }
|
||||
.dark .uwa-request-table-header { background: rgba(36, 44, 37, .6); }
|
||||
.dark .uwa-request-row:hover { background: rgba(58, 72, 52, .35); }
|
||||
|
||||
/* --- 日志页 --- */
|
||||
.dark .uwa-simple-page .logs-workspace > div:first-child {
|
||||
background: rgba(36, 44, 37, .6) !important;
|
||||
}
|
||||
|
||||
/* ==================== 4. 旧组件字面量颜色 → 暖绿夜间色 ==================== */
|
||||
|
||||
/* 滚动条 */
|
||||
.dark ::-webkit-scrollbar-thumb { background: #3b463d; }
|
||||
.dark ::-webkit-scrollbar-thumb:hover { background: #4c584e; }
|
||||
|
||||
/* 设置页分组卡片 */
|
||||
.dark .settings-group {
|
||||
background-color: #1c231d;
|
||||
border-color: #333d34;
|
||||
}
|
||||
|
||||
.dark .settings-group-header {
|
||||
background-color: #1c231d;
|
||||
border-color: #333d34;
|
||||
}
|
||||
|
||||
.dark .settings-group-header:hover { background-color: #161c17; }
|
||||
.dark .settings-group-title { color: #edf1e6; }
|
||||
.dark .settings-row { border-color: #2a332b; }
|
||||
.dark .settings-label { color: #edf1e6; }
|
||||
.dark .settings-desc { color: #8b967f; }
|
||||
|
||||
.dark .settings-input {
|
||||
background-color: #141915;
|
||||
border-color: #3b463d;
|
||||
color: #edf1e6;
|
||||
}
|
||||
|
||||
.dark .settings-input::placeholder { color: #6d7a68; }
|
||||
|
||||
.dark .settings-input:focus {
|
||||
border-color: var(--uwa-accent, #88a66f);
|
||||
box-shadow: 0 0 0 2px rgba(136, 166, 111, .35);
|
||||
}
|
||||
|
||||
.dark .toggle-bg { background-color: #3a463b; }
|
||||
.dark .toggle-label input:checked + .toggle-bg { background-color: #6f8f55; }
|
||||
|
||||
/* 标签页池控制台令牌 */
|
||||
.dark .tab-pool-console {
|
||||
--tp-bg: #141915;
|
||||
--tp-panel: #1c231d;
|
||||
--tp-soft: #161c17;
|
||||
--tp-soft-strong: #242c25;
|
||||
--tp-border: #333d34;
|
||||
--tp-text: #edf1e6;
|
||||
--tp-muted: #b7c1af;
|
||||
--tp-faint: #7f8b76;
|
||||
--tp-accent: #94b374;
|
||||
--tp-accent-soft: rgba(148, 179, 116, .18);
|
||||
--tp-code: #242c25;
|
||||
}
|
||||
|
||||
/* 新手引导卡片:由冷蓝渐变换成暖绿渐变 */
|
||||
.dark .dashboard-guide-card {
|
||||
border-color: rgba(90, 105, 80, .5);
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(148, 179, 116, .12), transparent 44%),
|
||||
linear-gradient(135deg, rgba(22, 28, 23, .96), rgba(28, 35, 29, .96));
|
||||
box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
|
||||
}
|
||||
|
||||
.dark .dashboard-guide-badge {
|
||||
background: rgba(148, 179, 116, .14);
|
||||
color: #c9d8b6;
|
||||
}
|
||||
|
||||
.dark .dashboard-guide-toggle {
|
||||
border-color: rgba(90, 105, 80, .55);
|
||||
background: rgba(20, 25, 21, .74);
|
||||
color: #c9d8b6;
|
||||
}
|
||||
|
||||
.dark .dashboard-guide-btn--secondary {
|
||||
border-color: rgba(90, 105, 80, .6);
|
||||
background: rgba(20, 25, 21, .72);
|
||||
color: #d8dfd0;
|
||||
}
|
||||
|
||||
.dark .dashboard-guide-step,
|
||||
.dark .dashboard-mini-card,
|
||||
.dark .dashboard-checklist-item,
|
||||
.dark .dashboard-empty-state,
|
||||
.dark .dashboard-field-tooltip {
|
||||
background: rgba(20, 25, 21, .62);
|
||||
border-color: rgba(90, 105, 80, .52);
|
||||
color: #c4cdbb;
|
||||
}
|
||||
|
||||
.dark .dashboard-guide-step strong,
|
||||
.dark .dashboard-mini-card-title { color: #edf1e6; }
|
||||
|
||||
/* ==================== 5. 全局细节增强(亮暗通用) ==================== */
|
||||
|
||||
/* 键盘导航焦点可见性:统一使用主题强调色 */
|
||||
#app :focus-visible {
|
||||
outline: 2px solid var(--uwa-olive, #5d6b4d);
|
||||
outline-offset: 2px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#app input:focus-visible,
|
||||
#app select:focus-visible,
|
||||
#app textarea:focus-visible {
|
||||
outline: none; /* 输入框已有 focus 边框与阴影,避免双重描边 */
|
||||
}
|
||||
|
||||
/* 文字选区 */
|
||||
::selection {
|
||||
background: rgba(143, 188, 143, .38);
|
||||
}
|
||||
|
||||
.dark ::selection {
|
||||
background: rgba(148, 179, 116, .4);
|
||||
}
|
||||
|
||||
/* 主要表面的主题切换过渡,让明暗切换更柔和 */
|
||||
body,
|
||||
.app-sidebar,
|
||||
.dashboard-main,
|
||||
.dashboard-scroll-region,
|
||||
.uwa-action-card,
|
||||
.uwa-config-workspace,
|
||||
.settings-group {
|
||||
transition: background-color .25s ease, border-color .25s ease;
|
||||
}
|
||||
|
||||
/* 尊重"减少动态效果"系统偏好 */
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: .01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: .01ms !important;
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 6. Toast 通知(统一主题样式) ==================== */
|
||||
.uwa-toast-stack {
|
||||
position: fixed;
|
||||
top: 18px;
|
||||
right: 18px;
|
||||
z-index: 60;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
width: min(340px, calc(100vw - 36px));
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.uwa-toast {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
padding: 11px 14px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-left: 3px solid var(--uwa-olive, #5d6b4d);
|
||||
border-radius: 8px;
|
||||
color: var(--uwa-ink, #33402c);
|
||||
background: var(--uwa-paper-strong, #fffdf8);
|
||||
box-shadow: 0 10px 28px rgba(47, 55, 39, .18);
|
||||
font-size: 13px;
|
||||
line-height: 1.55;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
animation: uwa-toast-in .22s ease-out;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.dark .uwa-toast {
|
||||
box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
|
||||
}
|
||||
|
||||
.uwa-toast-dot {
|
||||
flex: 0 0 8px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
margin-top: 6px;
|
||||
border-radius: 50%;
|
||||
background: var(--uwa-olive, #5d6b4d);
|
||||
}
|
||||
|
||||
.uwa-toast.is-success { border-left-color: #6ea56d; }
|
||||
.uwa-toast.is-success .uwa-toast-dot { background: #6ea56d; }
|
||||
.uwa-toast.is-error { border-left-color: #a86159; }
|
||||
.uwa-toast.is-error .uwa-toast-dot { background: #a86159; }
|
||||
.uwa-toast.is-warning { border-left-color: #b99359; }
|
||||
.uwa-toast.is-warning .uwa-toast-dot { background: #b99359; }
|
||||
.uwa-toast.is-info { border-left-color: #7397a2; }
|
||||
.uwa-toast.is-info .uwa-toast-dot { background: #7397a2; }
|
||||
|
||||
@keyframes uwa-toast-in {
|
||||
from {
|
||||
transform: translateX(14px);
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 请求工作流面板(uwa-workflow-panel)夜间取值 ==================== */
|
||||
|
||||
/* 主按钮(新增步骤):夜间浅绿底配深字,保证对比度 */
|
||||
.dark .uwa-workflow-panel > div:first-child .flex.gap-2 button.bg-blue-500 {
|
||||
color: #142011 !important;
|
||||
}
|
||||
|
||||
/* 步骤卡片悬停描边 */
|
||||
.dark .uwa-workflow-panel > div:last-child > div.rounded-lg:not(.uwa-wf-hint):hover {
|
||||
border-color: #46573c !important;
|
||||
}
|
||||
|
||||
/* 删除类操作 */
|
||||
.dark .uwa-workflow-panel button[class*="hover:text-red"]:hover {
|
||||
color: #d8988a !important;
|
||||
background: rgba(201, 143, 122, .16) !important;
|
||||
}
|
||||
|
||||
/* 只读提示语气卡 */
|
||||
.dark .uwa-workflow-panel .uwa-wf-hint.is-info {
|
||||
border-color: rgba(130, 169, 181, .38) !important;
|
||||
background: rgba(130, 169, 181, .12) !important;
|
||||
color: #b8d2da !important;
|
||||
}
|
||||
|
||||
.dark .uwa-workflow-panel .uwa-wf-hint.is-success {
|
||||
border-color: rgba(148, 179, 116, .4) !important;
|
||||
background: rgba(148, 179, 116, .13) !important;
|
||||
color: #c4d8ad !important;
|
||||
}
|
||||
|
||||
.dark .uwa-workflow-panel .uwa-wf-hint.is-warning {
|
||||
border-color: rgba(202, 163, 101, .4) !important;
|
||||
background: rgba(202, 163, 101, .13) !important;
|
||||
color: #e0c294 !important;
|
||||
}
|
||||
|
||||
.dark .uwa-workflow-panel .uwa-wf-hint.is-danger {
|
||||
border-color: rgba(201, 143, 122, .42) !important;
|
||||
background: rgba(201, 143, 122, .13) !important;
|
||||
color: #e4b1a1 !important;
|
||||
}
|
||||
|
||||
/* 提示卡内的编辑小按钮:夜间用深色玻璃底 */
|
||||
.dark .uwa-workflow-panel .uwa-wf-hint button[class*="bg-white/"] {
|
||||
background: rgba(15, 19, 15, .35) !important;
|
||||
}
|
||||
|
||||
/* 页面直发说明框 */
|
||||
.dark .uwa-workflow-panel .uwa-wf-note {
|
||||
border-color: rgba(130, 169, 181, .38);
|
||||
background: rgba(130, 169, 181, .12);
|
||||
color: #b8d2da;
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,915 @@
|
||||
.uwa-onboarding-root {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 5000;
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
font-family: Inter, "Segoe UI", "Microsoft YaHei", sans-serif;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.uwa-onboarding-backdrop,
|
||||
.uwa-tour-shade {
|
||||
position: fixed;
|
||||
background: rgba(29, 35, 27, .62);
|
||||
backdrop-filter: blur(2px);
|
||||
}
|
||||
|
||||
.uwa-onboarding-backdrop {
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.uwa-onboarding-backdrop.is-strong {
|
||||
background: rgba(29, 35, 27, .72);
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
.uwa-tour-shade {
|
||||
z-index: 5001;
|
||||
transition: all .22s ease;
|
||||
}
|
||||
|
||||
.uwa-tour-spotlight {
|
||||
position: fixed;
|
||||
z-index: 5002;
|
||||
border: 2px solid #9fbd83;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 0 0 4px rgba(220, 232, 201, .28), 0 12px 34px rgba(22, 28, 19, .2);
|
||||
pointer-events: auto;
|
||||
transition: all .22s ease;
|
||||
}
|
||||
|
||||
.uwa-welcome-dialog,
|
||||
.uwa-module-card,
|
||||
.uwa-sop-dialog {
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 8px;
|
||||
background: var(--uwa-paper-strong, #fffdf8);
|
||||
box-shadow: 0 30px 90px rgba(25, 31, 22, .34);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.uwa-welcome-dialog {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: min(560px, calc(100vw - 32px));
|
||||
padding: 38px 42px 30px;
|
||||
transform: translate(-50%, -50%);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.uwa-tour-icon-button {
|
||||
display: inline-flex;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 0;
|
||||
border-radius: 7px;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.uwa-tour-icon-button:hover {
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
background: var(--uwa-paper-soft, #f1ecdf);
|
||||
}
|
||||
|
||||
.uwa-tour-icon-button:focus-visible,
|
||||
.uwa-tour-button:focus-visible,
|
||||
.uwa-tour-skip:focus-visible,
|
||||
.uwa-sop-rail button:focus-visible {
|
||||
outline: 2px solid var(--uwa-olive, #5d6b4d);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.uwa-welcome-dialog > .uwa-tour-icon-button {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
right: 16px;
|
||||
}
|
||||
|
||||
.uwa-welcome-mark {
|
||||
display: inline-flex;
|
||||
position: relative;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.uwa-welcome-mark img {
|
||||
width: 76px;
|
||||
height: 76px;
|
||||
padding: 8px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 8px;
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
}
|
||||
|
||||
.uwa-welcome-mark span {
|
||||
position: absolute;
|
||||
right: -34px;
|
||||
bottom: -7px;
|
||||
min-width: 72px;
|
||||
padding: 5px 8px;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
background: var(--uwa-clay, #bd806c);
|
||||
font-size: 11px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.uwa-tour-kicker {
|
||||
margin: 0 0 8px;
|
||||
color: var(--uwa-olive, #5d6b4d);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: .13em !important;
|
||||
}
|
||||
|
||||
.uwa-welcome-dialog h2 {
|
||||
margin: 0;
|
||||
font-size: 30px;
|
||||
line-height: 1.25;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-welcome-copy {
|
||||
max-width: 430px;
|
||||
margin: 14px auto 0;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 14px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.uwa-welcome-preview {
|
||||
display: grid;
|
||||
grid-template-columns: auto 1fr auto 1fr auto;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin: 28px 0;
|
||||
padding: 18px 20px;
|
||||
border-top: 1px solid var(--uwa-line-soft, #e8e1d5);
|
||||
border-bottom: 1px solid var(--uwa-line-soft, #e8e1d5);
|
||||
}
|
||||
|
||||
.uwa-welcome-preview span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 11px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.uwa-welcome-preview i {
|
||||
display: inline-flex;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
background: var(--uwa-olive, #5d6b4d);
|
||||
font-style: normal;
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-welcome-preview b {
|
||||
height: 1px;
|
||||
background: var(--uwa-line, #ddd4c3);
|
||||
}
|
||||
|
||||
.uwa-welcome-actions,
|
||||
.uwa-tour-footer,
|
||||
.uwa-sop-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.uwa-welcome-actions .uwa-tour-button {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.uwa-tour-button {
|
||||
display: inline-flex;
|
||||
min-height: 44px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 9px;
|
||||
padding: 0 20px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 7px;
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
transition: background .16s ease, border-color .16s ease, transform .16s ease;
|
||||
}
|
||||
|
||||
.uwa-tour-button:not(:disabled):active {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
|
||||
.uwa-tour-button.is-primary {
|
||||
color: #fff;
|
||||
border-color: var(--uwa-olive, #5d6b4d);
|
||||
background: var(--uwa-olive, #5d6b4d);
|
||||
}
|
||||
|
||||
.uwa-tour-button.is-primary:hover {
|
||||
background: var(--uwa-olive-dark, #48553c);
|
||||
}
|
||||
|
||||
.uwa-tour-button.is-secondary {
|
||||
color: var(--uwa-ink, #33402c);
|
||||
border-color: var(--uwa-line, #ddd4c3);
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.uwa-tour-button.is-secondary:hover {
|
||||
background: var(--uwa-paper-soft, #f1ecdf);
|
||||
}
|
||||
|
||||
.uwa-tour-button.is-compact {
|
||||
min-height: 38px;
|
||||
padding: 0 15px;
|
||||
}
|
||||
|
||||
.uwa-tour-button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: .42;
|
||||
}
|
||||
|
||||
.uwa-tour-button svg,
|
||||
.uwa-tour-icon-button svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
.uwa-welcome-footnote {
|
||||
margin: 17px 0 0;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uwa-module-card {
|
||||
position: fixed;
|
||||
z-index: 5003;
|
||||
padding: 22px;
|
||||
}
|
||||
|
||||
.uwa-tour-card-header,
|
||||
.uwa-sop-topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.uwa-tour-card-header > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.uwa-tour-stage {
|
||||
color: var(--uwa-olive, #5d6b4d);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-tour-step-count {
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uwa-tour-progress {
|
||||
height: 3px;
|
||||
margin: 15px 0 20px;
|
||||
border-radius: 2px;
|
||||
background: var(--uwa-line-soft, #e8e1d5);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uwa-tour-progress i,
|
||||
.uwa-sop-rail-progress i {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: var(--uwa-olive, #5d6b4d);
|
||||
transition: width .22s ease;
|
||||
}
|
||||
|
||||
.uwa-module-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 13px;
|
||||
}
|
||||
|
||||
.uwa-module-number {
|
||||
display: inline-flex;
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 7px;
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
background: var(--uwa-leaf-soft, #dce8c9);
|
||||
font-family: Consolas, monospace;
|
||||
font-size: 15px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-module-heading p {
|
||||
margin: 0 0 3px;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-family: Consolas, monospace;
|
||||
font-size: 10px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.uwa-module-heading h2 {
|
||||
margin: 0;
|
||||
font-size: 22px;
|
||||
line-height: 1.2;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-module-card h3 {
|
||||
margin: 20px 0 7px;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-module-detail {
|
||||
min-height: 63px;
|
||||
margin: 0;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 13px;
|
||||
line-height: 1.65;
|
||||
}
|
||||
|
||||
.uwa-tour-footer {
|
||||
margin-top: 20px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid var(--uwa-line-soft, #e8e1d5);
|
||||
}
|
||||
|
||||
.uwa-tour-footer > div,
|
||||
.uwa-sop-footer > div {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.uwa-tour-skip {
|
||||
padding: 6px 0;
|
||||
border: 0;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
background: transparent;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uwa-tour-skip:hover {
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
}
|
||||
|
||||
.uwa-sop-dialog {
|
||||
display: grid;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: min(920px, calc(100vw - 40px));
|
||||
height: min(650px, calc(100vh - 40px));
|
||||
grid-template-columns: 220px minmax(0, 1fr);
|
||||
overflow: hidden;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.uwa-sop-rail {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 30px 22px 24px;
|
||||
border-right: 1px solid var(--uwa-line, #ddd4c3);
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
}
|
||||
|
||||
.uwa-sop-rail-heading {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.uwa-sop-rail-heading strong {
|
||||
margin-top: 8px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.uwa-sop-rail-heading small {
|
||||
margin-top: 3px;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uwa-sop-rail nav {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
margin-top: 34px;
|
||||
}
|
||||
|
||||
.uwa-sop-rail nav button {
|
||||
display: flex;
|
||||
min-height: 42px;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 0 10px;
|
||||
border: 0;
|
||||
border-radius: 7px;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
background: transparent;
|
||||
font-size: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.uwa-sop-rail nav button:hover {
|
||||
background: rgba(220, 232, 201, .45);
|
||||
}
|
||||
|
||||
.uwa-sop-rail nav button.is-active {
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
background: var(--uwa-leaf-soft, #dce8c9);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-sop-rail nav button i {
|
||||
display: inline-flex;
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
flex: 0 0 23px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 50%;
|
||||
background: var(--uwa-paper-strong, #fffdf8);
|
||||
font-style: normal;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.uwa-sop-rail nav button.is-active i,
|
||||
.uwa-sop-rail nav button.is-done i {
|
||||
color: #fff;
|
||||
border-color: var(--uwa-olive, #5d6b4d);
|
||||
background: var(--uwa-olive, #5d6b4d);
|
||||
}
|
||||
|
||||
.uwa-sop-rail-progress {
|
||||
margin-top: auto;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.uwa-sop-rail-progress strong {
|
||||
float: right;
|
||||
color: var(--uwa-ink, #33402c);
|
||||
}
|
||||
|
||||
.uwa-sop-rail-progress > div {
|
||||
height: 4px;
|
||||
margin-top: 9px;
|
||||
border-radius: 2px;
|
||||
background: var(--uwa-line, #ddd4c3);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uwa-sop-content {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.uwa-sop-topbar {
|
||||
min-height: 58px;
|
||||
padding: 0 24px 0 34px;
|
||||
border-bottom: 1px solid var(--uwa-line-soft, #e8e1d5);
|
||||
}
|
||||
|
||||
.uwa-sop-topbar > span {
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-sop-scroll {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
padding: 34px 44px 24px;
|
||||
}
|
||||
|
||||
.uwa-sop-scroll h2 {
|
||||
max-width: 600px;
|
||||
margin: 0;
|
||||
font-size: 28px;
|
||||
line-height: 1.3;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-sop-intro {
|
||||
max-width: 650px;
|
||||
margin: 14px 0 0;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 14px;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.uwa-bridge-flow {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 22px 1fr 22px 1fr;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.uwa-bridge-flow > div {
|
||||
display: flex;
|
||||
min-height: 140px;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 18px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 7px;
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
}
|
||||
|
||||
.uwa-bridge-flow > div.is-accent {
|
||||
border-color: #b9cba7;
|
||||
background: var(--uwa-leaf-soft, #dce8c9);
|
||||
}
|
||||
|
||||
.uwa-bridge-flow > div > span {
|
||||
display: inline-flex;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin-bottom: 14px;
|
||||
border-radius: 6px;
|
||||
color: var(--uwa-olive, #5d6b4d);
|
||||
background: var(--uwa-paper-strong, #fffdf8);
|
||||
}
|
||||
|
||||
.uwa-bridge-flow svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.uwa-bridge-flow > i {
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
}
|
||||
|
||||
.uwa-bridge-flow strong,
|
||||
.uwa-browser-body strong,
|
||||
.uwa-check-list strong {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.uwa-bridge-flow small,
|
||||
.uwa-browser-body small,
|
||||
.uwa-check-list small {
|
||||
margin-top: 5px;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-size: 10px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.uwa-browser-example {
|
||||
margin-top: 28px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 7px;
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.uwa-browser-bar {
|
||||
display: flex;
|
||||
height: 42px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 0 14px;
|
||||
border-bottom: 1px solid var(--uwa-line, #ddd4c3);
|
||||
}
|
||||
|
||||
.uwa-browser-bar i {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--uwa-clay, #bd806c);
|
||||
}
|
||||
|
||||
.uwa-browser-bar i:nth-child(2) { background: var(--uwa-ochre, #b99359); }
|
||||
.uwa-browser-bar i:nth-child(3) { background: var(--uwa-blue, #7397a2); }
|
||||
|
||||
.uwa-browser-bar span {
|
||||
flex: 1;
|
||||
margin-left: 8px;
|
||||
padding: 6px 12px;
|
||||
border-radius: 5px;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
background: var(--uwa-paper-strong, #fffdf8);
|
||||
font-family: Consolas, monospace;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.uwa-browser-body {
|
||||
display: flex;
|
||||
min-height: 142px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 17px;
|
||||
}
|
||||
|
||||
.uwa-browser-body > span {
|
||||
display: inline-flex;
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 7px;
|
||||
color: var(--uwa-olive, #5d6b4d);
|
||||
background: var(--uwa-leaf-soft, #dce8c9);
|
||||
}
|
||||
|
||||
.uwa-browser-body svg { width: 24px; height: 24px; }
|
||||
.uwa-browser-body > div { display: flex; flex-direction: column; }
|
||||
|
||||
.uwa-check-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.uwa-check-list > div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 17px 18px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 7px;
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
}
|
||||
|
||||
.uwa-check-list > div > i {
|
||||
display: inline-flex;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
flex: 0 0 32px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
background: var(--uwa-clay, #bd806c);
|
||||
font-style: normal;
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-check-list span { display: flex; min-width: 0; flex-direction: column; }
|
||||
|
||||
.uwa-route-list {
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
margin-top: 26px;
|
||||
}
|
||||
|
||||
.uwa-route-list article {
|
||||
display: grid;
|
||||
grid-template-columns: 112px minmax(0, 1fr);
|
||||
gap: 5px 12px;
|
||||
padding: 13px 15px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 7px;
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
}
|
||||
|
||||
.uwa-route-list article.is-recommended {
|
||||
border-color: #b9cba7;
|
||||
background: var(--uwa-leaf-soft, #dce8c9);
|
||||
}
|
||||
|
||||
.uwa-route-list span {
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-route-list code,
|
||||
.uwa-client-fields code {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
font-family: Consolas, monospace;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.uwa-route-list p {
|
||||
grid-column: 2;
|
||||
margin: 0;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.uwa-client-fields {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
margin-top: 28px;
|
||||
}
|
||||
|
||||
.uwa-client-fields label {
|
||||
display: grid;
|
||||
grid-template-columns: 90px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 8px 14px;
|
||||
min-height: 66px;
|
||||
padding: 12px 16px;
|
||||
border: 1px solid var(--uwa-line, #ddd4c3);
|
||||
border-radius: 7px;
|
||||
background: var(--uwa-paper, #f7f3ea);
|
||||
}
|
||||
|
||||
.uwa-client-fields label > span {
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-client-fields label > small {
|
||||
grid-column: 2;
|
||||
color: var(--uwa-muted-soft, #929883);
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.uwa-sop-note {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 22px;
|
||||
padding: 12px 14px;
|
||||
border-left: 3px solid var(--uwa-blue, #7397a2);
|
||||
background: rgba(115, 151, 162, .09);
|
||||
}
|
||||
|
||||
.uwa-sop-note span {
|
||||
color: var(--uwa-blue, #7397a2);
|
||||
font-size: 10px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.uwa-sop-note p {
|
||||
margin: 0;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
font-size: 11px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.uwa-sop-footer {
|
||||
min-height: 70px;
|
||||
padding: 0 30px;
|
||||
border-top: 1px solid var(--uwa-line-soft, #e8e1d5);
|
||||
}
|
||||
|
||||
.app-guide-link {
|
||||
display: flex;
|
||||
min-height: 34px;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
padding: 0 9px;
|
||||
border: 0;
|
||||
border-radius: 7px;
|
||||
color: var(--uwa-muted, #6e775f);
|
||||
background: transparent;
|
||||
font-size: 12px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.app-guide-link:hover {
|
||||
color: var(--uwa-ink-strong, #263321);
|
||||
background: var(--uwa-paper-soft, #f1ecdf);
|
||||
}
|
||||
|
||||
.app-guide-link span:first-child,
|
||||
.app-guide-link svg {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
html.dark .uwa-welcome-dialog,
|
||||
html.dark .uwa-module-card,
|
||||
html.dark .uwa-sop-dialog {
|
||||
border-color: #4f5948;
|
||||
color: #eef1e9;
|
||||
background: #252b22;
|
||||
}
|
||||
|
||||
html.dark .uwa-onboarding-root {
|
||||
--uwa-paper: #1f251d;
|
||||
--uwa-paper-strong: #252b22;
|
||||
--uwa-paper-soft: #343c30;
|
||||
--uwa-ink: #dce2d6;
|
||||
--uwa-ink-strong: #eef1e9;
|
||||
--uwa-muted: #b8c0b0;
|
||||
--uwa-muted-soft: #8f9988;
|
||||
--uwa-line: #4f5948;
|
||||
--uwa-line-soft: #394235;
|
||||
--uwa-olive: #91ad79;
|
||||
--uwa-olive-dark: #7f9b69;
|
||||
--uwa-leaf-soft: #3b4934;
|
||||
--uwa-clay: #cf8e79;
|
||||
--uwa-blue: #8eb1bc;
|
||||
}
|
||||
|
||||
html.dark .uwa-sop-rail,
|
||||
html.dark .uwa-bridge-flow > div,
|
||||
html.dark .uwa-browser-example,
|
||||
html.dark .uwa-check-list > div,
|
||||
html.dark .uwa-route-list article,
|
||||
html.dark .uwa-client-fields label {
|
||||
border-color: #4f5948;
|
||||
background: #2d3329;
|
||||
}
|
||||
|
||||
html.dark .uwa-route-list article.is-recommended,
|
||||
html.dark .uwa-bridge-flow > div.is-accent,
|
||||
html.dark .uwa-sop-rail nav button.is-active {
|
||||
background: #3b4934;
|
||||
}
|
||||
|
||||
html.dark .uwa-welcome-copy,
|
||||
html.dark .uwa-module-detail,
|
||||
html.dark .uwa-sop-intro,
|
||||
html.dark .uwa-route-list p,
|
||||
html.dark .uwa-sop-note p {
|
||||
color: #b8c0b0;
|
||||
}
|
||||
|
||||
html.dark .uwa-tour-button.is-secondary,
|
||||
html.dark .uwa-tour-icon-button {
|
||||
color: #dce2d6;
|
||||
border-color: #4f5948;
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.uwa-onboarding-backdrop,
|
||||
.uwa-tour-shade {
|
||||
backdrop-filter: none;
|
||||
}
|
||||
|
||||
.uwa-welcome-dialog {
|
||||
padding: 30px 22px 24px;
|
||||
}
|
||||
|
||||
.uwa-welcome-dialog h2 { font-size: 25px; }
|
||||
.uwa-welcome-preview { grid-template-columns: 1fr; gap: 8px; text-align: left; }
|
||||
.uwa-welcome-preview b { display: none; }
|
||||
.uwa-welcome-preview span { justify-content: center; }
|
||||
.uwa-module-card { max-height: calc(100vh - 28px); padding: 18px; overflow: auto; }
|
||||
.uwa-module-detail { min-height: 0; }
|
||||
.uwa-tour-footer { align-items: flex-end; }
|
||||
.uwa-tour-footer > div { flex-wrap: wrap; justify-content: flex-end; }
|
||||
|
||||
.uwa-sop-dialog {
|
||||
width: calc(100vw - 20px);
|
||||
height: calc(100vh - 20px);
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.uwa-sop-rail {
|
||||
display: block;
|
||||
padding: 14px 16px;
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--uwa-line, #ddd4c3);
|
||||
}
|
||||
|
||||
.uwa-sop-rail-heading { display: none; }
|
||||
.uwa-sop-rail nav { display: flex; justify-content: center; gap: 5px; margin: 0; }
|
||||
.uwa-sop-rail nav button { width: 34px; min-height: 34px; justify-content: center; padding: 0; }
|
||||
.uwa-sop-rail nav button span { display: none; }
|
||||
.uwa-sop-rail-progress { display: none; }
|
||||
.uwa-sop-topbar { min-height: 50px; padding: 0 14px 0 20px; }
|
||||
.uwa-sop-scroll { padding: 24px 20px 18px; }
|
||||
.uwa-sop-scroll h2 { font-size: 23px; }
|
||||
.uwa-bridge-flow { grid-template-columns: 1fr; }
|
||||
.uwa-bridge-flow > div { min-height: 90px; }
|
||||
.uwa-bridge-flow > i { margin: -3px auto; transform: rotate(90deg); }
|
||||
.uwa-route-list article { grid-template-columns: 1fr; }
|
||||
.uwa-route-list p { grid-column: 1; }
|
||||
.uwa-client-fields label { grid-template-columns: 1fr; }
|
||||
.uwa-client-fields label > small { grid-column: 1; }
|
||||
.uwa-sop-footer { min-height: 64px; padding: 0 16px; }
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.uwa-tour-shade,
|
||||
.uwa-tour-spotlight,
|
||||
.uwa-tour-progress i,
|
||||
.uwa-sop-rail-progress i,
|
||||
.uwa-tour-button {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,290 @@
|
||||
/* Operations workspace · uses the existing application palette.
|
||||
Scoped to the pool and monitor; navigation and site configuration are untouched. */
|
||||
.ops-pool, .ops-monitor { --ops-soft: color-mix(in srgb, var(--uwa-olive) 6%, var(--uwa-paper-strong)); --ops-danger: #a15e4d; --ops-warning: #94713e; color: var(--uwa-ink); }
|
||||
.dark .ops-pool, .dark .ops-monitor { --ops-danger: #d99c87; --ops-warning: #c5a56f; }
|
||||
:is(.ops-pool,.ops-monitor) button:focus-visible, :is(.ops-pool,.ops-monitor) summary:focus-visible { outline: 2px solid var(--uwa-olive); outline-offset: 4px; }
|
||||
:is(.ops-pool,.ops-monitor) button:disabled { opacity: .5; cursor: not-allowed; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-eyebrow, .ops-monitor .uwa-eyebrow { display: block; color: var(--uwa-muted-soft); font-size: 10px; letter-spacing: .12em !important; font-weight: 600; }
|
||||
:is(.ops-pool,.ops-monitor) h1 { margin: 8px 0 0; color: var(--uwa-ink-strong); font-size: 27px; line-height: 1.3; font-weight: 650; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-page-description, .ops-monitor .uwa-page-header > div > p:last-child { margin: 9px 0 0; color: var(--uwa-muted); font-size: 12px; line-height: 1.8; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 0; border: 0; background: transparent; color: var(--uwa-olive); font-size: 12px; cursor: pointer; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-text-button svg { width: 15px; height: 15px; }
|
||||
/* A shared, quiet metric strip. Pool tiles also filter the visible collection. */
|
||||
.ops-pool .ops-pool-summary, .ops-monitor .ops-monitor-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0 0 28px; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat { min-width: 0; padding: 19px 21px; border: 1px solid var(--uwa-line); border-radius: 11px; background: var(--uwa-paper-strong); color: var(--uwa-ink); text-align: left; box-shadow: none; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--uwa-muted); }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > span i { display: inline-flex; color: var(--uwa-muted-soft); }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat svg { width: 17px; height: 17px; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > strong { display: block; margin: 12px 0 8px; font-size: 31px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--uwa-ink-strong); }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > strong em { margin-left: 9px; font-size: 11px; font-weight: 400; font-style: normal; color: var(--uwa-muted); }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > small { display: block; font-size: 10px; line-height: 1.7; color: var(--uwa-muted); }
|
||||
.ops-pool .ops-stat { cursor: pointer; transition: border-color .15s, background .15s; }
|
||||
.ops-pool .ops-stat:hover { border-color: var(--uwa-olive); }
|
||||
.ops-pool .ops-stat.is-selected, .ops-monitor .ops-stat.is-live { background: var(--ops-soft); border-color: color-mix(in srgb,var(--uwa-olive) 36%,var(--uwa-line)); }
|
||||
.ops-pool .ops-stat.is-idle > span i { color: var(--uwa-olive); }
|
||||
.ops-pool .ops-stat.is-busy > span i { color: var(--ops-warning); }
|
||||
.ops-pool .ops-stat.is-attention > span i { color: var(--ops-danger); }
|
||||
/* Pool: full-width collection, optional routing drawer instead of a second icon rail. */
|
||||
.ops-pool.tab-pool-console { display: block; min-height: 100%; height: auto; background: var(--uwa-paper) !important; --tp-bg: var(--uwa-paper); --tp-panel: var(--uwa-paper-strong); --tp-soft: var(--uwa-paper-soft); --tp-soft-strong: var(--ops-soft); --tp-border: var(--uwa-line); --tp-text: var(--uwa-ink); --tp-muted: var(--uwa-muted); --tp-faint: var(--uwa-muted-soft); --tp-accent: var(--uwa-olive); --tp-accent-soft: var(--ops-soft); --tp-code: var(--uwa-paper-soft); }
|
||||
.ops-pool .tab-pool-main { display: block; width: min(100%,1488px); margin: auto; padding: 36px 46px 44px; background: transparent !important; }
|
||||
.ops-pool .tab-pool-topbar { position: static; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; min-height: 0 !important; padding: 0 0 28px; border: 0; background: transparent !important; }
|
||||
.ops-pool .tab-pool-view-title { flex: 1; min-width: 260px; }
|
||||
.ops-pool .tab-pool-title-line { display: block; }
|
||||
.ops-pool .tab-pool-top-actions { gap: 8px; }
|
||||
.ops-pool .tab-pool-top-actions > button, .ops-pool .tab-pool-settings-wrap > button { min-height: 36px; padding: 0 12px; border: 1px solid var(--uwa-line); border-radius: 7px; background: var(--uwa-paper-strong); color: var(--uwa-ink); font-size: 11px; font-weight: 500; }
|
||||
.ops-pool .tab-pool-top-actions svg { width: 15px; height: 15px; }
|
||||
.ops-pool .tab-pool-refresh { background: var(--uwa-olive) !important; color: var(--uwa-paper-strong) !important; box-shadow: none; }
|
||||
.ops-pool .tab-pool-mobile-menu { display: none; }
|
||||
.ops-pool .tab-pool-scroll { overflow: visible; background: transparent !important; background-image: none; }
|
||||
.ops-pool .tab-pool-content { width: 100%; padding: 0; }
|
||||
.ops-pool .tab-pool-error { margin: 0 0 16px; color: var(--ops-danger); border-color: color-mix(in srgb,var(--ops-danger) 30%,var(--uwa-line)); background: color-mix(in srgb,var(--ops-danger) 6%,var(--uwa-paper-strong)); }
|
||||
.ops-pool .ops-pool-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--uwa-line); }
|
||||
.ops-pool .ops-group-chips { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 7px; min-width: 0; }
|
||||
.ops-pool .ops-group-chips button { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 8px 11px; border: 1px solid transparent; border-radius: 7px; color: var(--uwa-muted); background: transparent; font-size: 12px; overflow-wrap: anywhere; }
|
||||
.ops-pool .ops-group-chips button.is-active { background: var(--uwa-paper-strong); border-color: var(--uwa-line); color: var(--uwa-ink); }
|
||||
.ops-pool .ops-group-chips .ops-new-group { font-size: 11px; }
|
||||
.ops-pool .ops-group-chips svg { width: 14px; height: 14px; }
|
||||
.ops-pool .ops-group-chips small { font-size: 10px; color: var(--uwa-muted-soft); }
|
||||
.ops-pool .tab-pool-search { display: flex; width: 245px; max-width: 100%; height: 37px; border-color: var(--uwa-line); border-radius: 7px; background: var(--uwa-paper-strong); }
|
||||
.ops-pool .tab-pool-search input { font-size: 11px; }
|
||||
.ops-pool .tab-pool-list-heading { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 15px; }
|
||||
.ops-pool .tab-pool-list-heading h3 { font-size: 13px; font-weight: 600; color: var(--uwa-ink); }
|
||||
.ops-pool .ops-pool-live { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: var(--uwa-muted); }
|
||||
.ops-pool .ops-pool-live > i { width: 6px; height: 6px; border-radius: 50%; background: var(--uwa-olive); }
|
||||
.ops-pool .ops-pool-live > i.is-paused { background: var(--uwa-muted-soft); }
|
||||
.ops-pool .ops-pool-live small { color: var(--uwa-muted-soft); font-size: 10px; }
|
||||
.ops-pool .ops-pool-live button { padding: 0 0 0 10px; margin-left: 6px; border: 0; border-left: 1px solid var(--uwa-line); background: transparent; color: var(--uwa-muted); font-size: 10px; }
|
||||
.ops-pool .tab-pool-resource-board { overflow: visible; background: transparent; border: 0; box-shadow: none; }
|
||||
.ops-pool .tab-pool-board-labels { display: none; }
|
||||
.ops-pool .tab-pool-card-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 16px; }
|
||||
.ops-pool .tab-pool-card { display: grid; min-width: 0; grid-template-columns: 34px minmax(0,1fr); gap: 14px 12px; padding: 20px; border: 1px solid var(--uwa-line) !important; border-radius: 11px !important; background: var(--uwa-paper-strong) !important; }
|
||||
.ops-pool .tab-pool-card[data-status="busy"] { border-color: color-mix(in srgb,var(--ops-warning) 40%,var(--uwa-line)) !important; }
|
||||
.ops-pool .tab-pool-card[data-status="error"] { border-color: color-mix(in srgb,var(--ops-danger) 45%,var(--uwa-line)) !important; }
|
||||
.ops-pool .tab-number { width: 34px; height: 36px; border: 1px solid var(--uwa-line-soft); border-radius: 8px; background: var(--ops-soft); color: var(--uwa-olive); font-size: 13px; }
|
||||
.ops-pool .tab-card-status { gap: 7px; flex-wrap: wrap; }
|
||||
.ops-pool .tab-card-status > .status-dot { display: none; }
|
||||
.ops-pool .tab-card-status > strong { flex: 1 1 auto; max-width: 100%; font-size: 14px; font-weight: 600; color: var(--uwa-ink-strong); overflow-wrap: anywhere; }
|
||||
.ops-pool .ops-status { padding: 3px 7px; border-radius: 5px; background: var(--uwa-paper-soft); color: var(--uwa-muted); font-size: 10px; font-weight: 400; font-style: normal; }
|
||||
.ops-pool .ops-status.idle { background: var(--ops-soft); color: var(--uwa-olive); }
|
||||
.ops-pool .ops-status.busy { color: var(--ops-warning); background: color-mix(in srgb,var(--ops-warning) 10%,transparent); }
|
||||
.ops-pool .ops-status.error { color: var(--ops-danger); background: color-mix(in srgb,var(--ops-danger) 10%,transparent); }
|
||||
.ops-pool .tab-pool-pill { border: 0 !important; border-radius: 4px; background: var(--ops-soft) !important; color: var(--uwa-muted) !important; font-size: 9px; font-weight: 400; }
|
||||
.ops-pool .tab-card-url { margin: 7px 0 0; color: var(--uwa-muted-soft); font-size: 10px; }
|
||||
.ops-pool .tab-card-side { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; padding: 15px 0 0; border: 0; border-top: 1px solid var(--uwa-line-soft); }
|
||||
.ops-pool .tab-card-side > div:nth-child(-n+3) { display: flex; grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 4px; }
|
||||
.ops-pool .tab-card-side > div:nth-child(-n+3) span { color: var(--uwa-muted-soft); font-size: 10px; }
|
||||
.ops-pool .tab-card-side > div:nth-child(-n+3) strong, .ops-pool .tab-card-side > div:nth-child(-n+3) code { color: var(--uwa-ink); font-size: 12px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
.ops-pool .tab-card-side .model-name-control, .ops-pool .tab-card-side .tab-preset-control, .ops-pool .tab-card-side .tab-single-preset { grid-column: span 3; min-width: 0; padding: 10px; border: 1px solid var(--uwa-line-soft); border-radius: 6px; background: transparent; }
|
||||
.ops-pool .model-name-control { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
|
||||
.ops-pool .model-name-control > span, .ops-pool .tab-preset-control > span, .ops-pool .tab-single-preset > span { color: var(--uwa-muted); font-size: 10px; }
|
||||
.ops-pool .model-name-control strong { width: 100%; color: var(--uwa-ink); font-size: 12px; }
|
||||
.ops-pool .model-name-control small { font-size: 9px; color: var(--uwa-muted-soft); }
|
||||
.ops-pool .tab-preset-control select { width: 100%; min-width: 0; margin-top: 6px; height: 30px; border-color: var(--uwa-line); border-radius: 5px; background: var(--uwa-paper-strong); color: var(--uwa-ink); font-size: 11px; }
|
||||
.ops-pool .tab-card-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; padding-top: 0; margin: 0; }
|
||||
.ops-pool .tab-card-actions button { border: 0; background: transparent; color: var(--uwa-muted); font-size: 10px; padding: 4px 0; }
|
||||
.ops-pool .tab-card-actions button.danger { color: var(--ops-danger); }
|
||||
.ops-pool .tab-task-line { margin: 8px 0 0; color: var(--ops-warning); font-size: 10px; overflow-wrap: anywhere; }
|
||||
.ops-pool .ops-routes { margin-top: 10px; }
|
||||
.ops-pool .ops-routes > summary { display: flex; align-items: center; gap: 6px; padding: 4px 0; list-style: none; color: var(--uwa-olive); font-size: 10px; cursor: pointer; }
|
||||
.ops-pool .ops-routes svg { width: 13px; height: 13px; }
|
||||
.ops-pool .ops-routes .ops-chevron { margin-left: auto; }
|
||||
:is(.ops-pool,.ops-monitor) summary::-webkit-details-marker { display: none; }
|
||||
:is(.ops-pool,.ops-monitor) details[open] > summary .ops-chevron { transform: rotate(180deg); }
|
||||
.ops-pool .tab-route-list { margin-top: 9px; padding: 6px 9px; border-radius: 6px; background: var(--ops-soft); }
|
||||
.ops-pool .tab-route-row { display: grid; grid-template-columns: minmax(0,1fr) 22px; gap: 4px; padding: 7px 0; }
|
||||
.ops-pool .tab-route-row > span { grid-column: 1; color: var(--uwa-muted-soft); font-size: 9px; }
|
||||
.ops-pool .tab-route-row code { grid-column: 1; color: var(--uwa-muted); overflow: hidden; text-overflow: ellipsis; font-size: 9px; }
|
||||
.ops-pool .tab-route-row button { grid-column: 2; grid-row: 1 / 3; }
|
||||
/* Empty state is guidance, not a fabricated connection. */
|
||||
.ops-pool .tab-pool-empty { min-height: 350px; padding: 48px 20px; gap: 12px; border: 1px solid var(--uwa-line); border-radius: 12px; background: var(--uwa-paper-strong); color: var(--uwa-muted); font-size: 12px; }
|
||||
.ops-pool .tab-pool-empty > strong { margin-top: 8px; font-size: 19px; font-weight: 600; color: var(--uwa-ink); }
|
||||
.ops-pool .tab-pool-empty > span { max-width: 380px; font-size: 12px; line-height: 1.8; }
|
||||
.ops-pool .ops-empty-art { position: relative; width: 128px; height: 92px; margin: 0 auto 4px; }
|
||||
.ops-pool .ops-empty-art > span { position: absolute; width: 99px; height: 68px; left: 6px; top: 6px; border: 1px solid var(--uwa-line); border-radius: 9px; background: var(--uwa-paper-soft); transform: rotate(-9deg); }
|
||||
.ops-pool .ops-empty-art > span:last-child { left: 23px; top: 19px; background: var(--uwa-paper-strong); transform: rotate(4deg); text-align: left; padding: 6px 8px; }
|
||||
.ops-pool .ops-empty-art i { display: inline-block; vertical-align: top; width: 4px; height: 4px; margin: 0 2px 0 0; border-radius: 50%; background: var(--uwa-line); }
|
||||
.ops-pool .ops-empty-art b { display: grid; place-items: center; height: 38px; border-top: 1px solid var(--uwa-line-soft); color: var(--uwa-olive); }
|
||||
.ops-pool .ops-empty-art svg { width: 25px; height: 25px; }
|
||||
.ops-pool .ops-empty-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 22px; color: var(--uwa-muted-soft); font-size: 10px; }
|
||||
.ops-pool .ops-empty-steps i { width: 22px; height: 1px; background: var(--uwa-line); }
|
||||
/* Routing/settings remain real editors with their existing save guards. */
|
||||
.ops-pool .tab-pool-mobile-backdrop { display: block; position: fixed; inset: 0; z-index: 61; background: #17201455; backdrop-filter: blur(3px); }
|
||||
.ops-pool .tab-pool-group-nav { display: none; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open { display: flex; position: fixed; z-index: 62; top: 0; right: 0; left: auto; bottom: 0; width: max(290px,var(--tp-group-nav-width,290px)); max-width: 95vw; min-height: 100dvh; transform: none; border: 0; border-left: 1px solid var(--uwa-line); background: var(--uwa-paper-strong) !important; box-shadow: -12px 0 70px #0001; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-brand-copy, .ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-copy, .ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-heading span, .ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-global-controls { display: block; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-brand { justify-content: flex-start; gap: 10px; padding: 20px; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-item { justify-content: flex-start; gap: 10px; padding: 12px; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-heading { justify-content: space-between; padding: 16px 12px 8px; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-global-controls label { display: flex; flex-direction: row; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-empty { padding: 20px 10px; }
|
||||
.ops-pool .tab-pool-nav-collapse { display: none; }
|
||||
.ops-pool .tab-pool-mobile-close { display: inline-flex; margin-left: auto; color: var(--uwa-muted); }
|
||||
.ops-pool .tab-pool-settings-popover { top: 45px; right: 0; width: min(390px,calc(100vw - 32px)); max-height: 75dvh; overflow: auto; padding: 18px; border-radius: 12px !important; box-shadow: 0 14px 50px #0002 !important; }
|
||||
.ops-pool .tab-pool-help, .ops-pool .tab-pool-group-editor { margin: 0 0 20px; border-radius: 10px !important; }
|
||||
.ops-pool .tab-pool-modal { background: var(--uwa-paper-strong); color: var(--uwa-ink); border-color: var(--uwa-line); }
|
||||
/* Monitor: history first; analysis has a separate, persistent view. */
|
||||
.ops-monitor.request-monitor-workspace { background: var(--uwa-paper) !important; }
|
||||
.ops-monitor .uwa-monitor-page { padding: 36px 46px 44px; }
|
||||
.ops-monitor .uwa-monitor-header { min-height: 0; padding-bottom: 28px; border: 0; }
|
||||
.ops-monitor .uwa-page-actions { gap: 8px; }
|
||||
.ops-monitor .uwa-button { min-height: 36px; font-size: 11px; box-shadow: none; }
|
||||
.ops-monitor .ops-view-tabs { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--uwa-line); }
|
||||
.ops-monitor .ops-view-tabs button { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 0 15px; border: 0; background: transparent; color: var(--uwa-muted); font-size: 13px; }
|
||||
.ops-monitor .ops-view-tabs button.is-active { color: var(--uwa-ink); font-weight: 600; }
|
||||
.ops-monitor .ops-view-tabs button.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--uwa-olive); }
|
||||
.ops-monitor .ops-view-tabs svg { width: 16px; height: 16px; }
|
||||
.ops-monitor .ops-view-tabs small { border-radius: 4px; padding: 1px 6px; background: var(--uwa-paper-soft); font-size: 10px; color: var(--uwa-muted); }
|
||||
.ops-monitor .ops-view-note { margin-left: auto; padding-bottom: 15px; color: var(--uwa-muted-soft); font-size: 10px; }
|
||||
.ops-monitor .ops-history-panel { border: 1px solid var(--uwa-line); border-radius: 12px; background: var(--uwa-paper-strong); overflow: hidden; }
|
||||
.ops-monitor .ops-history-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 23px 18px; }
|
||||
.ops-monitor .ops-history-heading h2 { margin: 0; color: var(--uwa-ink); font-size: 16px; font-weight: 600; }
|
||||
.ops-monitor .ops-history-heading p { margin: 6px 0 0; color: var(--uwa-muted); font-size: 11px; }
|
||||
.ops-monitor .ops-history-heading > span { color: var(--uwa-muted-soft); font-size: 10px; }
|
||||
.ops-monitor .uwa-request-filters { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 23px 18px; margin: 0; border: 0; }
|
||||
.ops-monitor .uwa-request-filters .uwa-search-field { flex: 1 1 200px; width: auto; min-width: 0; height: 35px; background: var(--uwa-paper-strong); }
|
||||
.ops-monitor .uwa-request-filters .uwa-search-field input { width: 100%; font-size: 11px; }
|
||||
.ops-monitor .uwa-request-filters .uwa-segmented { padding: 3px; border-color: var(--uwa-line-soft); background: var(--uwa-paper-soft); }
|
||||
.ops-monitor .uwa-status-tabs button { padding: 5px 10px; font-size: 10px; white-space: nowrap; }
|
||||
.ops-monitor .uwa-status-tabs button.is-active { color: var(--uwa-ink); background: var(--uwa-paper-strong); box-shadow: 0 1px 3px #0001; }
|
||||
.ops-monitor .uwa-filter-toggle { font-size: 10px; }
|
||||
.ops-monitor .uwa-request-table-wrap { border: 0; border-radius: 0; background: transparent; overflow-x: auto; }
|
||||
.ops-monitor .uwa-request-table-header, .ops-monitor .uwa-request-row { grid-template-columns: 70px minmax(130px,1.3fr) minmax(90px,1fr) 88px 72px 62px 15px; gap: 15px; padding-left: 23px; padding-right: 23px; min-width: 720px; }
|
||||
.ops-monitor .uwa-request-table-header { min-height: 36px; background: var(--ops-soft); font-size: 10px; font-weight: 400; color: var(--uwa-muted); border-top: 1px solid var(--uwa-line-soft); border-bottom: 1px solid var(--uwa-line-soft); }
|
||||
.ops-monitor .uwa-request-row { min-height: 76px; background: transparent; border-bottom: 1px solid var(--uwa-line-soft); }
|
||||
.ops-monitor .uwa-request-row:hover { background: var(--ops-soft); }
|
||||
.ops-monitor .uwa-request-route strong { font-size: 12px; font-weight: 600; }
|
||||
.ops-monitor .uwa-request-route small { font-size: 10px; }
|
||||
.ops-monitor .uwa-request-row > span, .ops-monitor .uwa-request-row > code, .ops-monitor .uwa-request-row > time { font-size: 10px; }
|
||||
.ops-monitor .uwa-request-row > strong { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
|
||||
.ops-monitor .uwa-request-status { gap: 6px; }
|
||||
.ops-monitor .uwa-request-status i { width: 5px; height: 5px; }
|
||||
.ops-monitor .uwa-request-status strong { font-size: 10px; font-weight: 500; }
|
||||
.ops-monitor .uwa-request-status.failed { color: var(--ops-danger); }
|
||||
.ops-monitor .uwa-request-row.is-cancelled .uwa-request-status { color: var(--uwa-muted); }
|
||||
.ops-monitor .uwa-request-row.is-cancelled .uwa-request-status i { background: var(--uwa-muted-soft); }
|
||||
.ops-monitor .uwa-row-arrow svg { width: 14px; height: 14px; }
|
||||
.ops-monitor .uwa-pagination { padding: 15px 23px; font-size: 10px; }
|
||||
.ops-monitor .ops-history-empty { display: flex; align-items: center; flex-direction: column; justify-content: center; gap: 10px; min-height: 255px; padding: 35px 20px; text-align: center; }
|
||||
.ops-monitor .ops-history-empty > span { display: grid; place-items: center; width: 50px; height: 55px; margin: 0 0 7px; border: 1px solid var(--uwa-line); border-radius: 11px; background: var(--ops-soft); color: var(--uwa-olive); }
|
||||
.ops-monitor .ops-history-empty svg { width: 25px; height: 25px; }
|
||||
.ops-monitor .ops-history-empty > strong { font-size: 16px; font-weight: 500; color: var(--uwa-ink); }
|
||||
.ops-monitor .ops-history-empty p { margin: 0; max-width: 400px; color: var(--uwa-muted); font-size: 11px; line-height: 1.8; }
|
||||
.ops-monitor .ops-trend-disclosure { margin-top: 20px; border: 1px solid var(--uwa-line); border-radius: 11px; background: var(--uwa-paper-strong); }
|
||||
.ops-monitor .ops-trend-disclosure > summary { display: flex; align-items: center; gap: 13px; padding: 18px 22px; list-style: none; cursor: pointer; }
|
||||
.ops-monitor .ops-trend-disclosure > summary > span:first-child { color: var(--uwa-olive); }
|
||||
.ops-monitor .ops-trend-disclosure summary svg { width: 18px; height: 18px; }
|
||||
.ops-monitor .ops-trend-disclosure summary strong { display: block; font-size: 12px; font-weight: 500; }
|
||||
.ops-monitor .ops-trend-disclosure summary small { display: block; margin-top: 4px; font-size: 10px; color: var(--uwa-muted); }
|
||||
.ops-monitor .ops-trend-disclosure .ops-chevron { margin-left: auto; color: var(--uwa-muted); }
|
||||
.ops-monitor .uwa-monitor-overview { margin: 0; padding: 0 22px 22px; gap: 15px; }
|
||||
.ops-monitor .uwa-monitor-overview > * { border: 1px solid var(--uwa-line-soft); box-shadow: none; background: transparent; }
|
||||
.ops-monitor .ops-retention-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 17px; font-size: 10px; color: var(--uwa-muted-soft); }
|
||||
.ops-monitor .uwa-analytics-toolbar { padding-top: 0; align-items: center; }
|
||||
.ops-monitor .uwa-analytics-toolbar .uwa-eyebrow { display: none; }
|
||||
.ops-monitor .uwa-analytics-toolbar h2 { font-size: 17px; font-weight: 600; }
|
||||
.ops-monitor .uwa-analytics-toolbar > div > p:last-child { font-size: 11px; }
|
||||
.ops-monitor .uwa-token-kpis article { position: relative; min-height: 140px; padding: 21px; border-color: var(--uwa-line); border-radius: 11px; background: var(--uwa-paper-strong); box-shadow: none; }
|
||||
.ops-monitor .uwa-token-kpis article.is-total { background: var(--ops-soft); }
|
||||
.ops-monitor .uwa-token-kpi-icon { position: absolute; right: 20px; top: 20px; width: 22px; height: 22px; transform: none; border-radius: 0; color: var(--uwa-olive); background: transparent !important; }
|
||||
.ops-monitor .uwa-token-kpi-icon svg { width: 18px; height: 18px; }
|
||||
.ops-monitor .uwa-token-kpis small { margin: 0; }
|
||||
.ops-monitor .uwa-token-kpis strong { margin-top: 17px; font-size: 29px; font-weight: 600; }
|
||||
.ops-monitor .uwa-hourly-panel, .ops-monitor .uwa-daily-token-panel, .ops-monitor .uwa-model-usage-panel { border-radius: 11px; }
|
||||
.ops-monitor .uwa-panel-heading h2 { font-size: 14px; font-weight: 600; }
|
||||
.ops-monitor .uwa-system-load-panel { margin-bottom: 20px; background: var(--uwa-paper-strong); border-color: var(--uwa-line); border-radius: 10px; }
|
||||
/* Keep the real detail drawer; make it part of the same workspace. */
|
||||
.ops-monitor .ops-request-drawer { background: #17201466; backdrop-filter: blur(4px); }
|
||||
.ops-monitor .ops-request-drawer > aside { max-width: 880px; background: var(--uwa-paper-strong); border-color: var(--uwa-line); border-radius: 13px; color: var(--uwa-ink); }
|
||||
.ops-monitor .ops-request-drawer :is(.text-slate-950,.text-slate-900,.text-slate-800,.text-slate-700) { color: var(--uwa-ink); }
|
||||
.ops-monitor .ops-request-drawer :is(.text-slate-600,.text-slate-500,.text-slate-400) { color: var(--uwa-muted); }
|
||||
.ops-monitor .ops-request-drawer :is(.border-slate-200,.border-slate-100) { border-color: var(--uwa-line); }
|
||||
.ops-monitor .ops-request-drawer textarea, .ops-monitor .ops-request-drawer pre { background: var(--uwa-paper-soft); color: var(--uwa-ink); border-color: var(--uwa-line); }
|
||||
@media (max-width:1250px) {
|
||||
.ops-pool .tab-pool-main, .ops-monitor .uwa-monitor-page { padding-left: 30px; padding-right: 30px; }
|
||||
.ops-pool .tab-pool-topbar { align-items: flex-start; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat { padding: 17px; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > strong { font-size: 26px; }
|
||||
.ops-monitor .uwa-token-analysis-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width:1050px) {
|
||||
.ops-pool .tab-pool-card-list { grid-template-columns: 1fr; }
|
||||
.ops-pool .ops-pool-summary, .ops-monitor .ops-monitor-summary { gap: 10px; }
|
||||
.ops-monitor .uwa-monitor-overview { grid-template-columns: 1fr; }
|
||||
.ops-monitor .uwa-monitor-header { flex-wrap: wrap; gap: 16px; }
|
||||
.ops-monitor .uwa-system-load-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
}
|
||||
@media (max-width:740px) {
|
||||
.ops-pool .tab-pool-main, .ops-monitor .uwa-monitor-page { padding: 25px 16px 32px; }
|
||||
:is(.ops-pool,.ops-monitor) h1 { font-size: 24px; }
|
||||
.ops-pool .tab-pool-topbar { gap: 17px; }
|
||||
.ops-pool .tab-pool-top-actions { flex-wrap: wrap; }
|
||||
.ops-pool .ops-pool-summary, .ops-monitor .ops-monitor-summary { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 22px; }
|
||||
:is(.ops-pool,.ops-monitor) .ops-stat > strong { font-size: 27px; }
|
||||
.ops-pool .tab-pool-search { width: 100%; }
|
||||
.ops-pool .tab-pool-list-heading { align-items: flex-start; }
|
||||
.ops-pool .ops-pool-live { flex-wrap: wrap; }
|
||||
.ops-pool .tab-pool-empty { padding: 35px 20px; }
|
||||
.ops-pool .ops-empty-steps { gap: 8px; font-size: 9px; }
|
||||
.ops-pool .ops-empty-steps i { width: 8px; }
|
||||
.ops-pool .tab-pool-card { padding: 17px; }
|
||||
.ops-pool .tab-pool-settings-popover { position: fixed; top: 180px; right: 16px; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open { width: min(340px,92vw); }
|
||||
.ops-monitor .ops-view-tabs { gap: 24px; }
|
||||
.ops-monitor .ops-view-note { display: none; }
|
||||
.ops-monitor .ops-history-heading { padding: 20px 16px 16px; }
|
||||
.ops-monitor .uwa-request-filters { padding: 0 16px 17px; gap: 10px; }
|
||||
.ops-monitor .uwa-request-filters .uwa-search-field { flex-basis: 100%; }
|
||||
.ops-monitor .uwa-status-tabs { display: flex; flex: 1 1 100%; justify-content: space-between; }
|
||||
.ops-monitor .uwa-status-tabs button { flex: 1; padding: 6px; }
|
||||
.ops-monitor .uwa-request-table-header { display: none; }
|
||||
.ops-monitor .uwa-request-row { min-width: 0; grid-template-columns: minmax(0,1fr) 66px; gap: 8px 12px; padding: 16px; }
|
||||
.ops-monitor .uwa-request-route { grid-column: 1; grid-row: 1; }
|
||||
.ops-monitor .uwa-request-status { grid-column: 2; grid-row: 1; justify-content: flex-end; }
|
||||
.ops-monitor .uwa-request-row > code { grid-column: 1; grid-row: 2; }
|
||||
.ops-monitor .uwa-request-row > strong { grid-column: 2; grid-row: 2; text-align: right; }
|
||||
.ops-monitor .uwa-request-row > span:nth-child(4) { grid-column: 1; grid-row: 3; color: var(--uwa-muted-soft); }
|
||||
.ops-monitor .uwa-request-row > span:nth-child(4)::before { content: '输入 / 输出 '; }
|
||||
.ops-monitor .uwa-request-row > time { grid-column: 2; grid-row: 3; text-align: right; }
|
||||
.ops-monitor .uwa-row-arrow { display: none; }
|
||||
.ops-monitor .uwa-pagination { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
|
||||
.ops-monitor .ops-trend-disclosure > summary { padding: 17px; }
|
||||
.ops-monitor .uwa-monitor-overview { padding: 0 14px 14px; }
|
||||
.ops-monitor .uwa-analytics-toolbar { flex-wrap: wrap; gap: 16px; }
|
||||
.ops-monitor .uwa-token-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
|
||||
.ops-monitor .uwa-token-kpis article { padding: 17px; }
|
||||
.ops-monitor .uwa-token-kpi-icon { right: 14px; top: 14px; width: 15px; }
|
||||
.ops-monitor .uwa-hourly-panel { padding: 18px 14px; }
|
||||
.ops-monitor .uwa-panel-heading { flex-wrap: wrap; gap: 10px; }
|
||||
.ops-monitor .ops-request-drawer { padding: 6px; }
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce) { :is(.ops-pool,.ops-monitor) * { transition: none !important; } }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-mobile-close { display: grid !important; flex: 0 0 28px; }
|
||||
.ops-pool .tab-card-actions button { flex: 0 0 auto; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-group-resizer { display: block; left: 0; right: auto; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open { width: var(--tp-group-nav-width,268px); }
|
||||
.ops-pool .tab-pool-brand-icon { background: var(--ops-soft); color: var(--uwa-olive); box-shadow: none; }
|
||||
.ops-monitor .ops-request-drawer { background: #17201466 !important; }
|
||||
.ops-monitor .uwa-request-row { border-radius: 0; }
|
||||
.ops-pool .tab-pool-group-nav.is-mobile-open .tab-pool-global-controls { margin: 12px; border-radius: 9px; }
|
||||
.ops-pool .tab-pool-switch-row, .ops-monitor .uwa-filter-toggle { position: relative; }
|
||||
.ops-pool .tab-pool-switch-row input { right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 28px; margin: 0; pointer-events: auto; z-index: 2; cursor: pointer; }
|
||||
.ops-pool .tab-pool-switch-row input:focus-visible + i, .ops-monitor .uwa-filter-toggle input:focus-visible + i { outline: 2px solid var(--uwa-olive); outline-offset: 4px; }
|
||||
.ops-monitor .uwa-filter-toggle input { left: 0; top: 50%; transform: translateY(-50%); width: 35px; height: 28px; margin: 0; z-index: 2; cursor: pointer; }
|
||||
/* Explicit grid placement avoids legacy mobile rules putting the title in the number column. */
|
||||
.ops-pool .tab-pool-card .tab-number { grid-column: 1; grid-row: 1; }
|
||||
.ops-pool .tab-pool-card .tab-card-main { grid-column: 2; grid-row: 1; min-width: 0; }
|
||||
.ops-pool .tab-pool-mobile-menu { display: none !important; }
|
||||
.ops-pool .tab-pool-top-actions > button:first-child { display: inline-flex !important; }
|
||||
.ops-pool .tab-pool-top-actions .tab-pool-refresh > span:last-child { display: inline; }
|
||||
.ops-monitor .ops-error-summary { background: color-mix(in srgb,var(--ops-danger) 6%,var(--uwa-paper-strong)); border-color: color-mix(in srgb,var(--ops-danger) 30%,var(--uwa-line)); color: var(--ops-danger); box-shadow: none; }
|
||||
.ops-monitor .ops-error-summary button, .ops-monitor .ops-error-summary .text-rose-500 { color: var(--ops-danger); }
|
||||
.ops-monitor .ops-request-drawer .text-emerald-600 { color: var(--uwa-olive); }
|
||||
@media (max-width:740px) {
|
||||
.ops-pool .tab-pool-top-actions { width: 100%; }
|
||||
.ops-pool .tab-pool-top-actions .tab-pool-refresh { margin-left: auto; }
|
||||
.ops-pool .tab-pool-card .tab-card-main { grid-column: 2; grid-row: 1; }
|
||||
}
|
||||
.ops-pool .tab-pool-top-actions .tab-pool-refresh { width: auto; min-width: 96px; min-height: 36px; height: 36px; padding: 0 12px; white-space: nowrap; }
|
||||
.ops-monitor .uwa-request-row { border-radius: 0 !important; }
|
||||
.ops-monitor .uwa-request-route strong { font-size: 13px; }
|
||||
.ops-monitor .uwa-request-row > span, .ops-monitor .uwa-request-row > code, .ops-monitor .uwa-request-row > time, .ops-monitor .uwa-request-status strong { font-size: 11px; }
|
||||
@@ -0,0 +1,496 @@
|
||||
/* Site configuration v2. Inherits the application's paper/olive tokens.
|
||||
Deliberately does NOT restyle #app, global navigation, branding or other pages. */
|
||||
#app.site-studio-active .uwa-config-page { --site-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-page-header { padding-bottom: 26px; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-page-header h1 { font-size: 32px; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-page-header > div > p:last-child { font-size: 13px; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-button { font-size: 12px; min-height: 38px; }
|
||||
#app.site-studio-active .studio-add-site,
|
||||
#app.site-studio-active .studio-save-button { background: var(--uwa-olive) !important; color: var(--uwa-paper-strong) !important; border-color: var(--uwa-olive) !important; }
|
||||
.dark #app.site-studio-active .studio-add-site,
|
||||
.dark #app.site-studio-active .studio-save-button { color: var(--uwa-paper) !important; }
|
||||
#app.site-studio-active .uwa-config-page button:disabled { opacity: .5; cursor: not-allowed; }
|
||||
#app.site-studio-active .uwa-config-page :is(button,summary,select,textarea,input):focus-visible { outline: 2px solid var(--uwa-olive) !important; outline-offset: 3px; }
|
||||
#app.site-studio-active .uwa-config-page svg { flex-shrink: 0; }
|
||||
|
||||
/* Library: contextual introduction, truthful counts and scannable site cards. */
|
||||
#app.site-studio-active .site-library-intro { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 30px; padding: 27px 30px; border: 1px solid var(--uwa-line); border-radius: 12px; background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .site-library-kicker { color: var(--uwa-muted); font-size: 11px; letter-spacing: 1px !important; }
|
||||
#app.site-studio-active .site-library-intro h2 { margin: 9px 0 11px; color: var(--uwa-ink-strong); font-size: 24px; font-weight: 650; line-height: 1.4; }
|
||||
#app.site-studio-active .site-library-intro p { color: var(--uwa-muted); font-size: 12px; line-height: 1.9; }
|
||||
#app.site-studio-active .site-resume { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--uwa-olive-dark); font-size: 12px; font-weight: 600; }
|
||||
#app.site-studio-active .site-resume:hover { text-decoration: underline; text-underline-offset: 4px; }
|
||||
#app.site-studio-active .site-resume svg { width: 15px; height: 15px; }
|
||||
#app.site-studio-active .site-library-stats { display: flex; }
|
||||
#app.site-studio-active .site-library-stats > div { min-width: 112px; padding: 8px 23px; border-left: 1px solid var(--uwa-line); }
|
||||
#app.site-studio-active .site-library-stats strong { display: block; color: var(--uwa-ink-strong); font-size: 38px; font-weight: 500; line-height: 1.3; font-variant-numeric: tabular-nums; }
|
||||
#app.site-studio-active .site-library-stats span { display: block; color: var(--uwa-muted); font-size: 11px; margin-top: 10px; }
|
||||
#app.site-studio-active .site-library-stats small { display: block; margin-top: 5px; color: var(--uwa-muted-soft); font-size: 9px; }
|
||||
#app.site-studio-active .site-library-toolbar { display: flex; align-items: center; gap: 10px; margin: 26px 0 18px; }
|
||||
#app.site-studio-active .site-library-filters { display: flex; align-items: center; gap: 6px; margin-right: auto; }
|
||||
#app.site-studio-active .site-library-filters button { padding: 10px 13px; font-size: 12px; color: var(--uwa-muted); border: 1px solid transparent; }
|
||||
#app.site-studio-active .site-library-filters button.is-active { background: var(--uwa-paper-strong); border-color: var(--uwa-line); color: var(--uwa-ink-strong); font-weight: 600; }
|
||||
#app.site-studio-active .site-library-filters button span { margin-left: 6px; font: 10px var(--site-mono); color: var(--uwa-muted); }
|
||||
#app.site-studio-active .library-search { display: flex; align-items: center; gap: 8px; width: 220px; min-width: 0; padding: 0 11px; height: 38px; border: 1px solid var(--uwa-line); border-radius: 7px; background: var(--uwa-paper-strong); color: var(--uwa-muted); }
|
||||
#app.site-studio-active .library-search input { width: 100%; min-width: 0; border: 0; height: 34px; padding: 0; font-size: 11px; background: transparent !important; box-shadow: none !important; }
|
||||
#app.site-studio-active .library-search input:focus-visible { outline: none !important; }
|
||||
#app.site-studio-active .library-search:focus-within { outline: 2px solid var(--uwa-leaf-soft); border-color: var(--uwa-olive); }
|
||||
#app.site-studio-active .library-search svg { width: 14px; height: 14px; }
|
||||
#app.site-studio-active .library-search kbd { font: 10px var(--site-mono); border: 1px solid var(--uwa-line); padding: 1px 4px; border-radius: 3px; }
|
||||
#app.site-studio-active .site-library-compare { display: inline-flex; align-items: center; gap: 6px; padding: 9px 8px; font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-library-compare:hover { color: var(--uwa-ink-strong); }
|
||||
#app.site-studio-active .site-library-compare svg { width: 14px; height: 14px; }
|
||||
#app.site-studio-active .site-library-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
|
||||
#app.site-studio-active .site-library-card { position: relative; min-width: 0; border: 1px solid var(--uwa-line); border-radius: 12px; background: var(--uwa-paper-strong); transition: box-shadow .18s, border-color .18s, transform .18s; }
|
||||
#app.site-studio-active .site-library-card:hover { border-color: var(--uwa-olive); box-shadow: 0 8px 20px #33402c0a; transform: translateY(-2px); }
|
||||
#app.site-studio-active .site-library-card:focus-within { border-color: var(--uwa-olive); }
|
||||
#app.site-studio-active .site-card-open { display: block; width: 100%; min-width: 0; padding: 21px 20px 0; text-align: left; color: var(--uwa-ink); }
|
||||
#app.site-studio-active .site-card-identity { display: flex; align-items: center; gap: 12px; padding-right: 19px; }
|
||||
#app.site-studio-active .site-card-mark { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 44px; color: var(--uwa-olive-dark); background: var(--uwa-leaf-soft); border-radius: 10px; font-size: 23px; font-weight: 650; }
|
||||
#app.site-studio-active .site-library-card:nth-child(3n+2) .site-card-mark { color: var(--uwa-ochre); background: color-mix(in srgb, var(--uwa-ochre) 13%, var(--uwa-paper-strong)); }
|
||||
#app.site-studio-active .site-library-card:nth-child(3n) .site-card-mark { color: var(--uwa-blue); background: color-mix(in srgb, var(--uwa-blue) 13%, var(--uwa-paper-strong)); }
|
||||
#app.site-studio-active .site-card-identity > span:last-child { min-width: 0; }
|
||||
#app.site-studio-active .site-card-identity strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--uwa-ink-strong); font-size: 14px; font-weight: 650; }
|
||||
#app.site-studio-active .site-card-identity small { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--uwa-muted); font: 10px var(--site-mono); }
|
||||
#app.site-studio-active .site-card-preset { display: flex; align-items: center; gap: 6px; margin-top: 21px; font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-card-preset svg { width: 13px; height: 13px; }
|
||||
#app.site-studio-active .site-card-preset strong { font-size: 11px; font-weight: 500; color: var(--uwa-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
||||
#app.site-studio-active .site-card-readiness { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-card-readiness strong { color: var(--uwa-olive-dark); font: 600 12px var(--site-mono); }
|
||||
#app.site-studio-active .site-card-readiness small { color: var(--uwa-muted); font: 10px 'Segoe UI', sans-serif; }
|
||||
#app.site-studio-active .site-card-progress { display: flex; gap: 5px; margin-top: 9px; }
|
||||
#app.site-studio-active .site-card-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--uwa-line-soft); }
|
||||
#app.site-studio-active .site-card-progress i.is-filled { background: var(--uwa-leaf); }
|
||||
#app.site-studio-active .site-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; padding: 13px 0 15px; border-top: 1px solid var(--uwa-line-soft); color: var(--uwa-muted); font-size: 10px; }
|
||||
#app.site-studio-active .site-card-footer > span { min-width: 0; }
|
||||
#app.site-studio-active .site-card-footer i { font-style: normal; opacity: .5; padding: 0 4px; }
|
||||
#app.site-studio-active .site-card-footer b { display: flex; align-items: center; gap: 5px; color: var(--uwa-olive); font-size: 11px; font-weight: 550; white-space: nowrap; }
|
||||
#app.site-studio-active .site-card-footer svg { width: 14px; height: 14px; }
|
||||
#app.site-studio-active .site-card-menu { position: absolute; right: 10px; top: 14px; z-index: 3; }
|
||||
#app.site-studio-active .site-card-menu > summary { border: 0; width: 25px; height: 28px; background: transparent; }
|
||||
#app.site-studio-active .site-card-menu[open] { z-index: 8; }
|
||||
#app.site-studio-active .site-add-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 220px; padding: 28px; border: 1px dashed var(--uwa-line); border-radius: 12px !important; background: transparent; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-add-card > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .site-add-card svg { width: 24px; height: 24px; }
|
||||
#app.site-studio-active .site-add-card strong { font-size: 14px; font-weight: 550; }
|
||||
#app.site-studio-active .site-add-card small { font-size: 11px; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .site-add-card:hover { color: var(--uwa-olive); border-color: var(--uwa-olive); background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .site-library-footnote { display: flex; align-items: center; gap: 7px; color: var(--uwa-muted); font-size: 11px; margin-top: 20px; line-height: 1.8; }
|
||||
#app.site-studio-active .site-library-footnote svg { width: 14px; height: 14px; }
|
||||
#app.site-studio-active .site-library-save { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--uwa-line); color: var(--uwa-muted); font-size: 12px; }
|
||||
#app.site-studio-active .site-library-empty { padding: 60px 20px; text-align: center; }
|
||||
#app.site-studio-active .site-library-empty > span svg { width: 32px; height: 32px; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .site-library-empty h3 { margin: 15px 0 10px; font-size: 18px; }
|
||||
#app.site-studio-active .site-library-empty p { margin-bottom: 20px; color: var(--uwa-muted); font-size: 12px; }
|
||||
|
||||
/* Detail view. A local outline replaces the second global sidebar/tab strip. */
|
||||
#app.site-studio-active .site-editor-breadcrumb { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; font-size: 12px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-editor-breadcrumb button { display: inline-flex; align-items: center; gap: 7px; color: var(--uwa-ink); font-size: 12px; }
|
||||
#app.site-studio-active .site-editor-breadcrumb button svg { width: 13px; height: 13px; transform: rotate(-90deg); }
|
||||
#app.site-studio-active .site-editor-breadcrumb small { margin-left: auto; font-size: 11px; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .uwa-config-workspace { display: block; margin-top: 0; border-radius: 12px; background: var(--uwa-paper-strong); border-color: var(--uwa-line); box-shadow: 0 3px 14px #33402c04; min-height: 0; }
|
||||
#app.site-studio-active .uwa-config-editor { padding: 0; min-width: 0; background: transparent !important; }
|
||||
#app.site-studio-active .uwa-editor-heading { padding: 25px 26px 17px; gap: 20px; align-items: center; border: 0; flex-wrap: wrap; }
|
||||
#app.site-studio-active .uwa-site-switcher > summary { border: 0; padding: 0; gap: 12px; background: transparent; }
|
||||
#app.site-studio-active .uwa-editor-site-icon { width: 48px; height: 50px; border-radius: 10px; color: var(--uwa-olive-dark); background: var(--uwa-leaf-soft); font-size: 26px; }
|
||||
#app.site-studio-active .uwa-site-switcher-current h2 { font-size: 23px; line-height: 1.3; font-weight: 650; }
|
||||
#app.site-studio-active .uwa-site-switcher-current p { font: 11px var(--site-mono); color: var(--uwa-muted); margin-top: 6px; }
|
||||
#app.site-studio-active .uwa-editor-actions { display: flex; gap: 8px; margin-left: auto; }
|
||||
#app.site-studio-active .uwa-switch-label { font-size: 11px; }
|
||||
#app.site-studio-active .studio-editor-caption { display: flex; justify-content: space-between; gap: 12px; margin: 0 26px; padding-bottom: 18px; color: var(--uwa-muted); font-size: 10px; }
|
||||
#app.site-studio-active .studio-save-status { color: var(--uwa-muted-soft); white-space: nowrap; font-size: 10px; }
|
||||
#app.site-studio-active .uwa-config-editor .config-workspace { padding: 0 !important; min-height: 0; background: transparent !important; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-card { margin: 0 !important; padding: 14px 26px !important; background: var(--uwa-paper-soft) !important; border-top: 1px solid var(--uwa-line) !important; border-bottom: 1px solid var(--uwa-line) !important; border-radius: 0 !important; }
|
||||
#app.site-studio-active .config-preset-label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
|
||||
#app.site-studio-active .config-preset-label svg { width: 14px; height: 14px; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-meta { flex-wrap: wrap; }
|
||||
#app.site-studio-active .config-preset-chip { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-card select { max-width: 230px; min-width: 120px; font-size: 12px; }
|
||||
#app.site-studio-active .uwa-config-editor .config-workspace > .space-y-4 > .site-edit-layout { display: grid; grid-template-columns: 188px minmax(0,1fr); gap: 0; border: 0 !important; border-radius: 0 0 12px 12px !important; background: transparent !important; overflow: visible; }
|
||||
#app.site-studio-active .site-config-outline { padding: 27px 12px 24px; background: color-mix(in srgb, var(--uwa-paper-soft) 35%, var(--uwa-paper-strong)); border-right: 1px solid var(--uwa-line-soft); border-radius: 0 0 0 12px; min-width: 0; }
|
||||
#app.site-studio-active .site-config-outline > p { margin: 0 11px 18px; color: var(--uwa-muted-soft); font-size: 10px; letter-spacing: 1px !important; }
|
||||
#app.site-studio-active .uwa-config-section-nav { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0 !important; padding: 0; border: 0; border-radius: 0; overflow: visible; background: transparent !important; }
|
||||
#app.site-studio-active .uwa-config-section-nav button { display: flex; align-items: center; gap: 10px; min-height: 65px; padding: 12px 10px; border: 1px solid transparent; border-radius: 8px !important; color: var(--uwa-muted); background: transparent; box-shadow: none; text-align: left; font-weight: 400; }
|
||||
#app.site-studio-active .uwa-config-section-nav button.is-active { border-color: color-mix(in srgb, var(--uwa-olive) 22%, transparent); background: var(--uwa-leaf-soft); color: var(--uwa-ink-strong); box-shadow: none; }
|
||||
#app.site-studio-active .uwa-config-section-nav button:hover:not(.is-active) { background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .site-section-number { font: 10px var(--site-mono); opacity: .6; }
|
||||
#app.site-studio-active .uwa-config-section-nav button strong { display: block; font-size: 12px; font-weight: 600; }
|
||||
#app.site-studio-active .uwa-config-section-nav button small { display: block; margin-top: 6px; color: var(--uwa-muted); font-size: 10px; font-weight: 400; }
|
||||
#app.site-studio-active .uwa-config-section-nav button i { margin-left: auto; display: flex; opacity: 0; }
|
||||
#app.site-studio-active .uwa-config-section-nav button.is-active i { opacity: .65; }
|
||||
#app.site-studio-active .uwa-config-section-nav button i svg { width: 12px; height: 12px; }
|
||||
#app.site-studio-active .site-outline-note { margin: 35px 11px 0; padding-top: 18px; border-top: 1px solid var(--uwa-line-soft); }
|
||||
#app.site-studio-active .site-outline-note svg { width: 18px; height: 18px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-outline-note strong { display: block; margin-top: 11px; font-size: 11px; font-weight: 500; color: var(--uwa-ink); }
|
||||
#app.site-studio-active .site-outline-note p { margin-top: 7px; font-size: 10px; line-height: 1.9; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-config-content { padding: 25px 27px 30px; min-width: 0; }
|
||||
#app.site-studio-active .site-section-intro { margin-bottom: 25px; }
|
||||
#app.site-studio-active .site-section-intro > span { font-size: 10px; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .site-section-intro h3 { margin: 10px 0 8px; font-size: 21px; line-height: 1.4; font-weight: 650; color: var(--uwa-ink-strong); }
|
||||
#app.site-studio-active .site-section-intro p { color: var(--uwa-muted); font-size: 12px; line-height: 1.8; }
|
||||
#app.site-studio-active .site-config-content > .config-fixed-panel { margin-bottom: 15px; border-color: var(--uwa-line) !important; background: var(--uwa-paper-strong) !important; }
|
||||
#app.site-studio-active .site-config-content > .config-fixed-panel > div:first-child { background: var(--uwa-paper-soft) !important; }
|
||||
#app.site-studio-active .site-section-select { display: none; }
|
||||
|
||||
/* Progressive field editor: scan a group, expand a field, edit with context. */
|
||||
#app.site-studio-active .site-config-content > .studio-selector-panel { border: 0 !important; box-shadow: none !important; background: transparent !important; }
|
||||
#app.site-studio-active .uwa-config-editor .studio-selector-panel > div:first-child { padding: 0 0 12px !important; background: transparent !important; border: 0; min-height: 35px; }
|
||||
#app.site-studio-active .uwa-config-editor .studio-selector-panel > div:first-child h3 { font-size: 12px !important; }
|
||||
#app.site-studio-active .uwa-config-editor .studio-selector-panel > div:last-child { padding: 0 !important; max-height: none; overflow: visible; }
|
||||
#app.site-studio-active .site-core-path { display: flex; align-items: stretch; padding: 15px; border: 1px solid var(--uwa-line); border-radius: 9px; background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .site-core-path > button { display: flex; align-items: center; flex: 1; min-width: 0; gap: 9px; }
|
||||
#app.site-studio-active .site-path-node { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--uwa-line); border-radius: 50%; color: var(--uwa-muted); background: var(--uwa-paper-strong); }
|
||||
#app.site-studio-active .site-path-node svg { width: 14px; height: 14px; }
|
||||
#app.site-studio-active .site-core-path .is-filled .site-path-node { background: var(--uwa-leaf-soft); color: var(--uwa-olive-dark); border-color: color-mix(in srgb, var(--uwa-olive) 15%, transparent); }
|
||||
#app.site-studio-active .site-core-path strong { display: block; font-size: 11px; font-weight: 600; }
|
||||
#app.site-studio-active .site-core-path small { display: block; margin-top: 4px; color: var(--uwa-muted); font-size: 10px; }
|
||||
#app.site-studio-active .site-core-path i { margin: 0 auto; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .site-core-path i svg { width: 15px; height: 15px; }
|
||||
#app.site-studio-active .site-missing-fields { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-missing-fields button { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid var(--uwa-line); color: var(--uwa-olive-dark); background: var(--uwa-paper-strong); font-size: 11px; }
|
||||
#app.site-studio-active .site-missing-fields svg { width: 13px; height: 13px; }
|
||||
#app.site-studio-active .studio-field-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 0 5px; }
|
||||
#app.site-studio-active .studio-field-filters { display: flex; gap: 2px; }
|
||||
#app.site-studio-active .studio-field-filters button { padding: 7px 9px; min-height: 32px; border: 0; background: transparent; font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .studio-field-filters button.is-active { color: var(--uwa-ink-strong); background: var(--uwa-paper-soft); font-weight: 600; }
|
||||
#app.site-studio-active .studio-field-filters button > span { font-size: 10px; margin-left: 3px; }
|
||||
#app.site-studio-active .studio-field-search { display: flex; align-items: center; gap: 6px; width: 155px; min-width: 0; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .studio-field-search svg { width: 13px; height: 13px; }
|
||||
#app.site-studio-active .uwa-config-editor .studio-field-search input { min-width: 0; width: 100%; min-height: 30px; height: 30px; padding: 0 6px; border: 0; font-size: 11px; background: transparent !important; box-shadow: none !important; }
|
||||
#app.site-studio-active .site-field-group { margin-top: 19px !important; }
|
||||
#app.site-studio-active .site-field-group-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
|
||||
#app.site-studio-active .site-field-group-heading h4 { color: var(--uwa-ink-strong); font-size: 13px; font-weight: 600; }
|
||||
#app.site-studio-active .site-field-group-heading h4 span { margin-left: 6px; color: var(--uwa-muted-soft); font: 10px var(--site-mono); }
|
||||
#app.site-studio-active .site-field-group-heading p { font-size: 10px; color: var(--uwa-muted); margin-top: 5px; }
|
||||
#app.site-studio-active .site-field-group-heading > button { display: inline-flex; align-items: center; gap: 5px; padding: 6px; font-size: 11px; color: var(--uwa-olive); }
|
||||
#app.site-studio-active .site-field-group-heading > button svg { width: 13px; height: 13px; }
|
||||
#app.site-studio-active .site-field-group.is-auxiliary { padding-top: 20px; border-top: 1px solid var(--uwa-line); }
|
||||
#app.site-studio-active .site-field-group-list { display: flex; flex-direction: column; gap: 9px; }
|
||||
#app.site-studio-active .studio-selector-card { min-width: 0; border: 1px solid var(--uwa-line); border-radius: 9px; background: var(--uwa-paper-strong); overflow: visible; }
|
||||
#app.site-studio-active .studio-selector-card.is-expanded { border-color: color-mix(in srgb, var(--uwa-olive) 58%, var(--uwa-line)); box-shadow: 0 3px 10px #33402c06; }
|
||||
#app.site-studio-active .site-field-toggle { display: flex; align-items: center; width: 100%; min-width: 0; gap: 10px; padding: 15px; text-align: left; background: transparent; color: var(--uwa-ink); }
|
||||
#app.site-studio-active .site-field-toggle:hover { background: color-mix(in srgb, var(--uwa-paper-soft) 45%, transparent); }
|
||||
#app.site-studio-active .site-field-index { align-self: flex-start; padding-top: 2px; color: var(--uwa-muted-soft); font: 10px var(--site-mono); }
|
||||
#app.site-studio-active .site-field-heading { min-width: 0; flex: 1; }
|
||||
#app.site-studio-active .site-field-heading > span { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
|
||||
#app.site-studio-active .site-field-heading strong { font-size: 12px; font-weight: 600; color: var(--uwa-ink-strong); }
|
||||
#app.site-studio-active .site-field-heading code { font: 10px var(--site-mono); color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-field-heading small { display: block; max-width: 100%; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--uwa-muted-soft); font: 10px var(--site-mono); }
|
||||
#app.site-studio-active .site-field-state { flex-shrink: 0; color: var(--uwa-ochre); font-size: 9px; }
|
||||
#app.site-studio-active .site-field-state.is-filled { color: var(--uwa-olive); }
|
||||
#app.site-studio-active .site-field-chevron { display: flex; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .site-field-chevron svg { width: 12px; height: 12px; }
|
||||
#app.site-studio-active .site-field-expanded { padding: 0 15px 14px; }
|
||||
#app.site-studio-active .site-field-edit-row { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(150px,1fr); gap: 18px; padding-top: 4px; }
|
||||
#app.site-studio-active .site-field-expression { min-width: 0; }
|
||||
#app.site-studio-active .site-field-expression label { display: block; margin-bottom: 8px; font-size: 10px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .uwa-config-editor .site-field-expression textarea { display: block; width: 100%; min-height: 108px; padding: 11px 12px; border: 1px solid var(--uwa-line) !important; border-radius: 6px !important; background: var(--uwa-paper) !important; color: var(--uwa-ink-strong) !important; font: 12px/1.9 var(--site-mono) !important; overflow-wrap: anywhere; resize: vertical; }
|
||||
#app.site-studio-active .site-field-context { min-width: 0; padding-left: 15px; border-left: 1px solid var(--uwa-line-soft); }
|
||||
#app.site-studio-active .site-field-context > span { font-size: 10px; color: var(--uwa-olive); }
|
||||
#app.site-studio-active .site-field-context p { font-size: 11px; line-height: 1.8; color: var(--uwa-ink); margin-top: 8px; }
|
||||
#app.site-studio-active .site-field-context small { display: block; margin-top: 7px; font-size: 10px; line-height: 1.8; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .studio-field-actions { display: flex; align-items: center; gap: 7px; padding-top: 14px; margin-top: 13px; border-top: 1px solid var(--uwa-line-soft); }
|
||||
#app.site-studio-active .studio-field-actions > span { margin-right: auto; font-size: 10px; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .studio-field-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 0 9px; font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .studio-field-actions button svg { width: 13px; height: 13px; }
|
||||
#app.site-studio-active .studio-field-actions .site-test-field { color: var(--uwa-olive-dark); border: 1px solid var(--uwa-line); background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .studio-field-actions .site-test-field:hover { border-color: var(--uwa-olive); background: var(--uwa-leaf-soft); }
|
||||
#app.site-studio-active .studio-field-actions .site-delete-field:hover { color: var(--uwa-clay); background: color-mix(in srgb, var(--uwa-clay) 10%, transparent); }
|
||||
#app.site-studio-active .studio-guide-entry { padding-top: 12px; }
|
||||
#app.site-studio-active .studio-guide-entry .dashboard-guide-toggle { padding: 0; border: 0; background: transparent; color: var(--uwa-muted); font-size: 11px; }
|
||||
#app.site-studio-active .studio-fields-empty { padding: 24px 12px; text-align: center; color: var(--uwa-muted); font-size: 12px; }
|
||||
#app.site-studio-active .studio-fields-empty > span svg { width: 25px; height: 25px; margin-bottom: 10px; }
|
||||
#app.site-studio-active .studio-fields-empty strong { display: block; margin-bottom: 7px; }
|
||||
#app.site-studio-active .studio-fields-empty p { font-size: 11px; line-height: 1.8; }
|
||||
#app.site-studio-active .studio-fields-empty button { margin-top: 10px; font-size: 11px; color: var(--uwa-olive); }
|
||||
#app.site-studio-active .studio-spin { display: inline-flex; animation: site-saving 1s linear infinite; }
|
||||
@keyframes site-saving { to { transform: rotate(360deg); } }
|
||||
@media (max-width: 1250px) {
|
||||
#app.site-studio-active .site-library-stats > div { min-width: 88px; padding: 5px 14px; }
|
||||
#app.site-studio-active .site-library-stats strong { font-size: 32px; }
|
||||
#app.site-studio-active .site-library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
#app.site-studio-active .uwa-config-editor .config-workspace > .space-y-4 > .site-edit-layout { grid-template-columns: 163px minmax(0,1fr); }
|
||||
#app.site-studio-active .site-config-outline { padding-left: 8px; padding-right: 8px; }
|
||||
#app.site-studio-active .site-config-content { padding-left: 20px; padding-right: 20px; }
|
||||
#app.site-studio-active .site-field-edit-row { grid-template-columns: minmax(0,1fr); gap: 12px; }
|
||||
#app.site-studio-active .site-field-context { border-left: 0; padding-left: 0; }
|
||||
#app.site-studio-active .site-field-context small { margin-top: 4px; }
|
||||
}
|
||||
@media (max-width: 1050px) {
|
||||
#app.site-studio-active .site-library-intro { grid-template-columns: minmax(0,1fr); gap: 20px; }
|
||||
#app.site-studio-active .site-library-stats { border-top: 1px solid var(--uwa-line); padding-top: 18px; }
|
||||
#app.site-studio-active .site-library-stats > div { flex: 1; min-width: 0; }
|
||||
#app.site-studio-active .site-library-stats > div:first-child { border-left: 0; padding-left: 0; }
|
||||
#app.site-studio-active .site-library-toolbar { flex-wrap: wrap; }
|
||||
#app.site-studio-active .library-search { width: 200px; }
|
||||
}
|
||||
@media (max-width: 740px) {
|
||||
#app.site-studio-active .uwa-config-editor .config-workspace > .space-y-4 > .site-edit-layout { display: block; }
|
||||
#app.site-studio-active .site-config-outline { display: none; }
|
||||
#app.site-studio-active .site-section-select { display: flex; align-items: center; gap: 15px; padding: 14px 20px; border-bottom: 1px solid var(--uwa-line); background: var(--uwa-paper-soft); font-size: 11px; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .site-section-select select { min-width: 0; flex: 1; padding: 8px; font-size: 12px; border: 1px solid var(--uwa-line); }
|
||||
}
|
||||
@media (max-width: 620px) {
|
||||
#app.site-studio-active .uwa-config-page { padding: 23px 16px 35px; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-page-header { gap: 20px; padding-bottom: 22px; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-page-header h1 { font-size: 28px; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-page-header > div > p:last-child { font-size: 12px; line-height: 1.8; }
|
||||
#app.site-studio-active .uwa-page-actions { display: flex; gap: 8px; }
|
||||
#app.site-studio-active .uwa-page-actions .uwa-button,
|
||||
#app.site-studio-active .uwa-page-actions .uwa-dropdown { flex: 0 0 auto; }
|
||||
#app.site-studio-active .uwa-page-actions > .studio-add-site { margin-left: auto; }
|
||||
#app.site-studio-active .uwa-config-page .uwa-button { font-size: 11px; min-height: 38px; padding: 0 11px; }
|
||||
#app.site-studio-active .site-library-intro { padding: 22px; }
|
||||
#app.site-studio-active .site-library-intro h2 { font-size: 22px; }
|
||||
#app.site-studio-active .site-library-intro p { font-size: 11px; }
|
||||
#app.site-studio-active .site-library-stats > div { padding: 0 12px; }
|
||||
#app.site-studio-active .site-library-stats strong { font-size: 31px; }
|
||||
#app.site-studio-active .site-library-stats span { font-size: 10px; }
|
||||
#app.site-studio-active .site-library-stats small { font-size: 8px; }
|
||||
#app.site-studio-active .site-library-toolbar { gap: 10px 6px; margin-top: 20px; }
|
||||
#app.site-studio-active .library-search { order: 3; width: 100%; }
|
||||
#app.site-studio-active .site-library-filters button { padding: 8px 10px; font-size: 11px; }
|
||||
#app.site-studio-active .site-library-compare { padding: 8px 4px; font-size: 10px; }
|
||||
#app.site-studio-active .site-library-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
|
||||
#app.site-studio-active .site-card-open { padding: 21px 22px 0; }
|
||||
#app.site-studio-active .site-card-identity strong { font-size: 16px; }
|
||||
#app.site-studio-active .site-add-card { min-height: 160px; }
|
||||
#app.site-studio-active .site-library-save { align-items: flex-start; font-size: 11px; }
|
||||
#app.site-studio-active .site-library-save .uwa-button { flex-shrink: 0; }
|
||||
#app.site-studio-active .site-editor-breadcrumb { margin-bottom: 18px; font-size: 11px; gap: 10px; flex-wrap: wrap; }
|
||||
#app.site-studio-active .site-editor-breadcrumb small { display: none; }
|
||||
#app.site-studio-active .uwa-editor-heading { padding: 20px 15px 13px; flex-direction: column; align-items: stretch; gap: 20px; }
|
||||
#app.site-studio-active .uwa-site-switcher-current h2 { font-size: 21px; max-width: calc(100vw - 160px); overflow: hidden; text-overflow: ellipsis; }
|
||||
#app.site-studio-active .uwa-editor-actions { width: 100%; margin: 0; flex-wrap: wrap; gap: 6px; }
|
||||
#app.site-studio-active .uwa-editor-actions .uwa-switch-label { margin-right: auto; font-size: 10px; }
|
||||
#app.site-studio-active .uwa-editor-actions .uwa-actions-divider { display: none; }
|
||||
#app.site-studio-active .uwa-editor-actions .uwa-button { flex: 0 0 auto; }
|
||||
#app.site-studio-active .studio-editor-caption { margin: 0 15px; flex-direction: column; gap: 5px; font-size: 9px; }
|
||||
#app.site-studio-active .studio-save-status { font-size: 9px; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-card { padding: 12px 15px !important; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-meta,
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-actions { display: flex !important; flex-wrap: wrap; gap: 7px !important; }
|
||||
#app.site-studio-active .config-preset-label svg { display: none; }
|
||||
#app.site-studio-active .config-preset-count { display: none; }
|
||||
#app.site-studio-active .config-preset-chip { max-width: 110px; min-height: 22px; font-size: 9px; padding: 0 6px; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-card select { width: auto; min-width: 90px; max-width: 135px; font-size: 11px; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-actions > .preset-hint-toggle { margin-left: auto; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-card .preset-btn { font-size: 11px !important; padding: 0 9px !important; min-height: 33px; }
|
||||
#app.site-studio-active .site-section-select { padding: 12px 15px; }
|
||||
#app.site-studio-active .site-config-content { padding: 22px 15px 25px; }
|
||||
#app.site-studio-active .site-section-intro { margin-bottom: 20px; }
|
||||
#app.site-studio-active .site-section-intro h3 { font-size: 20px; }
|
||||
#app.site-studio-active .site-section-intro p { font-size: 11px; }
|
||||
#app.site-studio-active .site-core-path { padding: 12px 9px; gap: 8px; }
|
||||
#app.site-studio-active .site-core-path > button { gap: 6px; }
|
||||
#app.site-studio-active .site-core-path strong { font-size: 10px; }
|
||||
#app.site-studio-active .site-core-path small { font-size: 9px; }
|
||||
#app.site-studio-active .site-path-node { width: 22px; height: 22px; flex-shrink: 0; }
|
||||
#app.site-studio-active .site-core-path i { display: none; }
|
||||
#app.site-studio-active .studio-field-toolbar { flex-wrap: wrap; }
|
||||
#app.site-studio-active .studio-field-search { width: 100%; border: 1px solid var(--uwa-line); border-radius: 6px; padding-left: 9px; }
|
||||
#app.site-studio-active .uwa-config-editor .studio-field-search input { min-height: 34px; }
|
||||
#app.site-studio-active .site-field-toggle { padding: 13px 11px; gap: 8px; }
|
||||
#app.site-studio-active .site-field-heading > span { flex-direction: column; align-items: flex-start; gap: 5px; }
|
||||
#app.site-studio-active .site-field-state { font-size: 9px; }
|
||||
#app.site-studio-active .site-field-index { display: none; }
|
||||
#app.site-studio-active .site-field-expanded { padding: 0 11px 12px; }
|
||||
#app.site-studio-active .site-field-edit-row { gap: 13px; }
|
||||
#app.site-studio-active .site-field-context small { font-size: 10px; }
|
||||
#app.site-studio-active .site-field-context > span { display: none; }
|
||||
#app.site-studio-active .site-field-context p { margin-top: 0; }
|
||||
#app.site-studio-active .studio-field-actions { flex-wrap: wrap; gap: 6px; }
|
||||
#app.site-studio-active .studio-field-actions > span { width: 100%; margin-bottom: 4px; }
|
||||
#app.site-studio-active .studio-field-actions .site-test-field { margin-left: auto; min-height: 36px; }
|
||||
#app.site-studio-active .site-card-menu .preset-more-pop { left: auto; right: 0; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#app.site-studio-active .uwa-config-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
|
||||
}
|
||||
|
||||
/* Small alignment details, using the same application tokens. */
|
||||
#app.site-studio-active .studio-editor-caption { margin: 0 26px !important; }
|
||||
#app.site-studio-active .site-core-path > button { text-align: left; }
|
||||
#app.site-studio-active .site-core-path > button:hover .site-path-node { border-color: var(--uwa-olive); }
|
||||
#app.site-studio-active .site-core-path > button:focus-visible { outline-offset: 4px; }
|
||||
@media (max-width: 620px) {
|
||||
#app.site-studio-active .studio-editor-caption { margin: 0 15px !important; }
|
||||
#app.site-studio-active .uwa-config-editor .config-preset-actions .preset-inline-input { width: 150px; min-width: 0; }
|
||||
}
|
||||
|
||||
/* v3 · progressive disclosure. Abilities first, configuration only on demand.
|
||||
Native details keep every draft/control mounted; opening a card changes no config. */
|
||||
#app.site-studio-active .site-config-content > .cap-panel { border: 0 !important; background: transparent !important; box-shadow: none !important; }
|
||||
#app.site-studio-active .uwa-config-editor .cap-panel > div:first-child { min-height: 0; padding: 0 0 14px !important; border: 0; background: transparent !important; }
|
||||
#app.site-studio-active .uwa-config-editor .cap-panel > div:last-child { padding: 0 !important; }
|
||||
#app.site-studio-active .cap-panel > div:first-child h3 { font-size: 12px !important; }
|
||||
#app.site-studio-active .cap-panel > div:first-child .text-sm.text-gray-500 { display: none; }
|
||||
#app.site-studio-active .cap-panel .cap-module-note { padding: 0 0 4px; margin: 0 0 14px; font-size: 12px; line-height: 1.8; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .cap-feature-stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
|
||||
#app.site-studio-active .cap-card { min-width: 0; padding: 20px 20px 0; border: 1px solid var(--uwa-line); border-radius: 11px; background: var(--uwa-paper-strong); }
|
||||
#app.site-studio-active .cap-card.is-enabled { border-color: color-mix(in srgb, var(--uwa-olive) 28%, var(--uwa-line)); }
|
||||
#app.site-studio-active .cap-card-header { display: flex; align-items: flex-start; gap: 12px; }
|
||||
#app.site-studio-active .cap-icon { flex: 0 0 34px; width: 34px; height: 36px; display: grid; place-items: center; border: 1px solid var(--uwa-line-soft); border-radius: 9px; color: var(--uwa-olive); background: var(--uwa-paper-soft); }
|
||||
#app.site-studio-active .cap-icon svg { width: 18px; height: 18px; }
|
||||
#app.site-studio-active .cap-copy { min-width: 0; flex: 1; }
|
||||
#app.site-studio-active .cap-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 1px; }
|
||||
#app.site-studio-active .cap-card h4 { margin: 0; font-size: 15px; font-weight: 600; color: var(--uwa-ink-strong); line-height: 1.5; }
|
||||
#app.site-studio-active .cap-copy > p { margin: 6px 0 0; font-size: 12px; line-height: 1.8; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .cap-scope { display: none; font-size: 9px; font-weight: 400; padding: 2px 5px; border-radius: 4px; background: var(--uwa-paper-soft); color: var(--uwa-muted); }
|
||||
#app.site-studio-active .config-advanced-panel .cap-scope { display: inline-flex; }
|
||||
#app.site-studio-active .cap-switch { display: inline-flex; align-items: center; position: relative; flex-shrink: 0; gap: 7px; padding: 5px 0; cursor: pointer; }
|
||||
#app.site-studio-active .cap-state { font-size: 10px; line-height: 22px; color: var(--uwa-muted-soft); white-space: nowrap; }
|
||||
#app.site-studio-active .cap-state.is-on { color: var(--uwa-olive); }
|
||||
#app.site-studio-active .cap-switch .cap-switch-input { position: absolute; right: 0; top: 3px; width: 40px; height: 26px; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
|
||||
#app.site-studio-active .cap-switch i { position: relative; display: block; width: 35px; height: 21px; border-radius: 20px; background: var(--uwa-line); transition: background .15s; }
|
||||
#app.site-studio-active .cap-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--uwa-paper-strong); box-shadow: 0 1px 3px #0002; transition: transform .15s; }
|
||||
#app.site-studio-active .cap-switch input:checked + i { background: var(--uwa-olive); }
|
||||
#app.site-studio-active .cap-switch input:checked + i::after { transform: translateX(14px); }
|
||||
#app.site-studio-active .cap-switch input:focus-visible + i { outline: 2px solid var(--uwa-olive); outline-offset: 4px; }
|
||||
#app.site-studio-active .cap-switch:has(input:disabled) { opacity: .5; cursor: wait; }
|
||||
#app.site-studio-active .cap-switch input:disabled { cursor: wait; }
|
||||
#app.site-studio-active .cap-facts { margin: 13px 0 15px 46px; font-size: 11px; color: var(--uwa-muted); line-height: 1.7; }
|
||||
#app.site-studio-active .cap-facts i { opacity: .5; font-style: normal; padding: 0 7px; }
|
||||
#app.site-studio-active .cap-warning { margin: 13px 0 14px; padding: 9px 12px; border-left: 2px solid var(--uwa-ochre); border-radius: 0 5px 5px 0; background: color-mix(in srgb, var(--uwa-ochre) 8%, var(--uwa-paper-strong)); color: var(--uwa-ink); font-size: 11px; line-height: 1.8; }
|
||||
#app.site-studio-active .cap-card > .cap-warning { margin-left: 46px; }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) { min-width: 0; }
|
||||
#app.site-studio-active .cap-settings { margin-top: 16px; border-top: 1px solid var(--uwa-line-soft); }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) > summary { display: flex; align-items: center; gap: 12px; padding: 13px 0; list-style: none; cursor: pointer; color: var(--uwa-ink); user-select: none; }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) > summary::-webkit-details-marker { display: none; }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) > summary > span:first-child { flex: 1; min-width: 0; }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) > summary strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.5; }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) > summary small { display: block; margin-top: 5px; color: var(--uwa-muted); font-size: 10px; line-height: 1.8; }
|
||||
#app.site-studio-active .cap-card > .cap-settings:not([open]) > summary small { display: none; }
|
||||
#app.site-studio-active .cap-settings > summary strong { color: var(--uwa-olive-dark); }
|
||||
#app.site-studio-active :is(.cap-settings, .cap-technical, .cap-troubleshoot) > summary:hover strong { text-decoration: underline; text-underline-offset: 3px; }
|
||||
#app.site-studio-active .cap-chevron { display: flex; margin-left: auto; color: var(--uwa-muted-soft); }
|
||||
#app.site-studio-active .cap-chevron svg { width: 13px; height: 13px; transition: transform .15s; }
|
||||
#app.site-studio-active details[open] > summary > .cap-chevron svg { transform: rotate(180deg); }
|
||||
#app.site-studio-active .cap-settings-body { display: flex; flex-direction: column; gap: 15px; padding: 5px 0 20px; min-width: 0; }
|
||||
#app.site-studio-active .cap-settings-body > * { margin-top: 0 !important; margin-bottom: 0 !important; }
|
||||
#app.site-studio-active .cap-settings-body label { font-size: 12px; }
|
||||
#app.site-studio-active .cap-settings-body p, #app.site-studio-active .cap-settings-body label > span.block { font-size: 11px; line-height: 1.85; }
|
||||
#app.site-studio-active .cap-settings-body .cap-inline-help { color: var(--uwa-muted); font-size: 11px; line-height: 1.8; }
|
||||
#app.site-studio-active .cap-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; min-width: 0; align-items: start; }
|
||||
#app.site-studio-active .cap-form-grid > :only-child { grid-column: 1 / -1; }
|
||||
#app.site-studio-active .cap-form-grid input { max-width: 100%; min-width: 0; }
|
||||
#app.site-studio-active .cap-settings-body :is(input, select, textarea):not([type=checkbox]) { min-width: 0; max-width: 100%; font-size: 12px !important; }
|
||||
#app.site-studio-active .cap-technical { padding: 0 14px; border: 1px solid var(--uwa-line-soft); border-radius: 8px; background: color-mix(in srgb, var(--uwa-paper-soft) 50%, var(--uwa-paper-strong)); }
|
||||
#app.site-studio-active .cap-technical > summary strong { font-size: 11px; }
|
||||
#app.site-studio-active .cap-troubleshoot { padding: 0 17px; border: 1px dashed var(--uwa-line); border-radius: 9px; background: transparent; }
|
||||
#app.site-studio-active .cap-troubleshoot > summary { padding-top: 16px; padding-bottom: 16px; }
|
||||
#app.site-studio-active .cap-summary-value { padding: 3px 7px; white-space: nowrap; color: var(--uwa-muted); background: var(--uwa-paper-soft); border-radius: 5px; font-size: 10px; }
|
||||
#app.site-studio-active .cap-settings-body .bg-blue-50\/70,
|
||||
#app.site-studio-active .cap-settings-body .bg-blue-50\/40 { background: var(--uwa-paper-soft) !important; border-color: var(--uwa-line) !important; }
|
||||
#app.site-studio-active .cap-panel .cap-legacy-header { display: none; }
|
||||
#app.site-studio-active .cap-padding-panel > div:first-child { display: none; }
|
||||
#app.site-studio-active .cap-padding-panel .cap-troubleshoot { margin-top: 0; }
|
||||
#app.site-studio-active .cap-media-panel > div:first-child > div:first-child > span { display: none; }
|
||||
#app.site-studio-active .cap-media-panel > div:first-child > div:last-child button { font-size: 11px; }
|
||||
#app.site-studio-active .cap-media-panel > div:last-child > div:first-child { margin: 0; }
|
||||
#app.site-studio-active .cap-media-panel .cap-settings-body .mt-4.grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
#app.site-studio-active .cap-media-panel .cap-form-grid > div { min-width: 0; }
|
||||
#app.site-studio-active .cap-media-panel > div:last-child > .bg-gray-50 { display: none; }
|
||||
#app.site-studio-active .cap-response-explainer { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--uwa-line); border-radius: 10px; background: var(--uwa-paper-strong); }
|
||||
#app.site-studio-active .cap-response-explainer > div { min-width: 0; }
|
||||
#app.site-studio-active .cap-response-explainer h4 { font-size: 15px; color: var(--uwa-ink-strong); font-weight: 600; }
|
||||
#app.site-studio-active .cap-response-explainer p { margin-top: 8px; font-size: 12px; line-height: 1.8; color: var(--uwa-muted); }
|
||||
#app.site-studio-active .cap-response-explainer small { display: block; margin-top: 10px; font-size: 10px; color: var(--uwa-muted); line-height: 1.8; }
|
||||
@media (max-width: 1250px) {
|
||||
#app.site-studio-active .cap-card-header { flex-wrap: wrap; gap: 10px; }
|
||||
#app.site-studio-active .cap-card-header .cap-switch { margin-left: auto; }
|
||||
#app.site-studio-active .cap-copy { flex-basis: calc(100% - 50px); }
|
||||
#app.site-studio-active .cap-settings-body .md\:grid-cols-3,
|
||||
#app.site-studio-active .cap-settings-body .lg\:grid-cols-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
|
||||
}
|
||||
@media (max-width: 620px) {
|
||||
#app.site-studio-active .cap-card { padding: 16px 14px 0; }
|
||||
#app.site-studio-active .cap-card h4 { font-size: 15px; }
|
||||
#app.site-studio-active .cap-copy > p { font-size: 12px; }
|
||||
#app.site-studio-active .cap-copy { flex-basis: calc(100% - 48px); }
|
||||
#app.site-studio-active .cap-card-header .cap-switch { margin-top: -2px; }
|
||||
#app.site-studio-active .cap-facts { margin-left: 0; font-size: 10px; }
|
||||
#app.site-studio-active .cap-facts i { padding: 0 3px; }
|
||||
#app.site-studio-active .cap-card > .cap-warning { margin-left: 0; }
|
||||
#app.site-studio-active .cap-settings-body { gap: 14px; }
|
||||
#app.site-studio-active .cap-form-grid,
|
||||
#app.site-studio-active .cap-settings-body .grid { grid-template-columns: minmax(0,1fr) !important; }
|
||||
#app.site-studio-active .cap-technical { padding: 0 10px; }
|
||||
#app.site-studio-active .cap-troubleshoot { padding: 0 13px; }
|
||||
#app.site-studio-active .cap-troubleshoot > summary { flex-wrap: wrap; gap: 7px; }
|
||||
#app.site-studio-active .cap-troubleshoot > summary > span:first-child { flex-basis: calc(100% - 30px); }
|
||||
#app.site-studio-active .cap-summary-value { order: 3; }
|
||||
#app.site-studio-active .cap-response-explainer { padding: 15px; gap: 10px; }
|
||||
#app.site-studio-active .cap-response-explainer .cap-icon { display: none; }
|
||||
#app.site-studio-active .cap-media-panel > div:first-child { flex-wrap: wrap; gap: 10px; }
|
||||
}
|
||||
#app.site-studio-active .uwa-config-editor .cap-input-panel > div:first-child { display: none; }
|
||||
#app.site-studio-active .cap-input-panel > div:last-child > .cap-card:first-child { margin-top: 0 !important; }
|
||||
#app.site-studio-active .cap-panel select:disabled { opacity: .55; cursor: not-allowed; }
|
||||
#app.site-studio-active .uwa-config-editor .cap-response-panel > div:first-child { display: none; }
|
||||
#app.site-studio-active .cap-response-explainer > div { flex: 1; }
|
||||
#app.site-studio-active .cap-response-panel .dashboard-guide-toggle { font-size: 11px; color: var(--uwa-muted); background: transparent; border: 0; padding: 0; }
|
||||
@media (max-width: 1050px) {
|
||||
#app.site-studio-active .cap-response-explainer { flex-wrap: wrap; }
|
||||
#app.site-studio-active .cap-response-explainer > div { flex-basis: calc(100% - 60px); }
|
||||
#app.site-studio-active .cap-response-explainer .cap-switch { margin-left: auto; }
|
||||
}
|
||||
#app.site-studio-active .cap-media-panel > div:first-child h3 { font-weight: 400; color: var(--uwa-muted); }
|
||||
|
||||
/* Site / preset / workflow transfers have distinct, explicit scopes. */
|
||||
#app.site-studio-active .preset-more > summary.preset-btn,
|
||||
#app.site-studio-active .site-tools > summary { width:auto; gap:6px; padding:0 11px; white-space:nowrap; }
|
||||
#app.site-studio-active .preset-more-pop { z-index:60; }
|
||||
#app.site-studio-active .transfer-menu .preset-more-pop { width:285px; }
|
||||
#app.site-studio-active .transfer-menu .preset-more-pop button { align-items:flex-start; padding:10px 11px !important; }
|
||||
.transfer-menu-caption { padding:8px 11px; font-size:10px; color:var(--uwa-muted); overflow-wrap:anywhere; border-bottom:1px solid var(--uwa-line); }
|
||||
.transfer-menu small { display:block; font-size:10px; color:var(--uwa-muted); font-weight:400; margin-top:3px; }
|
||||
.preset-transfer { position:relative; }
|
||||
.transfer-feedback { position:absolute; top:calc(100% + 10px); right:0; width:300px; padding:13px 30px 13px 14px; background:var(--uwa-paper-strong); border:1px solid var(--uwa-line); border-radius:10px; box-shadow:0 8px 25px #0001; font-size:12px; z-index:65; }
|
||||
.transfer-feedback button { position:absolute; top:7px; right:8px; }
|
||||
#app.site-studio-active .site-tools .preset-more-pop { width:240px; }
|
||||
#app.site-studio-active .site-tools .preset-more-pop button { display:flex; gap:8px; align-items:center; padding:12px; font-size:12px; color:#a8564a; text-align:left; width:100%; }
|
||||
.site-tools .preset-more-pop svg { width:16px; height:16px; }
|
||||
.studio-tip { position:relative; }
|
||||
.studio-tip[data-tip]::after { content:attr(data-tip); position:absolute; bottom:calc(100% + 9px); left:0; width:260px; padding:11px 13px; border-radius:9px; border:1px solid var(--uwa-line); box-shadow:0 8px 24px #0001; background:var(--uwa-paper-strong); color:var(--uwa-ink); font:400 11px/1.7 system-ui; text-align:left; white-space:normal; opacity:0; visibility:hidden; transform:translateY(4px); transition:opacity .15s,transform .15s; z-index:80; pointer-events:none; }
|
||||
.studio-tip:hover::after,.studio-tip:focus-visible::after { opacity:1; visibility:visible; transform:none; }
|
||||
.config-preset-label.studio-tip { cursor:help; text-decoration:underline dotted; text-underline-offset:4px; }
|
||||
.preset-transfer-overlay { --transfer-paper:#fffdf8; --transfer-soft:#f7f3ea; --transfer-ink:#33402c; --transfer-muted:#777b6c; --transfer-line:#dddccd; --transfer-accent:#5d6b4d; position:fixed; inset:0; z-index:1000; background:#20251c66; backdrop-filter:blur(5px); display:flex; align-items:center; justify-content:center; padding:24px; }
|
||||
.dark .preset-transfer-overlay { --transfer-paper:#242a23; --transfer-soft:#1e241e; --transfer-ink:#e0e5d7; --transfer-muted:#a4ae9a; --transfer-line:#424b3a; --transfer-accent:#aabb8b; }
|
||||
.preset-transfer-dialog { color:var(--transfer-ink); background:var(--transfer-paper); width:560px; max-width:100%; max-height:90dvh; display:flex; flex-direction:column; border:1px solid var(--transfer-line); border-radius:18px; box-shadow:0 24px 80px #0003; font:13px/1.6 system-ui,sans-serif; overflow:hidden; }
|
||||
.preset-transfer-dialog header { display:flex; justify-content:space-between; align-items:flex-start; padding:24px 26px 18px; border-bottom:1px solid var(--transfer-line); }
|
||||
.transfer-kicker { color:var(--transfer-muted); font-size:10px; letter-spacing:1px; }
|
||||
.preset-transfer-dialog h3 { margin:5px 0; font-size:21px; font-weight:600; }
|
||||
.preset-transfer-dialog header p { margin:0; font-size:12px; color:var(--transfer-muted); overflow-wrap:anywhere; }
|
||||
.preset-transfer-dialog button { font:inherit; cursor:pointer; border:1px solid var(--transfer-line); border-radius:8px; padding:7px 12px; background:var(--transfer-paper); color:var(--transfer-ink); }
|
||||
.preset-transfer-dialog button:disabled { opacity:.45; cursor:not-allowed; }
|
||||
.preset-transfer-dialog button:focus-visible,.preset-transfer-dialog input:focus-visible,.preset-transfer-dialog select:focus-visible { outline:2px solid var(--transfer-accent); outline-offset:3px; }
|
||||
.preset-transfer-dialog header button { background:none; border:0; font-size:23px; padding:0 3px; }
|
||||
.transfer-body { padding:22px 26px; overflow:auto; }
|
||||
.preset-transfer-dialog .transfer-file { width:100%; border:1px dashed var(--transfer-line); padding:24px 15px; display:flex; align-items:center; flex-direction:column; gap:5px; background:var(--transfer-soft); }
|
||||
.transfer-file svg { width:25px; height:25px; margin-bottom:5px; color:var(--transfer-accent); }
|
||||
.transfer-file small { color:var(--transfer-muted); font-size:10px; }
|
||||
.transfer-file strong { overflow-wrap:anywhere; max-width:100%; }
|
||||
.transfer-body label { display:block; margin-top:17px; font-size:12px; }
|
||||
.transfer-body label > input:not([type=checkbox]),.transfer-body select { display:block; width:100%; margin-top:6px; padding:10px 12px; background:var(--transfer-soft); border:1px solid var(--transfer-line); border-radius:8px; color:var(--transfer-ink); font:inherit; }
|
||||
.transfer-note { font-size:11px; color:var(--transfer-muted); margin:12px 0 0; }
|
||||
.transfer-error { color:#b26048; font-size:12px; margin-top:14px; }
|
||||
.transfer-preview { border:1px solid var(--transfer-line); border-radius:10px; margin-top:16px; padding:12px 14px; max-height:190px; overflow:auto; }
|
||||
.transfer-preview strong { font-size:12px; display:block; margin-bottom:8px; }
|
||||
.transfer-preview > div { display:flex; gap:10px; justify-content:space-between; padding:6px 0; border-top:1px solid var(--transfer-line); font-size:12px; }
|
||||
.transfer-preview small { flex-shrink:0; color:var(--transfer-muted); }
|
||||
.transfer-body .transfer-check { display:flex; align-items:center; gap:8px; }
|
||||
.transfer-check input { accent-color:var(--transfer-accent); }
|
||||
.preset-transfer-dialog footer { padding:17px 26px; border-top:1px solid var(--transfer-line); display:flex; gap:8px; align-items:center; }
|
||||
.preset-transfer-dialog footer > span { margin-right:auto; font-size:10px; color:var(--transfer-muted); }
|
||||
.preset-transfer-dialog .transfer-primary { background:var(--transfer-accent); color:var(--transfer-paper); border-color:var(--transfer-accent); }
|
||||
@media(max-width:620px) {
|
||||
.preset-transfer-overlay { padding:12px; }
|
||||
.preset-transfer-dialog header,.transfer-body { padding:18px; }
|
||||
.preset-transfer-dialog footer { padding:14px 18px; flex-wrap:wrap; justify-content:flex-end; }
|
||||
.preset-transfer-dialog footer > span { flex-basis:100%; }
|
||||
.transfer-feedback { width:250px; right:auto; left:-80px; }
|
||||
#app.site-studio-active .transfer-menu .preset-more-pop { width:min(285px,80vw); left:-95px; right:auto; }
|
||||
}
|
||||
|
||||
#app.site-studio-active .site-discovery-note { margin: -4px 0 18px; color: var(--uwa-muted); font-size: 11px; line-height: 1.7; }
|
||||
@@ -0,0 +1,2 @@
|
||||
*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }
|
||||
/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:rgb(var(--twc-gray-200)/1)}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:rgb(var(--twc-gray-400)/1)}input::placeholder,textarea::placeholder{opacity:1;color:rgb(var(--twc-gray-400)/1)}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.-bottom-1{bottom:-.25rem}.-top-1{top:-.25rem}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.right-0{right:0}.right-3{right:.75rem}.right-3\.5{right:.875rem}.top-0{top:0}.top-3\.5{top:.875rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-4{grid-column:span 4/span 4}.col-span-6{grid-column:span 6/span 6}.col-span-full{grid-column:1/-1}.-m-2{margin:-.5rem}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.-ml-0\.5{margin-left:-.125rem}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-3\.5{margin-top:.875rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.\!grid{display:grid!important}.grid{display:grid}.hidden{display:none}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-Line truncated
|
||||
@@ -0,0 +1,4 @@
|
||||
/* R2-8:预编译 Tailwind 的入口(生成 static/css/tailwind.css),与原运行时一样包含基础样式(preflight) */
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,701 @@
|
||||
:host {
|
||||
display: block;
|
||||
color: var(--uwa-ink, #33402c);
|
||||
font:
|
||||
13px/1.5 system-ui,
|
||||
-apple-system,
|
||||
"Segoe UI",
|
||||
sans-serif;
|
||||
--ws-paper: var(--uwa-paper, #f7f3ea);
|
||||
--ws-card: var(--uwa-paper-strong, #fffdf8);
|
||||
--ws-ink: var(--uwa-ink, #33402c);
|
||||
--ws-muted: var(--uwa-muted, #777b6c);
|
||||
--ws-line: var(--uwa-line, #dddccd);
|
||||
--ws-accent: var(--uwa-olive, #5d6b4d);
|
||||
}
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
button {
|
||||
cursor: pointer;
|
||||
}
|
||||
button:disabled {
|
||||
opacity: 0.4;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
button:focus-visible,
|
||||
input:focus-visible,
|
||||
textarea:focus-visible,
|
||||
select:focus-visible {
|
||||
outline: 2px solid var(--ws-accent);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
button {
|
||||
border: 1px solid var(--ws-line);
|
||||
border-radius: 7px;
|
||||
background: var(--ws-card);
|
||||
padding: 6px 10px;
|
||||
}
|
||||
button:hover:not(:disabled) {
|
||||
border-color: var(--ws-accent);
|
||||
}
|
||||
.studio {
|
||||
border: 1px solid var(--ws-line);
|
||||
border-radius: 14px;
|
||||
background: var(--ws-paper);
|
||||
overflow: hidden;
|
||||
}
|
||||
.head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 14px;
|
||||
padding: 20px 22px;
|
||||
border-bottom: 1px solid var(--ws-line);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.eyebrow {
|
||||
font-size: 10px;
|
||||
letter-spacing: 2px;
|
||||
color: var(--ws-muted);
|
||||
font-weight: 700;
|
||||
}
|
||||
.head h2 {
|
||||
font-size: 21px;
|
||||
margin: 3px 0;
|
||||
font-weight: 650;
|
||||
letter-spacing: -0.6px;
|
||||
}
|
||||
.head p {
|
||||
margin: 4px 0 0;
|
||||
color: var(--ws-muted);
|
||||
font-size: 12px;
|
||||
}
|
||||
.actions {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.primary {
|
||||
background: var(--ws-accent);
|
||||
color: var(--ws-card);
|
||||
border-color: var(--ws-accent);
|
||||
}
|
||||
.tabs {
|
||||
display: flex;
|
||||
gap: 7px;
|
||||
padding: 10px 20px;
|
||||
border-bottom: 1px solid var(--ws-line);
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.tabs button {
|
||||
background: none;
|
||||
border-color: transparent;
|
||||
}
|
||||
.tabs button.active {
|
||||
background: var(--ws-card);
|
||||
border-color: var(--ws-line);
|
||||
font-weight: 650;
|
||||
}
|
||||
.counter {
|
||||
margin-left: auto;
|
||||
color: var(--ws-muted);
|
||||
font-size: 11px;
|
||||
}
|
||||
.workspace {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 290px;
|
||||
min-height: 480px;
|
||||
}
|
||||
.canvas {
|
||||
overflow: auto;
|
||||
padding: 26px 24px;
|
||||
max-height: 720px;
|
||||
background-image: radial-gradient(var(--ws-line) 0.7px, transparent 0.7px);
|
||||
background-size: 16px 16px;
|
||||
}
|
||||
.sequence {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
position: relative;
|
||||
min-width: 160px;
|
||||
gap: 0;
|
||||
max-width: 900px;
|
||||
margin: auto;
|
||||
}
|
||||
.sequence.root {
|
||||
min-width: 250px;
|
||||
}
|
||||
.unit {
|
||||
position: relative;
|
||||
margin: 0 0 20px;
|
||||
z-index: 1;
|
||||
}
|
||||
.node {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 11px;
|
||||
text-align: left;
|
||||
background: var(--ws-card);
|
||||
padding: 12px 13px;
|
||||
border: 1px solid var(--ws-line);
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 2px 3px #00000003;
|
||||
position: relative;
|
||||
}
|
||||
.node.selected {
|
||||
border-color: var(--ws-accent);
|
||||
box-shadow: 0 0 0 2px color-mix(in srgb, var(--ws-accent) 15%, transparent);
|
||||
}
|
||||
.node.control {
|
||||
border-left: 3px solid var(--ws-accent);
|
||||
}
|
||||
.node.failed {
|
||||
border-color: #b3634d;
|
||||
}
|
||||
.node.completed,
|
||||
.node.captured,
|
||||
.node.assigned {
|
||||
border-right: 3px solid var(--ws-accent);
|
||||
}
|
||||
.symbol {
|
||||
flex-shrink: 0;
|
||||
width: 29px;
|
||||
height: 29px;
|
||||
background: var(--ws-paper);
|
||||
border-radius: 8px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: 16px;
|
||||
color: var(--ws-accent);
|
||||
}
|
||||
.node-info {
|
||||
min-width: 0;
|
||||
flex: 1;
|
||||
}
|
||||
.node-name {
|
||||
font-size: 12px;
|
||||
font-weight: 650;
|
||||
display: block;
|
||||
}
|
||||
.node-description {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
color: var(--ws-muted);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 360px;
|
||||
}
|
||||
.node-code {
|
||||
font-size: 9px;
|
||||
font-family: monospace;
|
||||
color: var(--ws-muted);
|
||||
align-self: flex-start;
|
||||
}
|
||||
.inspector {
|
||||
border-left: 1px solid var(--ws-line);
|
||||
background: var(--ws-card);
|
||||
padding: 20px;
|
||||
overflow: auto;
|
||||
max-height: 720px;
|
||||
}
|
||||
.inspector h3 {
|
||||
font-size: 15px;
|
||||
margin: 5px 0 10px;
|
||||
}
|
||||
.hint {
|
||||
color: var(--ws-muted);
|
||||
font-size: 11px;
|
||||
line-height: 1.8;
|
||||
margin: 8px 0 17px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.field {
|
||||
display: block;
|
||||
margin: 12px 0;
|
||||
font-size: 11px;
|
||||
font-weight: 550;
|
||||
}
|
||||
.field > span {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
.field input,
|
||||
.field select,
|
||||
.field textarea {
|
||||
width: 100%;
|
||||
background: var(--ws-paper);
|
||||
border: 1px solid var(--ws-line);
|
||||
border-radius: 6px;
|
||||
padding: 8px;
|
||||
min-height: 34px;
|
||||
font-size: 12px;
|
||||
font-weight: 400;
|
||||
}
|
||||
.field textarea {
|
||||
resize: vertical;
|
||||
min-height: 72px;
|
||||
font-family: ui-monospace, monospace;
|
||||
}
|
||||
.field input[type="checkbox"] {
|
||||
width: auto;
|
||||
min-height: 0;
|
||||
vertical-align: middle;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.pair {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 10px;
|
||||
}
|
||||
.danger {
|
||||
color: #a55d43;
|
||||
}
|
||||
.divider {
|
||||
border: 0;
|
||||
border-top: 1px solid var(--ws-line);
|
||||
margin: 20px 0;
|
||||
}
|
||||
.inspector details {
|
||||
margin: 15px 0;
|
||||
}
|
||||
.inspector summary {
|
||||
font-size: 11px;
|
||||
cursor: pointer;
|
||||
color: var(--ws-muted);
|
||||
}
|
||||
.panel {
|
||||
padding: 24px;
|
||||
min-height: 480px;
|
||||
}
|
||||
.panel h3 {
|
||||
font-size: 16px;
|
||||
margin: 0 0 6px;
|
||||
}
|
||||
.empty {
|
||||
padding: 35px 10px;
|
||||
text-align: center;
|
||||
color: var(--ws-muted);
|
||||
}
|
||||
.palette {
|
||||
padding: 20px;
|
||||
background: var(--ws-card);
|
||||
border-bottom: 1px solid var(--ws-line);
|
||||
}
|
||||
.palette-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 8px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.palette button {
|
||||
text-align: left;
|
||||
padding: 10px;
|
||||
}
|
||||
.palette small {
|
||||
display: block;
|
||||
color: var(--ws-muted);
|
||||
font-size: 10px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
.palette h4 {
|
||||
margin: 8px 0;
|
||||
font-size: 11px;
|
||||
color: var(--ws-muted);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.banner {
|
||||
padding: 9px 20px;
|
||||
font-size: 12px;
|
||||
border-bottom: 1px solid var(--ws-line);
|
||||
background: var(--ws-card);
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.banner.error {
|
||||
color: #a55d43;
|
||||
}
|
||||
.table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 12px;
|
||||
}
|
||||
.table th,
|
||||
.table td {
|
||||
text-align: left;
|
||||
padding: 12px 10px;
|
||||
border-bottom: 1px solid var(--ws-line);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.table th {
|
||||
font-size: 10px;
|
||||
font-weight: 500;
|
||||
color: var(--ws-muted);
|
||||
}
|
||||
code {
|
||||
font:
|
||||
11px ui-monospace,
|
||||
monospace;
|
||||
}
|
||||
.test-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 18px;
|
||||
max-width: 720px;
|
||||
}
|
||||
.trace {
|
||||
margin-top: 20px;
|
||||
max-height: 380px;
|
||||
overflow: auto;
|
||||
}
|
||||
.trace button {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
gap: 12px;
|
||||
border: 0;
|
||||
border-bottom: 1px solid var(--ws-line);
|
||||
border-radius: 0;
|
||||
padding: 9px;
|
||||
}
|
||||
.trace .status {
|
||||
margin-left: auto;
|
||||
color: var(--ws-accent);
|
||||
}
|
||||
.maprow {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 14px 1fr 28px;
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
margin: 5px 0;
|
||||
}
|
||||
.maprow input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
background: var(--ws-paper);
|
||||
border: 1px solid var(--ws-line);
|
||||
border-radius: 5px;
|
||||
padding: 6px;
|
||||
font-size: 11px;
|
||||
}
|
||||
.maprow button {
|
||||
padding: 4px;
|
||||
}
|
||||
.footer {
|
||||
padding: 10px 20px;
|
||||
border-top: 1px solid var(--ws-line);
|
||||
font-size: 10px;
|
||||
color: var(--ws-muted);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
.row-actions {
|
||||
display: flex;
|
||||
gap: 5px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
@media (max-width: 850px) {
|
||||
.workspace {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
.inspector {
|
||||
border-left: 0;
|
||||
border-top: 1px solid var(--ws-line);
|
||||
max-height: 500px;
|
||||
}
|
||||
.canvas {
|
||||
max-height: 560px;
|
||||
}
|
||||
.head {
|
||||
padding: 17px;
|
||||
}
|
||||
.test-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.counter {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:host([data-auto-dark]) {
|
||||
--ws-paper: #252b24;
|
||||
--ws-card: #30372d;
|
||||
--ws-ink: #e0e3d5;
|
||||
--ws-muted: #adb59e;
|
||||
--ws-line: #495241;
|
||||
--ws-accent: #a2b288;
|
||||
color: var(--ws-ink);
|
||||
}
|
||||
}
|
||||
:host([data-dark]) {
|
||||
--ws-paper: #252b24;
|
||||
--ws-card: #30372d;
|
||||
--ws-ink: #e0e3d5;
|
||||
--ws-muted: #adb59e;
|
||||
--ws-line: #495241;
|
||||
--ws-accent: #a2b288;
|
||||
color: var(--ws-ink);
|
||||
}
|
||||
|
||||
/* The injected canvas is movable; dashboard instances keep normal header behavior. */
|
||||
:host([data-draggable]) .head { cursor: grab; touch-action: none; user-select: none; }
|
||||
:host([data-draggable]) .head .eyebrow::after { content: ' · 拖动标题移动'; letter-spacing: 0; }
|
||||
|
||||
/* A quiet canvas first; settings appear only for the selected step. */
|
||||
.head { padding: 10px 18px; justify-content: flex-end; }
|
||||
.drag-handle { margin-right:auto; color:var(--ws-muted); font-size:11px; user-select:none; }
|
||||
.workspace { position:relative; grid-template-columns:minmax(0,1fr) 0px; transition:grid-template-columns .32s cubic-bezier(.22,.8,.3,1); }
|
||||
.workspace.is-inspecting { grid-template-columns:minmax(0,1fr) 290px; }
|
||||
.inspector-slot { min-width:0; overflow:hidden; position:relative; opacity:0; transform:translateX(18px); transition:opacity .24s ease,transform .32s ease; pointer-events:none; }
|
||||
.is-inspecting .inspector-slot { opacity:1; transform:translateX(0); pointer-events:auto; }
|
||||
.inspector { position:absolute; inset:0; width:290px; height:100%; padding:16px 20px; }
|
||||
.inspector-close { display:block; margin:0 0 18px auto; font-size:11px; color:var(--ws-muted); background:transparent; }
|
||||
@media (max-width:850px) {
|
||||
.workspace,.workspace.is-inspecting { grid-template-columns:minmax(0,1fr) 0px; }
|
||||
.inspector-slot { position:absolute; right:0; top:0; bottom:0; width:min(310px,100%); z-index:8; transform:translateX(100%); box-shadow:-12px 0 35px #00000012; }
|
||||
.inspector { width:100%; max-height:100%; border-top:0; border-left:1px solid var(--ws-line); }
|
||||
.head { padding:10px 12px; }
|
||||
.canvas { padding:24px 16px; }
|
||||
}
|
||||
@media (prefers-reduced-motion:reduce) { .workspace,.inspector-slot { transition:none; } }
|
||||
|
||||
/* Reading-first workflow: collapsible stages, vertically ordered alternatives. */
|
||||
[hidden] { display:none !important; }
|
||||
:host { color-scheme:light; }
|
||||
:host([data-dark]) { color-scheme:dark; }
|
||||
.canvas,.inspector,.panel { scrollbar-width:thin; scrollbar-color:var(--ws-line) transparent; }
|
||||
.node-row { position:relative; }
|
||||
.node-info { min-width:0; }
|
||||
.node-name { line-height:1.65; overflow-wrap:anywhere; }
|
||||
.node-description { max-width:none; line-height:1.65; font-size:11px; }
|
||||
.flow-view-tools { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:10px; color:var(--ws-muted); margin:-10px 0 24px; }
|
||||
.flow-view-tools > div { display:flex; gap:5px; }
|
||||
.flow-view-tools button { font-size:10px; padding:4px 8px; background:var(--ws-paper); }
|
||||
.note-card .node { align-items:flex-start; border-left:3px solid var(--ws-accent); }
|
||||
.note-card .node-description { white-space:pre-wrap; overflow:visible; text-overflow:clip; margin-top:5px; }
|
||||
.note-card .symbol { font-size:15px; }
|
||||
.note-card.tone-warning .node { border-left-color:#b19048; }
|
||||
.note-card.tone-danger .node { border-left-color:#ba755d; }
|
||||
.note-card.tone-success .node { border-left-color:#79915b; }
|
||||
.case-editor { margin:14px 0; padding:12px 10px; border:1px solid var(--ws-line); border-radius:9px; background:var(--ws-paper); }
|
||||
.case-heading { display:flex; align-items:center; justify-content:space-between; gap:4px; font-size:11px; }
|
||||
.case-heading button { padding:3px 5px; font-size:10px; }
|
||||
.panel { max-height:800px; overflow:auto; }
|
||||
.panel-intro { margin-bottom:22px; }
|
||||
.panel-intro h3 { font-size:20px; margin:6px 0 8px; }
|
||||
.panel-kicker { color:var(--ws-muted); font-size:10px; letter-spacing:1px; }
|
||||
.param-section { margin:20px 0; padding-top:18px; border-top:1px solid var(--ws-line); }
|
||||
.param-section h4,.run-option h4,.trace-section h4 { font-size:14px; margin:0 0 6px; }
|
||||
.section-heading { display:flex; align-items:flex-start; gap:12px; margin-bottom:12px; }
|
||||
.section-heading > div { flex:1; }
|
||||
.section-heading p { color:var(--ws-muted); font-size:11px; margin:4px 0; }
|
||||
.section-heading > button { font-size:10px; }
|
||||
.section-number { color:var(--ws-accent); background:var(--ws-card); border:1px solid var(--ws-line); width:28px; height:28px; display:grid; place-items:center; border-radius:8px; font-size:10px; flex-shrink:0; }
|
||||
.param-card { display:flex; align-items:center; gap:14px; padding:14px; background:var(--ws-card); border:1px solid var(--ws-line); border-radius:9px; margin:8px 0; }
|
||||
.param-label { flex:1; min-width:0; }
|
||||
.param-label strong,.param-label code,.param-label small { display:block; }
|
||||
.param-label strong { font-size:12px; }
|
||||
.param-label code { font-size:10px; color:var(--ws-muted); margin:3px 0; overflow-wrap:anywhere; }
|
||||
.param-label small { font-size:10px; color:var(--ws-muted); overflow-wrap:anywhere; }
|
||||
.param-card > button { font-size:10px; flex-shrink:0; }
|
||||
.param-value { width:40%; min-width:100px; }
|
||||
.param-value input:not([type=checkbox]),.param-value textarea,.sample-field input,.sample-field textarea,.sample-field > select,.sample-add input { display:block; width:100%; min-width:0; background:var(--ws-paper); border:1px solid var(--ws-line); border-radius:7px; padding:8px 10px; font:12px system-ui; color:var(--ws-ink); }
|
||||
.param-value textarea { min-height:75px; resize:vertical; }
|
||||
.param-boolean { display:flex; align-items:center; gap:8px; font-size:12px; }
|
||||
input[type=checkbox] { accent-color:var(--ws-accent); }
|
||||
.value-badge { background:var(--ws-paper); border:1px solid var(--ws-line); border-radius:20px; padding:4px 9px; font-size:10px; color:var(--ws-muted); white-space:nowrap; }
|
||||
.context-cards,.run-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
|
||||
.context-cards > div,.run-option { border:1px solid var(--ws-line); padding:16px; border-radius:10px; background:var(--ws-card); }
|
||||
.context-cards strong,.context-cards code { display:block; }
|
||||
.context-cards p,.run-option p { font-size:11px; line-height:1.8; color:var(--ws-muted); margin:8px 0 0; }
|
||||
.context-cards code { margin-top:6px; color:var(--ws-muted); }
|
||||
.technical { margin:15px 0; border-top:1px solid var(--ws-line); padding-top:12px; }
|
||||
.technical summary { font-size:11px; color:var(--ws-muted); cursor:pointer; }
|
||||
.technical pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:10px; max-height:260px; overflow:auto; }
|
||||
.section-empty { color:var(--ws-muted); font-size:11px; padding:12px 0; }
|
||||
.run-option.chosen { border-color:var(--ws-accent); }
|
||||
.run-option h4 { margin-top:12px; }
|
||||
.run-option button { margin-top:12px; font-size:11px; }
|
||||
.sample-field { padding:12px 14px; border:1px solid var(--ws-line); background:var(--ws-card); border-radius:9px; margin:8px 0; }
|
||||
.sample-label { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
|
||||
.sample-label strong { font-size:12px; }
|
||||
.sample-label code { font-size:10px; color:var(--ws-muted); }
|
||||
.sample-label > select { margin-left:auto; font-size:10px; border:0; background:var(--ws-paper); padding:3px; border-radius:4px; }
|
||||
.sample-add { display:flex; gap:8px; margin:12px 0; }
|
||||
.sample-add button { white-space:nowrap; font-size:11px; }
|
||||
.sample-warning { color:#b0774b; font-size:11px; }
|
||||
.run-actions { display:flex; align-items:center; gap:14px; margin:22px 0; }
|
||||
.run-actions > span { font-size:11px; color:var(--ws-muted); }
|
||||
.trace-section { border-top:1px solid var(--ws-line); padding-top:20px; }
|
||||
.trace { margin-top:10px; }
|
||||
.trace button { align-items:flex-start; border:1px solid var(--ws-line); border-radius:8px; margin:6px 0; padding:12px; }
|
||||
.trace-index { width:23px; font-size:10px; color:var(--ws-muted); }
|
||||
.trace-copy { min-width:0; flex:1; }
|
||||
.trace-copy strong { display:block; font-size:12px; }
|
||||
.trace-copy small { display:block; font-size:11px; line-height:1.7; color:var(--ws-muted); margin-top:4px; }
|
||||
.trace .status { font-size:10px; }
|
||||
@media(max-width:850px) {
|
||||
.node-code { display:none; }
|
||||
.param-card { flex-wrap:wrap; gap:10px; }
|
||||
.param-value { flex-basis:100%; order:3; }
|
||||
.context-cards,.run-options,.test-grid { grid-template-columns:1fr; }
|
||||
.panel { padding:18px 14px; }
|
||||
.flow-view-tools { flex-wrap:wrap; }
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------
|
||||
Tree canvas: every list is a rail, every step hangs off it with an
|
||||
elbow connector. Children start under their parent's symbol, branch
|
||||
lanes are colour-coded (✓ then / ✗ else / ! fallback) so the flow
|
||||
reads like a real tree instead of a flat stack of cards.
|
||||
------------------------------------------------------------------ */
|
||||
:host {
|
||||
--ws-rail: color-mix(in srgb, var(--ws-muted) 45%, var(--ws-paper));
|
||||
--ws-tint: color-mix(in srgb, var(--ws-accent) 12%, var(--ws-card));
|
||||
--ws-amber: #b08a3c;
|
||||
--ws-danger: #b3634d;
|
||||
--tree-indent: 26px; /* elbow length: rail → card edge */
|
||||
--tree-anchor: 24px; /* card padding-left 11px + symbol 26px / 2 */
|
||||
--tree-elbow: 26px; /* card padding-top 12px + symbol 26px / 2 +1 */
|
||||
--tree-gap: 12px; /* vertical gap between sibling items */
|
||||
--tree-lead: 10px; /* gap between a parent card and its children */
|
||||
}
|
||||
:host([data-dark]) { --ws-rail: color-mix(in srgb, var(--ws-muted) 52%, var(--ws-paper)); --ws-amber: #d4b060; --ws-danger: #d98a72; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:host([data-auto-dark]) { --ws-rail: color-mix(in srgb, var(--ws-muted) 52%, var(--ws-paper)); --ws-amber: #d4b060; --ws-danger: #d98a72; }
|
||||
}
|
||||
.canvas { background-image: radial-gradient(color-mix(in srgb, var(--ws-line) 80%, transparent) 0.8px, transparent 0.8px); background-size: 18px 18px; }
|
||||
.tree { max-width: 820px; margin: 0 auto; padding: 2px 0 6px; }
|
||||
.sequence, .sequence.root { display: block; position: relative; min-width: 0; max-width: none; margin: 0; padding: 0 0 0 var(--tree-indent); }
|
||||
|
||||
/* Connectors ------------------------------------------------------ */
|
||||
.tree-item { position: relative; min-width: 0; }
|
||||
.tree-item::before, .tree-item::after { content: ""; position: absolute; left: calc(-1 * var(--tree-indent)); box-sizing: border-box; pointer-events: none; }
|
||||
.tree-item::before { top: var(--elbow, var(--tree-elbow)); bottom: 0; width: 2px; background: var(--lane, var(--ws-rail)); }
|
||||
.tree-item::after { top: calc(-1 * var(--lead, 0px)); width: var(--tree-indent); height: calc(var(--elbow, var(--tree-elbow)) + var(--lead, 0px)); border: 0 solid var(--lane, var(--ws-rail)); border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 10px; }
|
||||
.tree-item:last-child::before { display: none; }
|
||||
.tree-item:has(> .node-row > .node.selected)::after { border-color: var(--ws-accent); }
|
||||
|
||||
/* Start / end of the main trunk */
|
||||
.endpoint.tree-item { --elbow: 11px; display: flex; align-items: center; gap: 10px; width: auto; min-height: 22px; margin: 0; padding: 0 0 10px; border: 0; border-radius: 0; background: none; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--ws-muted); text-align: left; }
|
||||
.endpoint .port { position: absolute; left: calc(-1 * var(--tree-indent) - 4px); top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ws-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-accent) 22%, transparent); }
|
||||
.endpoint.start::after { display: none; }
|
||||
.endpoint.end { margin: 0; padding: 12px 0 0; }
|
||||
.endpoint.end .port { top: 18px; }
|
||||
.endpoint.end::before { display: none; }
|
||||
.endpoint.end::after { top: 0; width: 2px; height: 23px; border: 0; border-radius: 0; background: var(--ws-rail); }
|
||||
|
||||
/* Step cards ------------------------------------------------------ */
|
||||
.unit { margin: 0; padding: 0 0 var(--tree-gap); z-index: auto; }
|
||||
.node-row { position: relative; }
|
||||
.node { align-items: flex-start; gap: 11px; min-height: 0; padding: 12px 12px 11px 11px; border-radius: 11px; box-shadow: 0 1px 2px #0000000a; transition: border-color .15s ease, box-shadow .15s ease; }
|
||||
.node:hover:not(:disabled) { border-color: color-mix(in srgb, var(--ws-accent) 55%, var(--ws-line)); }
|
||||
.node.selected { border-color: var(--ws-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-accent) 18%, transparent); }
|
||||
.symbol { position: relative; width: 26px; height: 26px; border-radius: 7px; font-size: 14px; background: var(--ws-tint); color: var(--ws-accent); }
|
||||
.symbol b { position: relative; z-index: 1; font-weight: 500; font-style: normal; }
|
||||
.symbol.diamond { background: transparent; }
|
||||
.symbol.diamond::before, .symbol.diamond::after { content: ""; position: absolute; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
|
||||
.symbol.diamond::before { inset: -4px; background: var(--ws-accent); }
|
||||
.symbol.diamond::after { inset: -2px; background: var(--ws-tint); }
|
||||
.symbol.diamond b { font-weight: 700; font-size: 13px; }
|
||||
.node-info { display: block; min-width: 0; flex: 1; }
|
||||
.node-head { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
|
||||
.node-index { flex-shrink: 0; margin-top: 2px; padding: 2px 5px; border: 1px solid color-mix(in srgb, var(--ws-accent) 35%, transparent); border-radius: 5px; background: var(--ws-tint); color: var(--ws-accent); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .5px; }
|
||||
.node-name { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
|
||||
.node-code { flex-shrink: 0; align-self: flex-start; margin-top: 1px; padding: 1px 8px; border: 1px solid var(--ws-line); border-radius: 20px; font: 10px/1.6 system-ui, sans-serif; color: var(--ws-muted); white-space: nowrap; }
|
||||
.node.control .node-code { border-color: color-mix(in srgb, var(--ws-accent) 40%, transparent); color: var(--ws-accent); }
|
||||
.node-description { display: block; margin-top: 3px; max-width: none; font-size: 11px; line-height: 1.65; color: var(--ws-muted); white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
|
||||
.node.control { border-left: 3px solid var(--ws-accent); }
|
||||
.node.control.selected { border-left-color: var(--ws-accent); }
|
||||
.node.failed { border-color: var(--ws-danger); }
|
||||
|
||||
/* Stages (GROUP / SWITCH / TRY) look like chapter headers */
|
||||
.stage > .node-row > .node { padding-right: 116px; background: color-mix(in srgb, var(--ws-accent) 7%, var(--ws-card)); border-color: color-mix(in srgb, var(--ws-accent) 32%, var(--ws-line)); }
|
||||
.stage > .node-row > .node .symbol { background: var(--ws-accent); color: var(--ws-card); }
|
||||
.stage > .node-row > .node.kind-SWITCH .symbol.diamond { background: transparent; color: var(--ws-accent); }
|
||||
.stage > .node-row > .node .node-name { font-size: 13px; }
|
||||
.stage .node-code { display: none; }
|
||||
.stage-toggle { position: absolute; right: 10px; top: 11px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: 1px solid color-mix(in srgb, var(--ws-accent) 35%, var(--ws-line)); border-radius: 20px; background: var(--ws-card); color: var(--ws-accent); font-size: 11px; line-height: 1.4; white-space: nowrap; }
|
||||
.stage-toggle .chev { font-size: 12px; line-height: 1; }
|
||||
.stage-toggle:hover { background: var(--ws-tint); }
|
||||
|
||||
/* Notes */
|
||||
.note-card .node { align-items: flex-start; border-left: 3px solid var(--ws-accent); }
|
||||
.note-card .node-description { white-space: pre-wrap; margin-top: 4px; }
|
||||
.note-card .symbol { font-size: 14px; font-weight: 700; }
|
||||
.note-card.tone-warning .node { border-left-color: var(--ws-amber); }
|
||||
.note-card.tone-warning .symbol { background: color-mix(in srgb, var(--ws-amber) 16%, var(--ws-card)); color: var(--ws-amber); }
|
||||
.note-card.tone-danger .node { border-left-color: var(--ws-danger); }
|
||||
.note-card.tone-danger .symbol { background: color-mix(in srgb, var(--ws-danger) 16%, var(--ws-card)); color: var(--ws-danger); }
|
||||
.note-card.tone-success .node { border-left-color: var(--ws-accent); }
|
||||
|
||||
/* Children hang under the parent's symbol ------------------------- */
|
||||
.stage-content { --lane: initial; margin-left: var(--tree-anchor); padding-top: var(--tree-lead); }
|
||||
.branches, .branches.lanes, .branches.plain { display: block; margin: 0; padding: 0 0 0 var(--tree-indent); border: 0; border-radius: 0; background: none; }
|
||||
.branches.plain { padding-left: 0; }
|
||||
.branches.lanes > .tree-item:first-child, .branch.plain > .sequence > .tree-item:first-child { --lead: var(--tree-lead); }
|
||||
.branch { min-width: 0; margin: 0; padding: 0; border: 0; }
|
||||
.branch.plain > .sequence { padding-top: 0; }
|
||||
.branch.tree-item { --elbow: 12px; padding-bottom: var(--tree-gap); }
|
||||
.branch.kind-then, .branch.kind-steps, .branch.kind-case { --pill: var(--ws-accent); }
|
||||
.branch.kind-else, .branch.kind-default { --pill: var(--ws-amber); }
|
||||
.branch.kind-fallback { --pill: var(--ws-danger); }
|
||||
.branch-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; min-height: 24px; margin: 0; padding: 0; color: var(--ws-muted); font-size: 11px; letter-spacing: 0; text-align: left; justify-content: flex-start; }
|
||||
.branch-name .port { display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--pill); color: var(--ws-card); font: 700 11px/1 system-ui, sans-serif; font-style: normal; }
|
||||
.branch-name > span { padding: 3px 10px; border: 1px solid color-mix(in srgb, var(--pill) 55%, transparent); border-radius: 20px; background: color-mix(in srgb, var(--pill) 10%, var(--ws-card)); color: var(--pill); font-size: 11px; font-weight: 650; line-height: 1.4; }
|
||||
.branch-name small { font-size: 10.5px; color: var(--ws-muted); overflow-wrap: anywhere; }
|
||||
.branch.taken .branch-name > span { background: var(--pill); color: var(--ws-card); }
|
||||
.branch.taken .branch-name::after { content: "本次命中"; font-size: 10px; color: var(--pill); }
|
||||
.branch:not(.plain) > .sequence { --lane: color-mix(in srgb, var(--pill) 72%, var(--ws-rail)); margin-left: 10px; padding-top: 6px; }
|
||||
.branch:not(.plain) > .sequence > .tree-item:first-child { --lead: 6px; }
|
||||
.branch.empty { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
|
||||
.empty-route { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; font-size: 11px; color: var(--ws-muted); }
|
||||
.empty-route .add { padding: 2px 8px; border: 1px dashed color-mix(in srgb, var(--ws-muted) 50%, transparent); border-radius: 20px; background: transparent; font-size: 10.5px; color: var(--ws-muted); }
|
||||
.empty-route .add:hover, .empty-route .add:focus-visible { color: var(--ws-accent); border-color: var(--ws-accent); background: var(--ws-card); }
|
||||
.decision-note.tree-item { --elbow: 10px; margin: 0; padding: 0 0 10px 6px; font-size: 11px; line-height: 20px; color: var(--ws-muted); }
|
||||
.merge.tree-item { --elbow: 10px; width: max-content; max-width: 100%; margin: 0; padding: 0 0 2px 6px; background: none; font-size: 10.5px; line-height: 20px; text-align: left; color: var(--ws-muted); }
|
||||
|
||||
/* Ghost leaf at the end of every list */
|
||||
.add.tree-item { --elbow: 13px; display: flex; align-items: center; width: max-content; max-width: 100%; min-height: 26px; margin: 0; padding: 3px 11px; border: 1px dashed color-mix(in srgb, var(--ws-muted) 50%, transparent); border-radius: 8px; background: transparent; font-size: 11px; color: var(--ws-muted); opacity: 1; z-index: auto; align-self: auto; }
|
||||
.add.tree-item:hover, .add.tree-item:focus-visible { color: var(--ws-accent); border-color: var(--ws-accent); background: var(--ws-card); }
|
||||
|
||||
/* Legend */
|
||||
.flow-view-tools { margin: -8px 0 22px; }
|
||||
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-width: 0; }
|
||||
.legend em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; }
|
||||
.legend em:last-child { color: var(--ws-muted); opacity: .8; }
|
||||
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--ws-accent); }
|
||||
.lg.decide { border-radius: 0; transform: rotate(45deg) scale(.85); background: var(--ws-tint); box-shadow: 0 0 0 2px var(--ws-accent); }
|
||||
.lg.then { border-radius: 50%; }
|
||||
.lg.else { border-radius: 50%; background: var(--ws-amber); }
|
||||
|
||||
@media (max-width: 850px) {
|
||||
:host { --tree-indent: 12px; --tree-anchor: 21px; --tree-elbow: 23px; --tree-gap: 10px; --tree-lead: 8px; }
|
||||
.canvas { padding: 20px 14px; }
|
||||
.node { gap: 9px; padding: 10px 9px 9px 9px; }
|
||||
.symbol { width: 24px; height: 24px; font-size: 13px; }
|
||||
.node-code { display: none; }
|
||||
.node-index { display: none; }
|
||||
.stage > .node-row > .node { padding-right: 46px; }
|
||||
.stage-toggle .toggle-text { display: none; }
|
||||
.stage-toggle { padding: 4px 7px; top: 9px; right: 8px; }
|
||||
.branch-name .port { width: 18px; height: 18px; font-size: 10px; }
|
||||
.branch:not(.plain) > .sequence { margin-left: 8px; }
|
||||
.legend em:last-child { display: none; }
|
||||
}
|
||||
Reference in new issue
Block a user