Design consistency audit fixes: alerts, cards, dark mode, utilities
Alert sweep (113 alerts, 79 files):
All persistent static banners now carry alert-permanent so the
layout's 5-second auto-dismiss cannot swallow guidance, warnings,
or validation errors. Transient dismissible toasts left untouched.
CSS fixes (site.css):
.card.shadow-sm — strips rogue border from ~40 drifted cards
.card-header.bg-white — rebinds to var(--bs-body-bg) so card
headers follow dark/light theme correctly
Typography utilities — .text-2xs (.68rem), .text-xs (.73rem)
Token color classes — .text-ember, .text-ok, .text-bad,
.text-warn, .text-cool, .bg-paper-2
Layout utilities — .mw-xs/sm/md/lg replace inline max-width
Comment — documents text-ember vs text-primary intent
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@model List<PowderCoating.Core.Entities.Company>
|
||||
@model List<PowderCoating.Core.Entities.Company>
|
||||
@{
|
||||
ViewData["Title"] = "Seed Data Management";
|
||||
ViewData["PageIcon"] = "bi-database-fill-gear";
|
||||
@@ -98,7 +98,7 @@
|
||||
<li><strong>Default Company:</strong> Demo Company (DEMO)</li>
|
||||
<li><strong>SuperAdmin User:</strong> artemis@("@")powdercoatinglogix.com</li>
|
||||
</ul>
|
||||
<div class="alert alert-info">
|
||||
<div class="alert alert-info alert-permanent">
|
||||
<i class="bi bi-info-circle-fill me-2"></i>
|
||||
<strong>Note:</strong> This operation is idempotent. If data already exists, it will be skipped.
|
||||
</div>
|
||||
@@ -125,14 +125,14 @@
|
||||
<li><strong>Operating Costs:</strong> Default labor, equipment, and overhead rates</li>
|
||||
<li><strong>Demo Users:</strong> Company Admin and Manager (only for Demo Company)</li>
|
||||
</ul>
|
||||
<div class="alert alert-info mb-3">
|
||||
<div class="alert alert-info alert-permanent mb-3">
|
||||
<i class="bi bi-info-circle-fill me-2"></i>
|
||||
<strong>Note:</strong> Select a company below to seed demo data. Existing data will not be overwritten.
|
||||
</div>
|
||||
|
||||
@if (Model == null || !Model.Any())
|
||||
{
|
||||
<div class="alert alert-warning">
|
||||
<div class="alert alert-warning alert-permanent">
|
||||
<i class="bi bi-exclamation-triangle-fill me-2"></i>
|
||||
No companies found. Please seed system data first to create the default company.
|
||||
</div>
|
||||
@@ -196,7 +196,7 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!-- Mobile card view — shown on screens < 992px -->
|
||||
<!-- Mobile card view — shown on screens < 992px -->
|
||||
<div class="mobile-card-view d-lg-none">
|
||||
<div class="mobile-card-list">
|
||||
@foreach (var company in Model)
|
||||
@@ -357,7 +357,7 @@
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="alert alert-warning mt-3 mb-0">
|
||||
<div class="alert alert-warning alert-permanent mt-3 mb-0">
|
||||
<i class="bi bi-exclamation-triangle-fill me-2"></i>
|
||||
<strong>This action permanently deletes records and cannot be undone.</strong>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user