Fixes#350 by applying workaround for titlebar will-change and opacity
layering issues
Makes the menubar menu coloring work on default theme
Make menubar bottom-margin computation use the same values as menubar
height - this should make other toolbars stay in place without moving
up/down on most setups, probably.
This change achieves multiple things:
* The sizing options for placeholder are in one place
* Improves compatibility with other styles
* Improves compatibility with other window control placements
* Makes fullscreen work
* Makes menubar not take any space when disabled
Previously, when Firefox did not have :has selector support, we needed
to create :hover triggered space to activate menubar, this took some
space from toolbar and required special styling to support translucent
toolbar background colors. But it was necessary, because otherwise there
would have been no way to access menubar items.
This still assumes that the user has menubar disabled, but that is fine,
because if menubar is enabled, then there is no reason to use this style
in the first place.
Bug 1870803 introduced a transition to window activeness visuals. But
the lowered opacity breaks the z-index hackery we use to let
window-controls show through nav-bar.
This patch basically undoes the changes from bug 1870803
Previously if Firefox was in fullscreen mode and toolbars would autohide
(per Firefox normal setting) then this style would cause content area to
be pushed way too far up because of computed margin-top on
navigator-toolbox. This patch makes navigator toolbox use margin
computed from tabs toolbar height.
In 119 the light-dark() computation doesn't always resolve correctly and
when default theme is used --toolbar-bgcolor ends up using it.
See bug 1853524 for some more info.
This fixes#315
This patch applies same kind of rules that themes with
--lwt-header-image use to also themes using --lwt-additional-images
This effect does not work with themes that use background-position-y:
center for the image - for them the selected tab background will not
mathch toolba area, but such themes were broken anyway (and hopefully
they are not encountered often)
This bug simplified selected tab background styling, but this style
depends on those three background-image layers to make it appear the
selected tab is connected to the toolbar below.
Also some cleanup for menupopup_forced_color_schemes.css for remove some
old and unused variables.
This just adds media query versions to files - old ones should be
removed at some point