[Pkg-mozext-commits] [adblock-plus-element-hiding-helper] 05/28: Issue 4256 - Element Hiding Helper should use larger ABP icon on high-DPI screens

David Prévot taffit at moszumanska.debian.org
Fri Aug 4 21:15:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus-element-hiding-helper.

commit 1a5ebd53e767dcf6bf9ad98f19cc863cc4f433a9
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Wed Jul 20 12:58:15 2016 +0200

    Issue 4256 - Element Hiding Helper should use larger ABP icon on high-DPI screens
---
 chrome/skin/devToolsOverlay.css | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/chrome/skin/devToolsOverlay.css b/chrome/skin/devToolsOverlay.css
index 84e0353..6bd1ca0 100644
--- a/chrome/skin/devToolsOverlay.css
+++ b/chrome/skin/devToolsOverlay.css
@@ -12,6 +12,24 @@
   -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
+ at media screen and (min-resolution: 1.5dppx)
+{
+  #ehh-inspector-toolbarbutton
+  {
+    list-style-image: url("chrome://adblockplus/skin/abp-status.png");
+    -moz-image-region: rect(0px, 24px, 24px, 0px);
+  }
+}
+
+ at media screen and (min-resolution: 2dppx)
+{
+  #ehh-inspector-toolbarbutton
+  {
+    list-style-image: url("chrome://adblockplus/skin/abp-status-32.png");
+    -moz-image-region: rect(0px, 32px, 32px, 0px);
+  }
+}
+
 #ehh-inspector-toolbarbutton > image
 {
   filter: none;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus-element-hiding-helper.git



More information about the Pkg-mozext-commits mailing list