gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitecd7e226ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mreecd7e226/theme/shell/content-first.hl

1.4 KB

  1. // content-first.hl — SHELL 1, the regular app: a sidebar and the main content (docs/layouts/content-first.md).
  2. // Phone: the main content; the sidebar is the overlay the header's toggle opens. 60rem+: sidebar and main side by side,
  3. // both inside the centred content column (--layout-column) the header's contents are flush with.
  4. //
  5. // ContentFirst {
  6. // Sidebar { nav { a { href = "/" "Home" } } }
  7. // main { h1 { "Title" } p { "…" } }
  8. // }
  9. //
  10. // Without a Sidebar, or with `Sidebar { desktop = "false" }`, main takes the whole column on desktop.
  11. slot = null
  12. Style {
  13. contentFirst {
  14. display = 'block'
  15. paddingInline = 'max(var(--layout-gutter), calc((100% - var(--layout-column)) / 2))'
  16. paddingTop = '1rem'
  17. paddingBottom = '3rem'
  18. '> main' {
  19. display = 'block'
  20. minWidth = '0'
  21. }
  22. @media {
  23. minWidth = '60rem'
  24. display = 'grid'
  25. gridTemplateColumns = 'var(--layout-sidebar) minmax(0, 1fr)'
  26. gap = '3rem'
  27. alignItems = 'start'
  28. paddingTop = '1.5rem'
  29. '> app-sidebar' {
  30. position = 'sticky'
  31. top = 'calc(var(--layout-header) + 1.5rem)'
  32. maxHeight = 'calc(100dvh - var(--layout-header) - 3rem)'
  33. overflowY = 'auto'
  34. marginLeft = '-.75rem'
  35. }
  36. }
  37. }
  38. // Keep the whole selector for :has condition.
  39. 'content-first:not(:has(> app-sidebar:not(.mobile-only)))' {
  40. @media {
  41. minWidth = '60rem'
  42. gridTemplateColumns = 'minmax(0, 1fr)'
  43. }
  44. }
  45. }
  46. View {
  47. contentFirst { slot }
  48. }

Branches

Latest commits

  • ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre
  • 6dea1c60Merge branch 'r35-day72' into mainTickets
  • 7bcfdc22|||PR drop worker edits to conductor recordsmre
  • 2617b6ee|||PR dialogs: host flag cleared on close, dialog gate (tickets#40)mre
  • 6e701371|||PR record partial day72 dialog validationmre
  • b9fb9a91|||PR bind ticket dialog visibility to member flagsmre
  • 0788e65f|||PR re-vendor Hybriel day72mre
  • e2a6bdcfMerge branch 'records-t35' into mainTickets
  • d8d54df1|||PR records: R35 day72 + #40mre
  • 8a7f475aMerge branch 'records-t33' into mainTickets
  • e685d0c2|||PR records: PROCEDURES merge callmre
  • b42aff2b|||PR records: GO 2026-11-23, workers L33 O34, PROCEDURES.mdmre
  • ed091d44Merge branch 'records' into mainTickets
  • 180c0cdb|||PR records: ticket move live (M32), hybriel#439mre
  • 497cae7bMerge branch 'm32-move' into mainTickets
  • 772e0696|||PR Allow project admins to move tickets between their projectsmre
  • be92a560Merge branch 'records' into mainTickets
  • 0daf2ea8|||PR records: PR-only workflow, #50 donemre
  • 0185d0b6Log PR 1 deploymre
  • f5bf16e2Mission 031: deploy PR 1mre