Commit Graph

7 Commits

Author SHA1 Message Date
MrOtherGuy
db143f9f42 toolbars below content: use linux top margin hack to extension panels
We already apply computed top margin to notification popup and
permission popup so that they are visible. But it seems that if the
panel is close enough to screen bottom edge (such as in maximized
windows) then the panel contents fail typically fail to render. For
whatever reason, changing the default margin for
customizationui-widget-panel makes the failures much less frequent
although it doesn't appear to get rid of the issue completely.
2025-04-13 11:38:10 +03:00
MrOtherGuy
6931382f92 Replace uses of -moz-bool-pref with -moz-pref
This new media query feature replaces the old -moz-bool-pref in Firefox
137. -moz-pref can be used to also query values of string and number
     prefs
2025-02-13 07:38:04 +02:00
MrOtherGuy
ded579f2db toolbar below content: move permissions popups upwards if needed
At least on linux permissions-popup and notification-popup panels
don't get side=bottom attribute so the open downwards which causes them to
be drawn outside of screen. Fixes #493
2024-12-27 15:19:54 +02:00
MrOtherGuy
0803a042a2 Add background to toolbars
Because the toolbox has display: contents, we need to display the background
separately for each toolbars. In addtion, on linux the main-window has
transparent background-color so we need to set toolbar opacity to 1 to
prevent transparent window areas.
2024-12-27 14:49:29 +02:00
MrOtherGuy
94f5ef943f toolbar below content: remove totally unnecessary css nesting 2024-12-20 08:22:33 +02:00
MrOtherGuy
617545968b toolbars below content: urlbarview alignment fixes and pref to move tabs
When urlbar is open the panel input-container height changes based on
whether or not go-button is shown. Add a pseudo-element at the end which
has uses the same height value as go-button would.

In addition, this patch adds a pref
userchrome.toolbars-below-content.tabs-at-bottom.enabled that can be
used to make tabs as the bottom-most toolbar.
2024-12-07 06:06:29 +02:00
MrOtherGuy
ef7a1b86a6 create toolbars_below_content_v2.css 2024-10-23 17:22:28 +03:00