diff options
author | gorhill <rhill@raymondhill.net> | 2015-02-08 10:07:15 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-02-08 10:07:15 -0500 |
commit | 01474c7adb8ff1f98c3af15d7de0b398432b3581 (patch) | |
tree | ed3302cc68a397d9048cfe04943d8baf0d0dbdb9 /src | |
parent | d9244b24c915ac849c5c3225e2f31e2a646d7de5 (diff) | |
download | uBlock-01474c7adb8ff1f98c3af15d7de0b398432b3581.zip uBlock-01474c7adb8ff1f98c3af15d7de0b398432b3581.tar.gz uBlock-01474c7adb8ff1f98c3af15d7de0b398432b3581.tar.bz2 |
this fixes #727
Diffstat (limited to 'src')
-rw-r--r-- | src/css/popup.css | 12 | ||||
-rw-r--r-- | src/js/popup.js | 2 | ||||
-rw-r--r-- | src/popup.html | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/css/popup.css b/src/css/popup.css index 6ead129..58378c7 100644 --- a/src/css/popup.css +++ b/src/css/popup.css @@ -183,12 +183,6 @@ body.dirty #refresh:hover { #dynamicFilteringContainer > div:hover { background-color: #f0f0f0; } -#dynamicFilteringContainer > div#privacyInfo { - background-color: white; - color: #444; - padding: 4px 0; - text-align: center; - } #dynamicFilteringContainer > div > span { background-color: transparent; border: none; @@ -200,7 +194,11 @@ body.dirty #refresh:hover { line-height: 22px; overflow: hidden; position: relative; - vertical-align: top; + vertical-align: middle; + } +#dynamicFilteringContainer > div:nth-of-type(1) > span { + height: 18px; + line-height: 18px; } #dynamicFilteringContainer > div > span:nth-of-type(1) { border-right: 1px solid white; diff --git a/src/js/popup.js b/src/js/popup.js index 29a3a16..c97d7f6 100644 --- a/src/js/popup.js +++ b/src/js/popup.js @@ -256,7 +256,7 @@ var buildAllDynamicFilters = function() { // Remove and reuse all rows: the order may have changed, we can't just // reuse them in-place. - rowsToRecycle = uDom('#dynamicFilteringContainer > div:nth-of-type(6) ~ div').detach(); + rowsToRecycle = uDom('#dynamicFilteringContainer > div:nth-of-type(7) ~ div').detach(); var n = allHostnameRows.length; for ( var i = 0; i < n; i++ ) { diff --git a/src/popup.html b/src/popup.html index c204073..d276932 100644 --- a/src/popup.html +++ b/src/popup.html @@ -28,7 +28,7 @@ <div id="refresh" class="fa"></div> </div><!-- DO NOT REMOVE --><div> <div id="dynamicFilteringContainer"> - <!-- <div><span data-i18n="popupAnyRulePrompt"></span><span data-src="/" data-des="*" data-type="*"> </span><span data-src="." data-des="*" data-type="*"> </span></div> --> + <div><span data-i18n="popupAnyRulePrompt"></span><span data-src="/" data-des="*" data-type="*"> </span><span data-src="." data-des="*" data-type="*"> </span></div> <div><span data-i18n="popupImageRulePrompt"></span><span data-src="/" data-des="*" data-type="image"> </span><span data-src="." data-des="*" data-type="image"> </span></div> <div><span data-i18n="popup3pAnyRulePrompt"></span><span data-src="/" data-des="*" data-type="3p"> </span><span data-src="." data-des="*" data-type="3p"> </span></div> <div><span data-i18n="popupInlineScriptRulePrompt"></span><span data-src="/" data-des="*" data-type="inline-script"> </span><span data-src="." data-des="*" data-type="inline-script"> </span></div> |