From 7d2218705a0332e11d2299c40f69f2a134d0f689 Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Thu, 12 Dec 2024 22:11:49 +0100 Subject: [PATCH] Fix timeline selection overlay time / hover line in High Contrast Mode (#5247) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Nazım Can Altınova --- src/components/timeline/Selection.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/components/timeline/Selection.css b/src/components/timeline/Selection.css index 5950001ff6..b92c5f20dd 100644 --- a/src/components/timeline/Selection.css +++ b/src/components/timeline/Selection.css @@ -171,3 +171,14 @@ .timelineSelectionOverlayZoomButton:active:hover { background-color: rgb(160 160 160 / 0.6); } + +@media (forced-colors: active) { + .timelineSelectionOverlayTime { + background-color: CanvasText; + color: Canvas; + } + + .timelineSelectionHoverLine { + background-color: CanvasText; + } +}