A running job now says what it does now: "Verifying photo 812 of 2,400 · Harbour sunset · sequence 3 of 41". A paused or failed job says where it stopped. The line appears in the Jobs table under the target, in the job bar (at most 60 characters, the item dropped first, the bar text also its tooltip), in the Archive's recent maintenance (refreshed at most twice a second), in the editor's server-job line and in the sync tooltip. Byte jobs now count sizes in the bar. While connected, the Server section lists the server's running and paused jobs, live through the jobs API and the jobProgress events. Pause, Resume and Cancel are offered only to an account that manages the archive, which is what the server requires to act on someone else's job; for any other account the list is read-only. The list hides while nothing runs, and the capture gains a server-jobs scene. The admin panel's Jobs page and dashboard show the same line under the target and update it with every progress event. The steps, parts and sub-steps are in English and Italian, and an unknown step shows its counts only. Refs #65 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
558 lines
42 KiB
CSS
558 lines
42 KiB
CSS
/* Chronos Server admin — DESIGN.md tokens in light and dark (BRIEF §14.8), mockups Admin.html and AdminUsers.html.
|
|
Logical properties throughout, so right-to-left languages mirror the layout. */
|
|
:root {
|
|
color-scheme: light dark;
|
|
--bg: light-dark(#f3f3f3, #1f1f23);
|
|
--chrome: light-dark(#ffffff, #1a1a1e);
|
|
--surface: light-dark(#ffffff, #26262c);
|
|
--card: light-dark(#ffffff, #2f3038);
|
|
--card-hover: light-dark(#f5f5f5, #383943);
|
|
--card-pressed: light-dark(#ebebeb, #2a2b32);
|
|
--stroke: light-dark(#e5e5e5, #3e404a);
|
|
--stroke-strong: light-dark(#d1d1d1, #535663);
|
|
--text: light-dark(#1a1a1a, #f2f3f5);
|
|
--text-muted: light-dark(#616161, #a9aeb9);
|
|
--text-faint: light-dark(#9e9e9e, #7b818e);
|
|
--accent: light-dark(#0067c0, #4cc2ff);
|
|
--accent-hover: light-dark(#1975c5, #6fcfff);
|
|
--link-hover: light-dark(#004c8c, #6fcfff);
|
|
--on-accent: light-dark(#ffffff, #0b1b24);
|
|
--accent-selected: light-dark(#e8f1fa, rgba(76, 194, 255, .25));
|
|
--sun: light-dark(#e08a1e, #f5a524);
|
|
--sun-soft: light-dark(#fff4e5, rgba(245, 165, 36, .15));
|
|
--success: light-dark(#0f7b4f, #35c48f);
|
|
--warning: light-dark(#9a6700, #e8b339);
|
|
--error: light-dark(#c42b1c, #f0625d);
|
|
--shadow: light-dark(rgba(0, 0, 0, .18), rgba(0, 0, 0, .4));
|
|
--scrim: light-dark(rgba(0, 0, 0, .25), rgba(0, 0, 0, .6));
|
|
/* Badges drawn over photos (counts, numbers, the cover mark) read the same on light and dark pages. */
|
|
--on-photo: rgba(0, 0, 0, .6);
|
|
--radius: 6px;
|
|
--radius-card: 8px;
|
|
--font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Noto Sans", sans-serif;
|
|
--mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
|
|
}
|
|
/* The header's theme button overrides the operating system's choice. */
|
|
:root[data-theme="light"] { color-scheme: light; }
|
|
:root[data-theme="dark"] { color-scheme: dark; }
|
|
|
|
* { box-sizing: border-box; }
|
|
html, body { height: 100%; }
|
|
body { margin: 0; font: 13px/1.45 var(--font); color: var(--text); background: var(--bg); }
|
|
button, input, select { font: inherit; color: inherit; }
|
|
a { color: var(--accent); }
|
|
a:hover { color: var(--link-hover); }
|
|
h1, h2 { margin: 0; }
|
|
h2 { font-size: 14px; font-weight: 600; }
|
|
.num { font-variant-numeric: tabular-nums; }
|
|
.mono { font-family: var(--mono); }
|
|
.muted { color: var(--text-muted); }
|
|
.end { text-align: end; justify-self: end; }
|
|
.nowrap { white-space: nowrap; }
|
|
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
.spacer { flex: 1; }
|
|
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
|
|
[hidden] { display: none !important; }
|
|
|
|
/* Shell */
|
|
/* The sidebar column keeps the chrome colour below the sticky sidebar on long pages. */
|
|
.shell { display: grid; grid-template-columns: 256px minmax(0, 1fr); min-height: 100vh; background: var(--chrome); }
|
|
.sidebar { display: flex; flex-direction: column; padding: 16px 12px; position: sticky; top: 0; height: 100vh; min-width: 0; }
|
|
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; min-width: 0; }
|
|
.brand img { width: 22px; height: 22px; }
|
|
.brand strong { display: block; font-size: 14px; }
|
|
.brand span { display: block; font-size: 11px; color: var(--text-muted); }
|
|
.brand.large img { width: 40px; height: 40px; }
|
|
.brand.large strong { font-size: 18px; }
|
|
/* The menu fills the sidebar: its pages from the top, Settings docked at its foot above the account (owner review 2). */
|
|
.nav { flex: 1 0 auto; display: flex; flex-direction: column; gap: 2px; }
|
|
.nav-group { display: grid; gap: 2px; }
|
|
.nav-group.bottom { margin-block: auto 8px; padding-block-start: 8px; }
|
|
.nav a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: var(--radius); color: var(--text); text-decoration: none; }
|
|
.nav a:hover { background: var(--card-hover); color: var(--text); }
|
|
.nav a[aria-current="page"] { background: var(--accent-selected); color: var(--accent); font-weight: 600; }
|
|
.nav svg { flex: none; }
|
|
.badge { margin-inline-start: auto; min-width: 18px; padding: 0 6px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
|
|
.badge.quiet { background: none; color: var(--text-muted); font-weight: 400; }
|
|
.sidebar .user { margin-top: auto; border-top: 1px solid var(--stroke); padding: 8px 10px 0; display: flex; align-items: center; gap: 10px; }
|
|
.user .who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
|
|
.user .who span { color: var(--text-muted); font-size: 11px; }
|
|
/* Owner review 1: the menu collapses to its icons (the button, or Ctrl+B); the names stay for screen readers. */
|
|
.sidebar-toggle { align-self: flex-start; margin-block-end: 6px; margin-inline-start: 2px; }
|
|
.nav a { position: relative; }
|
|
/* Exactly the widths the narrow layout below leaves (fractional widths at 125 % scaling included). */
|
|
@media not all and (max-width: 900px) {
|
|
/* Short windows: the pages above scroll, so Settings and the account stay docked in view; the whole sidebar scrolls
|
|
only when even those do not fit. The padding keeps the links' focus rings inside the scrolling list. */
|
|
.sidebar, .nav-group:not(.bottom) { overflow-y: auto; scrollbar-width: thin; }
|
|
.sidebar { overflow-x: hidden; }
|
|
/* At least one whole link stays visible (36 px plus the padding); below that the sidebar itself scrolls. */
|
|
.nav-group:not(.bottom) { flex: 1 1 0; min-height: 44px; align-content: start; padding: 4px; margin: -4px; }
|
|
.shell.collapsed { grid-template-columns: 56px minmax(0, 1fr); }
|
|
.shell.collapsed .sidebar { padding-inline: 8px; }
|
|
.shell.collapsed .sidebar-toggle { align-self: center; margin-inline-start: 0; }
|
|
.shell.collapsed .brand > div, .shell.collapsed .user .avatar, .shell.collapsed .user .who { display: none; }
|
|
.shell.collapsed .brand { padding-inline: 9px; }
|
|
.shell.collapsed .user { padding: 8px 0 0; justify-content: center; }
|
|
.shell.collapsed .nav a { justify-content: center; padding: 0; }
|
|
.shell.collapsed .nav a > span:not(.badge) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
.shell.collapsed .badge { position: absolute; top: 2px; inset-inline-end: 2px; min-width: 16px; padding: 0 4px; font-size: 10px; }
|
|
}
|
|
|
|
.main { display: flex; flex-direction: column; min-width: 0; background: var(--bg); border-inline-start: 1px solid var(--stroke); }
|
|
.header { position: sticky; top: 0; z-index: 5; min-height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 24px; border-bottom: 1px solid var(--stroke); background: var(--chrome); }
|
|
.header h1 { font-size: 18px; font-weight: 600; white-space: nowrap; }
|
|
.header h1:focus { outline: none; }
|
|
.header .meta { flex: 0 1 auto; min-width: 0; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.header .actions { display: flex; align-items: center; gap: 8px; flex: none; }
|
|
.header .language { width: auto; flex: none; }
|
|
.header > .btn { flex: none; }
|
|
.content { padding: 24px; display: grid; gap: 20px; align-content: start; min-width: 0; }
|
|
|
|
/* Controls */
|
|
.btn { height: 32px; min-width: 44px; padding: 0 12px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--card); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: var(--text); white-space: nowrap; }
|
|
.btn:hover { background: var(--card-hover); border-color: var(--stroke-strong); color: var(--text); }
|
|
.btn:active { background: var(--card-pressed); }
|
|
.btn:focus-visible, .chip:focus-visible, .link:focus-visible, a:focus-visible, pre.log:focus-visible,
|
|
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
|
|
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
|
|
.btn.destructive { border-color: var(--error); color: var(--error); background: transparent; }
|
|
.btn.subtle { border-color: transparent; background: transparent; }
|
|
.btn.icon { width: 32px; min-width: 32px; padding: 0; }
|
|
.btn.small { height: 28px; padding: 0 10px; font-size: 12px; }
|
|
.btn:disabled { opacity: .4; cursor: default; }
|
|
/* Pressed toggles: accent text, a doubled accent border and bold text, so the state does not rest on colour alone. */
|
|
.btn[aria-pressed="true"], .chip[aria-pressed="true"] { color: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); font-weight: 600; }
|
|
.link { border: 0; background: none; padding: 0; color: var(--text); cursor: pointer; text-align: start; }
|
|
.link:hover { color: var(--accent); }
|
|
.link.ellipsis { display: block; max-width: 100%; }
|
|
.input { height: 32px; width: 100%; padding: 0 10px; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--card); }
|
|
.input:hover { border-color: var(--stroke-strong); }
|
|
/* The transparent outline shows in Windows High Contrast, where border colours are forced. */
|
|
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); outline: 2px solid transparent; }
|
|
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
|
|
.input:disabled, .input[readonly] { background: var(--bg); color: var(--text-muted); }
|
|
.input.small { height: 28px; width: auto; font-size: 12px; }
|
|
.input.narrow { width: 120px; }
|
|
.input.search { width: 220px; }
|
|
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); margin: 0; }
|
|
.chips, .button-row { display: flex; gap: 8px; flex-wrap: wrap; }
|
|
.chip { height: 24px; padding: 0 10px; border: 1px solid var(--stroke); border-radius: 12px; background: var(--card); font-size: 11px; cursor: pointer; }
|
|
.chip.warn { border-color: var(--warning); color: var(--warning); cursor: default; display: inline-flex; align-items: center; }
|
|
.segmented { display: inline-flex; }
|
|
.segmented .btn { border-radius: 0; margin-inline-start: -1px; }
|
|
.segmented .btn:first-child { margin-inline-start: 0; border-start-start-radius: var(--radius); border-end-start-radius: var(--radius); }
|
|
.segmented .btn:last-child { border-start-end-radius: var(--radius); border-end-end-radius: var(--radius); }
|
|
.segmented .btn[aria-pressed="true"] { position: relative; }
|
|
|
|
/* Panels and tiles */
|
|
.panel { background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-card); padding: 16px 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
|
|
.panel.flush { padding: 0; gap: 0; overflow-x: auto; }
|
|
.panel-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
/* Headings stay on one line; the figures beside them give way first. */
|
|
.panel-head h2 { flex: 1 0 auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.panel-head > .ellipsis { flex: 0 1 auto; }
|
|
.panel-head.padded { padding: 12px 18px; border-bottom: 1px solid var(--stroke); }
|
|
.empty { padding: 24px 18px; color: var(--text-muted); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
.panel:not(.flush) > .empty { padding: 8px 0; }
|
|
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
|
|
.tile { gap: 8px; }
|
|
.tile .label { font-size: 12px; font-weight: 400; color: var(--text-muted); }
|
|
.tile .sub { font-size: 12px; color: var(--text-muted); }
|
|
.tile .value { font-size: 26px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
|
|
.tile .value small { font-size: 13px; font-weight: 400; color: var(--text-muted); }
|
|
.grid { display: grid; gap: 20px; }
|
|
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
|
|
.grid.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
|
|
|
|
/* Bars and charts (SVG attributes only: the panel runs under a strict CSP). Progress fills from the reading start. */
|
|
svg.bar { width: 100%; height: 6px; display: block; }
|
|
svg.bar .track { fill: var(--stroke); }
|
|
svg.bar .fill { fill: var(--accent); }
|
|
svg.bar.muted .fill { fill: var(--text-faint); }
|
|
[dir="rtl"] svg.bar { transform: scaleX(-1); }
|
|
/* Charts keep a left-to-right axis in right-to-left pages (SVG ignores the HTML dir attribute). */
|
|
svg.chart { width: 100%; height: auto; max-height: 220px; direction: ltr; }
|
|
svg.chart .axis { stroke: var(--stroke); }
|
|
svg.chart .column { fill: var(--accent); }
|
|
svg.chart.sun .column { fill: var(--sun); }
|
|
svg.chart text { font: 10px var(--font); text-anchor: middle; }
|
|
svg.chart text.start { text-anchor: start; }
|
|
svg.chart text.end { text-anchor: end; }
|
|
svg.chart .value { fill: var(--text); }
|
|
svg.chart .label { fill: var(--text-muted); }
|
|
.progress-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
.progress-cell svg.bar { flex: 1 1 0; min-width: 16px; }
|
|
.progress-cell span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
/* A job's target with what it does now under it, inside the 52 px row (owner review 5, #65). */
|
|
.target-cell { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
|
|
.target-cell > span { display: block; }
|
|
.progress-detail { font-size: 12px; line-height: 16px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
|
|
|
|
/* Tables: ARIA rows laid out as subgrids of one grid, so every column fits its widest cell; 52 px rows in the admin. */
|
|
.table { display: grid; column-gap: 12px; min-width: 0; }
|
|
.table > [role="rowgroup"], .table .thead, .table .row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
|
|
.table .thead, .table .row { align-items: center; padding: 0 18px; }
|
|
.table .thead { font-size: 11px; color: var(--text-muted); padding-block: 10px; border-bottom: 1px solid var(--stroke); white-space: nowrap; }
|
|
.table .row { min-height: 52px; border-bottom: 1px solid var(--stroke); }
|
|
.table .row:hover { background: var(--card-hover); }
|
|
.table .row.dim { color: var(--text-muted); }
|
|
.table .row.log-row { min-height: 0; padding: 0; }
|
|
.table .row.log-row:hover { background: none; }
|
|
.table [role="cell"], .table [role="columnheader"] { min-width: 0; }
|
|
.table .wide { grid-column: 1 / -1; }
|
|
.table.users { grid-template-columns: minmax(120px, 1.4fr) max-content minmax(100px, 1.3fr) minmax(70px, 1fr) max-content max-content max-content; }
|
|
.table.jobs { grid-template-columns: minmax(70px, max-content) minmax(120px, 1.6fr) minmax(60px, max-content) minmax(90px, 1fr) max-content max-content max-content; }
|
|
.table.jobs-mini { grid-template-columns: minmax(60px, max-content) minmax(120px, 1.5fr) minmax(50px, max-content) minmax(70px, 1fr) max-content max-content; }
|
|
.table.jobs-mini .thead, .table.jobs-mini .row { padding: 0; }
|
|
.table.jobs-mini .row { min-height: 40px; border-bottom: 0; }
|
|
.table.nodes { grid-template-columns: minmax(100px, 1fr) minmax(60px, max-content) minmax(100px, 1.2fr) max-content max-content max-content; }
|
|
.table.audit { grid-template-columns: max-content minmax(70px, .8fr) minmax(90px, max-content) minmax(100px, 2fr) minmax(0, max-content); }
|
|
.table.audit .row { min-height: 40px; }
|
|
.table.compact .row { min-height: 32px; padding: 0; border-bottom: 0; }
|
|
.table.compact .row:hover { background: none; }
|
|
.table.compact.stats { grid-template-columns: minmax(0, 1fr) max-content max-content; }
|
|
.table.compact.files { grid-template-columns: minmax(0, 1fr) max-content max-content max-content; }
|
|
/* Narrow panels or long translations: fitColumns() (ui.js) hides secondary columns level by level until the rows fit. */
|
|
.table.users.fit-1 { grid-template-columns: minmax(120px, 1.4fr) max-content minmax(100px, 1.3fr) max-content max-content; }
|
|
.table.users.fit-1 .col-seen, .table.users.fit-1 .col-uploads { display: none; }
|
|
.table.users.fit-2 { grid-template-columns: minmax(110px, 1fr) max-content max-content max-content; }
|
|
.table.users.fit-2 .col-quota { display: none; }
|
|
.table.users.fit-3 { grid-template-columns: minmax(100px, 1fr) max-content max-content; }
|
|
.table.users.fit-3 .col-status { display: none; }
|
|
.table.jobs.fit-1 { grid-template-columns: minmax(70px, max-content) minmax(100px, 1.6fr) minmax(80px, 1fr) max-content max-content; }
|
|
.table.jobs.fit-1 .col-node, .table.jobs.fit-1 .col-created { display: none; }
|
|
.table.jobs-mini.fit-1 { grid-template-columns: minmax(60px, max-content) minmax(80px, 1.5fr) minmax(60px, 1fr) max-content max-content; }
|
|
.table.jobs-mini.fit-1 .col-node { display: none; }
|
|
.table.nodes.fit-1 { grid-template-columns: minmax(100px, 1fr) minmax(100px, 1.2fr) max-content max-content; }
|
|
.table.nodes.fit-1 .col-owner, .table.nodes.fit-1 .col-heartbeat { display: none; }
|
|
.table.audit.fit-1 { grid-template-columns: max-content minmax(70px, .8fr) minmax(90px, max-content) minmax(100px, 2fr); }
|
|
.table.audit.fit-1 .col-from { display: none; }
|
|
/* Scheduled jobs (owner review 2, R10): name, action, when, next run, last result, switch, actions. */
|
|
.table.schedules { grid-template-columns: minmax(130px, 1.3fr) minmax(80px, max-content) minmax(110px, 1fr) max-content minmax(90px, max-content) max-content max-content; }
|
|
.table.schedules.fit-1 { grid-template-columns: minmax(130px, 1.3fr) minmax(110px, 1fr) max-content minmax(90px, max-content) max-content max-content; }
|
|
.table.schedules.fit-1 .col-action { display: none; }
|
|
.table.schedules.fit-2 { grid-template-columns: minmax(120px, 1.3fr) minmax(100px, 1fr) max-content max-content max-content; }
|
|
.table.schedules.fit-2 .col-last { display: none; }
|
|
.table-foot { display: flex; align-items: center; gap: 16px; padding: 10px 18px; font-size: 12px; }
|
|
.table-foot a { white-space: nowrap; }
|
|
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
|
|
/* A name with a pill after it (a system schedule, a job a schedule queued). */
|
|
.name-cell { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
.pill { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border: 1px solid var(--stroke); border-radius: 12px; font-size: 11px; color: var(--text-muted); white-space: nowrap; text-decoration: none; }
|
|
a.pill:hover { border-color: var(--accent); color: var(--accent); }
|
|
/* The runs of a schedule, under its row: kind, state, time and a link to the job. */
|
|
.runs { display: grid; grid-template-columns: minmax(0, max-content) max-content max-content max-content; gap: 6px 18px; align-items: center; padding: 10px 18px; background: var(--bg); border-top: 1px solid var(--stroke); }
|
|
.runs .run { display: contents; }
|
|
.runs .more { grid-column: 1 / -1; justify-self: start; }
|
|
.table .row.log-row .empty { background: var(--bg); border-top: 1px solid var(--stroke); }
|
|
.person { display: flex; align-items: center; gap: 10px; min-width: 0; }
|
|
.stack { display: flex; flex-direction: column; min-width: 0; }
|
|
.stack small { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
.avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent-selected); color: var(--accent); display: grid; place-items: center; font-weight: 600; }
|
|
.avatar.uploader { background: var(--sun-soft); color: var(--warning); }
|
|
.row.dim .avatar { background: var(--card-pressed); color: var(--text-muted); }
|
|
.state { white-space: nowrap; }
|
|
.state.running { color: var(--accent); }
|
|
.state.done { color: var(--success); }
|
|
.state.failed { color: var(--error); }
|
|
.state.paused { color: var(--warning); }
|
|
.state.queued, .state.cancelled { color: var(--text-muted); }
|
|
.activity { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: 12px; row-gap: 9px; font-size: 12px; }
|
|
.activity li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
|
|
pre.log { margin: 0; padding: 12px 18px; background: var(--bg); border-top: 1px solid var(--stroke); font: 12px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; max-height: 260px; text-align: left; }
|
|
pre.log.tall { max-height: 60vh; border-top: 0; }
|
|
|
|
/* Forms */
|
|
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
|
|
.side { width: clamp(300px, 26vw, 340px); }
|
|
.form { display: grid; gap: 12px; }
|
|
.form label, .field-label { display: grid; gap: 6px; color: var(--text-muted); }
|
|
.form label.check, label.check { display: flex; align-items: center; gap: 8px; color: var(--text); }
|
|
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
|
|
.form legend { color: var(--text-muted); margin-bottom: 8px; padding: 0; }
|
|
.form h2 { font-size: 16px; }
|
|
.inline { display: flex; align-items: center; gap: 8px; }
|
|
.form-group { display: grid; gap: 12px; }
|
|
.form-group:empty { display: none; }
|
|
.days { display: flex; flex-wrap: wrap; gap: 8px 14px; }
|
|
/* Each tab of a page draws into its own body; its children lay out as the page's own. */
|
|
.tab-body { display: contents; }
|
|
.buttons { display: flex; gap: 8px; justify-content: flex-end; }
|
|
.error { color: var(--error); min-height: 18px; }
|
|
.settings { display: grid; gap: 20px; }
|
|
.field { display: grid; grid-template-columns: 180px minmax(0, 420px); align-items: center; gap: 12px; color: var(--text-muted); }
|
|
.settings-form .field { grid-template-columns: 140px minmax(0, 1fr); }
|
|
/* Levels of the priority queue (owner review 1): several per row on a wide screen. */
|
|
.priorities { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 8px 24px; }
|
|
.priorities .field { grid-template-columns: minmax(0, 1fr) 120px; }
|
|
.fingerprint { font: 12px var(--mono); color: var(--text); }
|
|
|
|
/* Dialogs and toasts */
|
|
dialog.dialog { border: 1px solid var(--stroke); border-radius: 12px; padding: 20px 22px; width: 420px; max-width: calc(100vw - 32px); background: var(--surface); color: var(--text); box-shadow: 0 8px 24px var(--shadow); }
|
|
dialog.dialog::backdrop { background: var(--scrim); }
|
|
dialog.dialog form { display: grid; gap: 14px; }
|
|
dialog.dialog h2 { font-size: 16px; overflow-wrap: anywhere; }
|
|
dialog.dialog p { margin: 0; color: var(--text-muted); }
|
|
#toasts { position: fixed; inset-inline-end: 24px; bottom: 24px; display: grid; gap: 8px; z-index: 10; }
|
|
.toast { width: 420px; max-width: calc(100vw - 48px); padding: 12px 14px; color: var(--text); background: var(--card); border: 1px solid var(--stroke); border-inline-start: 3px solid var(--accent); border-radius: var(--radius-card); box-shadow: 0 4px 16px var(--shadow); }
|
|
.toast.error { border-inline-start-color: var(--error); }
|
|
/* A toast with an action (Open job, Reorganize…): the message, then its link or button at the inline end. */
|
|
.toast.with-action { display: flex; align-items: center; gap: 12px; }
|
|
.toast.with-action > span { flex: 1 1 auto; min-width: 0; }
|
|
.toast.with-action > .btn { flex: none; }
|
|
|
|
/* Directional glyphs (icons.js) point along the reading direction; inside a left-to-right island (photos, time) they do not turn. */
|
|
svg.directional:dir(rtl) { transform: scaleX(-1); }
|
|
.btn svg, .tag svg { flex: none; }
|
|
dialog.dialog .dialog-list { margin: 0; padding-block: 8px; padding-inline: 28px 12px; max-height: 200px; overflow: auto; border: 1px solid var(--stroke);
|
|
border-radius: var(--radius); background: var(--bg); font-size: 12px; overflow-wrap: anywhere; }
|
|
dialog.dialog .dialog-list:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
dialog.dialog .field-label strong { color: var(--text); }
|
|
|
|
/* Library (owner review 2, R6): toolbar, cards (DESIGN §4: 16:9 thumbnail, count badge, check box on hover or selection,
|
|
selected = accent border and glow), list rows, the selection's bar, a sequence's photos and the photo viewer. */
|
|
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
|
|
.toolbar .input.small { height: 32px; max-width: 200px; }
|
|
.toolbar select.active { border-color: var(--accent); color: var(--accent); }
|
|
.seq-items { min-width: 0; }
|
|
.seq-items.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; padding: 16px; }
|
|
.seq-items > .empty { grid-column: 1 / -1; }
|
|
/* Shift+click picks a range: it selects no text. */
|
|
.seq-card, .seq-row, .frame { position: relative; cursor: pointer; outline: none; user-select: none; }
|
|
.seq-card { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--stroke); border-radius: var(--radius-card); overflow: hidden; }
|
|
.seq-card:hover { border-color: var(--stroke-strong); }
|
|
.seq-card:focus-visible, .seq-row:focus-visible, .frame:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
.seq-card[aria-selected="true"], .frame[aria-selected="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-selected); }
|
|
.thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--card-pressed); overflow: hidden; }
|
|
.thumb .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-faint); }
|
|
.thumb .placeholder svg { width: 28px; height: 28px; }
|
|
.thumb img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; }
|
|
.thumb img.failed { visibility: hidden; }
|
|
.seq-check { position: absolute; top: 8px; inset-inline-start: 8px; width: 18px; height: 18px; z-index: 1; opacity: 0; cursor: pointer; }
|
|
.seq-card:hover .seq-check, .seq-card:focus-visible .seq-check, .frame:hover .seq-check, .frame:focus-visible .seq-check,
|
|
.selecting .seq-check, [aria-selected="true"] > .seq-check { opacity: 1; }
|
|
.seq-card .count { position: absolute; top: 8px; inset-inline-end: 8px; padding: 0 6px; border-radius: 8px; background: var(--on-photo); color: #fff; font-size: 11px; }
|
|
.seq-card .info { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; min-width: 0; }
|
|
.seq-card .facts { font-size: 12px; color: var(--text-muted); }
|
|
.chips-row { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 11px; color: var(--text-muted); }
|
|
.st { white-space: nowrap; }
|
|
.st.ok { color: var(--success); }
|
|
.st.off { color: var(--text-faint); }
|
|
.st.warn { color: var(--warning); }
|
|
.st.err { color: var(--error); }
|
|
/* List: the rows are one grid's subgrids, so every column fits its widest cell (as .table). */
|
|
.seq-items.rows { display: grid; grid-template-columns: max-content 64px minmax(160px, 2fr) minmax(80px, 1fr) max-content max-content max-content; column-gap: 12px; }
|
|
.seq-items.rows > .seq-head, .seq-items.rows > .seq-row { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; padding: 0 18px; }
|
|
.seq-items.rows > .seq-head { font-size: 11px; color: var(--text-muted); padding-block: 10px; border-bottom: 1px solid var(--stroke); white-space: nowrap; }
|
|
.seq-items.rows > .empty { grid-column: 1 / -1; }
|
|
.seq-row { min-height: 52px; border-bottom: 1px solid var(--stroke); }
|
|
.seq-row:hover { background: var(--card-hover); }
|
|
.seq-row[aria-selected="true"] { background: var(--accent-selected); }
|
|
.seq-row .seq-check { position: static; opacity: 1; }
|
|
.seq-row .thumb { width: 64px; border-radius: 4px; }
|
|
.seq-row .thumb .placeholder svg { width: 16px; height: 16px; }
|
|
@media (max-width: 900px) {
|
|
.seq-items.rows { grid-template-columns: max-content 64px minmax(120px, 1fr) max-content; }
|
|
.seq-items.rows .col-camera, .seq-items.rows .col-size, .seq-items.rows .col-date { display: none; }
|
|
}
|
|
/* The selection's actions stay in view at the foot of the window while the list scrolls. */
|
|
.mass-bar { position: sticky; bottom: 16px; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px;
|
|
background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-card); box-shadow: 0 4px 16px var(--shadow); }
|
|
/* A sequence: cover, editable fields and facts side by side, stacked on narrow screens. */
|
|
.seq-detail { grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) minmax(220px, 320px); gap: 20px; align-items: start; }
|
|
.seq-cover .thumb { border-radius: var(--radius); }
|
|
.input.heading { height: 38px; font-size: 18px; font-weight: 600; border-color: transparent; background: transparent; padding-inline: 8px; margin-inline-start: -8px; }
|
|
.input.heading:hover { border-color: var(--stroke); }
|
|
.input.heading:focus { background: var(--card); }
|
|
textarea.input.notes { height: auto; min-height: 64px; padding: 6px 10px; resize: vertical; font: inherit; }
|
|
.tag-editor { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
|
|
.tag-list { display: contents; }
|
|
.tag { display: inline-flex; align-items: center; gap: 2px; height: 24px; padding-inline: 10px 2px; border: 1px solid var(--stroke); border-radius: 12px; background: var(--card); color: var(--text); font-size: 12px; }
|
|
.tag-editor .input.small { width: 140px; }
|
|
.btn.tiny { width: 20px; min-width: 20px; height: 20px; border-radius: 10px; }
|
|
.btn.tiny svg { width: 12px; height: 12px; }
|
|
.stars { display: flex; gap: 2px; }
|
|
.btn.star { color: var(--text-faint); }
|
|
.btn.star[aria-pressed="true"] { color: var(--sun); border-color: transparent; box-shadow: none; }
|
|
.seq-facts, .viewer-meta { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 12px; }
|
|
.seq-facts > div, .viewer-meta > div { display: contents; }
|
|
.seq-facts dt, .viewer-meta dt { color: var(--text-muted); }
|
|
.seq-facts dd, .viewer-meta dd { margin: 0; overflow-wrap: anywhere; min-width: 0; }
|
|
.panel-head.wrap { flex-wrap: wrap; }
|
|
.frame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; padding: 12px 18px; }
|
|
.frame-grid > .frame-empty { grid-column: 1 / -1; }
|
|
/* Thousands of photos: the browser lays out and paints only those near the view. */
|
|
.frame { content-visibility: auto; contain-intrinsic-size: auto 90px; border: 1px solid var(--stroke); border-radius: var(--radius); overflow: hidden; background: var(--card); }
|
|
.frame .thumb { aspect-ratio: 3 / 2; }
|
|
.frame-no { position: absolute; bottom: 4px; inset-inline-end: 4px; padding: 0 5px; border-radius: 6px; background: var(--on-photo); color: #fff; font-size: 10px; }
|
|
.frame-badge { position: absolute; top: 4px; inset-inline-end: 4px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 11px; background: var(--on-photo); color: #fff; }
|
|
.frame-badge.hero { color: var(--sun); }
|
|
.frame-badge.warn { top: auto; bottom: 4px; inset-inline: 4px auto; color: var(--warning); }
|
|
.table.renders { grid-template-columns: minmax(100px, 1.4fr) max-content max-content max-content max-content max-content max-content max-content; }
|
|
/* A sequence's projects (owner review 2, R8) and, under one opened, its versions. Their table sits in a wrapper, a grid item
|
|
of the panel: it may be narrower than the table, so the table's columns fit (fitColumns) instead of the panel scrolling. */
|
|
.panel > .table-host { min-width: 0; }
|
|
.table.projects { grid-template-columns: minmax(120px, 1.4fr) max-content minmax(120px, 1.2fr) max-content; }
|
|
.table.projects.fit-1 { grid-template-columns: minmax(120px, 1fr) max-content max-content; }
|
|
.table.projects.fit-1 .col-changed { display: none; }
|
|
.versions { display: grid; grid-template-columns: max-content max-content minmax(0, max-content) minmax(0, 1fr) max-content; gap: 6px 18px; align-items: center; padding: 10px 18px; background: var(--bg); border-top: 1px solid var(--stroke); }
|
|
.versions .version { display: contents; }
|
|
.versions .more { grid-column: 1 / -1; justify-self: start; }
|
|
.table.trash { grid-template-columns: max-content minmax(140px, 2fr) max-content max-content minmax(60px, 1fr) max-content max-content; }
|
|
.table.trash.fit-1 { grid-template-columns: max-content minmax(120px, 2fr) max-content max-content max-content max-content; }
|
|
.table.trash.fit-1 .col-by { display: none; }
|
|
dialog.viewer { width: min(1100px, calc(100vw - 32px)); padding: 16px 18px; }
|
|
dialog.viewer[open] { display: grid; grid-template-columns: minmax(0, 1fr) 240px; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px 16px; }
|
|
.viewer-head { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; min-width: 0; }
|
|
.viewer-stage { position: relative; display: grid; place-items: center; min-height: 240px; max-height: 72vh; background: #000; border-radius: var(--radius); overflow: hidden; }
|
|
.viewer-stage img { max-width: 100%; max-height: 72vh; object-fit: contain; display: block; }
|
|
.viewer-stage img.failed { display: none; }
|
|
.viewer-stage .placeholder { position: absolute; color: var(--text-faint); }
|
|
.viewer-stage img:not(.failed) + .placeholder { display: none; }
|
|
.viewer-meta { align-content: start; }
|
|
dialog.viewer .buttons { grid-column: 1 / -1; }
|
|
@media (max-width: 900px) {
|
|
.seq-detail { grid-template-columns: minmax(0, 1fr); }
|
|
dialog.viewer[open] { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
@media (forced-colors: active) {
|
|
.seq-card[aria-selected="true"], .frame[aria-selected="true"], .seq-row[aria-selected="true"] { outline: 3px solid Highlight; }
|
|
}
|
|
|
|
/* Videos (owner review 1, R9; pages/videos.js): the Library's cards and rows with their own columns (title and preset,
|
|
kind, format, duration, size, date, hash, state), a missing file dimmed, and the player: the photo viewer's layout with
|
|
a <video> or an image on its stage, or a sentence when the browser cannot play the file. */
|
|
.seq-items.rows.video-items { grid-template-columns: max-content 64px minmax(160px, 2fr) max-content max-content max-content max-content max-content minmax(0, max-content) minmax(60px, max-content); }
|
|
.video-items .missing .thumb { opacity: .45; }
|
|
.video-items .seq-card .info .num { font-size: 12px; color: var(--text-muted); }
|
|
.viewer-stage video { display: block; max-width: 100%; max-height: 72vh; }
|
|
.viewer-stage .player-note { margin: 0; padding: 24px; color: #fff; text-align: center; }
|
|
dialog.player .viewer-head .ellipsis { flex: 0 1 auto; }
|
|
@media (max-width: 1200px) {
|
|
.seq-items.rows.video-items { grid-template-columns: max-content 64px minmax(140px, 2fr) max-content max-content max-content max-content minmax(60px, max-content); }
|
|
.video-items .col-hash, .video-items .col-date { display: none; }
|
|
}
|
|
@media (max-width: 900px) {
|
|
.seq-items.rows.video-items { grid-template-columns: max-content 64px minmax(120px, 1fr) max-content minmax(60px, max-content); }
|
|
.video-items .col-kind, .video-items .col-format, .video-items .col-duration { display: none; }
|
|
}
|
|
/* The Videos board (owner request of 2026-11-06): two lanes side by side, Published and Workspace, each a heading with its
|
|
count over its own grid of cards; one lane under the other on a narrow screen. */
|
|
.seq-items.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 16px; align-items: start; }
|
|
.board-lane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
|
|
.board-head { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 600; }
|
|
.board-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
|
|
.board-cards > .empty-lane { grid-column: 1 / -1; margin: 0; padding: 16px 0; color: var(--text-muted); text-align: center; }
|
|
@media (max-width: 900px) {
|
|
.seq-items.board { grid-template-columns: minmax(0, 1fr); }
|
|
}
|
|
|
|
/* Upload dialog (owner review 2, R3, upload.js): the target, a drop zone, the photos with their state, the total. */
|
|
dialog.dialog.upload { width: 640px; }
|
|
.upload-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
|
|
.upload-choice legend { color: var(--text-muted); padding: 0; margin-block-end: 8px; }
|
|
.upload-existing { display: grid; gap: 8px; margin-block-start: 10px; }
|
|
.upload-new { display: grid; gap: 6px; margin-block-start: 10px; color: var(--text-muted); }
|
|
.input.list { height: auto; padding: 4px 0; }
|
|
.input.list option { padding: 3px 10px; }
|
|
.drop { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 14px; border: 1px dashed var(--stroke-strong); border-radius: var(--radius-card); color: var(--text-muted); }
|
|
dialog.upload.dragging .drop { border-color: var(--accent); background: var(--accent-selected); color: var(--text); }
|
|
.upload-files { list-style: none; margin: 0; padding: 0; max-height: 40vh; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) max-content minmax(110px, 170px) 28px; column-gap: 12px; align-content: start; }
|
|
.upload-file { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; min-height: 36px; border-bottom: 1px solid var(--stroke); }
|
|
.upload-file .status { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; }
|
|
.upload-file .status svg.bar { flex: 1 1 0; min-width: 24px; }
|
|
.upload-file .btn.icon.small { width: 28px; min-width: 28px; }
|
|
.upload-total { display: flex; align-items: center; gap: 12px; font-size: 12px; }
|
|
.upload-total .progress-cell { flex: 1 1 0; }
|
|
|
|
/* Reorganize dialog (owner review 2, R7, reorganize.js): a switch and a field per template, the dry run's totals and its
|
|
steps (title, folder and renamed files, the old value struck through above the new one); paths stay left to right. */
|
|
dialog.dialog.reorganize { width: 960px; }
|
|
.reorg-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 14px; align-items: center; }
|
|
.reorg-fields .field-error { grid-column: 2; color: var(--error); font-size: 12px; overflow-wrap: anywhere; }
|
|
.reorg-fields .field-error:empty { display: none; }
|
|
.reorg-totals { min-height: 18px; color: var(--text-muted); }
|
|
/* A dry run's table, Reorganize's and Convert's: scrolls inside the dialog, dimmed while it no longer matches the fields. */
|
|
.reorg-preview, .plan-preview { max-height: 46vh; overflow: auto; border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--bg); }
|
|
.reorg-preview:focus-visible, .plan-preview:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
.reorg-preview.stale .table, .plan-preview.stale .table { opacity: .55; }
|
|
.table.reorg { grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.3fr) minmax(160px, 1.3fr); font-size: 12px; }
|
|
.table.reorg .thead, .table.convert .thead { position: sticky; top: 0; z-index: 1; padding: 8px 12px; background: var(--bg); }
|
|
.table.reorg .row, .table.convert .row { min-height: 0; padding: 8px 12px; align-items: start; }
|
|
.table.reorg .row:hover, .table.convert .row:hover { background: none; }
|
|
.table.reorg .row:last-child, .table.convert .row:last-child { border-bottom: 0; }
|
|
.table.reorg .pill { align-self: flex-start; margin-block-start: 4px; }
|
|
.change { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
|
|
.change .was { color: var(--text-muted); text-decoration: line-through; }
|
|
.path { font-family: var(--mono); overflow-wrap: anywhere; }
|
|
.reorg-samples, .reorg-kept { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
|
|
.reorg-samples { color: var(--text-muted); }
|
|
.reorg-kept { color: var(--warning); }
|
|
.reorg-preview .table-foot, .plan-preview .table-foot { padding: 8px 12px; border-top: 1px solid var(--stroke); }
|
|
|
|
/* Convert dialog (owner review 2, R7, convert.js): format, JPEG quality and mode side by side (the mode never preselected),
|
|
the dry run's totals and space line, then per sequence the photos converted, those left as they are with why (what
|
|
blocks the whole sequence first, ▲ in the warning colour) and the size before and after. */
|
|
dialog.dialog.convert { width: 960px; }
|
|
.convert-fields { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 32px; }
|
|
.convert-choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
|
|
.convert-choice legend { color: var(--text-muted); padding: 0; margin-block-end: 8px; }
|
|
.convert-choice[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 4px; border-radius: var(--radius); }
|
|
.convert-quality .input { width: 88px; }
|
|
.convert-summary { display: grid; gap: 4px; min-height: 18px; color: var(--text-muted); }
|
|
.convert-space.short { color: var(--error); }
|
|
.convert-next { color: var(--text); }
|
|
.table.convert { grid-template-columns: minmax(140px, 1.3fr) max-content minmax(160px, 1.6fr) max-content; font-size: 12px; }
|
|
.plan-notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; color: var(--text-muted); }
|
|
.plan-notes .blocked { color: var(--warning); }
|
|
|
|
/* Narrow windows: each step's cells one under the other; the column names stay for screen readers. */
|
|
@media (max-width: 700px) {
|
|
.table.reorg, .table.convert { grid-template-columns: minmax(0, 1fr); }
|
|
.table.reorg .thead, .table.convert .thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
.table.convert .end { justify-self: start; }
|
|
}
|
|
|
|
/* About: the last group of Settings (owner review 2); #/about scrolls to it below the sticky header and focuses its heading. */
|
|
.about { scroll-margin-block-start: 84px; }
|
|
.about h2:focus { outline: none; }
|
|
.about .brand { padding: 0; }
|
|
.about dl { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 8px 16px; margin: 0; }
|
|
.about dt { color: var(--text-muted); }
|
|
.about dd { margin: 0; overflow-wrap: anywhere; }
|
|
|
|
/* Login */
|
|
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
|
|
.login form { width: 360px; max-width: 100%; display: grid; gap: 14px; }
|
|
.login .brand { padding: 0 0 8px; }
|
|
.login h1 { font-size: 16px; font-weight: 600; }
|
|
.login label { display: grid; gap: 6px; color: var(--text-muted); }
|
|
.login .row { display: flex; gap: 8px; }
|
|
|
|
/* Windows High Contrast: selection and progress in system colours, since backgrounds and fills are not forced. */
|
|
@media (forced-colors: active) {
|
|
.btn[aria-pressed="true"], .chip[aria-pressed="true"], .nav a[aria-current="page"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
|
|
svg.bar .fill, svg.chart .column { fill: Highlight; }
|
|
svg.bar .track { fill: GrayText; }
|
|
svg.chart .axis { stroke: CanvasText; }
|
|
svg.chart text { fill: CanvasText; }
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.shell { grid-template-columns: minmax(0, 1fr); }
|
|
.sidebar { flex-direction: row; overflow-x: auto; padding: 8px; position: static; height: auto; border-bottom: 1px solid var(--stroke); }
|
|
.main { border-inline-start: 0; }
|
|
.sidebar .brand, .sidebar .user, .sidebar-toggle { display: none; }
|
|
.nav { flex-direction: row; gap: 4px; }
|
|
.nav-group { display: flex; gap: 4px; }
|
|
.nav-group.bottom { margin: 0; margin-inline-start: auto; padding: 0; }
|
|
.nav a > span:not(.badge) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
.header { position: static; flex-wrap: wrap; padding-block: 10px; }
|
|
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.split, .grid.wide-right { grid-template-columns: minmax(0, 1fr); }
|
|
.side { width: auto; }
|
|
.field { grid-template-columns: minmax(0, 1fr); }
|
|
}
|