2026-06-19 11:21:29 -04:00
|
|
|
import { style } from '@vanilla-extract/css';
|
2026-10-19 14:14:26 -04:00
|
|
|
import { config } from 'folds';
|
|
|
|
|
import { SIDE_PANEL_WIDTH } from '../../styles/sidePanel';
|
2026-06-19 11:21:29 -04:00
|
|
|
|
2026-10-19 14:14:26 -04:00
|
|
|
// Mirrors MembersDrawer: a side panel (shared width) on desktop that becomes a
|
2026-06-19 11:21:29 -04:00
|
|
|
// full-screen fixed panel on narrow viewports — the app's canonical drawer.
|
|
|
|
|
export const BookmarksPanel = style({
|
2026-10-19 14:14:26 -04:00
|
|
|
width: SIDE_PANEL_WIDTH,
|
2026-06-19 11:21:29 -04:00
|
|
|
'@media': {
|
|
|
|
|
'(max-width: 750px)': {
|
|
|
|
|
position: 'fixed',
|
|
|
|
|
inset: 0,
|
|
|
|
|
width: '100%',
|
|
|
|
|
zIndex: 500,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const BookmarksHeader = style({
|
|
|
|
|
flexShrink: 0,
|
|
|
|
|
padding: `0 ${config.space.S200} 0 ${config.space.S300}`,
|
|
|
|
|
borderBottomWidth: config.borderWidth.B300,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const BookmarksToolbar = style({
|
|
|
|
|
flexShrink: 0,
|
|
|
|
|
padding: config.space.S200,
|
|
|
|
|
borderBottomWidth: config.borderWidth.B300,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const BookmarksContent = style({
|
|
|
|
|
padding: config.space.S200,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export const BookmarkPreview = style({
|
|
|
|
|
width: '100%',
|
|
|
|
|
display: '-webkit-box',
|
|
|
|
|
WebkitLineClamp: 2,
|
|
|
|
|
WebkitBoxOrient: 'vertical',
|
|
|
|
|
overflow: 'hidden',
|
|
|
|
|
wordBreak: 'break-word',
|
|
|
|
|
textAlign: 'left',
|
|
|
|
|
});
|