From 9e238efb5b1adab779f7d535df33e8e48387e62c Mon Sep 17 00:00:00 2001 From: Min Ji Choi Date: Wed, 2 Oct 2024 10:18:02 -0700 Subject: [PATCH] DBC22-2880: Fix for faulty colour variable association --- src/frontend/src/Components/cameras/CameraCard.scss | 2 +- src/frontend/src/Components/map/panels/index.scss | 2 +- src/frontend/src/pages/CameraDetailsPage.scss | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/Components/cameras/CameraCard.scss b/src/frontend/src/Components/cameras/CameraCard.scss index 2f3c6880c..c03262a28 100644 --- a/src/frontend/src/Components/cameras/CameraCard.scss +++ b/src/frontend/src/Components/cameras/CameraCard.scss @@ -25,7 +25,7 @@ &.unavailable { .card-img-box { - background-color: $Error; + background-color: $Surface-major; padding: 12px; } .card-notification { diff --git a/src/frontend/src/Components/map/panels/index.scss b/src/frontend/src/Components/map/panels/index.scss index b914d70b6..08fb9e910 100644 --- a/src/frontend/src/Components/map/panels/index.scss +++ b/src/frontend/src/Components/map/panels/index.scss @@ -92,7 +92,7 @@ } .camera-unavailable { - background-color: $Error; + background-color: $Surface-major; padding: 1rem; min-height: 225px; font-size: 1rem; diff --git a/src/frontend/src/pages/CameraDetailsPage.scss b/src/frontend/src/pages/CameraDetailsPage.scss index a8f51a151..580579e3f 100644 --- a/src/frontend/src/pages/CameraDetailsPage.scss +++ b/src/frontend/src/pages/CameraDetailsPage.scss @@ -161,7 +161,7 @@ } &.unavailable { - background-color: $Error; + background-color: $Surface-major; border-color: $Error; p, ul, svg { @@ -267,7 +267,7 @@ height: 388px; &.unavailable { - background-color: $Error; + background-color: $Surface-major; color: $Error; font-size: 6.875rem; display: flex;