Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/skin/overlay.css

Issue 29357377: Issue 4147 - Add a high-res version of the 32x32 ABP icon (Closed) Base URL: https://hg.adblockplus.org/adblockplus
Patch Set: Created Oct. 14, 2016, 9:15 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/skin/abp-status-64.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/skin/overlay.css
===================================================================
--- a/chrome/skin/overlay.css
+++ b/chrome/skin/overlay.css
@@ -102,16 +102,52 @@ toolbarpaletteitem[place="palette"] > #a
#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(32px, 32px, 64px, 0px);
}
+@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);
+ }
+}
+
+@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);
}
toolbox[vertical="true"] toolbar #abp-toolbarbutton dropmarker {
display: none !important;
}
« no previous file with comments | « chrome/skin/abp-status-64.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld