calendar
All repositories: gitoria
2.5 KB
// list-first.hl — SHELL 2, e.g. Notes: the list and the opened item (docs/layouts/list-first.md).// Phone: the list first; a tap on an item opens its page, where only the item shows (with a `a.back` link to the list).// 60rem+: list and item side by side over the full width, each scrolling on its own; `/` shows a welcome text.//// ListFirst { view = view // 'list' on the list's own route, 'detail' on an item's route// aside { ul { li { a { href = "/notes/n1" class = "selected" "Reading list" } } } }// main { a { class = "back" href = "/notes" "All notes" } h1 { "Reading list" } … }// }String view = 'list'slot = nullStyle {'list-first' { display = 'block' }'list-first > aside' { display = 'block' padding = '.5rem calc(var(--layout-gutter) - .75rem) 2rem' }'list-first > main' { display = 'block' minWidth = '0' padding = '1rem var(--layout-gutter) 3rem' }'list-first.list > main' { display = 'none' }'list-first.detail > aside' { display = 'none' }'list-first > aside ul' { margin = '0' padding = '0' listStyle = 'none' }'list-first > aside li' { margin = '0' }'list-first > aside li a,list-first > 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)' }'list-first > aside li a:hover' { textDecoration = 'none' background = 'var(--color-surface)' }'list-first > aside li a.selected,list-first > aside li a[aria-current="page"]' { color = 'var(--color-text-strong)' background = 'var(--color-surface)' }'list-first > aside input,list-first > aside select' { width = '100%' background = 'var(--color-background)' }'list-first a.back' { display = 'inline-flex' alignItems = 'center' minHeight = 'var(--layout-tap)' marginBottom = '1rem' fontWeight = '600' }'list-first a.back::before' { content = '"‹ "' }'@media (min-width: 60rem)' {'list-first' { display = 'grid' gridTemplateColumns = 'var(--layout-list) minmax(0, 1fr)' height = 'calc(100dvh - var(--layout-header))' }'list-first > aside,list-first.detail > aside' { display = 'block' minHeight = '0' overflowY = 'auto' padding = '1rem .75rem 2rem' background = 'var(--color-background-sunken)' }'list-first > main,list-first.list > main' { display = 'block' minHeight = '0' overflowY = 'auto' padding = '1.5rem clamp(1.5rem, 5vw, 5rem) 3rem' }'list-first a.back' { display = 'none' }}}View {listFirst { class = view slot }}
Branches
Latest commits
- b99cce69|||PR Update calendar login and logout through session pushesAtlas
- fff2f537Merge branch 'calendar31-lib' into mainAtlas
- 07cde3dc|||PR keep worker records out of the repo; README vendor is day72Atlas
- a753b0ab|||PR move shared calendar logic to libAtlas
- b32a921dMerge branch 'vendor-day72' into mainAtlas
- 60a0dd19|||PR Hybriel day72 (00c9dbb8) instead of the withdrawn day73Atlas
- 53f5464dMerge branch 'calendar26-day73' into mainAtlas
- 338499ec|||PR Keep reminder settings open during editing and rejected savesAtlas
- ad9e8d59|||PR Use framework page and popover state, Hybriel day73Atlas
- cab224a1Re-vendor calendar to verified Hybriel day73Atlas
- f9b8f918Merge branch 'calendar-vendor-day61' into mainAtlas
- 66341793|||PR Vendor Hybriel day61Atlas
- 36fc596bMerge branch 'vendor-day59' into mainAtlas
- b37cc1da|||PR Vendor Hybriel day59Atlas
- 05665102Merge branch 'vendor-day56' into mainAtlas
- 687296fb|||PR Vendor Hybriel day56Atlas
- a6166d4eMerge branch 'hl-standard-3' into mainAtlas
- 6d0eb3b0|||PR Calendar day add buttons only when signed in (Kunibert minor)Atlas
- add4b499|||PR Make calendar day actions keyboard accessibleAtlas
- 79e49b4dMerge branch 'hl-standard' into mainAtlas