From 328b195127f2f019037eedd29fc97228610d2ad4 Mon Sep 17 00:00:00 2001 From: Scott Pouliot Date: Sun, 10 May 2026 18:05:29 -0400 Subject: [PATCH] Design consistency audit fixes: alerts, cards, dark mode, utilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../Views/Accounts/Create.cshtml | 18 +++--- .../Views/Accounts/Edit.cshtml | 12 ++-- .../Views/Accounts/YearEndClose.cshtml | 8 +-- .../Views/Appointments/Create.cshtml | 8 +-- .../Views/Appointments/Details.cshtml | 6 +- .../Views/Billing/Index.cshtml | 12 ++-- .../Views/Bills/Create.cshtml | 46 +++++++------- src/PowderCoating.Web/Views/Bills/Edit.cshtml | 22 +++---- .../Views/Bills/Index.cshtml | 16 ++--- .../Views/Budgets/Edit.cshtml | 8 +-- .../Views/BugReport/Edit.cshtml | 2 +- .../Views/BugReport/Submit.cshtml | 14 ++--- .../Views/CatalogCategories/Delete.cshtml | 6 +- .../Views/CatalogItems/Delete.cshtml | 4 +- .../Views/Companies/CreateCompanyAdmin.cshtml | 6 +- .../Views/Companies/Details.cshtml | 44 +++++++------- .../Views/Companies/Index.cshtml | 14 ++--- .../Views/CompanyUsers/Create.cshtml | 8 +-- .../Views/CompanyUsers/Edit.cshtml | 10 ++-- .../Views/CompanyUsers/Index.cshtml | 4 +- .../Views/Customers/Delete.cshtml | 6 +- .../Views/Customers/Details.cshtml | 10 ++-- .../Views/Customers/Edit.cshtml | 16 ++--- .../Views/Dashboard/Index.cshtml | 54 ++++++++--------- .../Views/DataPurge/Index.cshtml | 40 ++++++------- .../Views/Diagnostics/Index.cshtml | 22 +++---- .../Views/Diagnostics/ViewLogs.cshtml | 6 +- .../Views/EmailBroadcast/Index.cshtml | 4 +- .../Views/EmailBroadcast/Preview.cshtml | 6 +- .../Views/Expenses/Create.cshtml | 22 +++---- .../Views/Expenses/Edit.cshtml | 18 +++--- .../Views/Expenses/Index.cshtml | 6 +- .../Views/GiftCertificates/Details.cshtml | 2 +- src/PowderCoating.Web/Views/Home/Error.cshtml | 6 +- src/PowderCoating.Web/Views/Home/Index.cshtml | 8 +-- .../Views/Inventory/Delete.cshtml | 6 +- .../Views/Invoices/Details.cshtml | 52 ++++++++-------- .../Views/Invoices/Edit.cshtml | 12 ++-- .../Views/JobTemplates/Edit.cshtml | 6 +- .../Views/Jobs/Create.cshtml | 20 +++---- .../Views/Jobs/Delete.cshtml | 6 +- .../Views/Jobs/Details.cshtml | 4 +- src/PowderCoating.Web/Views/Jobs/Edit.cshtml | 18 +++--- .../Views/Jobs/EditItems.cshtml | 12 ++-- .../Views/Jobs/_CompleteJobModal.cshtml | 10 ++-- .../Views/JobsPriority/Index.cshtml | 20 +++---- .../Views/Maintenance/Create.cshtml | 6 +- .../Views/Maintenance/Delete.cshtml | 6 +- .../Views/Maintenance/Edit.cshtml | 8 +-- .../ManufacturerLookupPatterns/Create.cshtml | 18 +++--- .../ManufacturerLookupPatterns/Edit.cshtml | 18 +++--- .../Views/OvenScheduler/Index.cshtml | 52 ++++++++-------- .../Views/PlatformSubscription/Edit.cshtml | 6 +- .../PlatformUsers/CreateSuperAdmin.cshtml | 4 +- .../Views/PlatformUsers/Details.cshtml | 6 +- .../PlatformUsers/GrantSuperAdmin.cshtml | 6 +- .../Views/PlatformUsers/Index.cshtml | 10 ++-- .../Views/PowderCatalog/_Form.cshtml | 4 +- .../Views/PowderInsights/Index.cshtml | 38 ++++++------ .../Views/Profile/Index.cshtml | 60 +++++++++---------- .../Views/PurchaseOrders/Create.cshtml | 16 ++--- .../Views/PurchaseOrders/Edit.cshtml | 12 ++-- .../Views/PurchaseOrders/Receive.cshtml | 16 ++--- .../Views/QuoteApproval/ApprovalPage.cshtml | 6 +- .../Views/QuoteApproval/ConfirmDetails.cshtml | 4 +- .../Views/Quotes/ConvertToCustomer.cshtml | 4 +- .../Views/Quotes/Create.cshtml | 30 +++++----- .../Views/Quotes/Edit.cshtml | 32 +++++----- .../Views/Registration/Index.cshtml | 6 +- .../Views/Reports/TaxReporting1099.cshtml | 12 ++-- .../Views/SeedData/Index.cshtml | 12 ++-- .../Views/SetupWizard/Complete.cshtml | 6 +- .../Views/StorageMigration/Index.cshtml | 10 ++-- .../Views/StorageMigration/Results.cshtml | 6 +- .../SubscriptionManagement/Manage.cshtml | 26 ++++---- .../Views/TaxRates/Create.cshtml | 4 +- .../Views/TaxRates/Edit.cshtml | 4 +- .../Views/TwoFactorSetup/Setup.cshtml | 6 +- .../Views/Vendors/Delete.cshtml | 8 +-- src/PowderCoating.Web/wwwroot/css/site.css | 42 +++++++++++++ 80 files changed, 603 insertions(+), 561 deletions(-) diff --git a/src/PowderCoating.Web/Views/Accounts/Create.cshtml b/src/PowderCoating.Web/Views/Accounts/Create.cshtml index a68d647..b819cf2 100644 --- a/src/PowderCoating.Web/Views/Accounts/Create.cshtml +++ b/src/PowderCoating.Web/Views/Accounts/Create.cshtml @@ -1,11 +1,11 @@ -@model PowderCoating.Application.DTOs.Accounting.CreateAccountDto +@model PowderCoating.Application.DTOs.Accounting.CreateAccountDto @using PowderCoating.Core.Enums @{ ViewData["Title"] = "New Account"; ViewData["PageIcon"] = "bi-journal-plus"; ViewData["PageHelpTitle"] = "New Account"; - ViewData["PageHelpContent"] = "Add a custom account to the Chart of Accounts. Select a Sub-Type first — it auto-sets the Account Type. Use conventional numbering: 1000s = Assets, 2000s = Liabilities, 3000s = Equity, 4000s = Revenue, 5000s = Cost of Goods, 6000s+ = Expenses."; + ViewData["PageHelpContent"] = "Add a custom account to the Chart of Accounts. Select a Sub-Type first — it auto-sets the Account Type. Use conventional numbering: 1000s = Assets, 2000s = Liabilities, 3000s = Equity, 4000s = Revenue, 5000s = Cost of Goods, 6000s+ = Expenses."; bool isInline = ViewBag.Inline == true; } @@ -22,7 +22,7 @@ }
@Html.AntiForgeryToken() -
+
@@ -70,7 +70,7 @@ @@ -152,7 +152,7 @@ - +