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
- 83f0c953Report person approval verificationmre
- 3ae94b86Record browser failures and verify owned tab cleanupmre
- 54eec687Gate person approvals and merge alternativesmre
- 12b08829Add person approvals for pull request headsmre
- 55c84779Merge branch 'gp-gate-ports' into mainGitoria
- 57af42bbREADME: point to deploy.sh for the port listmre
- d63375d2README: gate commands with explicit portsmre
- feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
- 6cc1f943Merge branch 'records-1112' into mainGitoria
- 9448c438|||PR records: LOG, missions and reports since 11-09mre
- 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
- 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
- 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
- 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria
- 698458e2|||PR No session for cookieless login errors: READMEmre
- cce7b785|||PR No session for cookieless login errorsmre
- 678d6303Merge branch 'v59' into mainGitoria
- 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
- 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
- 26117255|||PR apps API: review comments on files with spaces in their namemre