Bug 832290 - Proper styling for full-screen private windows on Mac; r=dao a=bajaj
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 06 Feb 2013 16:15:51 -0500
changeset 127455 2b7ea57afb903ad90a379bdb151d5dca94d44522
parent 127454 76a63eab1e488805992d5a0b0a7a9f16da1b6561
child 127456 083e1a2654fb16d22570e1e05b84d222f1b22d4b
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, bajaj
bugs832290
milestone20.0a2
Bug 832290 - Proper styling for full-screen private windows on Mac; r=dao a=bajaj
browser/themes/pinstripe/browser.css
--- a/browser/themes/pinstripe/browser.css
+++ b/browser/themes/pinstripe/browser.css
@@ -4195,23 +4195,49 @@ panel[type="arrow"][popupid="click-to-pl
 
 @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;
-  }
-
-  #main-window[privatebrowsingmode=temporary]:-moz-locale-dir(rtl) {
-    background-position: top left 70px;
-  }
+#main-window[privatebrowsingmode=temporary] {
+  background-position: top right 40px;
+}
+
+#main-window[privatebrowsingmode=temporary][inFullscreen] {
+  background-position: top right 10px;
+}
+
+#main-window[privatebrowsingmode=temporary]:-moz-locale-dir(rtl) {
+  background-position: top left 70px;
+}
+
+#main-window[privatebrowsingmode=temporary][inFullscreen]:-moz-locale-dir(rtl) {
+  background-position: top left 10px;
 }
 
 #main-window[privatebrowsingmode=temporary]:-moz-window-inactive {
   background-color: -moz-mac-chrome-inactive;
 }
+
+#main-window[privatebrowsingmode=temporary][inFullscreen] #nav-bar[tabsontop=false] {
+  -moz-padding-end: 50px !important;
+}
+
+@media (-moz-mac-lion-theme) {
+  #main-window[privatebrowsingmode=temporary][inFullscreen] #TabsToolbar[tabsontop=true] {
+    -moz-padding-end: 50px;
+  }
+}
+
+@media not all and (-moz-mac-lion-theme) {
+  #main-window[privatebrowsingmode=temporary] {
+    background-position: top right 10px;
+  }
+
+  #main-window[privatebrowsingmode=temporary][inFullscreen][tabsontop=true] #window-controls {
+    -moz-padding-end: 50px;
+  }
+}
 %endif