mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1398264 - position private browsing indicator and/or 10.9 fullscreen button to cope with the background on the toolbox, r=adw
MozReview-Commit-ID: 27neu3DHqnp --HG-- extra : rebase_source : 3148855f78b3bd598da64b8d59587d76a0bb3c82
This commit is contained in:
parent
9a02daa232
commit
cea42033ef
@ -57,7 +57,14 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* NB: these would be margin-inline-start/end if it wasn't for the fact that OS X
|
||||
/* Making the toolbox position:relative (browser.inc.css) occludes titlebar indicators
|
||||
* if the toolbox has a background. Fix this by positioning the relevant elements, too: */
|
||||
#titlebar-secondary-buttonbox {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
/* These would be margin-inline-start/end if it wasn't for the fact that OS X
|
||||
* doesn't reverse the order of the items in the titlebar in RTL mode. */
|
||||
.titlebar-placeholder[type="caption-buttons"],
|
||||
#titlebar-buttonbox {
|
||||
|
@ -1099,6 +1099,9 @@ notification[value="translation"] {
|
||||
#private-browsing-indicator-titlebar {
|
||||
display: block;
|
||||
position: absolute;
|
||||
/* Need to ensure this gets positioned on top of the position:relative #navigator-toolbox
|
||||
* in case the dark/light themes give that item a background. */
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#main-window[privatebrowsingmode=temporary][tabsintitlebar] #private-browsing-indicator-titlebar > .private-browsing-indicator {
|
||||
|
Loading…
Reference in New Issue
Block a user