38 lines
3.8 KiB
CSS
38 lines
3.8 KiB
CSS
.approvals-page { height: 100%; min-height: 0; overflow: hidden; }
|
|
.approvals-list-panel { display: flex; min-height: 0; flex-direction: column; }
|
|
.approvals-list-viewport, .approvals-detail-viewport { min-height: 0; flex: 1; }
|
|
.approvals-detail header span { color: var(--muted); }
|
|
.approvals-workspace { display: flex; min-width: 0; min-height: 0; flex-direction: column; }
|
|
.approvals-workspace > .action-blocker-hint { margin: 12px 16px 0; }
|
|
.approvals-detail { padding: 16px 20px 28px; }
|
|
.approvals-detail header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
|
|
.approvals-detail header > div:last-child { display: flex; align-items: center; gap: 8px; }
|
|
.approvals-detail h2, .approvals-detail h3, .approval-editor-heading h3 { margin: 0; font-size: 1rem; letter-spacing: 0; }
|
|
.approvals-detail section { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
|
|
.approval-chain, .approval-history { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
|
|
.approval-chain > div, .approval-history > div { display: grid; grid-template-columns: 32px minmax(120px, .6fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 7px 9px; background: var(--surface-muted); }
|
|
.approval-chain > div.is-current { border-left: 3px solid var(--data-category-blue); }
|
|
.approval-chain em { font-size: .8rem; font-style: normal; }
|
|
.approval-history > div { grid-template-columns: 32px minmax(0, 1fr) auto; }
|
|
.approval-history time { color: var(--muted); font-size: .82rem; }
|
|
.approval-request-dialog, .approval-template-dialog { width: min(1160px, calc(100vw - 32px)); height: min(860px, calc(100vh - 32px)); }
|
|
.approval-editor { display: flex; min-height: 0; flex-direction: column; gap: 12px; overflow: auto; }
|
|
.approval-editor-help { display: flex; justify-content: flex-end; }
|
|
.approval-editor-wide { grid-column: 1 / -1; }
|
|
.approval-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.approval-step-list { display: flex; flex-direction: column; gap: 8px; }
|
|
.approval-step-editor { display: flex; flex-direction: column; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
|
|
.approval-step-heading, .approval-selector-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
|
|
.approval-step-heading > div { display: flex; align-items: center; gap: 4px; }
|
|
.approval-step-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 8px; }
|
|
.approval-selector-heading { padding-top: 8px; border-top: 1px solid var(--line); }
|
|
.approval-selector-list { display: flex; flex-direction: column; gap: 6px; }
|
|
.approval-selector-list > div { display: grid; grid-template-columns: 180px minmax(160px, 1fr) minmax(160px, 1fr) 34px; align-items: end; gap: 8px; }
|
|
.approval-template-history-dialog { width: min(1180px, calc(100vw - 32px)); height: min(820px, calc(100vh - 32px)); }
|
|
.approval-template-history-layout { display: flex; min-height: 0; flex: 1; flex-direction: column; gap: 12px; overflow: hidden; }
|
|
.approval-template-history-layout > .admin-table-surface { min-height: 180px; flex: 1; overflow: auto; }
|
|
.approval-compare-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; align-items: end; gap: 8px; }
|
|
.approval-diff-value { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.approval-decision-form { display: flex; min-width: min(520px, 75vw); flex-direction: column; gap: 10px; }
|
|
@media (max-width: 900px) { .approval-step-fields, .approval-selector-list > div, .approval-compare-toolbar { grid-template-columns: 1fr; } .approval-editor-wide { grid-column: auto; } }
|