Bug 832015 - Use 2x private browsing titlebar mask image in HiDPI mode. r=shorlander

This commit is contained in:
Frank Yan 2013-01-17 17:06:32 -08:00
parent 2bfa08f79b
commit cea90bcaa2
3 changed files with 8 additions and 0 deletions

View File

@ -4181,6 +4181,13 @@ panel[type="arrow"][popupid="click-to-play-plugins"] > .panel-arrowcontainer > .
background-color: -moz-mac-chrome-active; 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) { @media (-moz-mac-lion-theme) {
#main-window[privatebrowsingmode=temporary] { #main-window[privatebrowsingmode=temporary] {
background-position: top right 40px; background-position: top right 40px;

View File

@ -49,6 +49,7 @@ browser.jar:
skin/classic/browser/Privacy-16.png skin/classic/browser/Privacy-16.png
skin/classic/browser/Privacy-48.png skin/classic/browser/Privacy-48.png
skin/classic/browser/privatebrowsing-mask.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.png
skin/classic/browser/reload-stop-go@2x.png skin/classic/browser/reload-stop-go@2x.png
skin/classic/browser/searchbar-dropmarker.png skin/classic/browser/searchbar-dropmarker.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB