tracker
All repositories: gitoria
3.1 KB
// components/franchisewidget.hl — THE FRANCHISE WIDGET on a show / movie page (tracker.worldapi.org#19, mission 066), composed// by components/show.hl: `FranchiseWidget { widgets = … }` (franchises.hl widgetsOf). One per timeline the title is in://// Star Trek ← the franchise (only when the timeline has one) → its index// ‹ Prequel | Star Trek — Prime | Sequel › ← links to the title before / after this one; an end is greyed out//// The timeline's name links to /timelines/<slug>. Each side shows the title it leads to under the word.widgets = []// HM49: component rules keep the existing selectors and shared theme variables.Style {franchiseWidgets {display = 'block'margin = '0'@media {minWidth = '40rem'margin = '.5rem 0'}}'franchise-widgets:not(:has(franchise-widget))' {display = 'none'}franchiseWidget {display = 'block'padding = '.5rem .6rem'marginBottom = '.5rem'background = 'var(--color-surface)'borderRadius = 'var(--radius-large)'}aFwFranchise {display = 'block'padding = '.8rem 0'marginBottom = '0'fontSize = '.8rem'fontWeight = '600'letterSpacing = '.04em'textTransform = 'uppercase'textAlign = 'center'}fwRow {display = 'grid'gridTemplateColumns = 'minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr)'alignItems = 'center'gap = '.5rem'@media {minWidth = '40rem'gridTemplateColumns = 'minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr)'}}fwSide {display = 'flex'flexDirection = 'column'justifyContent = 'center'minHeight = '2.75rem'minWidth = '0'color = 'var(--color-accent)'}fwNext {alignItems = 'flex-end'textAlign = 'right'}'.fw-side.off' {color = 'var(--color-text-muted)'opacity = '.5'}'a.fw-side' {hover {textDecoration = 'none'fwDir {textDecoration = 'underline'}}}fwDir {fontWeight = '600'whiteSpace = 'nowrap'}fwTitle {fontSize = '.8rem'color = 'var(--color-text-muted)'whiteSpace = 'nowrap'overflow = 'hidden'textOverflow = 'ellipsis'maxWidth = '100%'}aFwTimeline {minWidth = '0'fontWeight = '600'color = 'var(--color-text-strong)'textAlign = 'center'overflowWrap = 'anywhere'padding = '0 .4rem'}}View {franchiseWidgets {for (w of widgets) {franchiseWidget { "data-timeline" = w.idif (w.hasFranchise) { a { Style.aFwFranchise href = w.franchiseHref w.franchiseName } }fwRow {if (w.hasPrev) {a { Style.fwSide class = "fw-prev" href = w.prevHref title = w.prevTitlefwDir { "‹ Prequel" }fwTitle { w.prevTitle }}}if (w.noPrev) { span { Style.fwSide class = "fw-prev off" "aria-disabled" = "true" fwDir { "‹ Prequel" } } }a { Style.aFwTimeline href = w.href w.name }if (w.hasNext) {a { Style.fwSide Style.fwNext href = w.nextHref title = w.nextTitlefwDir { "Sequel ›" }fwTitle { w.nextTitle }}}if (w.noNext) { span { Style.fwSide Style.fwNext class = "off" "aria-disabled" = "true" fwDir { "Sequel ›" } } }}}}}}
Branches
Latest commits
- 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
- b1496147Merge branch 'ap61' into mainTracker
- 2047955bMerge branch 'u12-gateports' into mainTracker
- c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker
- 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
- 0b86324aMerge branch 'records-dp73' into mainTracker
- 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
- 613ae0ecMerge branch 'bs3' into mainTracker
- 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
- 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
- 310613f1Merge branch 'records-dp72' into mainTracker
- 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
- c41587d2Merge branch 'bs2' into mainTracker
- 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
- 019d5cedMerge branch 'records-1110' into mainTracker
- f88ae8b9|||PR records: day56 toggle live, reviewTracker
- b6b3bb4dMerge branch 'ap56e' into mainTracker
- 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
- 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
- 4b54f6f9Merge branch 'records-audit' into mainTracker