Commit Graph

16 Commits

Author SHA1 Message Date
MrOtherGuy
71d52e7343 fake statusbar w bookmarksbar: Make Done label absolute start aligned
If bookmarks toolbar is empty (except for the flex space) the
empty-toolbar indicator element is visible, which causes the flex-space
to be be center-aligned - this is simply fixed with order: -1

In addition, when letterboxing is enabled and window is somewhat narrow,
the Done ::before pseudo can cause the statuspanel to be wider that the
<browser> element, which causes the <browser> to move when links are
being hovered. So lets just make the Done label absolute.
2025-03-26 19:01:53 +02:00
MrOtherGuy
97b4bf22cf fake statusbars: Set z-index with !important 2025-03-15 06:57:31 +02:00
MrOtherGuy
4a3c0ceafa fake statusbar w bookmarksbar: make the pseudo-element have order: 2
This makes it stay the bottom-most item in layout even with styles like
multi-row_tabs below content which moves navigator-toolbox below
content.
2023-11-25 20:41:20 +02:00
MrOtherGuy
3b184df8c4 fake statusbar w bookmarks: invent a new css variable to control height
Old method was based on toolbarbutton-inner-padding but that has way too
much variability between setups to be consistent
2023-10-14 10:38:04 +03:00
MrOtherGuy
b2bb9d3b84 fake statusbar w bookmarks: flex-space should have !important flex-grow
author styles set it to 1, so without !important there is no effect.
2023-09-09 05:50:43 +03:00
MrOtherGuy
13e1340e9a remove old Fx <112 compatibility rules 2023-09-07 20:20:40 +03:00
MrOtherGuy
0ff12e01fe Add support for modern flexbox layout
Flexbox model will replace old xul box as the default display model so
this patch adds support for that in a whole bunch of styles.

A lot of style rules are marked as "Fx < 112 compatibility" rules and
those can be removed when 112 hits release.
2023-03-11 12:26:07 +02:00
MrOtherGuy
b434a2d9f5 fake_statusbar: fix and improve layout
browser-bottombox doesn't exist anymore so create space using
body::after instead. This patch additionally fixes various alignment
issues with elements in the statusbar.
2022-12-30 16:44:02 +02:00
MrOtherGuy
19b2e4fa1f fake_statusbars: Cover tabpanels with opaque color
Normally web-content hides the real statusbar but with RFP letterboxing
that might not happen. So lets inherit the background-color from
tabbrowser-tabpanels to make sure it's covered properly.
2022-12-24 09:35:54 +02:00
MrOtherGuy
2f270ca0c0 fake-statusbars: Make the styles work with new statuspanel DOM 2022-09-30 16:50:25 +03:00
MrOtherGuy
bd53d19665 replace --lwt-toolbar-field-x variables with new versions
Firefox 91 still uses some old variants, so this style adds temporary
dummy variables to several styles to make <91 work.
2021-08-26 10:01:45 +03:00
MrOtherGuy
d30c6209f6 set minimum height for toolbarsprings to prevent collapsing 2020-12-06 11:27:25 +02:00
MrOtherGuy
3ab84536d0 Apply browser margin to browser-bottombox 2020-06-26 14:53:17 +03:00
MrOtherGuy
f600efbb65 Clear background-image using :first-of-type:hover selector 2020-06-23 05:41:12 +03:00
MrOtherGuy
d91c121a58 Fix some typos in selectors 2020-06-23 05:27:33 +03:00
MrOtherGuy
8cd9051358 add new file 2020-06-02 17:33:02 +03:00