diff options
author | gorhill <rhill@raymondhill.net> | 2014-12-31 17:26:17 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2014-12-31 17:26:17 -0500 |
commit | 3c941f8309c56287092b2422c1197f0fbd30f687 (patch) | |
tree | dd3a379989edd175e11e449829cd34b2561bc82e /src/css | |
parent | ceaf920cffacb3b611179a185d76faff075b1d58 (diff) | |
download | uBlock-3c941f8309c56287092b2422c1197f0fbd30f687.zip uBlock-3c941f8309c56287092b2422c1197f0fbd30f687.tar.gz uBlock-3c941f8309c56287092b2422c1197f0fbd30f687.tar.bz2 |
another round of work re dynamic filtering
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/1p-filters.css | 2 | ||||
-rw-r--r-- | src/css/dyna-rules.css | 13 | ||||
-rw-r--r-- | src/css/popup.css | 17 | ||||
-rw-r--r-- | src/css/whitelist.css | 2 |
4 files changed, 25 insertions, 9 deletions
diff --git a/src/css/1p-filters.css b/src/css/1p-filters.css index 8413e6b..0556221 100644 --- a/src/css/1p-filters.css +++ b/src/css/1p-filters.css @@ -5,7 +5,7 @@ div > p:last-child { margin-bottom: 0; } .userFilters { - font-size: smaller; + font-size: small; width: 48em; height: 40em; white-space: pre; diff --git a/src/css/dyna-rules.css b/src/css/dyna-rules.css new file mode 100644 index 0000000..5273afe --- /dev/null +++ b/src/css/dyna-rules.css @@ -0,0 +1,13 @@ +div > p:first-child { + margin-top: 0; + } +div > p:last-child { + margin-bottom: 0; + } +#rulesEditor { + font-size: small; + width: 48em; + height: 40em; + white-space: pre; + text-align: left; + } diff --git a/src/css/popup.css b/src/css/popup.css index b41bd6e..e47b021 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -168,6 +168,9 @@ body.dynamicFilteringEnabled #dynamicFilteringContainer > div:hover { padding: 4px 0; text-align: center; } +#dynamicFilteringContainer > div.isDomain { + margin-top: 2px; + } #dynamicFilteringContainer > div > span { background-color: transparent; border: none; @@ -204,28 +207,28 @@ body.dynamicFilteringEnabled #dynamicFilteringContainer > div > span { #dynamicFilteringContainer > div.isDomain > span:nth-of-type(1) { font-weight: bold; } -body.dynamicFilteringEnabled #dynamicFilteringContainer > div > span:nth-of-type(3) { +#dynamicFilteringContainer > div > span:nth-of-type(3) { color: #666; pointer-events: auto; } -#dynamicFilteringContainer span.aRule { +#dynamicFilteringContainer > div > span.aRule { background-color: rgba(0, 160, 0, 0.3); } -#dynamicFilteringContainer span.bRule { +#dynamicFilteringContainer > div > span.bRule { background-color: rgba(192, 0, 0, 0.3); } -#dynamicFilteringContainer span.nRule { +#dynamicFilteringContainer > div > span.nRule { background-color: rgba(96, 96, 96, 0.3); } -#dynamicFilteringContainer span.aRule.ownRule { +#dynamicFilteringContainer > div > span.aRule.ownRule { background-color: rgba(0, 160, 0, 1); color: white; } -#dynamicFilteringContainer span.bRule.ownRule { +#dynamicFilteringContainer > div > span.bRule.ownRule { background-color: rgba(192, 0, 0, 1); color: white; } -#dynamicFilteringContainer span.nRule.ownRule { +#dynamicFilteringContainer > div > span.nRule.ownRule { background-color: rgba(108, 108, 108, 1); color: white; } diff --git a/src/css/whitelist.css b/src/css/whitelist.css index a9d8cd4..8f646a6 100644 --- a/src/css/whitelist.css +++ b/src/css/whitelist.css @@ -5,7 +5,7 @@ div > p:last-child { margin-bottom: 0; } #whitelist { - font-size: smaller; + font-size: small; width: 48em; height: 40em; white-space: pre; |