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.
This commit is contained in:
skomerko 2024-08-25 09:29:05 +02:00 committed by GitHub
parent 7ab4758279
commit 58eab8d453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View file

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

View file

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