[Pkg-mozext-commits] [adblock-plus] 42/98: Issue 4147 - Add a high-res version of the 32x32 ABP icon

David Prévot taffit at moszumanska.debian.org
Tue Oct 24 01:30:17 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.

commit 8a45b7e20c14f908a5d0bb17ca6d8040632e4935
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Oct 14 11:15:26 2016 +0200

    Issue 4147 - Add a high-res version of the 32x32 ABP icon
---
 chrome/skin/abp-status-48.png | Bin 0 -> 1886 bytes
 chrome/skin/abp-status-64.png | Bin 0 -> 2691 bytes
 chrome/skin/overlay.css       |  36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+)

diff --git a/chrome/skin/abp-status-48.png b/chrome/skin/abp-status-48.png
new file mode 100644
index 0000000..511a921
Binary files /dev/null and b/chrome/skin/abp-status-48.png differ
diff --git a/chrome/skin/abp-status-64.png b/chrome/skin/abp-status-64.png
new file mode 100644
index 0000000..3c8c67a
Binary files /dev/null and b/chrome/skin/abp-status-64.png differ
diff --git a/chrome/skin/overlay.css b/chrome/skin/overlay.css
index d94fc95..3a964ac 100644
--- a/chrome/skin/overlay.css
+++ b/chrome/skin/overlay.css
@@ -107,6 +107,42 @@ toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"]
   -moz-image-region: rect(32px, 32px, 64px, 0px);
 }
 
+ at media screen and (min-resolution: 1.5dppx)
+{
+  #abp-toolbarbutton[cui-areatype="menu-panel"],
+  toolbarpaletteitem[place="palette"] > #abp-toolbarbutton
+  {
+    list-style-image: url("abp-status-48.png");
+    -moz-image-region: rect(0px, 48px, 48px, 0px);
+  }
+
+  #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="disabled"],
+  toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="disabled"],
+  #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="whitelisted"],
+  toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"]
+  {
+    -moz-image-region: rect(48px, 48px, 96px, 0px);
+  }
+}
+
+ at media screen and (min-resolution: 2dppx)
+{
+  #abp-toolbarbutton[cui-areatype="menu-panel"],
+  toolbarpaletteitem[place="palette"] > #abp-toolbarbutton
+  {
+    list-style-image: url("abp-status-64.png");
+    -moz-image-region: rect(0px, 64px, 64px, 0px);
+  }
+
+  #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="disabled"],
+  toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="disabled"],
+  #abp-toolbarbutton[cui-areatype="menu-panel"][abpstate="whitelisted"],
+  toolbarpaletteitem[place="palette"] > #abp-toolbarbutton[abpstate="whitelisted"]
+  {
+    -moz-image-region: rect(64px, 64px, 128px, 0px);
+  }
+}
+
 #abp-toolbar-popup {
   list-style-image: none;
   -moz-image-region: rect(0px, 0px, 0px, 0px);

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



More information about the Pkg-mozext-commits mailing list