Commit graph

19 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
715ab86abc Fix some comments in tabs_on_bottom.css
This just removes an ancient leftover comment and reorders comments at
the top of the file.
2023-01-12 23:32:27 +02:00
MrOtherGuy
86fd7202c5 Use correct pref name in tabs_on_bottom.css 2022-12-23 14:26:23 +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
9d081f27b5 Make hide_tabs_with_one_tab_w_window... compatible with tabs_on_bottom 2022-10-23 18:06:02 +03: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
ea17cb7f1f Show window global notificationbox in same order as tab modal 2022-03-27 15:31:59 +03:00
MrOtherGuy
5b67ff233a Make tabs_on_bottom and *_menubar_on_top_patch compatible again
This patch makes it so that menubar window controls are to be shown
when the patch file is applied.
2022-03-25 10:39:13 +02:00
MS_Y
10515e618c
Tabs on bottom at menubar (#181) 2022-03-25 10:28:59 +02:00
MrOtherGuy
71fe0e87c7 add basic support for -moz-platform media query 2022-02-12 09:20:20 +02:00
MrOtherGuy
fe534d6224 make #tab-notification-deck always be closest "toolbar" to content 2021-11-06 22:23:29 +02:00
MrOtherGuy
96f2ba5977 add default disabled option to show bookmarks below tabs 2021-09-19 19:38:20 +03:00
MrOtherGuy
2519e685aa add background to the toolbox if -lwtheme is not in use
Practically this means that if white variant of system theme is used
then tabs toolbar background is set to very light gray
2021-08-14 14:54:21 +03:00
MrOtherGuy
de04813ed2 make window controls visible when used with autohide_tabstoolbar.css 2021-08-14 12:09:26 +03:00
MrOtherGuy
86f8cf4b86 Use the same extra titlebar padding on Win7 that is used on Win10 2021-06-06 08:23:40 +03:00
MrOtherGuy
63822d4fff make extra titlebar-padding only apply to win10 2021-04-24 09:46:17 +03:00
MrOtherGuy
23dfd1743d set tabs-navbar shadow size to 0px wherever tabs won't be atop of navbar 2020-08-14 16:47:24 +03:00
MrOtherGuy
ad5c7889fe Properly set titlebar-buttonbox height on compact mode 2020-07-12 20:28:36 +03:00
MrOtherGuy
429305f8d9 Drop Fx65 prefix from tabs_on_bottom files 2020-06-05 08:59:22 +03:00
Renamed from chrome/Fx65_tabs_on_bottom.css (Browse further)