Commit Graph

826 Commits

Author SHA1 Message Date
MrOtherGuy
7daa9b45e3 status_inside_urlbar: let urlbar menupopup show again
Previously we hid it on purpose because it caused pretty major layout
issues when urlbar's grid layout interacted with xul layout.

But now with flexbox it should work just fine.
2023-08-15 21:01:00 +03:00
MrOtherGuy
05ad86ab51 tabs_below_content: Add support for showing tabs toolbar in fullscreen
This patch uses browser.fullscreen.autohide to detect if toolbars should
hide - and if so then tabs toolbar is hidden unless hovered.
2023-07-21 18:52:13 +03:00
MrOtherGuy
5ea61e3d40 Add workarounds for bug 1705215 2023-07-18 19:16:42 +03:00
fortystory
a67074ccfa change min-width (#299) 2023-07-10 07:19:33 +03:00
MrOtherGuy
2df24c36a2 compact_extensions_panel: make it work in Fx115 2023-07-05 17:59:21 +03:00
MrOtherGuy
9276283311 tabs periphery toolbarbuttons: add workaround to not trigger overflow
This adds a 2px margin to periphery which acts as buffer-zone so when
a tab is added or removed the layout won't immediately cause
overflow-mode to activate
2023-05-28 06:39:08 +03:00
MrOtherGuy
caa8fd1dc0 Format some comments a bit better 2023-05-27 09:16:53 +03:00
MrOtherGuy
884fdc0dee create toolbarbuttons_in_tabs_periphery.css 2023-05-27 09:11:32 +03:00
MrOtherGuy
190302b473 create tab_closing_animation.css 2023-05-18 12:18:37 +03:00
MrOtherGuy
d6eb2ac027 Remove old -moz-os-version media queries
They aren't needed anymore since ESR supports -moz-platform already
2023-05-16 06:38:41 +03:00
MrOtherGuy
2a6e95b5dc Don't show menubar on popoup windows where it is supposed to be hidden 2023-05-16 06:34:22 +03:00
MrOtherGuy
337c8d05ef selected_tab_as_urlbar: Make selected tab grow more than other tabs 2023-05-15 18:17:02 +03:00
MrOtherGuy
8aab757dda oneliners: allow ulrbar-container to shrink a bit
This fixes a problem where urlbar would cause items in the toolbar to
overflow the whole toolbar too early
2023-05-14 10:36:41 +03:00
MrOtherGuy
c09e848846 multi-row tabs: Make flex-grow !important for fixed-width tabs to work 2023-05-12 16:59:43 +03:00
MrOtherGuy
b2e37ffc57 overlay_tab_audio_icons: Set fill color and fill-opacity for icons
This makes sure that the icon stays visible unless your theme colors
explicitly tells otherwise. Setting full fill-opacity makes the icons
look same between pinned and non-pinned tabs.
2023-05-11 19:26:44 +03:00
MrOtherGuy
d9ed3a66b6 centered statuspanel: remove min-width from statuspanel when loading
Firefox gives min-width as inline style to the statuspanel while page is
loading
2023-05-11 06:06:15 +03:00
MrOtherGuy
26489fc1f8 create centered_statuspanel.css and deprecate old one
This new defaults to bottom layout, but can be moved to top by setting
pref userchrome.centered-statuspanel.on-top.enabled
2023-05-10 19:37:14 +03:00
MrOtherGuy
e8e15af36c vertical_bookmarks_toolbar: Enable webkit-box layout for Firefox 113 2023-05-10 06:03:57 +03:00
MrOtherGuy
0d76e913ac centered_top_statuspanel: center statuspanel using justify-self 2023-05-09 21:23:57 +03:00
MrOtherGuy
b26f1d3fc6 centered top statuspanel: use inline margin to center the statuspanel 2023-05-02 17:15:40 +03:00
MrOtherGuy
2a0f40b305 floating findbar: Derive findbar background from theme colors
Previously this just used --toolbar-bgcolor which may have transparency
leading to poor readability. Similar results might still happen if theme
has poor text-background contrast, but now the result should be less
unpredicatable.
2023-05-01 12:36:17 +03:00
MrOtherGuy
512a39ba57 remove remaining uses of -moz-inline-box 2023-04-27 05:19:45 +03:00
MrOtherGuy
607bf5c08d centered_tab_content: Make it do what it was actually supposed to do 2023-04-26 20:05:57 +03:00
MrOtherGuy
a437fe6dd1 centered tab content: don't add negative margin to pinned tabs 2023-04-26 16:47:24 +03:00
MrOtherGuy
d6179b1b54 rewrite centered_tab_content.css 2023-04-26 16:39:17 +03:00
MrOtherGuy
0b81416657 placeholder_support: Make placeholder border transparent
This patch makes the placeholder borders use transparent borders instead
of color derived from your theme. Instead the background-clip is
extended to border-box (which it already was on non-Windows systems)
2023-04-26 05:15:14 +03:00
MrOtherGuy
21750e272b vertical_bookmarks_toolbar: make placesToolbarItems default to flex
-webkit-box doesn't work correctly in Firefox 112 and 113 so lets
default to flex again and make webkit-box opt-in. It is required for
Fx 114 though, but nightly users need to opt-in to using it.
2023-04-16 12:07:16 +03:00
MrOtherGuy
97b9f5c3d8 create status_inside_menubar.css 2023-04-14 06:31:27 +03:00
MrOtherGuy
0c1a86cec5 vertical_bookmarks_toolbar: Make PlacesToolbarItems use -webkit-box
This is because scrollbox[orient="horizontal"] has a UA sheet set
important row flex-direction which we cannot override.
2023-04-12 17:23:31 +03:00
MrOtherGuy
92be3549cd buttonlike buttons: Remove custom styling of zoom items in overflow menu 2023-04-10 12:44:25 +03:00
MrOtherGuy
1f74ecee91 buttonlike toolbarbuttons: also remove styling from pinned overflow menu 2023-04-09 21:45:43 +03:00
MrOtherGuy
bb8d623ced buttonlike toolbarbuttons: remove custom sizing inside panels 2023-04-09 20:27:03 +03:00
MrOtherGuy
76f260269d Use scrollbar-gutter in multi-row tabs and bookmarks
This should prevent the appearing/disappearing scrollbar from reflowing
content.
2023-04-09 09:00:12 +03:00
MrOtherGuy
e98c0b62a5 create tab_animated_active_border.css 2023-04-09 08:16:38 +03:00
MrOtherGuy
3377abf584 buttonlike toolbarbuttons: remove normal background from extensions 2023-04-07 18:33:56 +03:00
MrOtherGuy
0722603222 buttonlike_toolbarbuttons: apply to menubar and tabs toolbar
This patch simplies a lot of selectors and makes the changes apply to
buttons in menubar and tabs toolbar. With the exception of
tabs-newtab-button. Additionally, this makes the style
much better support dropdown buttons, combined buttons and findbar
buttons.
2023-04-07 08:32:23 +03:00
MrOtherGuy
5ab29bc53e tabs below content: Add support for reversed window controls 2023-04-03 17:05:17 +03:00
MrOtherGuy
647b413152 Remove xul-box use from bunch of styles 2023-03-31 18:26:43 +03:00
MrOtherGuy
a9201944a9 selected_tab_as_urlbar: horizontally center urlbarview to window 2023-03-24 11:43:24 +02:00
MrOtherGuy
0aa8c49b99 selected_tab_as_urlbar: Add mechanism to show back and forward buttons 2023-03-24 10:44:05 +02:00
MrOtherGuy
4650a9fb00 selected_tab_as_urlbar: don't hide nav-bar items is customization view 2023-03-24 10:16:57 +02:00
MrOtherGuy
6d00a86ace Make tabs_on_bottom_menubar_on_top_patch use menubar window controls 2023-03-23 20:27:59 +02:00
MrOtherGuy
505d247b8f floating-findbar: Don't let labels wrap in findbar 2023-03-22 07:03:47 +02:00
MrOtherGuy
b393f711a8 vertical_bookmarks_toolbar: Add workaround for flexbox changes 2023-03-22 07:03:15 +02: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
0db37c5d77 classic_firefox_menu_button: make menu-button text ignore theme colors 2023-02-25 13:28:33 +02:00
MrOtherGuy
c8f143e3c7 create compact_extensions_panel.css 2023-02-21 18:46:39 +02:00
MrOtherGuy
055e742a87 non_floating_tabs: apply relative selected tab position to pinned tabs
In overflow mode Firefox will override that anyway so no need to exclude
all pinned tabs.
2023-02-16 05:28:48 +02:00
MrOtherGuy
b906186eb9 Autohide_bookmarks_toolbar: Provide fallback for --toolbar-bgimage
This fixes an issue where the background-image: would compute to none if
--toolbar-bgimage is missing.
2023-02-15 05:40:29 +02:00
MrOtherGuy
5facc2e8c9 non-floating-tabs: Make selected tab have position: relative again
Firefox 110 made selected tab static, but we need it to be relative so
that it gets drawn over the navbar top box-shadow
2023-02-15 05:09:44 +02:00