From 6ddb83a90333de3aa1e52f2bef98379a91e0be15 Mon Sep 17 00:00:00 2001 From: elvira Date: Tue, 3 Nov 2026 18:27:43 +0200 Subject: [PATCH] Feat: Add confirmation address icons and update checkout button copy Co-Authored-By: Claude Opus 5.5 --- resources/css/checkout.css | 51 +++++++++++++++---- .../components/address-lines.blade.php | 10 +++- .../views/checkout/confirmation.blade.php | 10 +++- .../checkout/partials/cart-line.blade.php | 2 +- .../Seeders/CheckoutTranslationsSeeder.php | 4 +- 5 files changed, 60 insertions(+), 17 deletions(-) diff --git a/resources/css/checkout.css b/resources/css/checkout.css index 13642a3..954c058 100644 --- a/resources/css/checkout.css +++ b/resources/css/checkout.css @@ -59,13 +59,17 @@ --bbk-radius-sm: 4px; --bbk-shadow: 0 12px 32px rgba(0, 0, 0, 0.16); - /* Icons are used as CSS masks filled with currentColor, so they follow - the element's colour (hover, theme). Swap one by pointing the variable - at any single-colour SVG — the shape is what counts, not its fill: + /* Icons (.bbk-icon) are CSS masks filled with currentColor, so they + follow the element's colour (hover, theme). Swap one by pointing its + variable at any single-colour SVG — the shape is what counts, not its + fill: :root { --bbk-icon-remove: url("/images/icons/bin.svg"); } */ --bbk-icon-remove: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6M10 11v6M14 11v6'/%3E%3C/svg%3E"); + --bbk-icon-shipping: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7z'/%3E%3Ccircle cx='7' cy='17.5' r='1.75'/%3E%3Ccircle cx='17' cy='17.5' r='1.75'/%3E%3C/svg%3E"); + --bbk-icon-billing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14v18l-2.33-1.5L14.33 21 12 19.5 9.67 21l-2.34-1.5L5 21z'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h3'/%3E%3C/svg%3E"); + --bbk-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h3.5l1.5 4.5-2.25 1.5a11 11 0 0 0 7.25 7.25L16.5 14l4.5 1.5V19a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); } .bbk-cart[hidden] { display: none; } @@ -167,6 +171,24 @@ .bbk-cart-heading:focus, .bbk-checkout-summary-heading:focus { outline: none; } +/* Generic masked icon: `