16 Commits (9276283311f46a146d1ea97a47041f3b3edce0a5)

Author SHA1 Message Date
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.
2 years ago
MrOtherGuy 95fbda2710 Improve support for gtk-csd-reversed-placement
This patch changes how we deal with window control buttons on left
layouts. Previously, we looked to a pref that was only set on macos
but with this patch we use media queries to detect whether the system
is macOS or gtk-csd buttons use left-side layout.

To support old-style "override pref" this patch also introduces a
new custom pref userchrome.force-window-controls-on-left.enabled
which can be used e.g on Windows to move window controls to left side.
This logic is currently only supported in styles that use
window_control_placeholder_support.css
2 years ago
MrOtherGuy 6b242379ec Remove Windows specific extra titlbar paddings from codebase
Firefox 101 doesn't need those anymore :)
2 years ago
MrOtherGuy 71fe0e87c7 add basic support for -moz-platform media query 3 years ago
MrOtherGuy 1fe5d315c0 Make windows specific extra top margin only apply with [tabsintitlebar] 3 years ago
MrOtherGuy 5118aedfad remove --proton-tab-block-margin dummy variables 3 years ago
MrOtherGuy 7db2c96530 add temporary dummy variables for tab-block-margin 3 years ago
MrOtherGuy 6556b1d525 bunch of fixes for proton compatibility 3 years ago
MrOtherGuy 79053ca5b0 Use arrowpanel colors for the menubar instead of toolbar-bgcolor 4 years ago
MrOtherGuy 84ec1414dd Add source/license notices 4 years ago
MrOtherGuy cb64b3ad9a Add the description back 5 years ago
MrOtherGuy 68f4146754 Hide window control buttons if they are on left side 5 years ago
MrOtherGuy cd06cb3a4d Add display:block for window controls when floated 5 years ago
MrOtherGuy 1ad29c1ada Add display:block to every absolutely positioned element 5 years ago
MrOtherGuy 17cf052fb9 Fix overlay height and box model issues on Fx68 5 years ago
MrOtherGuy 2f3bcee237 new file 5 years ago