From 75b2c6e6991bb4abab86cae264b811da3fa33169 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 27 Jan 2026 13:52:57 -0600 Subject: [PATCH] Update modals and remaining UI components in Campaigns - Update UploadProofModal with new design system colors - Update LoadingCell progress bar to active-blue - Update DeleteConfirmationModal with pill buttons and rounded corners - Update CampaignDeleteConfirmationModal styling - Apply consistent border radius (10px) to all modals - Update drag & drop zone colors to use success theme Co-Authored-By: Claude Opus 4.5 --- frontend/components/Campaigns.tsx | 156 +++++++++++++++--------------- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/frontend/components/Campaigns.tsx b/frontend/components/Campaigns.tsx index f05f9e7..3b44df4 100755 --- a/frontend/components/Campaigns.tsx +++ b/frontend/components/Campaigns.tsx @@ -616,38 +616,38 @@ const UploadProofModal: React.FC<{ return (
- - -
+ +
{/* Header */} -
+
- -

Drag and drop your asset below to start AI analysis.

+ +

Drag and drop your asset below to start AI analysis.

-
- + {/* Content */}
{/* Proof Name */}
- +
- +
setProofName(e.target.value)} placeholder="e.g., Q4 Hero Instagram Post" disabled={isLoading} - className="w-full rounded-xl border-gray-300 shadow-sm focus:border-brand-accent focus:ring-brand-accent p-3 pl-10 bg-white transition-all text-gray-900" + className="w-full rounded-[10px] border-2 border-grey-700 shadow-sm focus:border-active-blue focus:ring-active-blue p-3 pl-10 bg-white transition-all text-black-title" required />
{isNewVersion && ( -

- +

+ A proof with this name already exists. This will be uploaded as a new version.

)} @@ -671,73 +671,73 @@ const UploadProofModal: React.FC<{ {/* Dropdowns Grid */}
- +
- +
-
+
- +
- +
- +
-
+
- +
-
+
@@ -746,45 +746,45 @@ const UploadProofModal: React.FC<{ {/* Drag & Drop Zone */}
- -
Proof File +
-
{!file ? ( <> -
+
-
- Click to upload or drag and drop +
+ Click to upload or drag and drop
-

SVG, PNG, JPG or GIF (max. 800x400px)

+

SVG, PNG, JPG or GIF (max. 800x400px)

) : ( <> -
+
-
+
{file.name}
-

Ready for analysis

+

Ready for analysis

)}
@@ -794,19 +794,19 @@ const UploadProofModal: React.FC<{
{/* Footer */} -
- - @@ -912,11 +912,11 @@ const CampaignDeleteConfirmationModal: React.FC<{ role="dialog" >
e.stopPropagation()} > -

Confirm Deletion

-

+

Confirm Deletion

+

{isBulk ? ( <>Are you sure you want to permanently delete {selectedCount} selected campaign{selectedCount !== 1 ? 's' : ''}? All associated proofs will also be deleted. This action cannot be undone. ) : ( @@ -927,14 +927,14 @@ const CampaignDeleteConfirmationModal: React.FC<{