QoL 80: tabs along the top of list pages and on record pages darken their text on hover and keyboard focus

This commit is contained in:
johnnyq
2026-11-21 21:38:36 -05:00
parent 78cc187f3b
commit 243a939dd2
2 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -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;