gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0a2ae3da0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre0a2ae3da/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

  • 0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre
  • 9a48cfcaMerge branch 'vendor-theme' into mainJukebox
  • 170d3735Merge branch 'code-order-2' into mainJukebox
  • 3f1918a7|||PR Re-sync layouts theme 4099e64 with Segoe UI firstmre
  • 2e7f6a43Vendor virtual-list 489afcf from components.hybrielmre
  • 0ba85799Merge branch 'reset-classes' into mainJukebox
  • 502eeed5jukebox#20: vendor virtual-list initial resetKey baseline fixmre
  • 6d5ce287|||PR jukebox#9 Centralize songs table reads and writes in db.hlmre
  • dcca21abjukebox#8 Move copies and queue logic into their topicsmre
  • 3b76651cjukebox#20: update virtual-list README pin and resetKey optionsmre
  • bc09e1e8|||PR jukebox#20: reset virtual lists through resetKey (partial validation)mre
  • a3796dc5Records: live step waits for idlemre
  • 3b158e16Records: merges of #9 and #11mre
  • 27204167Merge main into records-1123mre
  • 10f8a8c8Merge branch 'code-order' into mainJukebox
  • 204fc828Merge branch 'day72' into mainJukebox
  • 8e8d0e2b|||PR Records: PROCEDURES.md, missions 016-019, GO 2026-11-23mre
  • 95f5faae|||PR jukebox#7 Drop needless let declarationsmre
  • 33072bb5|||PR Record day72 gates and Chrome proofmre
  • 95f2cd73|||PR Use typed parent methods for screen playback and local server facesmre