Files
immich-folio/app/admin/styles/drawer-live-preview.css
Ralksta c3f92ca4ec release: v0.15.0 (#585)
Eighteen changes since v0.14.0. See CHANGELOG.md for the full list and the upgrade notes (bump IMAGE_CACHE_VERSION).
2026-09-19 22:24:10 +02:00

35 lines
1.1 KiB
CSS

/* The read-only Live Preview tab inside the subpage drawer. */
/* Split out of admin.css (#533). Loaded from admin.css in a fixed order —
later sheets override earlier ones, so the order there is the cascade. */
/* ── Drawer Live Preview ────────────────────────────────────── */
/* Only the frame is admin styling. Everything inside the canvas is the public
page's own markup, styled by globals.css and the preset — so nothing here
may target the subpage-* classes. */
.subpage-preview {
display: flex;
flex-direction: column;
gap: 0.75rem;
padding: 0.5rem 0;
}
.subpage-preview__note {
margin: 0;
font-size: 0.75rem;
color: var(--admin-text-muted);
}
.subpage-preview__frame {
border: 1px solid var(--admin-border);
border-radius: 10px;
overflow: hidden;
}
/* The site's own page surface, as <body> paints it. */
.subpage-preview__canvas {
background: var(--bg-primary);
color: var(--text-primary);
font-family: var(--font-sans);
line-height: 1.6;
}