68 lines
4.6 KiB
CSS
68 lines
4.6 KiB
CSS
/* Optional operational layer; load after view.css. */
|
|
.operations .page-title-row, .operations .table-toolbar, .operations .form-actions {
|
|
display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
|
|
}
|
|
.operations .page-title-row { justify-content: space-between; margin-bottom: 16px; }
|
|
.operations .page-title-row h2 { margin: 0; font-size: 22px; }
|
|
.operations .table-toolbar {
|
|
justify-content: space-between; padding: 9px 12px; background: var(--surface-2);
|
|
border: 1px solid var(--border); border-bottom: 0; border-radius: 4px 4px 0 0;
|
|
}
|
|
.operations .table-toolbar + .table-wrap { border-radius: 0 0 4px 4px; }
|
|
.operations .table-wrap { max-height: 60vh; overflow: auto; }
|
|
.operations .data-table { border-collapse: separate; border-spacing: 0; min-width: 680px; }
|
|
.operations .data-table th, .operations .data-table td { padding: 3px 14px; vertical-align: middle; }
|
|
.operations .data-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface-2); }
|
|
.operations .data-table .child-row td { padding-top: 1px; padding-bottom: 1px; line-height: 18px; }
|
|
.operations .data-table .child-name { padding-left: 32px; }
|
|
.operations .number { text-align: right; font-variant-numeric: tabular-nums; }
|
|
.operations .identifier { white-space: nowrap; }
|
|
.operations .actions-column { width: 1%; text-align: right; white-space: nowrap; }
|
|
.operations .row-status-warning { background: var(--warn-bg); }
|
|
.operations .btn-primary, .operations .btn-secondary, .operations .btn-danger {
|
|
min-height: 32px; padding: 6px 12px; border: 1px solid var(--border);
|
|
border-radius: 4px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
|
|
}
|
|
.operations .btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
|
|
.operations .btn-secondary { background: var(--surface); color: var(--ink); }
|
|
.operations .btn-danger { background: var(--surface); color: var(--crit-fg); border-color: var(--crit-border); }
|
|
.operations button:disabled { opacity: .55; cursor: not-allowed; }
|
|
.operations button[aria-busy="true"] { cursor: wait; }
|
|
.operations .icon-button {
|
|
display: inline-grid; place-items: center; width: 24px; min-height: 24px;
|
|
padding: 0; border: 1px solid transparent; border-radius: 4px;
|
|
background: transparent; color: var(--muted); cursor: pointer;
|
|
}
|
|
.operations .icon-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
|
|
.operations :is(button, a, input, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
.operations .quiet-link { color: inherit; text-decoration: none; }
|
|
.operations .quiet-link:hover { text-decoration: underline; }
|
|
.operations .table-filters { margin-bottom: 12px; border: 1px solid var(--border); border-radius: 4px; }
|
|
.operations .table-filters summary { padding: 6px 10px; background: var(--surface-2); cursor: pointer; }
|
|
.operations .table-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }
|
|
.operations .active-filter { padding: 4px; border-left: 3px solid var(--accent); background: var(--accent-bg); }
|
|
.operations .field { display: flex; flex-direction: column; gap: 4px; }
|
|
.operations .field label { color: var(--muted); font-size: 12px; font-weight: 700; }
|
|
.operations .field input, .operations .field select {
|
|
min-width: 0; width: 100%; border: 1px solid var(--border); border-radius: 4px;
|
|
padding: 6px 8px; font: inherit; background: var(--surface); color: var(--ink);
|
|
}
|
|
.operations .record-head { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
|
|
.operations .field-short { flex: 0 1 130px; }
|
|
.operations .field-grow { flex: 1 1 240px; }
|
|
.operations .segmented { display: inline-flex; padding: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
|
|
.operations .segmented label { padding: 6px 10px; border-right: 1px solid var(--border); cursor: pointer; }
|
|
.operations .segmented label:last-child { border-right: 0; }
|
|
.operations .segmented label:has(input:checked) { background: var(--accent); color: white; }
|
|
.operations .is-pending { outline: 1px dashed currentColor; outline-offset: 2px; }
|
|
.operations .form-note { color: var(--muted); font-size: 12px; }
|
|
.operations .form-actions { margin: 16px 0; }
|
|
.operations .audit-before del { color: var(--crit-fg); }
|
|
.operations .audit-after ins { color: var(--ok-fg); text-decoration: none; }
|
|
.operations .prices-hidden [data-sensitive] { background: black; color: transparent; border-radius: 2px; user-select: none; }
|
|
@media (max-width: 720px) {
|
|
.operations .table-filter-grid { grid-template-columns: 1fr; }
|
|
.operations .record-head { flex-direction: column; }
|
|
.operations .field-short, .operations .field-grow { flex: auto; }
|
|
}
|