feat(web): 解析监控标明筛选范围并收拢筛选与批量条
为什么:顶部「失败 35」是全部任务口径,下方表格默认只看「未结束」,常常为空; 两者范围不同却没有任何提示,「已选 0 项」的批量条也常亮蓝色,像有待办动作。 改了什么(筛选项、接口参数、重试权限与确认流程均不变): - 指标卡口径(全部任务口径/最近 1 小时/当前)改成徽标;文件处理标题旁显示 「当前筛选 N 项 · 本页 M 项」,分页写明「当前筛选共 N 项」「第 x / y 页」。 - 「清除筛选(N)」显示已生效筛选数(默认的未结束也算一项),无筛选时禁用; 「仅当前绑定」改为可见按下态的切换片;时间范围展开为浮层,不再挤乱筛选行。 - 批量条只有选中后才高亮;禁用的主按钮改为中性灰,不再像"加载中"。 - 表格行距收紧、状态改为圆点徽标、选中行左侧标记;来源名限两行并保留完整 title; 页头接入共享 .page-header。 验证:typecheck、vitest 全量通过;浏览器只读核对范围说明与分页总数一致、 时间浮层、详情抽屉 Esc 关闭、服务状态展开、1920/1024/390 宽度无横向溢出, 全程浏览器侧拦截非 GET 请求(0 条)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+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 {
|
||||
|
||||
Reference in New Issue
Block a user