Bug 1229727 - Adjust full screen warning position when in OS X Fullscreen, r=dao draft
authorTimothy Guan-tin Chien <timdream@gmail.com>
Tue, 29 Mar 2016 10:13:16 +0800
changeset 349510 77120d7ff3586848a72b88bc5adb9a03d2ffaf45
parent 349384 e847cfcb315f511f4928b03fd47dcf57aad05e1e
child 518120 8ca77c518c60e8e55687380bcdbac4ab5c58cb80
push id15109
push userbmo:timdream@gmail.com
push dateMon, 11 Apr 2016 18:32:34 +0000
reviewersdao
bugs1229727
milestone48.0a1
Bug 1229727 - Adjust full screen warning position when in OS X Fullscreen, r=dao MozReview-Commit-ID: LpqbREOy2DX
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -691,16 +691,19 @@ html|*#fullscreen-warning:not([hidden]) 
 }
 html|*#fullscreen-warning[onscreen] {
   transform: translate(-50%, 50px);
 }
 html|*#fullscreen-warning[ontop] {
   /* Use -10px to hide the border and border-radius on the top */
   transform: translate(-50%, -10px);
 }
+#main-window[OSXLionFullscreen] html|*#fullscreen-warning[ontop] {
+  transform: translate(-50%, 80px);
+}
 
 html|*#fullscreen-domain-text,
 html|*#fullscreen-generic-text {
   word-wrap: break-word;
   /* We must specify a min-width, otherwise word-wrap:break-word doesn't work. Bug 630864. */
   min-width: 1px
 }
 html|*#fullscreen-domain-text:not([hidden]) + html|*#fullscreen-generic-text {