import { style } from '@vanilla-extract/css'; import { color, config, toRem } from 'folds'; // Right-side drawer DOCKED into the room layout row (a flex sibling of the // timeline), exactly like MembersDrawer — not a floating overlay. 320px is a // little wider than the 266px member/bookmark drawers because it hosts a media // grid. On narrow viewports it becomes a full-screen fixed panel, matching the // app's other drawers. export const MediaGalleryDrawer = style({ width: toRem(320), overflow: 'hidden', '@media': { '(max-width: 750px)': { position: 'fixed', inset: 0, width: '100%', zIndex: 500, }, }, }); export const MediaGalleryHeader = style({ flexShrink: 0, padding: `0 ${config.space.S200} 0 ${config.space.S300}`, borderBottomWidth: config.borderWidth.B300, }); export const MediaGalleryTabs = style({ flexShrink: 0, padding: config.space.S200, gap: config.space.S100, borderBottomWidth: config.borderWidth.B300, borderBottomStyle: 'solid', borderBottomColor: color.Background.ContainerLine, }); export const MediaGalleryContent = style({ padding: config.space.S200, }); export const MediaGalleryGroup = style({ marginBottom: config.space.S300, }); export const MediaGalleryGroupLabel = style({ padding: `${config.space.S200} ${config.space.S100}`, }); export const MediaGalleryGrid = style({ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: config.space.S100, }); // Wraps a tile + its floating download button so the download control is a // sibling of the tile