Bug 1456522 - Stop making the tabs toolbar transparent when there's no title bar behind it, i.e. in fullscreen mode. r=stransky

MozReview-Commit-ID: DuKPGXKqtnD

--HG--
extra : rebase_source : 35c698394081f7deabda0f8cf6fee7ebc79d36c1
This commit is contained in:
Dão Gottwald 2018-04-24 17:58:53 +02:00
Родитель e0ea50192f
Коммит 9f2cb19dc8
1 изменённых файлов: 5 добавлений и 4 удалений

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

@ -650,12 +650,12 @@ notification[value="translation"] menulist > .menulist-dropmarker {
visibility: visible;
}
:root[tabsintitlebar] > #titlebar {
-moz-appearance: -moz-window-titlebar-maximized;
}
:root[tabsintitlebar][sizemode="normal"] > #titlebar {
-moz-appearance: -moz-window-titlebar;
}
:root[tabsintitlebar][sizemode="maximized"] > #titlebar {
-moz-appearance: -moz-window-titlebar-maximized;
}
/* Add extra space to titlebar for dragging */
:root[sizemode="normal"][chromehidden~="menubar"] #TabsToolbar,
@ -674,7 +674,8 @@ notification[value="translation"] menulist > .menulist-dropmarker {
/* Make #TabsToolbar transparent as we style underlying #titlebar with
* -moz-window-titlebar (Gtk+ theme).
*/
:root[tabsintitlebar] #TabsToolbar,
:root[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #TabsToolbar,
:root[tabsintitlebar][sizemode="maximized"] #TabsToolbar,
:root[tabsintitlebar] #toolbar-menubar {
-moz-appearance: none;
}