style: flatten past ordered items

This commit is contained in:
Kantine Wrapper
2026-03-06 08:41:06 +01:00
parent a5fe50bbf0
commit ad660799ec
7 changed files with 29 additions and 36 deletions

View File

@@ -875,17 +875,7 @@ body {
filter: grayscale(0.4);
}
/* Enhancements for ordered items */
.menu-card.past-day .menu-item.ordered {
/* No opacity/filter here - fully visible */
background: var(--bg-card);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border-radius: 8px;
padding: 1rem;
margin: 0 -1rem 1.5rem -1rem;
position: relative;
z-index: 10;
}
/* Past ordered items get no special frame or shadow, but remain visually distinct by staying fully opaque (via the :not(.ordered) selector above) */
.menu-item.today-ordered {
border: 2px solid #8b5cf6;