Bug 1439834 - Make #TabsToolbar transparent when styled #titlebar (-moz-window-titlebar) should be shown, r=dao

When #titlebar (-moz-window-titlebar) should be rendered
(disabled system headerbar rendering and disabled menubar)
we also need to make #TabsToolbar transparent because #titlebar
is bellow it.

MozReview-Commit-ID: AruTMVyC8WD

--HG--
extra : rebase_source : d46f99de943a4a6b9180f9d3963a88b16941e9ec
This commit is contained in:
Martin Stransky 2018-02-28 14:34:39 +01:00
Родитель 82c1ac828f
Коммит 44a6a53561
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -671,6 +671,14 @@ notification[value="translation"] menulist > .menulist-dropmarker {
padding-top: calc(-1 * var(--space-above-tabbar));
}
/* Make #TabsToolbar transparent as we style underlying #titlebar with
* -moz-window-titlebar (Gtk+ theme).
*/
:root[tabsintitlebar] #TabsToolbar,
:root[tabsintitlebar] #toolbar-menubar {
-moz-appearance: none;
}
/* The button box must appear on top of the navigator-toolbox in order for
* click and hover mouse events to work properly for the button in the restored
* window state. Otherwise, elements in the navigator-toolbox, like the menubar,