tracker
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
- 85153900AP52: re-vendor Hybriel set day52 (source 77cfca31, bin 0a8ed496)mre
- 7c051eddLog: hybriel#338 answermre
- d049b8b8Log: HM50 live, #52 donemre
- 6d05fa37Log: HM50 Part A mergedmre
- 1c7dab74HM50: the shell reads the framework's online state, netProbe removed (tracker#55)mre
- e8b91697HM50: search address follows the text via navigate(path, replace = true) (tracker#52)mre
- 6fe1896cHM50: re-vendor Hybriel set day50 (source 0ae38232, bin d3ef9d16)mre
- 2f391aa9Log: HM50 startedmre
- 4b59c03dHM50 mission: doc pathmre
- ed526d67HM50 missionmre
- 2f986ca3Log: RT50 passmre
- 1c4715a4RT50 mission: day50 repro retestmre
- 57d1c0dcLog: day50 retest requestmre
- 60b1f419Log: Anton #336 result, wake checkmre
- 919a18aalog: scratchmre
- 6b504440status tidymre
- 9332bd10log: DP70 livemre
- be11daa0DP70 brief fixmre
- 886a7028DP70 brief, HM67 mergedmre
- b41cdd6dMerge hm67-searchids: packed search IDsmre