Files
urutau/internal/server/web/reports.css
T

17 lines
1.6 KiB
CSS

/* Urutau - REPORTS page. Selectors prefixed rpt-. The report itself is the
HTML document shown in the iframe (its own A4 print styles); this file only
lays out the toolbar and the preview frame. */
.rpt { display: flex; flex-direction: column; gap: var(--s-3, 12px); min-width: 0; }
.rpt-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.rpt-opt { display: flex; flex-direction: column; gap: 2px; font-size: .75rem; color: var(--ink-muted); }
.rpt-sel { min-height: 34px; padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm, 7px); background: var(--surface-raised, transparent); color: var(--ink); font: inherit; }
.rpt-hint { flex: 1 1 220px; margin: 0; font-size: .75rem; color: var(--ink-muted); align-self: center; }
.rpt-actions { display: flex; gap: 8px; margin-left: auto; }
.rpt-status { display: flex; gap: 10px; align-items: center; font-size: .8125rem; color: var(--ink-muted); }
.rpt-status[hidden] { display: none; }
.rpt-sheetwrap { background: var(--surface-sunken, rgba(127, 127, 127, .12)); border: 1px solid var(--line); border-radius: var(--radius, 10px); padding: clamp(6px, 2vw, 20px); min-width: 0; }
.rpt-fit { position: relative; max-width: 794px; margin: 0 auto; overflow: hidden; }
/* always an A4 sheet (794 px wide, the full report height); reports.js scales it to fit */
.rpt-frame { display: block; width: 794px; height: 1123px; border: 0; background: #fff; transform-origin: 0 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
@media (max-width: 600px) { .rpt-actions { margin-left: 0; width: 100%; } .rpt-actions .btn { flex: 1; } }