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
- 4b54f6f9Merge branch 'records-audit' into mainTracker
- cab4a3bc|||PR records: branch audit, PR-onlyTracker
- 641e1c4cMerge branch 'records-dp71' into mainTracker
- 85a6e9f5|||PR records: DP71 checked in ChromeTracker
- f5be5f18records: gitoria PR-only planTracker
- 46a37036records: DP71 liveTracker
- 3bcb7039Status/log: DP71 in progressTracker
- 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
- 783957c2Merge branch 'sr1-search' into mainTracker
- 792b9652README: search results come from the routeTracker
- fd8570b1|||PR search: one server exchange per keystrokeTracker
- e8f5cbcaLog: SR1 result, SR1bTracker
- 8ad275a4Log/status: tracker 68, SR1Tracker
- f5a06a0fLog: gitoria push setup, SR1Tracker
- d6b109baMission SR1mre
- 608b7558Log: FF1 merged via PR #1mre
- 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker
- c934361a|||PR tests: gates fail fast when the app exits during startmre
- d714ae42Log/status: AP56 closed out, FF1mre
- a429d088Mission FF1mre