From 58eab8d453cb19a32cda4d71757a8f1400b1e2fd Mon Sep 17 00:00:00 2001 From: skomerko <168652295+skomerko@users.noreply.github.com> Date: Sun, 25 Aug 2024 09:29:05 +0200 Subject: [PATCH] WebUI: Don't apply hover/selection styles to flag, highlighted category icons Related: https://github.com/qbittorrent/qBittorrent/pull/21162#discussion_r1721799836 Fix up: #21162. PR #21236. --- src/webui/www/private/css/dynamicTable.css | 3 +-- src/webui/www/private/css/style.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/webui/www/private/css/dynamicTable.css b/src/webui/www/private/css/dynamicTable.css index f174f81a2..47271a043 100644 --- a/src/webui/www/private/css/dynamicTable.css +++ b/src/webui/www/private/css/dynamicTable.css @@ -52,8 +52,7 @@ tr.dynamicTableHeader { white-space: nowrap; } -.dynamicTable tr.selected img, -.dynamicTable tr:hover img { +.dynamicTable tr:is(:hover, .selected) img:not(.flags) { filter: var(--color-icon-hover); } diff --git a/src/webui/www/private/css/style.css b/src/webui/www/private/css/style.css index c65592950..668e48468 100644 --- a/src/webui/www/private/css/style.css +++ b/src/webui/www/private/css/style.css @@ -251,7 +251,7 @@ a.propButton img { color: var(--color-text-white); } -.contextMenu li a:hover img { +.contextMenu li a:hover img:not(.highlightedCategoryIcon) { filter: var(--color-icon-hover); }