From f68297e1b4536728432b72b7c63042b0a5360d4d Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Thu, 7 May 2026 09:03:20 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20contrast=20ratio=20per=20accessibilit?= =?UTF-8?q?=C3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/account.php | 4 ++-- src/admin/index.php | 2 +- src/admin/manageOrders.php | 2 +- src/admin/manageProducts.php | 2 +- src/admin/manageUsers.php | 2 +- src/assets/style.css | 22 +++++++++++----------- src/cart.php | 2 +- src/checkout.php | 8 ++++---- src/index.php | 4 ++-- src/orders.php | 2 +- src/product.php | 4 ++-- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/account.php b/src/account.php index 45edd2d..6273b8a 100644 --- a/src/account.php +++ b/src/account.php @@ -34,7 +34,7 @@ if ($result === false) { Benvenuto, - + @@ -54,7 +54,7 @@ if ($result === false) {

Account di

Nome completo:


- Modifica password + Modifica password Elimina account

diff --git a/src/admin/index.php b/src/admin/index.php index cae9cb4..bdd7d69 100644 --- a/src/admin/index.php +++ b/src/admin/index.php @@ -73,7 +73,7 @@ if ($result_total_products) { Benvenuto, - + diff --git a/src/admin/manageOrders.php b/src/admin/manageOrders.php index cd087d6..f7d7808 100644 --- a/src/admin/manageOrders.php +++ b/src/admin/manageOrders.php @@ -88,7 +88,7 @@ if ($result === false) { Benvenuto, - + diff --git a/src/admin/manageProducts.php b/src/admin/manageProducts.php index b886971..e0301cc 100644 --- a/src/admin/manageProducts.php +++ b/src/admin/manageProducts.php @@ -147,7 +147,7 @@ $stmt_prod->close(); Benvenuto, - + diff --git a/src/admin/manageUsers.php b/src/admin/manageUsers.php index 153a6d9..be7b822 100644 --- a/src/admin/manageUsers.php +++ b/src/admin/manageUsers.php @@ -93,7 +93,7 @@ if ($result === false) { Benvenuto, - + diff --git a/src/assets/style.css b/src/assets/style.css index 55778bd..9711b23 100644 --- a/src/assets/style.css +++ b/src/assets/style.css @@ -190,7 +190,7 @@ header span { } .product-card button { padding: 8px 16px; - background-color: #007bff; + background-color: #1c71d8; color: white; border: none; border-radius: 4px; @@ -360,7 +360,7 @@ form button:hover { } .checkout-btn { padding: 10px 20px; - background-color: #28a745; + background-color: #1d8033; color: white; border: none; border-radius: 4px; @@ -401,7 +401,7 @@ form button:hover { } .my-sidebar a { - color: #007bff; + color: #1c71d8; text-decoration: none; } @@ -472,7 +472,7 @@ form button:hover { .toggle-button { padding: 10px 16px; - background-color: #17a2b8; + background-color: #117281; color: #fff; border: none; border-radius: 4px; @@ -517,7 +517,7 @@ form button:hover { height: 32px; border: none; border-radius: 4px; - background-color: #007bff; + background-color: #1c71d8; color: #fff; cursor: pointer; } @@ -594,7 +594,7 @@ form button:hover { } .admin-stat-products { - border-color: #17a2b8; + border-color: #117281; background-color: #e9f7fb; } @@ -649,7 +649,7 @@ form button:hover { } .status-completed { - background-color: #28a745; + background-color: #1d8033; color: white; } @@ -748,7 +748,7 @@ form button:hover { /* Stili per btn-reset */ .btn-reset { - background-color: #17a2b8; + background-color: #117281; color: white; border: none; border-radius: 4px; @@ -1068,7 +1068,7 @@ header button { margin-left: 0 !important; margin-right: 5px !important; padding: 8px 12px !important; - background-color: #007bff !important; + background-color: #1c71d8 !important; color: white !important; border: none !important; border-radius: 4px !important; @@ -1082,8 +1082,8 @@ header a:has(button[style*="#dc3545"]) button { } header a[href*="login"] button, -header a:has(button[style*="#28a745"]) button { - background-color: #28a745 !important; +header a:has(button[style*="#1d8033"]) button { + background-color: #1d8033 !important; } header button:hover { diff --git a/src/cart.php b/src/cart.php index 7512e42..a21ad75 100644 --- a/src/cart.php +++ b/src/cart.php @@ -25,7 +25,7 @@ session_start(); Benvenuto, - + diff --git a/src/checkout.php b/src/checkout.php index 3cdf27b..8497484 100644 --- a/src/checkout.php +++ b/src/checkout.php @@ -134,22 +134,22 @@ $conn->close(); Benvenuto, - +
-

Ordine confermato!

+

Ordine confermato!

Il tuo ordine è stato elaborato con successo.

Numero ordine: #

Totale:

- +

Errore nell'ordine

- +
diff --git a/src/index.php b/src/index.php index afd9905..10f91dc 100644 --- a/src/index.php +++ b/src/index.php @@ -34,7 +34,7 @@ if ($result === false) { Benvenuto, - + @@ -43,7 +43,7 @@ if ($result === false) {
fetch_assoc()): ?>
-
Immagine prodotto
+
Immagine di <?php echo htmlspecialchars($row['ProductName']); ?>

" . htmlspecialchars($row['ProductName']) . ""; ?>

0): ?> diff --git a/src/orders.php b/src/orders.php index 73625a6..636d918 100644 --- a/src/orders.php +++ b/src/orders.php @@ -50,7 +50,7 @@ if (!$result) { Benvenuto, - +
diff --git a/src/product.php b/src/product.php index 05e7b38..15cbb65 100644 --- a/src/product.php +++ b/src/product.php @@ -45,7 +45,7 @@ if ($stmt = $conn->prepare($sql)) { Benvenuto, - +
@@ -60,7 +60,7 @@ if ($stmt = $conn->prepare($sql)) {

Prezzo:

Quantità disponibile:

0): ?> - +