gitoria
All repositories: gitoria
1.5 KB
// content-first.hl — SHELL 1, the regular app: a sidebar and the main content (docs/layouts/content-first.md).// Phone: the main content; the sidebar is the overlay the header's toggle opens. 60rem+: sidebar and main side by side,// both inside the centred content column (--layout-column) the header's contents are flush with.//// ContentFirst {// Sidebar { nav { a { href = "/" "Home" } } }// main { h1 { "Title" } p { "…" } }// }//// Without a Sidebar, or with `Sidebar { desktop = "false" }`, main takes the whole column on desktop.slot = nullStyle {contentFirst {display = 'block'paddingInline = 'max(var(--layout-gutter), calc((100% - var(--layout-column)) / 2))'paddingTop = '1rem'paddingBottom = '3rem'@media {minWidth = '60rem'display = 'grid'gridTemplateColumns = 'var(--layout-sidebar) minmax(0, 1fr)'gap = '3rem'alignItems = 'start'paddingTop = '1.5rem'}}// Keep the whole selector for :has condition.'content-first:not(:has(> app-sidebar:not(.mobile-only)))' {@media {minWidth = '60rem'gridTemplateColumns = 'minmax(0, 1fr)'}}// Caller slot content is unknown here, so its selectors must be whole.'content-first > main' {display = 'block'minWidth = '0'}@media {minWidth = '60rem''content-first > app-sidebar' {position = 'sticky'top = 'calc(var(--layout-header) + 1.5rem)'maxHeight = 'calc(100dvh - var(--layout-header) - 3rem)'overflowY = 'auto'marginLeft = '-.75rem'}}}View {contentFirst { 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
- c4f6d9e3reports: G25c growth huntmre
- b88e39f1log: privacy cleanup donemre
- bfd7826ddocs: neutral example organisation namemre
- 01b71c2edocs: neutral wording in missions, reports and logmre
- 3eeea733log: 2026-11-09 PR flow plan and membersmre
- e7c2ff1fdocs: neutral name for the apps-api reviewmre
- 120b7abdlog: step 3 queuedmre
- 358474bflog: P50 livemre
- 477d7bdcMerge branch 'p50'mre
- 00efc06fP50 reportmre
- e3f85afblog: commit mention slipmre
- 4d1a4cf4log: #25 numbersmre
- 1af0a60ddocs: H25 run() correctionmre
- eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre
- 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