Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e8bfdbbc06 | |||
| ef3c1fbf84 | |||
| 2da96da592 | |||
| 10182b027e | |||
| 060872a144 | |||
| 0f7b8987b4 |
@@ -1,5 +1,25 @@
|
||||
# Changelog
|
||||
|
||||
## 开发快照 0.1.375(工作台界面:越疆配色、页头统一与筛选批量条)
|
||||
|
||||
### Changed
|
||||
|
||||
- 全站配色改取越疆官网:品牌钴蓝 #0039C8 为唯一强调与主操作色,文字与底色改为中性灰,
|
||||
侧栏改为明亮底;卡片细边 + 极轻投影。只改前端样式,业务语义、权限、确认流程与接口不变。
|
||||
- 六个模块页头统一(标题/说明/右侧操作位置与字号一致,左边缘对齐)。
|
||||
- 解析监控:指标卡口径改为徽标,文件处理标明「当前筛选 N 项 · 本页 M 项」,清除筛选显示
|
||||
已生效筛选数,时间范围改为浮层,批量条只在选中后高亮。
|
||||
- 来源与目录:「已选 N 项」紧跟全选,策略按钮改为浅底语义色并只在选中后高亮整条,
|
||||
📁/📄 换为线性图标。
|
||||
- 问答流水:会触发后台写入的「立即同步」改为描边次按钮,与只读「查询」区分。
|
||||
- 侧栏底部环境标注由「本地治理环境」改为「云测试环境」。
|
||||
|
||||
### Fixed
|
||||
|
||||
- 悬停侧栏导航时被全局按钮悬停样式刷成白底、选中项文字几乎不可见。
|
||||
- 若干样式引用了从未定义的 CSS 变量(--border、--card、--brand、--danger-ink 等),
|
||||
相应边框/颜色此前只靠回退值或根本不生效,现已指向正式令牌。
|
||||
|
||||
## 开发快照 0.1.369(周报发送记录读回与未知投递收口)
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -51,8 +51,8 @@ describe('WorkspaceShell', () => {
|
||||
}
|
||||
expect(html).not.toContain('来源链接')
|
||||
expect(html).not.toContain('待处理文件')
|
||||
expect(html).toContain('本地治理环境')
|
||||
expect(html).not.toContain('P2 本地治理环境')
|
||||
expect(html).toContain('云测试环境')
|
||||
expect(html).not.toContain('本地治理环境')
|
||||
})
|
||||
|
||||
it('omits the system open-page tab strip while retaining navigation and the current location', () => {
|
||||
@@ -104,7 +104,7 @@ describe('App', () => {
|
||||
expect(html).not.toContain('aria-label="已打开页面"')
|
||||
expect(html).not.toContain('class="tab-list"')
|
||||
expect(html).not.toContain('class="workspace-tab')
|
||||
expect(html).toContain('<h1>来源与目录</h1>')
|
||||
expect(html).toContain('<h1 class="page-title">来源与目录</h1>')
|
||||
expect(html).not.toContain('最近任务')
|
||||
})
|
||||
})
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ export function WorkspaceShell(props: WorkspaceShellProps) {
|
||||
</nav>
|
||||
<div className="sidebar-footer">
|
||||
<span className="status-dot" aria-hidden="true" />
|
||||
本地治理环境
|
||||
云测试环境
|
||||
</div>
|
||||
</aside>
|
||||
{navigationOpen ? (
|
||||
|
||||
@@ -16,7 +16,7 @@ export function QAMirrorSyncView(p: ViewProps) {
|
||||
<section className="qa-mirror-sync" aria-label="问答同步状态">
|
||||
<div className="qa-mirror-sync-line">
|
||||
<button
|
||||
className="qa-query-action"
|
||||
className="qa-query-action qa-sync-action"
|
||||
type="button"
|
||||
onClick={p.onSync}
|
||||
disabled={p.submitting || !s?.worker_ready || active}
|
||||
|
||||
@@ -610,8 +610,8 @@ export function QAOperations() {
|
||||
const queryView = view === 'records' || view === 'dashboard'
|
||||
return (
|
||||
<section className="qa-ops" aria-label="问答运营">
|
||||
<header className="qa-ops-header">
|
||||
<h2>问答运营</h2>
|
||||
<header className="qa-ops-header page-header">
|
||||
<h1 className="page-title">问答运营</h1>
|
||||
</header>
|
||||
{!canRead ? (
|
||||
<p className="error-banner" role="alert">
|
||||
|
||||
@@ -1912,12 +1912,12 @@ export function ReleaseTargetsView(props: ViewProps) {
|
||||
|
||||
return (
|
||||
<section className="release-targets" aria-label="发布管理">
|
||||
<header className="rel-head">
|
||||
<header className="rel-head page-header">
|
||||
<div>
|
||||
<h1>发布管理</h1>
|
||||
<p>测试维护与验证,生产按知识库版本同步。</p>
|
||||
<h1 className="page-title">发布管理</h1>
|
||||
<p className="page-subtitle">测试维护与验证,生产按知识库版本同步。</p>
|
||||
</div>
|
||||
<div className="rel-head-actions">
|
||||
<div className="rel-head-actions page-header-actions">
|
||||
<button type="button" className="rel-secondary" onClick={() => onDrawer(true)}>
|
||||
▣ 版本与快照
|
||||
</button>
|
||||
|
||||
@@ -174,10 +174,10 @@ export function SourceCatalogBrowserView({
|
||||
refreshJob?.state === 'pending' || refreshJob?.state === 'running' || refreshJob?.state === 'retry'
|
||||
return (
|
||||
<main className="page-shell catalog-browser">
|
||||
<header className="hero compact">
|
||||
<header className="hero compact page-header">
|
||||
<div>
|
||||
<h1>来源与目录</h1>
|
||||
<p className="subtitle">各个知识源头的资料总览与标注</p>
|
||||
<h1 className="page-title">来源与目录</h1>
|
||||
<p className="subtitle page-subtitle">各个知识源头的资料总览与标注</p>
|
||||
</div>
|
||||
<button onClick={onRefresh} disabled={loading || refreshActive}>
|
||||
{refreshActive ? '实时刷新中…' : '实时刷新目录'}
|
||||
@@ -343,7 +343,7 @@ export function SourceCatalogBrowserView({
|
||||
</details>
|
||||
|
||||
{visibleItems.length ? (
|
||||
<section className="catalog-routing">
|
||||
<section className={selectedCount ? 'catalog-routing has-selection' : 'catalog-routing'}>
|
||||
<div className="routing-actions">
|
||||
<label className="routing-check">
|
||||
<input
|
||||
@@ -359,7 +359,8 @@ export function SourceCatalogBrowserView({
|
||||
/>
|
||||
全选当前页
|
||||
</label>
|
||||
<div className="catalog-policy-actions">
|
||||
<small className="selected-count">已选 {selectedCount} 项</small>
|
||||
<div className="catalog-policy-actions" role="group" aria-label="处理策略">
|
||||
<button
|
||||
className="internal-policy-button"
|
||||
disabled={!routeReady || !selectedNodeIDs.length || !policyEnabled('internal')}
|
||||
@@ -374,16 +375,13 @@ export function SourceCatalogBrowserView({
|
||||
>
|
||||
对外
|
||||
</button>
|
||||
<div className="blocked-policy-stack">
|
||||
<button
|
||||
className="blocked-policy-button"
|
||||
disabled={!routeReady || !selectedNodeIDs.length}
|
||||
onClick={() => void applyPolicy('blocked')}
|
||||
>
|
||||
禁止导入
|
||||
</button>
|
||||
<small className="selected-count">已选 {selectedCount} 项</small>
|
||||
</div>
|
||||
<button
|
||||
className="blocked-policy-button"
|
||||
disabled={!routeReady || !selectedNodeIDs.length}
|
||||
onClick={() => void applyPolicy('blocked')}
|
||||
>
|
||||
禁止导入
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{routingMessage ? <p role="status">{routingMessage}</p> : null}
|
||||
@@ -417,7 +415,7 @@ export function SourceCatalogBrowserView({
|
||||
onChange={() => toggleNode(node.node_id)}
|
||||
/>
|
||||
<button className="catalog-name" onClick={() => onOpenFolder(node)}>
|
||||
<span aria-hidden="true">📁</span>
|
||||
<span className="catalog-icon folder" aria-hidden="true" />
|
||||
{node.name}
|
||||
</button>
|
||||
</div>
|
||||
@@ -429,7 +427,7 @@ export function SourceCatalogBrowserView({
|
||||
checked={selectedIDs.includes(node.node_id)}
|
||||
onChange={() => toggleNode(node.node_id)}
|
||||
/>
|
||||
<span aria-hidden="true">📄</span>
|
||||
<span className="catalog-icon file" aria-hidden="true" />
|
||||
{node.name}
|
||||
</label>
|
||||
)}
|
||||
|
||||
@@ -201,9 +201,9 @@ export function SystemSettingsView({
|
||||
}
|
||||
return (
|
||||
<main className="page-shell system-settings">
|
||||
<header className="hero compact">
|
||||
<header className="hero compact page-header">
|
||||
<div>
|
||||
<h1>系统设置</h1>
|
||||
<h1 className="page-title">系统设置</h1>
|
||||
</div>
|
||||
</header>
|
||||
{error ? (
|
||||
|
||||
@@ -87,12 +87,12 @@ export function VersionHistoryView(props: ViewProps) {
|
||||
: props.expanded
|
||||
return (
|
||||
<section className="version-history" aria-label="版本记录">
|
||||
<header className="version-history-header">
|
||||
<header className="version-history-header page-header">
|
||||
<div>
|
||||
<h2>版本记录</h2>
|
||||
<p>查看当前构建,以及每次更新带来的变化。</p>
|
||||
<h1 className="page-title">版本记录</h1>
|
||||
<p className="page-subtitle">查看当前构建,以及每次更新带来的变化。</p>
|
||||
</div>
|
||||
<div className="version-history-actions">
|
||||
<div className="version-history-actions page-header-actions">
|
||||
<button type="button" onClick={props.onRefresh} disabled={props.loading}>
|
||||
刷新
|
||||
</button>
|
||||
|
||||
+69
-50
@@ -76,12 +76,15 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
const kbName = (id: string) => overview?.knowledge_bases.find((k) => k.id === id)?.name || id
|
||||
const bindings = page.bindings
|
||||
const scopeBinding = filters.scope === 'external' ? bindings.external : bindings.internal
|
||||
// 默认的「未结束」也算一项筛选:表格常因它为空,而顶部失败数是全部任务口径,必须让人看出两者范围不同
|
||||
const activeFilters = Object.values(filters).filter(Boolean).length
|
||||
const pageCount = Math.max(1, Math.ceil(page.total / page.limit))
|
||||
return (
|
||||
<main className="page-shell monitor-workbench">
|
||||
<header className="monitor-heading">
|
||||
<header className="monitor-heading page-header">
|
||||
<div>
|
||||
<h1>解析监控</h1>
|
||||
<p>运行概况与文件处理进度</p>
|
||||
<h1 className="page-title">解析监控</h1>
|
||||
<p className="page-subtitle">运行概况与文件处理进度</p>
|
||||
</div>
|
||||
<span>{overview ? `快照 ${time(overview.observed_at)}` : '等待运行快照'}</span>
|
||||
<button disabled={busy || loading} onClick={p.onRefresh}>
|
||||
@@ -205,7 +208,12 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
</section>
|
||||
<section className="monitor-files">
|
||||
<div className="monitor-section-heading">
|
||||
<h2>文件处理</h2>
|
||||
<div className="monitor-heading-group">
|
||||
<h2>文件处理</h2>
|
||||
<small className="monitor-scope-note">
|
||||
{loading ? '读取中…' : `当前筛选 ${page.total} 项 · 本页 ${page.items.length} 项`}
|
||||
</small>
|
||||
</div>
|
||||
<span>生产发布授权在「发布管理」</span>
|
||||
</div>
|
||||
<div className="monitor-filters">
|
||||
@@ -254,7 +262,8 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
</select>
|
||||
<button
|
||||
type="button"
|
||||
className="monitor-link"
|
||||
className="monitor-link monitor-chip"
|
||||
aria-pressed={Boolean(scopeBinding) && filters.target === scopeBinding}
|
||||
disabled={busy || !scopeBinding}
|
||||
title={
|
||||
scopeBinding
|
||||
@@ -307,49 +316,55 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
</select>
|
||||
<details className="monitor-time-filter">
|
||||
<summary>时间范围{filters.since || filters.until ? ' · 已筛选' : ''}</summary>
|
||||
<label>
|
||||
更新时间起
|
||||
<input
|
||||
type="datetime-local"
|
||||
aria-label="更新时间起"
|
||||
disabled={busy}
|
||||
value={
|
||||
filters.since
|
||||
? new Date(new Date(filters.since).getTime() - new Date(filters.since).getTimezoneOffset() * 60000)
|
||||
.toISOString()
|
||||
.slice(0, 16)
|
||||
: ''
|
||||
}
|
||||
onChange={(e) => patchFilter('since', e.target.value ? new Date(e.target.value).toISOString() : '')}
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
更新时间止
|
||||
<input
|
||||
type="datetime-local"
|
||||
aria-label="更新时间止"
|
||||
disabled={busy}
|
||||
value={
|
||||
filters.until
|
||||
? new Date(new Date(filters.until).getTime() - new Date(filters.until).getTimezoneOffset() * 60000)
|
||||
.toISOString()
|
||||
.slice(0, 16)
|
||||
: ''
|
||||
}
|
||||
onChange={(e) => patchFilter('until', e.target.value ? new Date(e.target.value).toISOString() : '')}
|
||||
/>
|
||||
</label>
|
||||
<div className="monitor-time-panel">
|
||||
<label>
|
||||
更新时间起
|
||||
<input
|
||||
type="datetime-local"
|
||||
aria-label="更新时间起"
|
||||
disabled={busy}
|
||||
value={
|
||||
filters.since
|
||||
? new Date(
|
||||
new Date(filters.since).getTime() - new Date(filters.since).getTimezoneOffset() * 60000
|
||||
)
|
||||
.toISOString()
|
||||
.slice(0, 16)
|
||||
: ''
|
||||
}
|
||||
onChange={(e) => patchFilter('since', e.target.value ? new Date(e.target.value).toISOString() : '')}
|
||||
/>
|
||||
</label>
|
||||
<label>
|
||||
更新时间止
|
||||
<input
|
||||
type="datetime-local"
|
||||
aria-label="更新时间止"
|
||||
disabled={busy}
|
||||
value={
|
||||
filters.until
|
||||
? new Date(
|
||||
new Date(filters.until).getTime() - new Date(filters.until).getTimezoneOffset() * 60000
|
||||
)
|
||||
.toISOString()
|
||||
.slice(0, 16)
|
||||
: ''
|
||||
}
|
||||
onChange={(e) => patchFilter('until', e.target.value ? new Date(e.target.value).toISOString() : '')}
|
||||
/>
|
||||
</label>
|
||||
</div>
|
||||
</details>
|
||||
<button
|
||||
className="monitor-link"
|
||||
disabled={busy}
|
||||
className="monitor-link monitor-clear"
|
||||
disabled={busy || !activeFilters}
|
||||
onClick={() => p.onFilters({ ...defaultMonitorFilters, status: '' })}
|
||||
>
|
||||
清除筛选
|
||||
清除筛选{activeFilters ? `(${activeFilters})` : ''}
|
||||
</button>
|
||||
</div>
|
||||
{p.canOperate ? (
|
||||
<div className="monitor-batch">
|
||||
<div className={selected.length ? 'monitor-batch has-selection' : 'monitor-batch'}>
|
||||
<b>已选 {selected.length} 项</b>
|
||||
<span>只重试可恢复项,沿用原处理动作</span>
|
||||
<button className="monitor-link" disabled={busy || loading || !page.retryable} onClick={p.onSelectAll}>
|
||||
@@ -374,14 +389,14 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
<colgroup>
|
||||
<col style={{ width: '3%' }} />
|
||||
<col style={{ width: '20%' }} />
|
||||
<col style={{ width: '10%' }} />
|
||||
<col style={{ width: '11%' }} />
|
||||
<col style={{ width: '6%' }} />
|
||||
<col style={{ width: '8%' }} />
|
||||
<col style={{ width: '9%' }} />
|
||||
<col style={{ width: '16%' }} />
|
||||
<col style={{ width: '10%' }} />
|
||||
<col style={{ width: '11%' }} />
|
||||
<col style={{ width: '7%' }} />
|
||||
<col style={{ width: '7%' }} />
|
||||
<col style={{ width: '8%' }} />
|
||||
<col style={{ width: '17%' }} />
|
||||
<col style={{ width: '10%' }} />
|
||||
<col style={{ width: '6%' }} />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -431,7 +446,11 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
<b className="monitor-file-name">{item.title || '未命名文件'}</b>
|
||||
<small title={item.path}>{item.path || '未提供目录'}</small>
|
||||
</td>
|
||||
<td>{item.source_name}</td>
|
||||
<td>
|
||||
<span className="monitor-clamp" title={item.source_name}>
|
||||
{item.source_name}
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<span className="monitor-scope">{item.target_scope === 'internal' ? '对内' : '对外'}</span>
|
||||
<small title={item.target_kb}>
|
||||
@@ -471,7 +490,7 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
</div>
|
||||
<footer className="monitor-pagination">
|
||||
<span>
|
||||
共 {page.total} 项 · 每页 {page.limit} 项
|
||||
当前筛选共 {page.total} 项 · 每页 {page.limit} 项
|
||||
</span>
|
||||
<div>
|
||||
<button
|
||||
@@ -481,7 +500,7 @@ export function WeKnoraMonitorView(p: ViewProps) {
|
||||
上一页
|
||||
</button>
|
||||
<span>
|
||||
{Math.floor(page.offset / page.limit) + 1} / {Math.max(1, Math.ceil(page.total / page.limit))}
|
||||
第 {Math.floor(page.offset / page.limit) + 1} / {pageCount} 页
|
||||
</span>
|
||||
<button
|
||||
disabled={busy || loading || page.offset + page.limit >= page.total}
|
||||
|
||||
+187
-57
@@ -6,19 +6,8 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
.monitor-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.monitor-heading h1 {
|
||||
font-size: 24px;
|
||||
margin: 0 0 5px;
|
||||
}
|
||||
.monitor-heading p {
|
||||
margin: 0;
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.monitor-heading > span {
|
||||
margin-left: auto;
|
||||
@@ -28,15 +17,16 @@
|
||||
.monitor-metric-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1.3fr 1.1fr;
|
||||
gap: 14px;
|
||||
margin-bottom: 15px;
|
||||
gap: 16px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.monitor-metric-grid article {
|
||||
min-width: 0;
|
||||
padding: 18px;
|
||||
padding: 18px 20px;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 9px;
|
||||
border-radius: var(--r-lg);
|
||||
background: var(--bg-panel);
|
||||
box-shadow: var(--shadow-card);
|
||||
}
|
||||
.monitor-metric-grid h2 {
|
||||
display: flex;
|
||||
@@ -49,8 +39,15 @@
|
||||
margin: 0;
|
||||
}
|
||||
.monitor-metric-grid h2 small {
|
||||
/* 口径标签做成徽标:顶部数字是全局口径,下表是筛选口径,二者不能被读成同一个范围 */
|
||||
padding: 1px 6px;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 999px;
|
||||
background: var(--bg-soft);
|
||||
font-size: 10px;
|
||||
color: var(--ink-faint);
|
||||
font-weight: 500;
|
||||
color: var(--ink-mute);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.monitor-numbers {
|
||||
display: flex;
|
||||
@@ -65,10 +62,11 @@
|
||||
min-width: 0;
|
||||
}
|
||||
.monitor-numbers strong {
|
||||
font-size: 27px;
|
||||
line-height: 1.3;
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.6px;
|
||||
font-size: 28px;
|
||||
line-height: 1.25;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.03em;
|
||||
color: var(--ink-strong);
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
@@ -77,7 +75,7 @@
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.monitor-numbers .monitor-memory {
|
||||
font-size: 23px;
|
||||
font-size: 24px;
|
||||
}
|
||||
.monitor-good {
|
||||
color: var(--c-done) !important;
|
||||
@@ -88,13 +86,18 @@
|
||||
.monitor-service-panel,
|
||||
.monitor-files {
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 9px;
|
||||
border-radius: var(--r-lg);
|
||||
background: var(--bg-panel);
|
||||
box-shadow: var(--shadow-card);
|
||||
overflow: hidden;
|
||||
}
|
||||
.monitor-service-panel {
|
||||
padding: 15px 18px;
|
||||
margin-bottom: 22px;
|
||||
padding: 18px 20px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
.monitor-files {
|
||||
/* 时间范围浮层要能溢出卡片;圆角由表头/分页各自裁切 */
|
||||
overflow: visible;
|
||||
}
|
||||
.monitor-section-heading {
|
||||
display: flex;
|
||||
@@ -102,11 +105,22 @@
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
.monitor-heading-group {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
gap: 10px;
|
||||
}
|
||||
.monitor-section-heading h2 {
|
||||
font-size: 16px;
|
||||
font-size: 15px;
|
||||
margin: 0;
|
||||
font-weight: 650;
|
||||
}
|
||||
.monitor-scope-note {
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
color: var(--ink-mute);
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
.monitor-section-heading > span {
|
||||
font-size: 11px;
|
||||
color: var(--ink-mute);
|
||||
@@ -119,10 +133,18 @@
|
||||
align-items: start;
|
||||
}
|
||||
.monitor-service {
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 6px;
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: var(--r-md);
|
||||
background: var(--bg-soft);
|
||||
padding: 10px 11px;
|
||||
padding: 10px 12px;
|
||||
transition:
|
||||
border-color 120ms ease,
|
||||
background 120ms ease;
|
||||
}
|
||||
.monitor-service:hover,
|
||||
.monitor-service[open] {
|
||||
border-color: var(--border-base);
|
||||
background: var(--bg-panel);
|
||||
font-size: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -138,6 +160,8 @@
|
||||
}
|
||||
.monitor-service summary > span {
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--ink-base);
|
||||
font-weight: 500;
|
||||
}
|
||||
.monitor-service b {
|
||||
font-size: 11px;
|
||||
@@ -152,56 +176,119 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
.monitor-files > .monitor-section-heading {
|
||||
padding: 18px 19px 10px;
|
||||
padding: 18px 20px 14px;
|
||||
}
|
||||
.monitor-filters {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding: 10px 19px 16px;
|
||||
padding: 0 20px 14px;
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
}
|
||||
.monitor-filters input,
|
||||
.monitor-filters select {
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 6px;
|
||||
padding: 8px 10px;
|
||||
border-radius: var(--r-md);
|
||||
padding: 5px 8px;
|
||||
background: var(--bg-panel);
|
||||
color: var(--ink-base);
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
max-width: 230px;
|
||||
min-height: 35px;
|
||||
min-height: 32px;
|
||||
}
|
||||
.monitor-filters select {
|
||||
flex: 0 1 150px;
|
||||
min-width: 112px;
|
||||
}
|
||||
.monitor-filters > input {
|
||||
width: 210px;
|
||||
flex: 1 1 220px;
|
||||
max-width: 280px;
|
||||
}
|
||||
.monitor-time-filter {
|
||||
font-size: 12px;
|
||||
.monitor-filters input:focus,
|
||||
.monitor-filters select:focus {
|
||||
border-color: var(--c-run);
|
||||
outline: none;
|
||||
box-shadow: var(--c-focus-ring);
|
||||
}
|
||||
.monitor-workbench .monitor-chip {
|
||||
min-height: 32px;
|
||||
padding: 5px 10px;
|
||||
border: 1px dashed var(--border-strong);
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.monitor-workbench .monitor-chip[aria-pressed='true'] {
|
||||
border-style: solid;
|
||||
border-color: var(--c-run-border);
|
||||
background: var(--c-run-bg);
|
||||
color: var(--c-run);
|
||||
}
|
||||
.monitor-workbench .monitor-clear {
|
||||
margin-left: auto;
|
||||
}
|
||||
.monitor-time-filter {
|
||||
position: relative;
|
||||
font-size: 12px;
|
||||
color: var(--ink-base);
|
||||
}
|
||||
.monitor-time-filter summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 32px;
|
||||
padding: 0 10px;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--r-md);
|
||||
background: var(--bg-panel);
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.monitor-time-filter[open] > summary {
|
||||
border-color: var(--c-run);
|
||||
}
|
||||
/* 展开后浮在筛选条之上,不再把整排筛选挤成两行 */
|
||||
.monitor-time-panel {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
top: calc(100% + 4px);
|
||||
left: 0;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: var(--r-lg);
|
||||
background: var(--bg-panel);
|
||||
box-shadow: var(--shadow-float);
|
||||
}
|
||||
.monitor-time-filter label {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
margin-top: 8px;
|
||||
color: var(--ink-mute);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.monitor-batch {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
padding: 11px 19px;
|
||||
background: var(--c-run-bg);
|
||||
border-top: 1px solid var(--c-run-border);
|
||||
border-bottom: 1px solid var(--c-run-border);
|
||||
padding: 8px 20px;
|
||||
min-height: 48px;
|
||||
background: var(--bg-panel);
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
font-size: 12px;
|
||||
}
|
||||
.monitor-batch b {
|
||||
color: var(--ink-mute);
|
||||
font-weight: 500;
|
||||
}
|
||||
/* 只有真的选中了才变成强调色:否则「已选 0 项」常亮蓝条会让人以为有待处理的批量动作 */
|
||||
.monitor-batch.has-selection {
|
||||
background: var(--c-run-bg);
|
||||
border-bottom-color: var(--c-run-border);
|
||||
}
|
||||
.monitor-batch.has-selection b {
|
||||
color: var(--c-run);
|
||||
font-weight: 650;
|
||||
}
|
||||
.monitor-batch > span {
|
||||
color: var(--ink-mute);
|
||||
@@ -210,14 +297,21 @@
|
||||
margin-left: auto;
|
||||
}
|
||||
.monitor-workbench .primary {
|
||||
background: var(--c-run);
|
||||
border-color: var(--c-run);
|
||||
background: var(--c-primary);
|
||||
border-color: var(--c-primary);
|
||||
color: #fff;
|
||||
}
|
||||
.monitor-workbench button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
.monitor-workbench .primary:disabled {
|
||||
/* 禁用的主按钮用中性灰:浅蓝半透明看起来像「可点但加载慢」 */
|
||||
opacity: 1;
|
||||
background: var(--bg-softer);
|
||||
border-color: var(--border-base);
|
||||
color: var(--ink-faint);
|
||||
}
|
||||
.monitor-workbench .monitor-link {
|
||||
padding: 4px 6px;
|
||||
background: transparent;
|
||||
@@ -238,16 +332,18 @@
|
||||
text-align: left;
|
||||
}
|
||||
.monitor-unified-table th {
|
||||
padding: 12px 9px;
|
||||
padding: 10px 12px;
|
||||
background: var(--bg-soft);
|
||||
font-size: 11px;
|
||||
font-size: 11.5px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 0.02em;
|
||||
color: var(--ink-mute);
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
white-space: normal;
|
||||
}
|
||||
.monitor-unified-table td {
|
||||
padding: 14px 9px;
|
||||
padding: 12px 12px;
|
||||
color: var(--ink-base);
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
@@ -267,31 +363,65 @@
|
||||
text-overflow: ellipsis;
|
||||
margin-top: 3px;
|
||||
}
|
||||
.monitor-unified-table th {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
/* 来源名可能是长哈希(legacy 来源),限两行,完整值放 title,避免一格撑高整行 */
|
||||
.monitor-clamp {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.monitor-file-name {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
font-weight: 550;
|
||||
font-weight: 500;
|
||||
color: var(--ink-strong);
|
||||
}
|
||||
.monitor-unified-table input {
|
||||
accent-color: var(--c-run);
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.monitor-unified-table tr:hover,
|
||||
.monitor-selected {
|
||||
.monitor-unified-table tbody tr:hover {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
.monitor-unified-table tbody tr.monitor-selected {
|
||||
background: var(--c-run-bg);
|
||||
box-shadow: inset 2px 0 var(--c-run);
|
||||
}
|
||||
.monitor-unified-table tbody tr {
|
||||
transition: background 100ms ease;
|
||||
}
|
||||
.monitor-state,
|
||||
.monitor-scope {
|
||||
display: inline-block;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
font-size: 11px;
|
||||
padding: 2px 7px;
|
||||
border-radius: 4px;
|
||||
padding: 1px 7px;
|
||||
border-radius: 999px;
|
||||
white-space: nowrap;
|
||||
background: var(--c-run-bg);
|
||||
color: var(--c-run);
|
||||
}
|
||||
.monitor-state::before {
|
||||
content: '';
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
.monitor-scope {
|
||||
border-radius: var(--r-sm);
|
||||
background: var(--bg-softer);
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.monitor-state.attention {
|
||||
background: var(--c-fail-bg);
|
||||
color: var(--c-fail);
|
||||
@@ -314,9 +444,9 @@
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 13px 19px;
|
||||
padding: 12px 20px;
|
||||
border-top: 1px solid var(--border-base);
|
||||
font-size: 11px;
|
||||
font-size: 12px;
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.monitor-pagination > div {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.qa-mirror-sync {
|
||||
padding: 12px 0;
|
||||
border-bottom: 1px solid var(--border, #dce4ef);
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.qa-mirror-sync-line {
|
||||
|
||||
+45
-34
@@ -2,8 +2,6 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
gap: 14px;
|
||||
padding: 20px;
|
||||
height: calc(100dvh - 44px);
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -130,16 +128,6 @@
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
}
|
||||
.qa-ops-header h2 {
|
||||
margin: 0 0 5px;
|
||||
font-size: 21px;
|
||||
font-weight: 650;
|
||||
}
|
||||
.qa-ops-header h2 span {
|
||||
font-size: 15px;
|
||||
color: var(--ink-mute);
|
||||
font-weight: 400;
|
||||
}
|
||||
.qa-ops-header p,
|
||||
.qa-ops-slice-note {
|
||||
margin: 0;
|
||||
@@ -152,9 +140,11 @@
|
||||
flex-wrap: wrap;
|
||||
align-items: end;
|
||||
gap: 12px;
|
||||
padding: 14px;
|
||||
padding: 16px;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: var(--r-lg);
|
||||
background: var(--bg-panel);
|
||||
box-shadow: var(--shadow-card);
|
||||
}
|
||||
.qa-ops-query label {
|
||||
display: flex;
|
||||
@@ -170,7 +160,7 @@
|
||||
padding: 7px 10px;
|
||||
color: var(--ink-strong);
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--r-sm);
|
||||
border-radius: var(--r-md);
|
||||
background: var(--bg-panel);
|
||||
}
|
||||
.qa-week-picker {
|
||||
@@ -199,23 +189,40 @@
|
||||
min-height: 36px;
|
||||
min-width: 72px;
|
||||
color: #fff;
|
||||
background: var(--c-run);
|
||||
border: 1px solid var(--c-run);
|
||||
background: var(--c-primary);
|
||||
border: 1px solid var(--c-primary);
|
||||
}
|
||||
.qa-ops-query button:hover:not(:disabled) {
|
||||
color: #fff;
|
||||
background: var(--c-primary-hover);
|
||||
border-color: var(--c-primary-hover);
|
||||
}
|
||||
/* 立即同步会触发后台写入,不能与只读的「查询」同为主按钮:用描边次按钮区分 */
|
||||
.qa-ops-query .qa-sync-action,
|
||||
.qa-ops-query .qa-sync-action:hover:not(:disabled) {
|
||||
color: var(--c-run);
|
||||
background: var(--bg-panel);
|
||||
border-color: var(--c-run-border);
|
||||
}
|
||||
.qa-ops-query .qa-sync-action:hover:not(:disabled) {
|
||||
background: var(--c-run-bg);
|
||||
}
|
||||
.qa-ops-query .qa-week-current {
|
||||
color: var(--ink-strong);
|
||||
background: var(--bg-panel);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.qa-ops-query .qa-week-current:hover {
|
||||
.qa-ops-query .qa-week-current:hover:not(:disabled) {
|
||||
color: var(--ink-strong);
|
||||
background: var(--bg-soft);
|
||||
border-color: var(--border-strong);
|
||||
}
|
||||
.qa-ops button:focus-visible,
|
||||
.qa-ops input:focus-visible,
|
||||
.qa-ops select:focus-visible,
|
||||
.qa-ops-table-scroll:focus-visible {
|
||||
outline: 2px solid var(--c-run);
|
||||
outline-offset: 2px;
|
||||
outline: none;
|
||||
box-shadow: var(--c-focus-ring);
|
||||
}
|
||||
.qa-ops-organization {
|
||||
margin: 8px 14px;
|
||||
@@ -230,7 +237,10 @@
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: var(--r-lg);
|
||||
background: var(--bg-panel);
|
||||
box-shadow: var(--shadow-card);
|
||||
overflow: hidden;
|
||||
}
|
||||
.qa-ops-result-bar,
|
||||
.qa-ops-page-bar {
|
||||
@@ -496,7 +506,8 @@
|
||||
/* Keep the wide ledger at the top; category colors do not tint entire rows. */
|
||||
.qa-ops {
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
/* 纵向保持紧凑(台账要尽量靠上),横向与其他模块统一 24px,切换页面时左边缘不跳 */
|
||||
padding: 16px 24px 12px;
|
||||
}
|
||||
.qa-ops-query {
|
||||
flex-wrap: wrap;
|
||||
@@ -561,7 +572,7 @@
|
||||
cursor: default;
|
||||
}
|
||||
.qa-ops-table tbody tr[data-qa-row]:hover {
|
||||
background: var(--bg-subtle, #f8fafc);
|
||||
background: var(--bg-soft);
|
||||
}
|
||||
@media (max-width: 1100px) {
|
||||
.qa-ops-query {
|
||||
@@ -579,13 +590,13 @@
|
||||
|
||||
.qa-ai-model-settings {
|
||||
padding: 14px 0;
|
||||
border-block: 1px solid var(--border, #e2e8f0);
|
||||
border-block: 1px solid var(--border-base);
|
||||
}
|
||||
.qa-ai-model-settings h3 {
|
||||
margin: 0 0 6px;
|
||||
}
|
||||
.qa-ai-workbench {
|
||||
border: 1px solid var(--border, #e2e8f0);
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 5px;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
@@ -613,9 +624,9 @@
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid #93c5fd;
|
||||
background: #eff6ff;
|
||||
color: #1e3a8a;
|
||||
border: 1px solid var(--c-run-border);
|
||||
background: var(--c-run-bg);
|
||||
color: var(--c-run);
|
||||
border-radius: 4px;
|
||||
}
|
||||
.qa-ai-confirm strong,
|
||||
@@ -642,16 +653,16 @@
|
||||
gap: 5px;
|
||||
margin-top: 8px;
|
||||
padding: 8px;
|
||||
border-top: 1px solid var(--border, #e2e8f0);
|
||||
border-top: 1px solid var(--border-base);
|
||||
}
|
||||
.qa-ai-task {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
color: #475569;
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.qa-ai-task-running,
|
||||
.qa-ai-task-queued {
|
||||
color: #1d4ed8;
|
||||
color: var(--c-run);
|
||||
}
|
||||
.qa-ai-task-succeeded {
|
||||
color: #166534;
|
||||
@@ -667,14 +678,14 @@
|
||||
margin-top: 12px;
|
||||
}
|
||||
.qa-ai-evidence > details {
|
||||
border-top: 1px solid var(--border, #e2e8f0);
|
||||
border-top: 1px solid var(--border-base);
|
||||
padding: 8px 0;
|
||||
}
|
||||
.qa-ai-field-evidence {
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
border-left: 2px solid #93c5fd;
|
||||
background: #f8fafc;
|
||||
border-left: 2px solid var(--c-run-border);
|
||||
background: var(--bg-soft);
|
||||
}
|
||||
.qa-ai-field-evidence p {
|
||||
margin: 5px 0;
|
||||
@@ -684,7 +695,7 @@
|
||||
.qa-ai-field-evidence blockquote {
|
||||
margin: 8px 0;
|
||||
padding-left: 10px;
|
||||
border-left: 2px solid #cbd5e1;
|
||||
border-left: 2px solid var(--border-strong);
|
||||
}
|
||||
.qa-ai-hash {
|
||||
overflow-wrap: anywhere;
|
||||
@@ -740,6 +751,6 @@
|
||||
margin-top: 6px;
|
||||
}
|
||||
.qa-ledger-export [role='alert'] {
|
||||
color: var(--danger-ink);
|
||||
color: var(--c-fail);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -9,14 +9,10 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
padding: 24px 28px 40px;
|
||||
padding: 22px 24px 40px;
|
||||
color: var(--rel-ink);
|
||||
min-width: 0;
|
||||
}
|
||||
.release-targets h1 {
|
||||
margin: 0 0 4px;
|
||||
font-size: 28px;
|
||||
}
|
||||
.release-targets h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
|
||||
@@ -122,7 +122,7 @@
|
||||
font-weight: 800;
|
||||
}
|
||||
.catalog-tree-toggle:hover {
|
||||
background: #e9f4fb;
|
||||
background: var(--c-run-bg);
|
||||
}
|
||||
.catalog-tree-name {
|
||||
overflow: hidden;
|
||||
@@ -167,7 +167,7 @@
|
||||
}
|
||||
.catalog-breadcrumbs span:last-child button {
|
||||
border-radius: 6px;
|
||||
background: #eaf4fc;
|
||||
background: var(--c-run-bg);
|
||||
color: var(--c-run);
|
||||
font-weight: 700;
|
||||
}
|
||||
@@ -241,16 +241,21 @@
|
||||
display: grid;
|
||||
gap: 9px;
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
padding: 11px 16px;
|
||||
background: var(--bg-soft);
|
||||
padding: 10px 16px;
|
||||
background: var(--bg-panel);
|
||||
}
|
||||
.routing-fields,
|
||||
.routing-actions {
|
||||
.routing-fields {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: end;
|
||||
gap: 9px;
|
||||
}
|
||||
.routing-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
}
|
||||
.routing-fields label {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
@@ -265,8 +270,7 @@
|
||||
.routing-check {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
padding-bottom: 7px;
|
||||
gap: 6px;
|
||||
}
|
||||
.routing-actions span {
|
||||
margin-right: auto;
|
||||
@@ -274,7 +278,7 @@
|
||||
font-size: 10px;
|
||||
}
|
||||
.routing-actions button {
|
||||
padding: 7px 9px;
|
||||
padding: 5px 12px;
|
||||
}
|
||||
.catalog-routing p {
|
||||
margin: 0;
|
||||
@@ -375,13 +379,20 @@
|
||||
z-index: 2;
|
||||
top: 0;
|
||||
background: var(--bg-soft);
|
||||
color: var(--ink-mute);
|
||||
font-weight: 500;
|
||||
font-size: 11.5px;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.catalog-table th,
|
||||
.catalog-table td {
|
||||
padding: 12px 10px;
|
||||
padding: 11px 12px;
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: 11px;
|
||||
font-size: 12.5px;
|
||||
}
|
||||
.catalog-table tbody tr:hover {
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
.catalog-table th:nth-child(1) {
|
||||
width: 32%;
|
||||
@@ -404,17 +415,20 @@
|
||||
.catalog-name {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 7px;
|
||||
gap: 8px;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
color: var(--c-run);
|
||||
color: var(--ink-strong);
|
||||
font-weight: 500;
|
||||
text-align: left;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.catalog-name:hover {
|
||||
text-decoration: underline;
|
||||
.catalog-name:hover:not(:disabled) {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--c-run);
|
||||
}
|
||||
.catalog-file {
|
||||
display: flex;
|
||||
@@ -597,32 +611,6 @@
|
||||
color: var(--ink-mute);
|
||||
font-size: 9px;
|
||||
}
|
||||
.catalog-table th:nth-child(1) {
|
||||
width: 32%;
|
||||
}
|
||||
.catalog-table th:nth-child(2) {
|
||||
width: 8%;
|
||||
}
|
||||
.catalog-table th:nth-child(3) {
|
||||
width: 15%;
|
||||
}
|
||||
.catalog-table th:nth-child(4) {
|
||||
width: 9%;
|
||||
}
|
||||
.catalog-table th:nth-child(5) {
|
||||
width: 16%;
|
||||
}
|
||||
.catalog-table th:nth-child(6) {
|
||||
width: 20%;
|
||||
}
|
||||
.routing-actions .blocked-policy-button {
|
||||
border-color: var(--c-fail-border);
|
||||
background: var(--c-fail-bg);
|
||||
color: var(--c-fail);
|
||||
}
|
||||
.routing-actions .blocked-policy-button:hover:not(:disabled) {
|
||||
background: var(--c-fail-bg);
|
||||
}
|
||||
.catalog-node-control {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
@@ -632,29 +620,33 @@
|
||||
margin-top: 4px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
/* 策略按钮用浅底语义色:三种实心色块并排太抢眼,且与表格里的策略徽标同色同形,一眼对应 */
|
||||
.routing-actions .internal-policy-button {
|
||||
border-color: var(--c-done);
|
||||
background: var(--c-done);
|
||||
color: var(--bg-panel);
|
||||
}
|
||||
.routing-actions .internal-policy-button:hover:not(:disabled) {
|
||||
background: var(--c-done);
|
||||
border-color: var(--c-done-border);
|
||||
background: var(--c-done-bg);
|
||||
color: var(--c-done);
|
||||
}
|
||||
.routing-actions .external-policy-button {
|
||||
border-color: var(--c-warn);
|
||||
background: var(--c-warn);
|
||||
color: var(--bg-panel);
|
||||
}
|
||||
.routing-actions .external-policy-button:hover:not(:disabled) {
|
||||
background: var(--c-warn);
|
||||
border-color: var(--c-warn-border);
|
||||
background: var(--c-warn-bg);
|
||||
color: var(--c-warn);
|
||||
}
|
||||
.routing-actions .blocked-policy-button {
|
||||
border-color: var(--c-fail);
|
||||
background: var(--c-fail);
|
||||
color: var(--bg-panel);
|
||||
border-color: var(--c-fail-border);
|
||||
background: var(--c-fail-bg);
|
||||
color: var(--c-fail);
|
||||
}
|
||||
.routing-actions .internal-policy-button:hover:not(:disabled) {
|
||||
border-color: var(--c-done);
|
||||
background: var(--c-done-bg);
|
||||
}
|
||||
.routing-actions .external-policy-button:hover:not(:disabled) {
|
||||
border-color: var(--c-warn);
|
||||
background: var(--c-warn-bg);
|
||||
}
|
||||
.routing-actions .blocked-policy-button:hover:not(:disabled) {
|
||||
background: var(--c-fail);
|
||||
border-color: var(--c-fail);
|
||||
background: var(--c-fail-bg);
|
||||
}
|
||||
.catalog-policy-cell .scope-badge.internal {
|
||||
background: var(--c-done-bg);
|
||||
@@ -670,25 +662,46 @@
|
||||
}
|
||||
.catalog-policy-actions {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-left: auto;
|
||||
}
|
||||
.blocked-policy-stack {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
}
|
||||
.blocked-policy-stack .selected-count {
|
||||
margin: 0;
|
||||
.routing-actions .selected-count {
|
||||
color: var(--ink-mute);
|
||||
font-size: 10px;
|
||||
line-height: 1.2;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
/* 只有真的选中了才变成强调色,与解析监控的批量条同一规则 */
|
||||
.catalog-routing.has-selection {
|
||||
border-bottom-color: var(--c-run-border);
|
||||
background: var(--c-run-bg);
|
||||
}
|
||||
.catalog-routing.has-selection .selected-count {
|
||||
color: var(--c-run);
|
||||
font-weight: 600;
|
||||
}
|
||||
.catalog-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
flex: none;
|
||||
margin-top: 1px;
|
||||
background: currentColor;
|
||||
-webkit-mask: var(--icon) center / contain no-repeat;
|
||||
mask: var(--icon) center / contain no-repeat;
|
||||
}
|
||||
.catalog-icon.folder {
|
||||
color: var(--c-run);
|
||||
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 4A1.5 1.5 0 0 1 3 2.5h3.1l1.6 1.6H13A1.5 1.5 0 0 1 14.5 5.6V12A1.5 1.5 0 0 1 13 13.5H3A1.5 1.5 0 0 1 1.5 12z'/%3E%3C/svg%3E");
|
||||
opacity: 0.85;
|
||||
}
|
||||
.catalog-icon.file {
|
||||
color: var(--ink-faint);
|
||||
--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 1.5h5l3.5 3.5v8A1.5 1.5 0 0 1 11 14.5H4A1.5 1.5 0 0 1 2.5 13V3A1.5 1.5 0 0 1 4 1.5zm4.5 1v3h3' fill='none' stroke='black' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E");
|
||||
}
|
||||
.snapshot-history {
|
||||
margin: 12px 0;
|
||||
border: 1px solid #d8e3f0;
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 10px;
|
||||
padding: 14px 16px;
|
||||
background: var(--bg-soft);
|
||||
@@ -760,7 +773,7 @@
|
||||
padding: 7px 12px;
|
||||
border: 1px solid var(--c-run-border);
|
||||
border-radius: 999px;
|
||||
background: #eef6fc;
|
||||
background: var(--c-run-bg);
|
||||
color: var(--ink-base);
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
@@ -784,7 +797,7 @@
|
||||
margin-left: auto;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: #4c7d9e;
|
||||
color: var(--ink-mute);
|
||||
font: inherit;
|
||||
font-size: 11px;
|
||||
text-decoration: underline;
|
||||
@@ -805,9 +818,9 @@
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
padding: 18px;
|
||||
border: 1px solid var(--border, #e3e8ec);
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 10px;
|
||||
background: var(--card, #fff);
|
||||
background: var(--bg-panel);
|
||||
}
|
||||
.catalog-scanning-state > div {
|
||||
display: flex;
|
||||
@@ -818,7 +831,7 @@
|
||||
font-size: 15px;
|
||||
}
|
||||
.catalog-scanning-state span {
|
||||
color: var(--muted-foreground, #5b6773);
|
||||
color: var(--ink-mute);
|
||||
font-size: 13px;
|
||||
}
|
||||
.catalog-scanning-state progress {
|
||||
@@ -830,6 +843,6 @@
|
||||
font-size: 13px;
|
||||
}
|
||||
.catalog-scanning-state small {
|
||||
color: var(--muted-foreground, #5b6773);
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
+131
-72
@@ -1,68 +1,77 @@
|
||||
/* ============================================================
|
||||
知识治理平台 · 方向 A · Data-console
|
||||
冷灰白底、1px 细边、零阴影、等宽数字
|
||||
知识治理平台 · 工作台视觉(配色取自越疆官网 dobot.cn)
|
||||
纯中性灰底与文字(不带蓝紫偏色,久看不累)、细边 + 极轻投影、等宽数字;
|
||||
全站只有一个强调色:越疆品牌钴蓝 #0039C8
|
||||
彩色仅用于语义(红=失败、橙=停滞、蓝=处理中、绿=完成、灰=死信)
|
||||
============================================================ */
|
||||
|
||||
:root {
|
||||
/* 基础色板(A 风格) */
|
||||
--bg-page: #fafbfc;
|
||||
--bg-page: #f7f8fc;
|
||||
--bg-panel: #ffffff;
|
||||
--bg-soft: #f8fafc;
|
||||
--bg-softer: #f3f6f9;
|
||||
--bg-hover: #f3f7fa;
|
||||
--bg-active: #eff4fd;
|
||||
--bg-soft: #f8f9fb;
|
||||
--bg-softer: #f2f3f5;
|
||||
--bg-hover: #f5f6f9;
|
||||
--bg-active: #edf1fb;
|
||||
|
||||
--border-strong: #d3dce3;
|
||||
--border-base: #e3e8ec;
|
||||
--border-soft: #eef2f6;
|
||||
--border-strong: #d9d9d9;
|
||||
--border-base: #e8e8e8;
|
||||
--border-soft: #efeff2;
|
||||
|
||||
--ink-strong: #0f1720;
|
||||
--ink-base: #16324f;
|
||||
--ink-mute: #57687a;
|
||||
--ink-faint: #8a98a4;
|
||||
--ink-strong: #1d1d1f;
|
||||
--ink-base: #333336;
|
||||
--ink-mute: #6e6e73;
|
||||
--ink-faint: #a6a6a8;
|
||||
|
||||
/* 语义色 */
|
||||
--c-fail: #b91c1c;
|
||||
--c-fail-bg: #fdecec;
|
||||
--c-fail-border: #f2baba;
|
||||
--c-fail: #c0362c;
|
||||
--c-fail-bg: #fef3f2;
|
||||
--c-fail-border: #fecdca;
|
||||
|
||||
--c-warn: #d97706;
|
||||
--c-warn-bg: #fef3e2;
|
||||
--c-warn-border: #f3d9a8;
|
||||
--c-warn: #b54708;
|
||||
--c-warn-bg: #fffaeb;
|
||||
--c-warn-border: #fedf89;
|
||||
|
||||
--c-run: #2563eb;
|
||||
--c-run-bg: #eff4fd;
|
||||
--c-run-border: #c7d7f2;
|
||||
--c-run: #0039c8;
|
||||
--c-run-bg: #edf1fb;
|
||||
--c-run-border: #bccbef;
|
||||
|
||||
--c-done: #059669;
|
||||
--c-done-bg: #eefaf4;
|
||||
--c-done-border: #bfe3d4;
|
||||
--c-done: #067647;
|
||||
--c-done-bg: #ecfdf3;
|
||||
--c-done-border: #abefc6;
|
||||
|
||||
--c-dead: #6b7280;
|
||||
--c-dead-bg: #f3f4f6;
|
||||
--c-dead: #6e6e73;
|
||||
--c-dead-bg: #f2f3f5;
|
||||
|
||||
--c-cyan: #0891b2;
|
||||
--c-cyan-bg: #ddf7fb;
|
||||
--c-cyan: #0e7090;
|
||||
--c-cyan-bg: #e8f7fb;
|
||||
|
||||
/* 深侧栏(A 风格) */
|
||||
--side-bg: #0e1c2b;
|
||||
--side-bg-active: #16324a;
|
||||
--side-bg-hover: #152a3d;
|
||||
--side-border: #1a2f44;
|
||||
--side-accent: #2dd4bf;
|
||||
--side-ink: #9fb6c6;
|
||||
--side-ink-strong: #e8f2f8;
|
||||
--side-ink-faint: #5b7789;
|
||||
/* 侧栏与内容同一明度,靠细边与浅钴蓝选中态区分,长时间操作不刺眼 */
|
||||
--side-bg: #ffffff;
|
||||
--side-bg-active: #edf1fb;
|
||||
--side-bg-hover: #f5f6f9;
|
||||
--side-border: #e8e8e8;
|
||||
--side-accent: #0039c8;
|
||||
--side-ink: #474747;
|
||||
--side-ink-strong: #1d1d1f;
|
||||
--side-ink-faint: #a6a6a8;
|
||||
|
||||
/* 全站唯一的主操作色;以前主按钮借用深色侧栏底色,各模块又各自改成蓝/黑,出现三种"主按钮" */
|
||||
--c-primary: #0039c8;
|
||||
--c-primary-hover: #002fa5;
|
||||
--c-focus-ring: 0 0 0 3px rgb(0 57 200 / 15%);
|
||||
|
||||
/* 卡片只用极轻投影托起,层级靠留白而不是色块 */
|
||||
--shadow-card: 0 1px 2px rgb(0 0 0 / 4%), 0 1px 3px rgb(0 0 0 / 3%);
|
||||
--shadow-float: 0 12px 32px rgb(0 0 0 / 10%), 0 2px 6px rgb(0 0 0 / 5%);
|
||||
|
||||
/* 字体 */
|
||||
--font-base: Inter, 'Noto Sans SC', 'PingFang SC', system-ui, sans-serif;
|
||||
--font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, Consolas, monospace;
|
||||
|
||||
/* 圆角(A 风格:小圆角) */
|
||||
--r-sm: 3px;
|
||||
--r-md: 4px;
|
||||
--r-lg: 6px;
|
||||
--r-sm: 4px;
|
||||
--r-md: 6px;
|
||||
--r-lg: 10px;
|
||||
}
|
||||
|
||||
* {
|
||||
@@ -80,7 +89,8 @@ body {
|
||||
background: var(--bg-page);
|
||||
color: var(--ink-strong);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
line-height: 1.55;
|
||||
letter-spacing: 0.005em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
@@ -94,14 +104,14 @@ body {
|
||||
button {
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: var(--r-md);
|
||||
padding: 5px 11px;
|
||||
color: var(--ink-strong);
|
||||
padding: 5px 12px;
|
||||
color: var(--ink-base);
|
||||
background: var(--bg-panel);
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
box-shadow: none;
|
||||
box-shadow: 0 1px 2px rgb(0 0 0 / 4%);
|
||||
transition:
|
||||
background 120ms ease,
|
||||
border-color 120ms ease,
|
||||
@@ -110,7 +120,13 @@ button {
|
||||
|
||||
button:hover:not(:disabled) {
|
||||
background: var(--bg-soft);
|
||||
border-color: #94a3b8;
|
||||
border-color: var(--border-strong);
|
||||
color: var(--ink-strong);
|
||||
}
|
||||
|
||||
button:focus-visible {
|
||||
outline: none;
|
||||
box-shadow: var(--c-focus-ring);
|
||||
}
|
||||
|
||||
button:disabled {
|
||||
@@ -121,16 +137,17 @@ button:disabled {
|
||||
button.primary,
|
||||
button[type='submit'],
|
||||
.primary-link {
|
||||
background: var(--side-bg);
|
||||
border-color: var(--side-bg);
|
||||
background: var(--c-primary);
|
||||
border-color: var(--c-primary);
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
button.primary:hover:not(:disabled),
|
||||
button[type='submit']:hover:not(:disabled),
|
||||
.primary-link:hover {
|
||||
background: #1a2f44;
|
||||
border-color: #1a2f44;
|
||||
background: var(--c-primary-hover);
|
||||
border-color: var(--c-primary-hover);
|
||||
}
|
||||
|
||||
/* ========== 代码与等宽 ========== */
|
||||
@@ -165,7 +182,7 @@ code {
|
||||
padding: 18px 0;
|
||||
color: var(--side-ink);
|
||||
background: var(--side-bg);
|
||||
border-right: 1px solid #0a141f;
|
||||
border-right: 1px solid var(--side-border);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
@@ -185,7 +202,7 @@ code {
|
||||
flex: none;
|
||||
place-items: center;
|
||||
border-radius: var(--r-md);
|
||||
color: #04211d;
|
||||
color: #fff;
|
||||
background: var(--side-accent);
|
||||
font-size: 13px;
|
||||
font-weight: 700;
|
||||
@@ -224,7 +241,7 @@ code {
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--r-md);
|
||||
padding: 9px 10px;
|
||||
color: #8aa2b3;
|
||||
color: var(--side-ink);
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
font-weight: 500;
|
||||
@@ -236,17 +253,20 @@ code {
|
||||
color 120ms ease;
|
||||
}
|
||||
|
||||
.nav-item:hover {
|
||||
color: #d9e8f1;
|
||||
/* 必须带 :not(:disabled):全局 button:hover:not(:disabled) 特异性更高,
|
||||
少了它悬停会被刷成白底,选中项文字几乎看不见 */
|
||||
.nav-item:hover:not(:disabled) {
|
||||
color: var(--side-ink-strong);
|
||||
background: var(--side-bg-hover);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.nav-item.active {
|
||||
.nav-item.active,
|
||||
.nav-item.active:hover:not(:disabled) {
|
||||
border-color: transparent;
|
||||
color: #fff;
|
||||
color: var(--side-accent);
|
||||
font-weight: 600;
|
||||
background: var(--side-bg-active);
|
||||
border-left: 2px solid var(--side-accent);
|
||||
padding-left: 8px;
|
||||
}
|
||||
|
||||
.nav-icon {
|
||||
@@ -255,10 +275,14 @@ code {
|
||||
height: 24px;
|
||||
flex: none;
|
||||
place-items: center;
|
||||
color: var(--side-accent);
|
||||
color: var(--ink-faint);
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.nav-item.active .nav-icon {
|
||||
color: var(--side-accent);
|
||||
}
|
||||
|
||||
.sidebar-footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -266,7 +290,7 @@ code {
|
||||
margin-top: auto;
|
||||
padding: 14px 18px 0;
|
||||
border-top: 1px solid var(--side-border);
|
||||
color: #46647a;
|
||||
color: var(--side-ink-faint);
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
@@ -388,11 +412,46 @@ code {
|
||||
|
||||
/* ========== 页面外壳 ========== */
|
||||
.page-shell {
|
||||
width: min(1240px, calc(100% - 48px));
|
||||
/* 模块自己的 max-width(目录/监控 1800、设置 1500)此前被 min() 宽度压成 1240,宽屏上与发布/问答页不齐 */
|
||||
width: calc(100% - 48px);
|
||||
max-width: 1240px;
|
||||
margin: 0 auto;
|
||||
padding: 22px 0 40px;
|
||||
}
|
||||
|
||||
/* 六个模块共用的页头:标题、说明与右侧操作的字号和位置只在这里定义一份 */
|
||||
.page-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
flex-wrap: wrap;
|
||||
margin: 0 0 20px;
|
||||
}
|
||||
.page-header .page-title {
|
||||
margin: 0 0 4px;
|
||||
color: var(--ink-strong);
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
letter-spacing: -0.02em;
|
||||
line-height: 1.3;
|
||||
}
|
||||
.page-header .page-subtitle {
|
||||
margin: 0;
|
||||
color: var(--ink-mute);
|
||||
font-size: 13px;
|
||||
}
|
||||
/* 这三个页面的外层是带 gap 的纵向 flex,页头间距已由 gap 提供 */
|
||||
.page-header:where(.rel-head, .version-history-header, .qa-ops-header) {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.page-header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
@@ -490,7 +549,7 @@ h1 {
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: var(--r-lg);
|
||||
background: var(--bg-panel);
|
||||
box-shadow: none;
|
||||
box-shadow: var(--shadow-card);
|
||||
}
|
||||
|
||||
.panel-heading {
|
||||
@@ -1141,7 +1200,7 @@ tbody tr:hover {
|
||||
border-radius: var(--r-md);
|
||||
padding: 5px 11px;
|
||||
color: #fff;
|
||||
background: var(--side-bg);
|
||||
background: var(--c-primary);
|
||||
box-shadow: none;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
@@ -2113,18 +2172,18 @@ tbody tr:hover {
|
||||
right: 6px;
|
||||
transform: translateY(-50%);
|
||||
padding: 2px 8px;
|
||||
border: 1px solid var(--line-base, #d7dbe0);
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 6px;
|
||||
background: #fff;
|
||||
color: var(--ink-base, #333);
|
||||
color: var(--ink-base);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.password-toggle:hover {
|
||||
border-color: var(--c-run, #2f6feb);
|
||||
color: var(--c-run, #2f6feb);
|
||||
border-color: var(--c-run);
|
||||
color: var(--c-run);
|
||||
}
|
||||
.login-error {
|
||||
margin: 0;
|
||||
@@ -2167,8 +2226,8 @@ tbody tr:hover {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
border-radius: 50%;
|
||||
background: var(--side-bg);
|
||||
color: var(--side-accent);
|
||||
background: var(--c-primary);
|
||||
color: #fff;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: 13px;
|
||||
|
||||
+14
-14
@@ -281,7 +281,7 @@
|
||||
font-size: 9px;
|
||||
}
|
||||
.settings-source-row select {
|
||||
border: 1px solid #c9d9e4;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 7px;
|
||||
padding: 7px;
|
||||
background: var(--bg-panel);
|
||||
@@ -321,7 +321,7 @@
|
||||
min-width: 64px;
|
||||
}
|
||||
.settings-source-row .source-more:focus-visible {
|
||||
outline: 2px solid #2978bd;
|
||||
outline: 2px solid var(--c-run);
|
||||
outline-offset: 3px;
|
||||
}
|
||||
.dependency-grid {
|
||||
@@ -657,8 +657,8 @@ button.link {
|
||||
.dingtalk-qr-loading span {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border: 4px solid #dbe4ee;
|
||||
border-top-color: var(--brand);
|
||||
border: 4px solid var(--border-base);
|
||||
border-top-color: var(--c-run);
|
||||
border-radius: 50%;
|
||||
animation: dingtalk-qr-spin 0.8s linear infinite;
|
||||
}
|
||||
@@ -707,8 +707,8 @@ button.link {
|
||||
.filename-filter-editor code {
|
||||
padding: 2px 7px;
|
||||
border-radius: 999px;
|
||||
background: #eaf2ff;
|
||||
color: #2456a6;
|
||||
background: var(--c-run-bg);
|
||||
color: var(--c-run);
|
||||
font-family: inherit;
|
||||
font-size: 11px;
|
||||
}
|
||||
@@ -791,9 +791,9 @@ button.link {
|
||||
gap: 10px;
|
||||
padding: 12px;
|
||||
margin-bottom: 14px;
|
||||
border: 1px solid var(--border, #e3e8ec);
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 10px;
|
||||
background: var(--card, #fff);
|
||||
background: var(--bg-panel);
|
||||
}
|
||||
.dingtalk-discovery-heading {
|
||||
display: flex;
|
||||
@@ -807,7 +807,7 @@ button.link {
|
||||
}
|
||||
.dingtalk-discovery-heading small {
|
||||
display: block;
|
||||
color: var(--muted-foreground, #5b6773);
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
}
|
||||
.dingtalk-discovery-groups {
|
||||
@@ -838,7 +838,7 @@ button.link {
|
||||
border-radius: 6px;
|
||||
}
|
||||
.discovery-row:hover {
|
||||
background: var(--accent, #f2f5f8);
|
||||
background: var(--bg-soft);
|
||||
}
|
||||
.discovery-row label {
|
||||
display: flex;
|
||||
@@ -848,7 +848,7 @@ button.link {
|
||||
}
|
||||
.discovery-row.registered label {
|
||||
cursor: default;
|
||||
color: var(--muted-foreground, #5b6773);
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.discovery-row strong {
|
||||
font-size: 13px;
|
||||
@@ -857,7 +857,7 @@ button.link {
|
||||
.discovery-row small {
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
color: var(--muted-foreground, #5b6773);
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.dingtalk-discovery-actions {
|
||||
display: flex;
|
||||
@@ -865,7 +865,7 @@ button.link {
|
||||
gap: 10px;
|
||||
}
|
||||
.dingtalk-discovery-actions small {
|
||||
color: var(--muted-foreground, #5b6773);
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@@ -878,7 +878,7 @@ button.link {
|
||||
margin: 0 0 0.75rem;
|
||||
}
|
||||
.settings-legacy-toggle small {
|
||||
color: #5a6572;
|
||||
color: var(--ink-mute);
|
||||
font-size: 0.8rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
+30
-41
@@ -4,28 +4,17 @@
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
min-width: 0;
|
||||
padding: 24px;
|
||||
padding: 22px 24px 40px;
|
||||
color: var(--ink-base);
|
||||
}
|
||||
.version-history-header,
|
||||
.version-history-current-card,
|
||||
.version-history-records {
|
||||
background: var(--bg-panel, #fff);
|
||||
border: 1px solid var(--border-base, #e2e8f0);
|
||||
background: var(--bg-panel);
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 10px;
|
||||
padding: 20px;
|
||||
min-width: 0;
|
||||
}
|
||||
.version-history-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
.version-history h2 {
|
||||
margin: 0 0 4px;
|
||||
font-size: 22px;
|
||||
}
|
||||
.version-history h3 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
@@ -33,7 +22,7 @@
|
||||
.version-history-header p,
|
||||
.version-history-records-heading p {
|
||||
margin: 0;
|
||||
color: var(--ink-mute, #64748b);
|
||||
color: var(--ink-mute);
|
||||
font-size: 13px;
|
||||
}
|
||||
.version-history-actions {
|
||||
@@ -48,19 +37,19 @@
|
||||
display: grid;
|
||||
grid-template-columns: 0.8fr 0.8fr 2fr 1.3fr;
|
||||
margin: 16px 0 0;
|
||||
border: 1px solid var(--border-base, #e2e8f0);
|
||||
background: var(--bg-page, #f8fafc);
|
||||
border: 1px solid var(--border-base);
|
||||
background: var(--bg-page);
|
||||
}
|
||||
.version-history-build-grid > div {
|
||||
padding: 12px 14px;
|
||||
min-width: 0;
|
||||
border-right: 1px solid var(--border-base, #e2e8f0);
|
||||
border-right: 1px solid var(--border-base);
|
||||
}
|
||||
.version-history-build-grid > div:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
.version-history dt {
|
||||
color: var(--ink-mute, #64748b);
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@@ -76,7 +65,7 @@
|
||||
}
|
||||
.version-history-running-state {
|
||||
margin: 12px 0 0;
|
||||
color: var(--ink-mute, #64748b);
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
@@ -93,13 +82,13 @@
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin: 10px 0 14px;
|
||||
color: var(--ink-mute, #64748b);
|
||||
color: var(--ink-mute);
|
||||
font-size: 12px;
|
||||
}
|
||||
.version-history-notice {
|
||||
padding: 10px 14px;
|
||||
border-radius: 6px;
|
||||
background: var(--c-run-bg, #eff6ff);
|
||||
background: var(--c-run-bg);
|
||||
font-size: 13px;
|
||||
}
|
||||
.version-history-filters {
|
||||
@@ -116,9 +105,9 @@
|
||||
}
|
||||
.version-history-filters button.active {
|
||||
font-weight: 600;
|
||||
color: var(--c-run, #2563eb);
|
||||
background: var(--c-run-bg, #eff6ff);
|
||||
border-color: var(--c-run-border, #bfdbfe);
|
||||
color: var(--c-run);
|
||||
background: var(--c-run-bg);
|
||||
border-color: var(--c-run-border);
|
||||
}
|
||||
.version-history-timeline {
|
||||
list-style: none;
|
||||
@@ -130,9 +119,9 @@
|
||||
min-width: 0;
|
||||
}
|
||||
.version-history-entry {
|
||||
border: 1px solid var(--border-base, #e2e8f0);
|
||||
border: 1px solid var(--border-base);
|
||||
border-radius: 8px;
|
||||
background: var(--bg-panel, #fff);
|
||||
background: var(--bg-panel);
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -155,14 +144,14 @@
|
||||
font-weight: 400;
|
||||
}
|
||||
.version-history-entry-head:hover {
|
||||
background: var(--bg-hover, #f8fafc);
|
||||
background: var(--bg-hover);
|
||||
}
|
||||
.version-history-entry-head[aria-expanded='true'] {
|
||||
background: var(--bg-page, #f8fafc);
|
||||
border-bottom: 1px solid var(--border-base, #e2e8f0);
|
||||
background: var(--bg-page);
|
||||
border-bottom: 1px solid var(--border-base);
|
||||
}
|
||||
.version-history-entry-head:focus-visible {
|
||||
outline: 2px solid var(--c-run, #2563eb);
|
||||
outline: 2px solid var(--c-run);
|
||||
outline-offset: -3px;
|
||||
}
|
||||
.version-history-version {
|
||||
@@ -170,14 +159,14 @@
|
||||
flex-shrink: 0;
|
||||
font-size: 13px;
|
||||
padding: 3px 8px;
|
||||
border: 1px solid var(--border-strong, #cbd5e1);
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 5px;
|
||||
font-weight: 500;
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.version-history-version.development {
|
||||
border-color: #b4d1f5;
|
||||
color: #2465aa;
|
||||
border-color: var(--c-run-border);
|
||||
color: var(--c-run);
|
||||
}
|
||||
.version-history-version.release {
|
||||
border-color: #b1d7bd;
|
||||
@@ -199,8 +188,8 @@
|
||||
}
|
||||
.version-history-badge.pending,
|
||||
.version-history-badge.development {
|
||||
color: #2465aa;
|
||||
background: #eff6ff;
|
||||
color: var(--c-run);
|
||||
background: var(--c-run-bg);
|
||||
}
|
||||
.version-history-badge.release {
|
||||
color: #24814e;
|
||||
@@ -217,7 +206,7 @@
|
||||
}
|
||||
.version-history-entry-head > .version-history-sha,
|
||||
.version-history-entry-head time {
|
||||
color: var(--ink-faint, #7c8c9f);
|
||||
color: var(--ink-faint);
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
@@ -231,7 +220,7 @@
|
||||
.version-history-toggle {
|
||||
flex-shrink: 0;
|
||||
font-size: 13px;
|
||||
color: var(--c-run, #2563eb);
|
||||
color: var(--c-run);
|
||||
}
|
||||
.version-history-detail {
|
||||
padding: 16px;
|
||||
@@ -260,7 +249,7 @@
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
background: #eef2f6;
|
||||
color: #536275;
|
||||
color: var(--ink-mute);
|
||||
}
|
||||
.version-history-change-tag.added {
|
||||
background: #eaf7ef;
|
||||
@@ -271,8 +260,8 @@
|
||||
color: #986000;
|
||||
}
|
||||
.version-history-change-tag.changed {
|
||||
background: #eff6ff;
|
||||
color: #2465aa;
|
||||
background: var(--c-run-bg);
|
||||
color: var(--c-run);
|
||||
}
|
||||
.version-history-change-tag.security {
|
||||
background: #fff1ef;
|
||||
|
||||
Reference in New Issue
Block a user