gitoria
All repositories: gitoria
3.7 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'@media {minWidth = '60rem'display = 'grid'gridTemplateColumns = 'var(--layout-sidebar) var(--layout-list) minmax(0, 1fr)'height = 'calc(100dvh - var(--layout-header))'}}// 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)'}// 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 = '"‹ "'}@media {minWidth = '60rem''three-pane > aside,three-pane.detail > aside' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1rem .75rem 2rem'background = 'var(--color-background-sunken)'}'three-pane > main,three-pane.list > main' {display = 'block'minHeight = '0'overflowY = 'auto'padding = '1.5rem clamp(1.5rem, 4vw, 4rem) 3rem'}}// Caller slot content is unknown here, so its selectors must be whole.'three-pane > aside' {display = 'block'padding = '.5rem calc(var(--layout-gutter) - .75rem) 2rem'}'three-pane > aside ul' {margin = '0'padding = '0'listStyle = 'none'}'three-pane > aside li' {margin = '0'}'three-pane > aside li a:hover' {textDecoration = 'none'background = 'var(--color-surface)'}'three-pane > main' {display = 'block'minWidth = '0'padding = '1rem var(--layout-gutter) 3rem'}'three-pane > main > 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'}}'three-pane > main > menu li' {margin = '0'}'three-pane > main > menu button' {padding = '.4rem .7rem'}'three-pane > main > menu button:hover' {background = 'var(--color-background)'}'three-pane a.back' {display = 'inline-flex'alignItems = 'center'minHeight = 'var(--layout-tap)'marginBottom = '1rem'fontWeight = '600'@media {minWidth = '60rem'display = 'none'}}@media {minWidth = '60rem''three-pane > app-sidebar' {minHeight = '0'overflowY = 'auto'padding = '1rem .75rem 2rem'}}'three-pane.list > main' {display = 'none'}'three-pane.detail > aside' {display = 'none'}}View {threePane { class = view slot }}
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
Latest commits
- e3f85afblog: commit mention slipmre
- 4d1a4cf4log: #25 numbersmre
- 1af0a60ddocs: H25 run() correctionmre
- 8c8ba2f1log: PR flow announcedmre
- fa00cd35log: Kunibert pings provenmre
- 3a68cfaclog: components decisionmre
- 87de8e31log: Kunibert connected to 9 app reposmre
- c22aff69log: PR-only rollout startedmre
- 25309981log: STOP and paused workers 2026-11-08mre
- 5286803alog: worker briefs and reports of 2026-11-08mre
- 85c86605log: 2026-11-08 Arachne on list shapemre
- cb634512log: 2026-11-08 keyed lists livemre
- 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
- 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
- b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
- 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
- f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre
- dc77fb95main: offline note from __hlOnline, tick removed (#29)mre
- 37a86d93tests/reviews: seeded fake hook's DNS failures are not server errors (flaky gate)mre
- 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre