Reorganizes and optimizes shared CSS components

Consolidates UI components into a centralized components.css file
Removes duplicate styles across multiple CSS files
Adds utility classes in a new utilities.css file
Reduces overall CSS complexity and improves maintainability

Removes quick-stats.css and redistributes its styles
Updates layout and stylesheet references accordingly
This commit is contained in:
Janus C. H. Knudsen 2026-01-13 00:09:46 +01:00
parent 15579acba8
commit 2e6207bb0b
33 changed files with 971 additions and 796 deletions

View file

@ -1,7 +1,5 @@
<swp-card>
<swp-card-header>
<swp-card-title localize="cash.approval.title">Afslut dagen</swp-card-title>
</swp-card-header>
<swp-section-label localize="cash.approval.title">Afslut dagen</swp-section-label>
<swp-card-content>
<swp-approval-grid>
<swp-form-field>

View file

@ -1,7 +1,5 @@
<swp-card>
<swp-card-header>
<swp-card-title localize="cash.balance.title">Kontanter i kassen</swp-card-title>
</swp-card-header>
<swp-section-label localize="cash.balance.title">Kontanter i kassen</swp-section-label>
<swp-card-content>
<swp-calc-row>
<swp-calc-label>

View file

@ -1,7 +1,5 @@
<swp-card>
<swp-card-header>
<swp-card-title localize="cash.period.title">Periodeoplysninger</swp-card-title>
</swp-card-header>
<swp-section-label localize="cash.period.title">Periodeoplysninger</swp-section-label>
<swp-card-content>
<swp-period-display>
<swp-period-label localize="cash.period.dateRange">Periode</swp-period-label>

View file

@ -1,8 +1,5 @@
<swp-card>
<swp-card-header>
<swp-card-title localize="cash.revenue.title">Periodens omsætning</swp-card-title>
<swp-card-action localize="cash.revenue.subtitle">Systemtal vs. kontrol</swp-card-action>
</swp-card-header>
<swp-section-label localize="cash.revenue.title">Periodens omsætning</swp-section-label>
<swp-card-content>
<swp-data-table>
<swp-data-header>

View file

@ -1,7 +1,5 @@
<swp-card>
<swp-card-header>
<swp-card-title localize="cash.note.title">Note til afstemning</swp-card-title>
</swp-card-header>
<swp-section-label localize="cash.note.title">Note til afstemning</swp-section-label>
<swp-card-content>
<swp-note-field>
<textarea placeholder="Beskriv evt. årsag til difference..."></textarea>