gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchreconnect-retryac6f4c6fL2: plain declaration for a in pickedNextmrereconnect-retry/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

  • ac6f4c6fL2: plain declaration for a in pickedNextmre
  • 2f335086Review round 2: only an explicit queue pick drops pend (not the automatic advance); jb23 records every source changemre
  • 3eb6695fReview fixes: action generation, queue pick clears pend, Previous/Next retry the decided request, typed handlersmre
  • 7a53c0c2|||PR A tap lost to a dead socket plays after reconnect (mission 015)mre
  • 04f5d9d5Merge branch 'day41' into mainJukebox
  • 8ed6da45|||PR README: media-player pin df9e7dfmre
  • d5d45fc3|||PR media-player df9e7df (repeat-one fix), sync pin and SOURCEmre
  • 89cdabb1Vendor Hybriel day41 (57054d9e): plugin dirs, set .somre
  • 1fecd6a7Merge branch 'records-day39' into mainJukebox
  • d6b3e068|||PR Records: day39 live (PR #2), mission 011 PR step, statusmre
  • 5fa19e89Merge branch 'day39' into mainJukebox
  • cfe95440|||PR day39 re-vendor: Hybriel 51e921d7 (bin 6b481aa7), ids kebab-case since hybriel#256: quoted state rule and tests use jb-shuffle / jb-repeatmre
  • f3614c9bRe-vendor to Hybriel day39 (51e921d7, bin 6b481aa7)mre
  • 9f5c6532Merge branch 'status-22-pr' into mainJukebox
  • 5838d6c7|||PR STATUS: #22 pending decision, PR-only rulemre
  • 29d2029cRecords: PR-only rule (Kunibert)mre
  • adacb0abRecords: neutral ticket rule, #22 decision recordedmre
  • b2d6f121Records: #308 hold liftedmre
  • 7ab67533Records: day39 on hold (hybriel#308)mre
  • 22f21739Records: note rebase before mergemre