/* Colors */ :root { --ink: #1a2748; --muted: #5a6b92; --line: #e6eaf2; --line-strong: #dce8fc; --surface: #ffffff; --tint: #f3f7fe; --canvas: #f7f9fc; --accent: #3858e9; --focus: #7db6ff; --shadow: rgb(7 32 76 / 0.04); } /* The files beside the pages */ .layout { display: grid; grid-template-columns: 220px 1fr; gap: 14px; } .files { display: flex; flex-direction: column; height: 420px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 1px 2px var(--shadow); overflow: hidden; } .files-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--line); } .files-title { margin: 0; font-size: 13px; font-weight: 650; color: var(--ink); } .empty { margin: 0; padding: 18px 14px; font-size: 12.5px; color: var(--muted); } /* One row per file: its name and size save it; a file still being added is faded */ .list { margin: 0; padding: 6px; list-style: none; overflow-y: auto; } .row { display: flex; align-items: center; border-radius: 8px; } .row:hover { background: var(--tint); } .row[data-pending] { opacity: 0.55; } .row-name { display: flex; flex: 1; flex-direction: column; min-width: 0; font: inherit; font-size: 13px; text-align: start; color: var(--ink); background: none; border: 0; padding: 6px 10px; cursor: pointer; } .row-name bdi { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .row-size { font-size: 11.5px; color: var(--muted); } .row-remove { font: inherit; font-size: 16px; line-height: 1; color: var(--muted); background: none; border: 0; border-radius: 6px; padding: 4px 8px; cursor: pointer; opacity: 0; } .row:hover .row-remove, .row-remove:focus-visible { opacity: 1; } .row-remove:hover { color: var(--ink); background: var(--line); } .button { font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; cursor: pointer; box-shadow: 0 1px 2px var(--shadow); } .button.primary { color: #ffffff; background: var(--accent); border-color: var(--accent); } .button:focus-within, .row-name:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; } .button[data-disabled], .row-name:disabled, .row-remove:disabled { opacity: 0.45; cursor: not-allowed; } /* The pages */ .stage { height: 420px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); box-shadow: 0 1px 2px var(--shadow), 0 18px 40px -28px rgb(7 32 76 / 0.28); } .loading { margin: 0; padding: 24px 0; text-align: center; font-size: 13px; color: var(--muted); }