1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-16 23:42:39 +01:00

Make dynamic filtering visual status color-blind-friendly (closes #1242)

This commit is contained in:
Chris 2015-04-11 23:15:05 -06:00
parent e097d2033b
commit f961cad0f0

View File

@ -105,10 +105,10 @@ p {
#switch .icon {
color: dodgerblue;
cursor: pointer;
font-size:96px;
font-size: 96px;
}
#switch .icon:hover {
opacity: 0.9;
opacity: 0.8;
}
body.off #switch .icon {
color: #ccc;
@ -303,6 +303,30 @@ body.dirty #refresh:hover {
#firewallContainer > div > span.nRule.ownRule {
background-color: rgba(108, 108, 108, 1);
}
#firewallContainer > div > span.aRule:,
#firewallContainer > div > span.bRule,
#firewallContainer > div > span.nRule {
position: relative;
}
#firewallContainer > div > span.aRule:before,
#firewallContainer > div > span.bRule:before,
#firewallContainer > div > span.nRule:before {
top: 0;
left: 0;
right: 0;
text-align: center;
display: block;
opacity: 1;
}
#firewallContainer > div > span.aRule:before {
content: "allow";
}
#firewallContainer > div > span.bRule:before {
content: "block";
}
#firewallContainer > div > span.nRule:before {
content: "no-op";
}
#actionSelector {
bottom: 0;