Files
litterbox/app/static/css
BlackSnufkin f0ab1323a5 Unify UI design system and rewrite the downloadable report
Visual unification:
- New :root design tokens + .lb-* component classes in style.css
  (cards, buttons, badges, section headers, hash display, empty
  state, animated grid backdrop, critical-state pulse).
- holygrail.html and byovd_info.html lose their cyber-themed inline
  <style> blocks (567 + 164 lines) and the cyber-card / cyber-chip /
  cyber-button / verdict-* classes; both pages now draw from the
  shared lb-* vocabulary. The cyber-glow accent is preserved but
  applied only on critical/severe states instead of page-wide.
- Templates swept to use component classes: file_info, summary,
  results, dynamic_info, static_info, doppelganger, error, upload,
  partials/_macros. JS renderers in results/tools.js,
  results/renderers.js, and the holygrail/byovd/upload core.js
  modules updated to emit the new classes. Risk-level 4-way
  conditional in file_info.html collapsed to a single
  lb-badge-{{ risk_level|lower }} lookup.
- Bug fix: duplicate .logo-wrapper rule in style.css merged.

Self-contained report (report.html rewritten):
- Drops the https://cdn.tailwindcss.com runtime-JIT dependency and
  the inline tailwind.config script. No <script> tags anywhere.
- All CSS inlined in a single <style> block: design tokens, the
  subset of lb-* component classes the report uses, and only the
  layout rules the report itself needs.
- Hand-written typography and layout: tabular-numeric risk scores,
  restrained pill badges, severity-coded detection chips,
  generous whitespace, dedicated @media print.
- Status icons use locked SVG dimensions so the green checkmark on
  clean scans no longer renders at default-huge size.
- The LitterBox logo is embedded as a base64 PNG data URI so the
  brand strip displays correctly when the file is downloaded and
  opened offline. Logo sized at 64x64 in the brand strip.

CHANGELOG.md: v4.2.0 entry extended with "UI design system &
visual unification" and "Fully self-contained downloadable report"
sections.

No backend or API changes. Setup story unchanged. No new
dependencies; deploy stays Python-only with the precompiled
tailwind.min.css.
2026-04-27 07:50:55 -07:00
..
2025-01-11 06:17:59 -08:00