Bug 832290 - Proper styling for full-screen private windows on Mac; r=dao

This commit is contained in:
Ehsan Akhgari 2013-02-06 16:15:51 -05:00
Родитель 4d6ce7515f
Коммит 19ef17ae95
1 изменённых файлов: 34 добавлений и 7 удалений

Просмотреть файл

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