Commit graph

16 commits

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.
2023-03-11 12:26:07 +02:00
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
2022-12-23 13:53:51 +02:00
MrOtherGuy
6b242379ec Remove Windows specific extra titlbar paddings from codebase
Firefox 101 doesn't need those anymore :)
2022-06-01 00:19:19 +03:00
MrOtherGuy
71fe0e87c7 add basic support for -moz-platform media query 2022-02-12 09:20:20 +02:00
MrOtherGuy
1fe5d315c0 Make windows specific extra top margin only apply with [tabsintitlebar] 2022-01-02 09:37:20 +02:00
MrOtherGuy
5118aedfad remove --proton-tab-block-margin dummy variables 2021-11-21 09:42:28 +02:00
MrOtherGuy
7db2c96530 add temporary dummy variables for tab-block-margin 2021-06-05 00:17:16 +03:00
MrOtherGuy
6556b1d525 bunch of fixes for proton compatibility 2021-05-08 14:54:52 +03:00
MrOtherGuy
79053ca5b0 Use arrowpanel colors for the menubar instead of toolbar-bgcolor 2021-01-19 17:32:24 +02:00
MrOtherGuy
84ec1414dd Add source/license notices 2020-05-22 08:13:58 +03:00
MrOtherGuy
cb64b3ad9a Add the description back 2020-04-14 13:14:21 +03:00
MrOtherGuy
68f4146754 Hide window control buttons if they are on left side 2020-04-14 13:09:54 +03:00
MrOtherGuy
cd06cb3a4d Add display:block for window controls when floated 2019-12-07 14:16:42 +02:00
MrOtherGuy
1ad29c1ada Add display:block to every absolutely positioned element 2019-09-28 12:18:59 +03:00
MrOtherGuy
17cf052fb9 Fix overlay height and box model issues on Fx68 2019-08-12 15:54:59 +03:00
MrOtherGuy
2f3bcee237 new file 2019-08-11 22:26:26 +03:00