From c0b33996cd34bbbe2bfa5067df1f35f4f20301e2 Mon Sep 17 00:00:00 2001
From: Reinder Kraaij <kraaij@astron.nl>
Date: Wed, 15 Nov 2023 22:00:04 +0100
Subject: [PATCH] Normalize Black to #212121 . Better for the eyes

---
 SAS/TMSS/frontend/tmss_webapp/src/layout/sass/_timeline.scss    | 2 +-
 .../src/routes/Timeline/helpers/timeline.renderer.helper.js     | 1 -
 .../src/routes/Timeline/helpers/toolbar/filters.helper.js       | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/SAS/TMSS/frontend/tmss_webapp/src/layout/sass/_timeline.scss b/SAS/TMSS/frontend/tmss_webapp/src/layout/sass/_timeline.scss
index 2a2741b88de..315816cdfc2 100644
--- a/SAS/TMSS/frontend/tmss_webapp/src/layout/sass/_timeline.scss
+++ b/SAS/TMSS/frontend/tmss_webapp/src/layout/sass/_timeline.scss
@@ -620,7 +620,7 @@ $vh: 1vh;
 }
 
 .reserve-not-available {
-  background-color: black;
+  background-color: #212121;
   color: white;
 }
 
diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/timeline.renderer.helper.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/timeline.renderer.helper.js
index 612aa7b63dd..604e6907ea9 100644
--- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/timeline.renderer.helper.js
+++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/timeline.renderer.helper.js
@@ -32,7 +32,6 @@ function calculatePopPosition(evt) {
     };
 
     if (evt.clientY > window.screen.height / 2) {
-        //   popPosition.bottom = `${evt.clientY - evt.pageY + 30}px`;  
         popPosition.top = `${evt.pageY - 400}px`; // Bottem line position will not work here
     } else {
         popPosition.top = `${evt.pageY}px`;
diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/filters.helper.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/filters.helper.js
index 8b78832f98d..3b118f24db5 100644
--- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/filters.helper.js
+++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/toolbar/filters.helper.js
@@ -275,7 +275,7 @@ export function getReservationTypeColorIndex(schedulability) {
         'fixed_time-dynamic': { bgColor: "lightgrey", color: "#585859" },
         'fixed_time-not_dynamic': { bgColor: '#585859', color: "white" },
         'not_fixed_time-dynamic': { bgColor: "#9b9999", color: "white" },
-        'other': { bgColor: "black", color: "white" }
+        'other': { bgColor: "#212121", color: "white" }
     };
 
     const key =
-- 
GitLab