From 75ce40635736260ce5a19b7a33856305ee516ccc Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 9 May 2026 01:19:08 -0700 Subject: Simplify pantry UX and persist grocery check state server-side - Remove quantity, unit, expiry, and category fields from pantry form; auto-detect category via keyword map - Persist grocery item checked/unchecked state in DB via PATCH /api/grocery/{id}/check-item - Fix unchecking: previously bailed early and never removed the checked class - Fix NOT NULL constraint on ingredients.unit by defaulting to empty string Co-Authored-By: Claude Sonnet 4.6 --- static/style.css | 9 --------- 1 file changed, 9 deletions(-) (limited to 'static/style.css') diff --git a/static/style.css b/static/style.css index 4cc033b..c530839 100644 --- a/static/style.css +++ b/static/style.css @@ -324,15 +324,6 @@ tbody tr:hover { background-color: rgba(108, 99, 255, 0.1); } -tbody tr.expiry-danger { - background-color: rgba(239, 68, 68, 0.1); - border-left: 3px solid var(--danger); -} - -tbody tr.expiry-warn { - background-color: rgba(245, 158, 11, 0.1); - border-left: 3px solid var(--warning); -} /* ── Cards ──────────────────────────────────────────────────────────────── */ .card { -- cgit v1.3-2-g0d8e