From 8991ab86a5a4cced0be5035854588be895db9c62 Mon Sep 17 00:00:00 2001 From: SimonGschnell Date: Tue, 28 Jan 2025 13:04:43 +0100 Subject: [PATCH] update(fhc-entry css class): instead of hard coding the color the css rules uses the filter:brightness function to highlight or darken elements --- public/css/Cis4/Cis.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/public/css/Cis4/Cis.css b/public/css/Cis4/Cis.css index 74d8648e0..0da74a503 100644 --- a/public/css/Cis4/Cis.css +++ b/public/css/Cis4/Cis.css @@ -484,8 +484,7 @@ html { } .fhc-entry:hover{ - background-color:#005585 !important; - color:white !important; + filter: brightness(120%) !important; } .fhc-entry.btn:focus { @@ -502,8 +501,8 @@ html { transition-timing-function: ease-out,ease-out; } -[selected].fhc-entry { - background-color: #00649C !important; +[selected="true"].fhc-entry { + filter: brightness(120%); } @media screen and ( max-width: 767px ) {