/* 发布管理:按已确认稿的布局与色系(浅底、青绿主色、白色圆角面板)。 */ .release-targets { --rel-ink: #26394a; --rel-muted: #7b8d9a; --rel-line: #dce6ed; --rel-teal: #269e88; --rel-teal-dark: #228b75; --rel-teal-soft: #eaf8f3; display: flex; flex-direction: column; gap: 16px; padding: 24px 28px 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; } .release-targets h3 { margin: 0; font-size: 14px; } .rel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; } .rel-head p { margin: 0; color: var(--rel-muted); font-size: 13px; } .rel-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .release-targets button { font: inherit; cursor: pointer; background: #fff; border: 1px solid #d6e2e8; border-radius: 7px; padding: 7px 14px; color: #41596b; } .release-targets button:hover:not(:disabled) { background: #edf8f5; } .release-targets button:disabled { cursor: not-allowed; opacity: 0.55; } .rel-primary { background: var(--rel-teal) !important; border-color: var(--rel-teal) !important; color: #fff !important; font-weight: 600; } .rel-secondary { background: #fff; } .rel-tabs { display: flex; gap: 12px; flex-wrap: wrap; } .rel-tab { width: 310px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px !important; text-align: left; border-radius: 9px !important; } .rel-tab strong { font-size: 16px; } .rel-tab.selected { background: var(--rel-teal-soft) !important; border: 2px solid var(--rel-teal) !important; } .rel-pill { border-radius: 5px; font-size: 12px; padding: 2px 9px; white-space: nowrap; border: 1px solid transparent; } .rel-pill.green { color: #228368; background: #e6f5ef; border-color: #bfe6d8; } .rel-pill.blue { color: #387eb8; background: #eaf3fc; border-color: #c6ddf1; } .rel-pill.gray { color: #7c8d99; background: #eff3f6; border-color: #dde5ea; } .rel-pill.red { color: #b4381f; background: #fdecea; border-color: #f3c6bc; } .rel-panel { background: #fff; border: 1px solid var(--rel-line); border-radius: 12px; padding: 20px 22px; min-width: 0; } .rel-between { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; } .rel-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; } .rel-panel-head p { margin: 3px 0 0; font-size: 12px; color: var(--rel-muted); } .rel-jobhead h2 { font-size: 19px; } .rel-versionline { margin: 12px 0 0; color: #496579; font-size: 14px; } .rel-versionline b { color: var(--rel-teal-dark); } .rel-unknown { color: #9aa9b4 !important; font-weight: 500; } .rel-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; } .rel-metrics div { border: 1px solid #e6edf2; border-radius: 9px; padding: 10px 12px; } .rel-metrics dt { font-size: 12px; color: var(--rel-muted); } .rel-metrics dd { margin: 4px 0 0; font-size: 20px; font-weight: 700; } .rel-checklist { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin: 14px 0 0; padding: 11px 14px; border-radius: 9px; background: #f2faf6; font-size: 13px; color: #228368; } .rel-checklist .unknown { color: #8a9aa6; } .rel-footnote { margin: 12px 0 0; font-size: 12px; color: var(--rel-muted); line-height: 1.6; } .rel-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; } .rel-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } .rel-changes table, .rel-details table, .rel-drawer-table, .rel-parts table { width: 100%; border-collapse: collapse; font-size: 13px; } .rel-changes th, .rel-details th, .rel-drawer-table th, .rel-parts th { text-align: left; background: #f8fafb; color: #8a9aa6; font-size: 12px; font-weight: 500; padding: 9px 12px; } .rel-changes td, .rel-details td, .rel-drawer-table td, .rel-parts td { padding: 10px 12px; border-top: 1px solid #eef2f5; vertical-align: top; } .rel-table-empty { color: var(--rel-muted); font-size: 12px; text-align: center; padding: 22px 12px !important; } .rel-protection dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 12px; font-size: 13px; } .rel-protection dt { color: var(--rel-muted); } .rel-protection dd { margin: 0; color: var(--rel-ink); } .rel-hint { margin: 0 0 10px; font-size: 12px; color: var(--rel-muted); line-height: 1.6; } .rel-warn { margin: 12px 0 0; font-size: 12px; color: #986b24; background: #fff8e8; border: 1px solid #ead7b0; border-radius: 7px; padding: 8px 10px; line-height: 1.6; } .rel-notice { margin: 0; font-size: 12px; color: #986b24; background: #fff8e8; border: 1px solid #ead7b0; border-radius: 8px; padding: 9px 12px; line-height: 1.6; } .rel-blocked { border: 1px solid #f3c2b8; background: #fff6f3; border-radius: 10px; padding: 12px 16px; } .rel-blocked strong { display: block; color: #a03a1e; font-size: 13px; margin-bottom: 3px; } .rel-blocked p { margin: 0; font-size: 12px; color: #7c2d12; } /* 阶段条 */ .rel-steps { display: flex; align-items: stretch; gap: 8px; list-style: none; margin: 16px 0 6px; padding: 0; flex-wrap: wrap; } .rel-step { flex: 1 1 150px; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 11px 12px; border-radius: 8px; background: #f5f8fa; border: 1px solid #e1e8ed; color: #8a9aa6; font-size: 13px; } .rel-step strong { font-size: 13px; font-weight: 600; } .rel-step small { font-size: 11px; } .rel-step.done { color: #25886b; background: #f0faf5; } .rel-step.live { color: #167f70; background: #e9f8f4; border-color: #4eb49f; font-weight: 700; } .rel-step-mark { position: absolute; top: 9px; right: 12px; font-size: 12px; } .rel-step-arrow { display: none; } .rel-steps-note { margin: 0; font-size: 12px; color: var(--rel-muted); line-height: 1.6; } /* 仅剩的次级操作:封存测试版本 */ .rel-seal { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fbfdfe; } .rel-seal p { margin: 6px 0 0; font-size: 12px; color: var(--rel-muted); line-height: 1.6; } /* 同步中 */ .rel-jobmeta { margin: 8px 0 0; font-size: 12px; color: var(--rel-muted); } .rel-progress-foot { margin-top: 12px; border-top: 1px solid #eef2f5; padding-top: 10px; font-size: 12px; color: var(--rel-muted); } .rel-link { border: 0 !important; background: transparent !important; padding: 2px 4px !important; color: #2b7fa6 !important; font-size: 12px; } .rel-datacard { border: 1px solid #dce6ed; border-radius: 10px; padding: 14px 16px; background: #fff; } .rel-datacard header { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .rel-datacount { margin: 10px 0 6px; font-size: 13px; color: var(--rel-muted); } .rel-datacount strong { font-size: 24px; color: #9aa9b4; margin-right: 4px; } .rel-progress { height: 6px; border-radius: 8px; background: #edf1f4; overflow: hidden; } .rel-progress span { display: block; height: 100%; background: var(--rel-teal); } .rel-datadetail { margin: 10px 0 0; font-size: 12px; color: var(--rel-muted); line-height: 1.55; } .rel-filters { display: flex; gap: 6px; } .rel-filters button { font-size: 12px; padding: 4px 11px; } .rel-filters .chosen { color: #168b73; background: #ebf8f3; border-color: #a6d7c8; } .rel-log { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: #f9fbfc; border-top: 1px solid #eef2f5; padding: 10px 12px; font-size: 12px; color: #7b8e9c; } /* 版本与快照抽屉 */ .rel-drawer-backdrop { position: fixed; inset: 0; background: rgba(20, 52, 74, 0.4); display: flex; justify-content: flex-end; z-index: 40; } .rel-drawer { width: min(1024px, 92vw); height: 100%; overflow-y: auto; background: #fff; border-left: 1px solid #dce6ed; box-shadow: -12px 0 32px rgba(19, 44, 61, 0.18); padding: 22px 26px 28px; display: flex; flex-direction: column; gap: 14px; } .rel-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .rel-drawer-head p { margin: 4px 0 0; font-size: 12px; color: var(--rel-muted); } .rel-close { padding: 5px 10px !important; font-size: 12px; } .rel-drawer-table td small { display: block; color: var(--rel-muted); font-size: 11px; margin-top: 2px; } .rel-drawer-table tr.selected td { background: #f4fbf8; } .rel-snapshot { border: 1px solid #cfe6dd; border-radius: 10px; padding: 16px 18px; background: #fbfefd; } .rel-snapshot header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; } .rel-snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 12px 0; } .rel-snapshot-grid div { border: 1px solid #e2eef7; border-radius: 8px; background: #fff; padding: 9px 11px; } .rel-snapshot-grid dt { font-size: 11px; color: var(--rel-muted); } .rel-snapshot-grid dd { margin: 4px 0 0; font-size: 13px; } .rel-parts { margin: 8px 0 12px; } .rel-parts summary { cursor: pointer; font-size: 12px; color: #2b7fa6; } .rel-parts table { margin-top: 8px; border: 1px solid #e6edf2; border-radius: 8px; overflow: hidden; } .rel-drawer-actions { display: flex; gap: 8px; flex-wrap: wrap; } .rel-danger { border-color: #e7b4a8 !important; color: #b4381f !important; } .rel-drawer-foot { margin-top: auto; border-top: 1px solid #eef2f5; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; } .rel-drawer-foot p { margin: 4px 0 0; font-size: 12px; color: var(--rel-muted); line-height: 1.6; max-width: 62ch; } @media (max-width: 1100px) { .rel-grid { grid-template-columns: minmax(0, 1fr); } .rel-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 760px) { .release-targets { padding: 14px; } .rel-tab { width: 100%; } .rel-drawer { width: 100vw; padding: 16px; } .rel-changes table, .rel-details table { display: block; overflow-x: auto; } } /* 准备信息 / 差异行的范围说明:让人一眼看出依据的是哪次封存,而不是"现在"。 */ .rel-scope, .rel-scope-note { display: block; margin: 2px 0 0; font-style: normal; font-size: 11px; color: var(--rel-muted, #7b8d9a); } .rel-scope-note { padding: 6px 14px 0; font-variant-numeric: tabular-nums; } .rel-drawer-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; } .rel-drawer-kinds div { border: 1px solid var(--rel-line, #dce6ed); border-radius: 8px; padding: 8px 10px; } .rel-drawer-kinds dt { font-size: 11px; color: var(--rel-muted, #7b8d9a); } .rel-drawer-kinds dd { margin: 3px 0 0; font-size: 12px; font-variant-numeric: tabular-nums; word-break: break-all; } /* 目标维护:级别/持有/入口/阶段用两列小表,数字与时间可对齐比较。 */ .rel-maintenance-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin: 8px 14px 0; padding: 0; list-style: none; } .rel-maintenance-rows li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--rel-line, #dce6ed); padding: 4px 0; font-size: 12px; } .rel-maintenance-rows span { color: var(--rel-muted, #7b8d9a); } .rel-maintenance-rows b { font-variant-numeric: tabular-nums; word-break: break-all; text-align: right; } /* Wiki 逐页贡献级差异:每条一行,直接写清来源/引用怎么变。 */ .rel-wiki-pages { margin: 4px 14px 10px; padding-left: 18px; font-size: 12px; line-height: 1.6; } .rel-wiki-pages li { font-variant-numeric: tabular-nums; }