Add visual hint for filtered out rows in firewall pane

Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/2632
This commit is contained in:
Raymond Hill 2023-07-22 09:11:23 -04:00
parent 873c9181df
commit c74fc6460e
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 6 additions and 2 deletions

View File

@ -430,7 +430,11 @@ body.needSave #revertRules {
#firewall.hideBlocked > div:not([data-des="*"]).is3p.blocked, #firewall.hideBlocked > div:not([data-des="*"]).is3p.blocked,
#firewall.hideAllowed > div:not([data-des="*"]).is3p.totalAllowed, #firewall.hideAllowed > div:not([data-des="*"]).is3p.totalAllowed,
#firewall.hideAllowed > div:not([data-des="*"]).is3p.allowed { #firewall.hideAllowed > div:not([data-des="*"]).is3p.allowed {
display: none; color: transparent;
max-height: 4px;
overflow-y: hidden;
pointer-events: none;
user-select: none;
} }
#firewall > div.isCname > span:first-of-type { #firewall > div.isCname > span:first-of-type {
color: var(--popup-cell-cname-ink); color: var(--popup-cell-cname-ink);
@ -467,8 +471,8 @@ body.needSave #revertRules {
pointer-events: auto; pointer-events: auto;
} }
#firewall > div.isDomain.hasSubdomains > span:first-of-type > span::before { #firewall > div.isDomain.hasSubdomains > span:first-of-type > span::before {
color: var(--ink-3);
content: '\2026\A0'; content: '\2026\A0';
opacity: 0.6;
} }
#firewall > div[data-des="*"] > span:nth-of-type(3), #firewall > div[data-des="*"] > span:nth-of-type(3),
#firewall > div.isSubdomain > span:nth-of-type(3), #firewall > div.isSubdomain > span:nth-of-type(3),