gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita3cd5329a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmrea3cd5329/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

  • a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
  • 6f6e5797Tickets conductor: STATUS wordingmre
  • 957de51fTickets conductor: T36 live, #36 review, #50 donemre
  • bc2fde32Merge branch 'main' into t36-stylemre
  • b7ca093atests: wait for the new row and normalize editor marker spacesmre
  • 41da3525Tickets conductor: flake cause, T36 deploy stepmre
  • 64c477e6Tickets conductor: deploy waits for Arachnemre
  • 467d7286Tickets conductor: T36 done, deploy questionmre
  • fed5ca81ticket_list: remove repeated selected-state coloursmre
  • 8542fc8aTickets conductor: T36 proof reviewedmre
  • 35980936inbox: preserve desktop columns after list styles were scopedmre
  • 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
  • c077a5cbstyles: format Style with nested language rulesmre
  • ccdde2beticket: format Style with nested language rulesmre
  • d083535bticket_list: nest Style rules and bare media queriesmre
  • c24608ebmarkdown: format Style with nested language rulesmre
  • de964b3bsettings: format Style with nested language rulesmre
  • 03c1de05new_project: format Style with nested language rulesmre
  • bd76cfa6connect: format Style with nested language rulesmre
  • 01fad593inbox: format Style with nested language rulesmre