jukebox
All repositories: gitoria
1.7 KB
// components/styles.hl — the app's own CSS that belongs to no component: the WorldAPI theme (theme/theme.hl, copied verbatim from layouts.worldapi.org; never edited here)// and the app accent. Every component carries its own styles in a Style {} block in its own file (main.hl: the shell, the screen frame, the player bar and the overlay;// songs.hl: the toolbar and the count line; album.hl: the album and artist head; artist.hl: the tabs; search.hl: the artist and album hits). No plain page element is styled here.inherit '../theme/theme.hl'import { var } from 'hl:web/css'import { yellow } from '../shared/tokens.hl'colorAccent = var(yellow)// Route-parameter Style startup gap: retained here as documented in reports/ST1.jbTabs {display = 'flex'gap = '.4rem'paddingBottom = '.25rem'// Keep the quoted class selector and its original specificity.'button.on' {color = 'var(--color-accent-text)'background = 'var(--color-accent)'}}jbHead {display = 'block'padding = '.25rem .6rem .75rem'h1 {margin = '0'fontSize = '1.3rem'}p {margin = '.1rem 0 0'color = 'var(--color-text-muted)'}img {display = 'block'width = 'min(100%, 18rem)'aspectRatio = '1 / 1'margin = '0 auto .75rem'objectFit = 'cover'borderRadius = 'var(--radius-large)'background = 'var(--color-surface)'}// Keep the quoted class selector and its original specificity.'.jb-nocover' {display = 'block'width = 'min(100%, 18rem)'aspectRatio = '1 / 1'margin = '0 auto .75rem'objectFit = 'cover'borderRadius = 'var(--radius-large)'background = 'var(--color-surface)'}button {minHeight = '2.25rem'padding = '.2rem .9rem'margin = '.5rem 0 0'}}// Keep the quoted class selector and its original specificity.'jb-head.jb-album' { textAlign = 'center' }
Branches
Latest commits
- 61c40127Mission 008: #19 + #21mre
- 6dcaeb46Records: resetKey planmre
- c5dbf2ecRecords: R2 resultmre
- 956069b8Records: R1 result, mission 007mre
- 3c8a2e12Mission 007: #20 sort scrollmre
- deb8cef5Records: mission 006 startedmre
- 4f0ad42fMission 006: jukebox#20mre
- 800cae06Records: #21 planmre
- 64bc7823Records: #21 causemre
- 76639655Records: B1 questionmre
- d7906b36Records: mission 005 startedmre
- d3df773cMission 005: doc linemre
- 6a5d840aMission 005: jukebox#22mre
- 13e5e748Records: mission 004 startedmre
- a8098271Mission 004: jukebox#21mre
- df8f5205Records: jukebox#19-21, #11 closedmre
- b7a4e692Records: hybriel#298mre
- 9bcbb017Records: day38b waits for day39 fixmre
- f80504e1Records: day38b repro sentmre
- 8048258bRecords: day38b jb3 regression, L1 Chromes stoppedmre