layouts
All repositories: gitoria
3.5 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'// No language form for the existing class or attribute compound.'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))'}}// No language form for direct-child combinator.'list-first > aside' {display = 'block'padding = '.5rem calc(var(--layout-gutter) - .75rem) 2rem'}// No language form for direct-child combinator.'list-first > main' {display = 'block'minWidth = '0'padding = '1rem var(--layout-gutter) 3rem'}// No language form for direct-child combinator, class on the component root.'list-first.list > main' { display = 'none' }// No language form for direct-child combinator, class on the component root.'list-first.detail > aside' { display = 'none' }// No language form for direct-child combinator.'list-first > aside ul' {margin = '0'padding = '0'listStyle = 'none'}// No language form for direct-child combinator.'list-first > aside li' { margin = '0' }// No language form for selector list, direct-child combinator.'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)'}// No language form for direct-child combinator.'list-first > aside li a' {hover {textDecoration = 'none'background = 'var(--color-surface)'}}// No language form for selector list, direct-child combinator.'list-first > aside li a.selected,list-first > aside li a[aria-current="page"]' {color = 'var(--color-text-strong)'background = 'var(--color-surface)'}// No language form for selector list, direct-child combinator.'list-first > aside input,list-first > aside select' {width = '100%'background = 'var(--color-background)'}// No language form for pseudo-element.'list-first a.back::before' { content = '"‹ "' }@media {minWidth = '60rem'// No language form for selector list, direct-child combinator.'list-first > aside,list-first.detail > aside' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1rem .75rem 2rem'background = 'var(--color-background-sunken)'}// No language form for selector list, direct-child combinator.'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
- 4d58708cthree-pane: format Style with nested rules and bare mediamre
- 0bbfc553main-menu: format Style with nested rules and bare mediamre
- 7755199dlist-first: format Style with nested rules and bare mediamre
- 35199303content-first: format Style with nested rules and bare mediamre
- 00f6e698app-sidebar: format Style with nested rules and bare mediamre
- bb2f29c9app-header: format Style with nested rules and bare mediamre
- 3aca2d7fSync components from 8176eb1 with reviewed nested stylesmre
- 87e4003dRe-vendor layouts to Hybriel set day35mre
- d8628cfflayouts: a startup error prints its message before exit 1 (hybriel#247)mre
- 180fd76elayouts: MdEditor from components 59704ce (text on the clipboard always pastes, a file manager copy still attaches; pipe rows; empty Table-button table; tickets#49, notes#5)mre
- a3eda8afRe-vendor Hybriel master 7a684920 (binary 74ab3715): plugins whole, startup fault exits 1; files-upload gate 340/0mre
- 025d5880WIP re-vendor Hybriel set-day27b (a9712e61, master f5ff97bf): plugins whole, startup fault exits 1; NOT deployable: files-upload emit refused (see .scratch/rv27-upload)mre
- 42183a71Merge sb3-standby: layouts deploys through its standbymre
- 408de1f2layouts: no jobs switch needed in the standbymre
- 0b85f57elayouts: a standby container (port 45019, profile standby); deploy hands over through standby-swap.sh without a gapmre
- 31e40b8bMerge dm3-media: range handling in the layouts media routemre
- 856dcacbLayouts media route: read suffix ranges and ignore range lists and garbage, like the components route (the layouts copy still answered 416 for the last bytes)mre
- ad5056eaMerge dm3-sync: components re-sync to c2834ddmre
- 740e2abeRe-sync the components copy to c2834dd: media player fixes (state after a queue pick, cover-less audio, accessibility labels)mre
- 7fe103bbMerge mp-player: the media player showcase pagemre