forked from jappel/leistungsbilanz-ts
Give cards the surface look of the PM app
Cards had a 3px petrol bar on the top edge, and Bootstrap's shadow-sm class overrode their own shadow with !important. They now use the PM app surface: a 1px border all around, a 16px radius and a soft diffuse shadow with a faint inner highlight, with a stronger shadow and a weaker highlight in dark mode. The shadow-sm classes are removed from the cards so the shared rule applies. Menus, drawers and dialogs keep their shadows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
2e3e85a8e5
commit
51cbab1750
5 changed files with 30 additions and 12 deletions
|
|
@ -171,6 +171,10 @@ Support Ctrl+Plus and Ctrl+Shift+Plus for insertion.
|
|||
|
||||
Bootstrap may be used for the general application UI, such as navigation, page layout, buttons, forms, cards, alerts and modals.
|
||||
|
||||
Cards follow the PM app look: 1px border all around, 16px radius and the
|
||||
soft shadow defined on `.card` in `globals.css` (own dark-mode value). Do
|
||||
not add Bootstrap `shadow-*` classes or a colored top border to cards.
|
||||
|
||||
Do not use Bootstrap as the core table/grid framework for the circuit list editor.
|
||||
|
||||
The circuit list editor must remain a custom spreadsheet-like component with controlled cell selection, inline edit mode, row grouping, drag-and-drop indicators and keyboard behavior.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue