jukebox
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
- 10f8a8c8Merge branch 'code-order' into mainJukebox
- 204fc828Merge branch 'day72' into mainJukebox
- 95f5faae|||PR jukebox#7 Drop needless let declarationsmre
- 33072bb5|||PR Record day72 gates and Chrome proofmre
- 95f2cd73|||PR Use typed parent methods for screen playback and local server facesmre
- 6422a020Sync media-player at 51c3818mre
- b582ba1cVendor complete Hybriel day72 plugin setmre
- 02dccbc9Merge branch 'records-1119' into mainJukebox
- a39e1c23|||PR Records: missions 013-015, reconnect fix livemre
- fc7db075Merge branch 'reconnect-retry' into mainJukebox
- ac6f4c6fL2: plain declaration for a in pickedNextmre
- 2f335086Review round 2: only an explicit queue pick drops pend (not the automatic advance); jb23 records every source changemre
- 3eb6695fReview fixes: action generation, queue pick clears pend, Previous/Next retry the decided request, typed handlersmre
- 7a53c0c2|||PR A tap lost to a dead socket plays after reconnect (mission 015)mre
- 1f0cd77bMerge branch 'records-day41' into mainJukebox
- 67be229f|||PR Records: day41 live (PR #4), mission 012, statusmre
- 0bb027daconductor: caramboleyo is the user, not owner/creatorApollo
- 04f5d9d5Merge branch 'day41' into mainJukebox
- 8ed6da45|||PR README: media-player pin df9e7dfmre
- d5d45fc3|||PR media-player df9e7df (repeat-one fix), sync pin and SOURCEmre