gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmain5d144817Merge branch 'records-t40' into mainTicketsmain/lib/looks.hl

1.3 KB

  1. // lib/looks.hl — the bodies of the rules that more than one component needs (the message lines, the hint, the notice, the ticket rows).
  2. // A component's Style {} can only name its OWN rules (Style.pMessage in the View needs `pMessage` in that file's Style), so each
  3. // component lists the rule and takes the body from here: one place for the look, no copy of the declarations.
  4. static hintLook = { margin = '0' fontSize = '.875rem' }
  5. static messageLook = { margin = '0' minHeight = '1.5em' color = 'var(--color-danger)' }
  6. static noticeLook = { margin = '0' color = 'var(--color-success)' }
  7. // the ticket rows (the ticket list and /inbox): the list, its rows, the subject link
  8. static ticketsLook = { listStyle = 'none' margin = '0' padding = '0' display = 'grid' gap = '.5rem'
  9. li { display = 'grid' gridTemplateColumns = 'minmax(0, 1fr)' gap = '.3rem' padding = '.7rem .8rem' background = 'var(--color-surface)' borderRadius = 'var(--radius-large)'
  10. ticketState { justifySelf = 'start' }
  11. }
  12. }
  13. // the number stands in front of the subject on its first line and never wraps (it was a flex item that shrank: "# / 2 / 6" on the phone)
  14. static subjectLook = { minWidth = 'var(--layout-tap)' minHeight = 'var(--layout-tap)' display = 'flex' alignItems = 'baseline' paddingBlock = '.5rem' color = 'var(--color-text-strong)' fontWeight = '600' overflowWrap = 'anywhere' }

Branches

Latest commits

  • 5d144817Merge branch 'records-t40' into mainTickets
  • 44ee6f06|||PR records: #43 #45 livemre
  • b8fdeee9Merge branch 'p39-routes' into mainTickets
  • a0187a0a|||PR Remove redundant route-order loopmre
  • 369e4b9cMerge branch 'k40-lists' into mainTickets
  • 9af8e780|||PR Use keyed list mutations for live ticket updatesmre
  • 610d8e8aMerge branch 'records-t39' into mainTickets
  • 32bcdf24|||PR records: GO P39 K40mre
  • 4123c6d1Merge branch 'records-t38' into mainTickets
  • cd3641a1|||PR records: day72 deploy live, tickets closedmre
  • 7d44d852Merge branch 'records-t37' into mainTickets
  • 926f7061|||PR records: merges, D36 deploymre
  • bf58534eMerge branch 'l33-final' into mainTickets
  • 759a9ac3|||PR thin login (tickets#46, #45): merge main, route entry cleanupmre
  • 239436d8Merge remote-tracking branch 'origin/main' into l33-finalmre
  • 5822cb3aMerge branch 'o34-clean' into mainTickets
  • 0870653c|||PR offline note from __hlOnline, no polling (tickets#41)mre
  • 14cf96b4Merge branch 'records-t36' into mainTickets
  • 07749fa1|||PR records: day72 + #40 mergedmre
  • ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre