Files
lingxi/apps/web/src/styles/run-logs.css
T
Stev_Wang a5933a286e feat(web): A5 操作日志与运行日志页
按用户选定实现操作日志列表 / 详情(方案 A)与运行日志(方案 C);多条件筛选、真实游标分页、字段级 diff / 完整原始 JSON、560 导出抽屉(轮询 / 历史 / 签名下载)、只读与权限控制;侧栏「审计日志」更名「操作日志」、「客户字段」更名「字段管理」并新增「运行日志」;1024 关键列适配。
2026-11-04 16:27:29 +08:00

188 lines
3.5 KiB
CSS

/* A5 运行日志(用户选定方案 C:平台入口 / trace 检索 / 服务状态 / 最近错误) */
.lx-runlog-page {
display: flex;
min-height: 0;
flex: 1;
flex-direction: column;
gap: var(--lx-space-4);
overflow-y: auto;
}
.lx-runlog-grid {
display: grid;
grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
gap: var(--lx-space-4);
align-items: start;
}
.lx-runlog-card {
display: flex;
min-width: 0;
flex-direction: column;
overflow: hidden;
border: 1px solid var(--lx-color-border);
border-radius: var(--lx-radius-lg);
background: var(--lx-color-bg-panel);
box-shadow: var(--lx-shadow-panel);
}
.lx-runlog-card__head {
display: flex;
flex: 0 0 auto;
align-items: center;
gap: 8px;
min-height: 48px;
padding: 0 16px;
border-bottom: 1px solid var(--lx-color-border);
}
.lx-runlog-card__head b {
font-size: var(--lx-font-size-sm);
font-weight: 600;
}
.lx-runlog-card__head .semi-button {
margin-left: auto;
}
.lx-runlog-card__sub {
color: var(--lx-color-text-tertiary);
font-size: var(--lx-font-size-xs);
}
.lx-runlog-card--empty {
min-height: 240px;
}
.lx-runlog-card--empty .lx-empty {
flex: 1;
}
.lx-runlog-platform {
display: flex;
align-items: center;
gap: 12px;
padding: 16px;
}
.lx-runlog-platform__icon {
display: inline-flex;
width: 40px;
height: 40px;
flex: none;
align-items: center;
justify-content: center;
border-radius: var(--lx-radius-md);
background: var(--lx-color-brand-soft);
color: var(--lx-color-brand);
}
.lx-runlog-platform__main {
display: flex;
min-width: 0;
flex: 1;
flex-direction: column;
gap: 2px;
}
.lx-runlog-platform__main b {
font-size: var(--lx-font-size-md);
font-weight: 600;
}
.lx-runlog-platform__main a {
overflow: hidden;
color: var(--lx-color-brand);
font-size: var(--lx-font-size-xs);
text-overflow: ellipsis;
white-space: nowrap;
}
.lx-runlog-flow {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 0 16px 14px;
}
.lx-runlog-flow__step {
display: flex;
align-items: center;
gap: 7px;
padding: 6px 10px;
border: 1px solid var(--lx-color-border);
border-radius: var(--lx-radius-md);
color: var(--lx-color-text-secondary);
font-size: var(--lx-font-size-xs);
}
.lx-runlog-flow__step i {
display: inline-flex;
width: 18px;
height: 18px;
align-items: center;
justify-content: center;
border-radius: 50%;
background: var(--lx-color-brand-soft);
color: var(--lx-color-brand);
font-size: 11px;
font-style: normal;
}
.lx-runlog-flow__arrow {
color: var(--lx-color-text-tertiary);
}
.lx-runlog-note {
padding: 10px 16px;
border-top: 1px solid var(--lx-color-border);
background: var(--lx-color-bg-subtle);
color: var(--lx-color-text-tertiary);
font-size: var(--lx-font-size-xs);
}
.lx-runlog-trace {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
padding: 16px;
}
.lx-runlog-trace .semi-input-wrapper {
min-width: 220px;
flex: 1;
}
.lx-runlog-trace__hint {
padding: 0 16px 14px;
color: var(--lx-color-text-tertiary);
font-size: var(--lx-font-size-xs);
line-height: 1.7;
}
.lx-runlog-unconfigured {
display: flex;
flex: 1;
min-height: 320px;
align-items: center;
justify-content: center;
padding: 32px;
border: 1px solid var(--lx-color-border);
border-radius: var(--lx-radius-lg);
background: var(--lx-color-bg-panel);
box-shadow: var(--lx-shadow-panel);
}
@media (width <= 1200px) {
.lx-runlog-grid {
grid-template-columns: minmax(0, 1fr);
}
.lx-runlog-card--empty {
min-height: 180px;
}
}