From cea90bcaa29d6df6400e41f42e232de29dd5e23f Mon Sep 17 00:00:00 2001 From: Frank Yan Date: Thu, 17 Jan 2013 17:06:32 -0800 Subject: [PATCH] Bug 832015 - Use 2x private browsing titlebar mask image in HiDPI mode. r=shorlander --- browser/themes/pinstripe/browser.css | 7 +++++++ browser/themes/pinstripe/jar.mn | 1 + .../themes/pinstripe/privatebrowsing-mask@2x.png | Bin 0 -> 2639 bytes 3 files changed, 8 insertions(+) create mode 100644 browser/themes/pinstripe/privatebrowsing-mask@2x.png diff --git a/browser/themes/pinstripe/browser.css b/browser/themes/pinstripe/browser.css index 519b44f0998..f64e10ac7a3 100644 --- a/browser/themes/pinstripe/browser.css +++ b/browser/themes/pinstripe/browser.css @@ -4181,6 +4181,13 @@ panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > . background-color: -moz-mac-chrome-active; } +@media (min-resolution: 2dppx) { + #main-window[privatebrowsingmode=temporary] { + background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png"); + background-size: 38px; + } +} + @media (-moz-mac-lion-theme) { #main-window[privatebrowsingmode=temporary] { background-position: top right 40px; diff --git a/browser/themes/pinstripe/jar.mn b/browser/themes/pinstripe/jar.mn index 83463813075..8468bf4f43e 100644 --- a/browser/themes/pinstripe/jar.mn +++ b/browser/themes/pinstripe/jar.mn @@ -49,6 +49,7 @@ browser.jar: skin/classic/browser/Privacy-16.png skin/classic/browser/Privacy-48.png skin/classic/browser/privatebrowsing-mask.png + skin/classic/browser/privatebrowsing-mask@2x.png skin/classic/browser/reload-stop-go.png skin/classic/browser/reload-stop-go@2x.png skin/classic/browser/searchbar-dropmarker.png diff --git a/browser/themes/pinstripe/privatebrowsing-mask@2x.png b/browser/themes/pinstripe/privatebrowsing-mask@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..ec1cf7452ef6e0251dad9113e8119793bfed4b6f GIT binary patch literal 2639 zcmV-V3b6HwP)rB&3b zt=g9m8u+wyf-L#nwj1EwWt4bnZ zT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