gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchday39cfe95440|||PR day39 re-vendor: Hybriel 51e921d7 (bin 6b481aa7), ids kebab-case since hybriel#256: quoted state rule and tests use jb-shuffle / jb-repeatmreday39/components/styles.hl

1.7 KB

  1. // 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)
  2. // 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;
  3. // 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.
  4. inherit '../theme/theme.hl'
  5. import { var } from 'hl:web/css'
  6. import { yellow } from '../shared/tokens.hl'
  7. colorAccent = var(yellow)
  8. // Route-parameter Style startup gap: retained here as documented in reports/ST1.
  9. jbTabs {
  10. display = 'flex'
  11. gap = '.4rem'
  12. paddingBottom = '.25rem'
  13. // Keep the quoted class selector and its original specificity.
  14. 'button.on' {
  15. color = 'var(--color-accent-text)'
  16. background = 'var(--color-accent)'
  17. }
  18. }
  19. jbHead {
  20. display = 'block'
  21. padding = '.25rem .6rem .75rem'
  22. h1 {
  23. margin = '0'
  24. fontSize = '1.3rem'
  25. }
  26. p {
  27. margin = '.1rem 0 0'
  28. color = 'var(--color-text-muted)'
  29. }
  30. img {
  31. display = 'block'
  32. width = 'min(100%, 18rem)'
  33. aspectRatio = '1 / 1'
  34. margin = '0 auto .75rem'
  35. objectFit = 'cover'
  36. borderRadius = 'var(--radius-large)'
  37. background = 'var(--color-surface)'
  38. }
  39. // Keep the quoted class selector and its original specificity.
  40. '.jb-nocover' {
  41. display = 'block'
  42. width = 'min(100%, 18rem)'
  43. aspectRatio = '1 / 1'
  44. margin = '0 auto .75rem'
  45. objectFit = 'cover'
  46. borderRadius = 'var(--radius-large)'
  47. background = 'var(--color-surface)'
  48. }
  49. button {
  50. minHeight = '2.25rem'
  51. padding = '.2rem .9rem'
  52. margin = '.5rem 0 0'
  53. }
  54. }
  55. // Keep the quoted class selector and its original specificity.
  56. 'jb-head.jb-album' { textAlign = 'center' }

Branches

Latest commits

  • cfe95440|||PR day39 re-vendor: Hybriel 51e921d7 (bin 6b481aa7), ids kebab-case since hybriel#256: quoted state rule and tests use jb-shuffle / jb-repeatmre
  • f3614c9bRe-vendor to Hybriel day39 (51e921d7, bin 6b481aa7)mre
  • 9f5c6532Merge branch 'status-22-pr' into mainJukebox
  • 5838d6c7|||PR STATUS: #22 pending decision, PR-only rulemre
  • 29d2029cRecords: PR-only rule (Kunibert)mre
  • adacb0abRecords: neutral ticket rule, #22 decision recordedmre
  • b2d6f121Records: #308 hold liftedmre
  • 7ab67533Records: day39 on hold (hybriel#308)mre
  • 22f21739Records: note rebase before mergemre
  • f7368ea3Records: mission 011 day39, waits for lisbethmre
  • 9515d2cdRecords: jb20 livemre
  • 019f6601ui gate: comment names the open bug components#27 (workaround, not fixed)mre
  • 277a2722README: provenance linemre
  • 4169ca6aREADME: sync pinmre
  • a01f3aa8ui gate: back to the top before the sort checks (the screen reopens where it was left)mre
  • f7936c20Lists keep their scroll position across a reload (jukebox#20): per-list offsets in storage/ui.json, gate jb20mre
  • d67906devirtual-list and icons from components.hybriel e5b98ec (centerId, scrollTop, onScroll)mre
  • df7920ceRecords: R3 startedmre
  • 0549f038Mission 010: jb20 livemre
  • 273494e2STATUS rewrittenmre