From 243a939dd24bac48f9eebbbb42850b03b933111a Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 21 Nov 2026 21:38:36 -0500 Subject: [PATCH] QoL 80: tabs along the top of list pages and on record pages darken their text on hover and keyboard focus --- CHANGELOG.md | 1 + css/itflow_custom.css | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb287b800..c1261b509 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - RMM Providers: an answer from the RMM that wasn't a list - an error page sent as a success, or a change to its API - was read as a client with no devices, or an RMM with no clients, and everything in it would have been marked gone. It is now an error, and nothing is changed. - Pickers: as a page loaded, a picker's "nothing" choice showed as "- Anyone -" for a moment before it became "Anyone" - on the tickets list's filters and in pickers across the app and the client portal. It is "Anyone", in its quieter grey, from the start. - Lists: the date filter box - on tickets, invoices, quotes, expenses, the audit log and the rest - was empty as the page loaded, then filled in with All Time or its dates a moment later. It says so from the start. +- Lists: the tabs along the top of the lists - Workstations, Network and Other on the assets list, a ticket's status, Admin > Users and the rest - and the tabs on an asset's, contact's or other record's page didn't change under the pointer. One that isn't picked now darkens its text when you point at it or tab to it. ### Developer Updates diff --git a/css/itflow_custom.css b/css/itflow_custom.css index f2203e9a7..ab9500046 100644 --- a/css/itflow_custom.css +++ b/css/itflow_custom.css @@ -4418,6 +4418,15 @@ tr:hover .itflow-copy, background-color: rgba(255, 255, 255, .25); color: inherit; } +/* The tabs along the top of the lists and on a record's page: one that isn't picked darkens + its text under the pointer or keyboard focus. Their colour is set above, so Bootstrap's own + hover colour never showed. .nav on the pills outranks the greyed text of an empty tab. */ +.itflow-asset-tabs .nav-link:not(.active):hover, +.itflow-asset-tabs .nav-link:not(.active):focus-visible, +.nav.itflow-asset-pills .nav-link:not(.active):hover, +.nav.itflow-asset-pills .nav-link:not(.active):focus-visible { + color: var(--bs-emphasis-color); +} .itflow-asset-pane-bar { display: flex; flex-wrap: wrap;