tickets
All repositories: gitoria
4.0 KB
// three-pane.hl — SHELL 3, e.g. an email client: folders, the list of the open folder, the opened item with its own actions// (docs/layouts/three-pane.md).// Phone: the list first (folders = the sidebar overlay from the header's toggle); a tap on an item shows it and the list// goes (`a.back` returns). 60rem+: all three side by side over the full width, each scrolling on its own.//// ThreePane { view = view // 'list' on the folder's route, 'detail' on an item's route// Sidebar { nav { a { href = "/inbox" 'aria-current' = "page" "Inbox" } } }// aside { ul { li { a { href = "/inbox/m1" "Subject" } } } }// main { a { class = "back" href = "/inbox" "Inbox" } menu { li { button { "Reply" } } } article { … } }// }String view = 'list'slot = nullStyle {threePane {display = 'block''> aside' {display = 'block'padding = '.5rem calc(var(--layout-gutter) - .75rem) 2rem'}'> main' {display = 'block'minWidth = '0'padding = '1rem var(--layout-gutter) 3rem''> menu' {position = 'sticky'top = 'var(--layout-header)'zIndex = '2'display = 'flex'flexWrap = 'wrap'gap = '.25rem'margin = '0 0 1.25rem'padding = '.3rem'listStyle = 'none'background = 'var(--color-background-sunken)'borderRadius = 'var(--radius-large)'@media {minWidth = '60rem'top = '0'}}}'a.back' {display = 'inline-flex'alignItems = 'center'minHeight = 'var(--layout-tap)'marginBottom = '1rem'fontWeight = '600'@media {minWidth = '60rem'display = 'none'}}@media {minWidth = '60rem'display = 'grid'gridTemplateColumns = 'var(--layout-sidebar) var(--layout-list) minmax(0, 1fr)'height = 'calc(100dvh - var(--layout-header))''> app-sidebar' {minHeight = '0'overflowY = 'auto'padding = '1rem .75rem 2rem'}}}'three-pane.list' {'> main' { display = 'none' }}'three-pane.detail' {'> aside' { display = 'none' }}// slot content from the caller: nesting refused (hybriel#270)'three-pane > aside ul' {margin = '0'padding = '0'listStyle = 'none'}// slot content from the caller: nesting refused (hybriel#270)'three-pane > aside li' { margin = '0' }// Keep the whole selector for selector list.'three-pane > aside li a,three-pane > aside li > a:first-child' {display = 'flex'flexDirection = 'column'alignItems = 'stretch'justifyContent = 'center'gap = '.1rem'minHeight = 'var(--layout-tap)'padding = '.6rem .75rem'color = 'var(--color-text)'borderRadius = 'var(--radius-small)'}// slot content from the caller: nesting refused (hybriel#270)'three-pane > aside li a' {hover {textDecoration = 'none'background = 'var(--color-surface)'}}// Keep the whole selector for selector list.'three-pane > aside li a.selected,three-pane > aside li a[aria-current="page"]' {color = 'var(--color-text-strong)'background = 'var(--color-surface)'}// Keep the whole selector for selector list.'three-pane > aside input,three-pane > aside select' {width = '100%'background = 'var(--color-background)'}// Keep the whole selector for pseudo-element.'three-pane a.back::before' { content = '"‹ "' }// slot content from the caller: nesting refused (hybriel#270)'three-pane > main > menu li' { margin = '0' }// slot content from the caller: nesting refused (hybriel#270)'three-pane > main > menu button' {padding = '.4rem .7rem'hover { background = 'var(--color-background)' }}@media {minWidth = '60rem'// Keep the whole selector for selector list.'three-pane > aside,three-pane.detail > aside' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1rem .75rem 2rem'background = 'var(--color-background-sunken)'}// Keep the whole selector for selector list.'three-pane > main,three-pane.list > main' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1.5rem clamp(1.5rem, 4vw, 4rem) 3rem'}}}View {threePane { class = view slot }}
Branches
Latest commits
- 772e0696|||PR Allow project admins to move tickets between their projectsmre
- be92a560Merge branch 'records' into mainTickets
- 0daf2ea8|||PR records: PR-only workflow, #50 donemre
- 0185d0b6Log PR 1 deploymre
- f5bf16e2Mission 031: deploy PR 1mre
- c69cd5f3Merge branch 'pr-flow' into mainTickets
- cc56798cLog gitoria PR-only requestmre
- d876d0b2|||PR README: changes land as PRsmre
- fd83ac1fconductor: caramboleyo is the user, not owner/creatorApollo
- 3b858c91Log backup hard-link fixmre
- 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
- e93711d9Log E30 livemre
- 59c02e4dMerge e30: preserve edited state note labels in Markdownmre
- 30970796Log E30 deploy GOmre
- 7c8e6d83Limit edited state note fix to Markdown renderingmre
- 910536d0Log E30 reviewmre
- 36984386Preserve state transitions when their notes are editedmre
- d75cb946Log E30 startmre
- 0bf3fefaMission 030: edited state note labelmre
- 691565c6Log neutral-ticket rule checkmre