tickets
All repositories: gitoria
3.1 KB
// list-first.hl — SHELL 2, e.g. Notes: the list and the opened item (docs/layouts/list-first.md).// Phone: the list first; a tap on an item opens its page, where only the item shows (with a `a.back` link to the list).// 60rem+: list and item side by side over the full width, each scrolling on its own; `/` shows a welcome text.//// ListFirst { view = view // 'list' on the list's own route, 'detail' on an item's route// aside { ul { li { a { href = "/notes/n1" class = "selected" "Reading list" } } } }// main { a { class = "back" href = "/notes" "All notes" } h1 { "Reading list" } … }// }String view = 'list'slot = nullStyle {listFirst {display = 'block''> aside' {display = 'block'padding = '.5rem calc(var(--layout-gutter) - .75rem) 2rem'}'> main' {display = 'block'minWidth = '0'padding = '1rem var(--layout-gutter) 3rem'}'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-list) minmax(0, 1fr)'height = 'calc(100dvh - var(--layout-header))'}}'list-first.list' {'> main' { display = 'none' }}'list-first.detail' {'> aside' { display = 'none' }}// slot content from the caller: nesting refused (hybriel#270)'list-first > aside ul' {margin = '0'padding = '0'listStyle = 'none'}// slot content from the caller: nesting refused (hybriel#270)'list-first > aside li' { margin = '0' }// Keep the whole selector for selector list.'list-first > aside li a,list-first > 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)'list-first > aside li a' {hover {textDecoration = 'none'background = 'var(--color-surface)'}}// Keep the whole selector for selector list.'list-first > aside li a.selected,list-first > aside li a[aria-current="page"]' {color = 'var(--color-text-strong)'background = 'var(--color-surface)'}// Keep the whole selector for selector list.'list-first > aside input,list-first > aside select' {width = '100%'background = 'var(--color-background)'}// Keep the whole selector for pseudo-element.'list-first a.back::before' { content = '"‹ "' }@media {minWidth = '60rem'// Keep the whole selector for selector list.'list-first > aside,list-first.detail > aside' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1rem .75rem 2rem'background = 'var(--color-background-sunken)'}// Keep the whole selector for selector list.'list-first > main,list-first.list > main' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1.5rem clamp(1.5rem, 5vw, 5rem) 3rem'}}}View {listFirst { class = view slot }}
Branches
Latest commits
- 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
- bc3bdecerecords: day38b live, #94 purgedmre
- f6c5aa0dMerge main (records)mre
- e23d42acconnect gate: wait for hydration before clicking Disconnectmre
- a5d45d00records: D38 cause, GOmre
- 19eeb938records: D38 gates, two day38b failuresmre
- f8e42a85Re-vendor tickets to Hybriel set day38b (1e554d7)mre
- 51645016Merge purge-94 (#94, identity rule)mre
- 94d6ca2arecords: D38 startedmre
- 9df09aacmission 029: day38b re-vendor + deploymre
- d2834f65records: #94 backup planmre
- 4467d8cbrecords: #94 purge readymre