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

Unified Diff: chrome/skin/devToolsOverlay.css

Issue 29348059: Issue 4256 - Element Hiding Helper should use larger ABP icon on high-DPI screens (Closed)
Patch Set: Created July 20, 2016, 10:57 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/skin/devToolsOverlay.css
===================================================================
--- a/chrome/skin/devToolsOverlay.css
+++ b/chrome/skin/devToolsOverlay.css
@@ -7,12 +7,30 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#ehh-inspector-toolbarbutton
{
list-style-image: url("chrome://adblockplus/skin/abp-status-16.png");
-moz-image-region: rect(0px, 16px, 16px, 0px);
}
+@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);
+ }
+}
+
+@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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld