feat(ui): add elevation system for overlays and modals

- Add 3-level elevation CSS variables to themes.css for all theme variants
- elevation-1: dropdowns, pills (16% in dark mode)
- elevation-2: modals, overlays (20% in dark mode)
- elevation-3: context menus, tooltips (24% in dark mode)
- Update ContextMenu to use elevation-3
- Update Modal to use elevation-2 with theme-aware borders
- Update QuickEventOverlay to use elevation-2 with matching footer
- Update PillTimeRangeSelector dropdown to use elevation-1
- Update ConfirmationModal and FormModal to use theme variables
- Remove shadows from overlay components for cleaner look

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2025-12-13 15:00:33 +01:00
parent 8eb295d491
commit bd89871f8b
7 changed files with 104 additions and 27 deletions

View file

@ -1070,12 +1070,9 @@
position: fixed;
width: 380px;
max-height: 450px;
background: hsl(var(--color-surface-elevated-2));
background: var(--color-surface-elevated-2);
border: 1px solid hsl(var(--color-border));
border-radius: var(--radius-lg);
box-shadow:
0 20px 60px hsl(var(--color-foreground) / 0.2),
0 4px 16px hsl(var(--color-foreground) / 0.1);
z-index: 99999 !important;
display: flex;
flex-direction: column;
@ -1320,14 +1317,17 @@
.overlay-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 0.75rem;
padding: 1rem 1.25rem;
border-top: 1px solid hsl(var(--color-border));
background: hsl(var(--color-surface));
background: var(--color-surface-elevated-2);
flex-shrink: 0;
}
.overlay-actions .btn-primary {
flex: 1;
}
.btn-ghost {
padding: 0.5rem 1rem;
border: none;