Commit Graph

1051 Commits

Author SHA1 Message Date
MrOtherGuy
6aa82bb98c overlay fullscreen toolbars: tidy up some selectors 2024-12-07 17:32:04 +02:00
MrOtherGuy
bf89a5459c overlay fullscreen toolbars: use :has([panelopen]:not(#ask-chat-shortcuts))
Just makes more panels able to keep toolbars visible
2024-12-07 17:22:49 +02:00
MrOtherGuy
fec968c9de autohiding nav-bar: Replace :has(> [role="group"][panelopen])
Let's instead use :has(> [panelopen]:not(#ask-chat-shortcuts)) which
allows a lot more of the panels to keep nav-bar visible
2024-12-07 17:18:55 +02:00
MrOtherGuy
902bbd4458 overlay fullscreen toolbars: Use transform instead of margin-top
With Fx133 we need to apply transform separately to urlbar, and it seems
that doesn't play well with toolbox using margin-top.
2024-12-07 17:13:18 +02:00
MrOtherGuy
09cc00568e autohide toolbox: add optional feature to show the toolbox
This makes active maximized window show the toolbox when the window is
not hovered, such as when cursor is over native titlebar.
2024-12-07 16:27:25 +02:00
MrOtherGuy
617545968b toolbars below content: urlbarview alignment fixes and pref to move tabs
When urlbar is open the panel input-container height changes based on
whether or not go-button is shown. Add a pseudo-element at the end which
has uses the same height value as go-button would.

In addition, this patch adds a pref
userchrome.toolbars-below-content.tabs-at-bottom.enabled that can be
used to make tabs as the bottom-most toolbar.
2024-12-07 06:06:29 +02:00
MrOtherGuy
fe0cb2cb7b hide tabs toolbar: don't hide the toolbar when customizing
This makes it easier if one needs to move buttons away from tabs toolbar
2024-12-04 20:15:09 +02:00
MrOtherGuy
d9e3c87cbe privatemode indicator menu button: add class selector to hide the item
This fixes #478
2024-12-03 05:25:01 +02:00
MrOtherGuy
93c8b2b4ff reload button in urlbar: remove pointer events from urlbar
This will make the style kinda work with popover urlbar, but it if
urlbar is fully opaque then it will still cover the reload button.
2024-12-01 14:33:28 +02:00
MrOtherGuy
2515f1ab25 full width urlbar: Simplify rules to make positioning work in fx133 2024-12-01 14:32:17 +02:00
MrOtherGuy
35f29fd1cb compact urlbar megabar: update to work with Fx 133 2024-11-30 11:50:42 +02:00
MrOtherGuy
def4b49d6b overlay tab audio icons: update margin & inset to the current values
This fixes #462
2024-11-29 16:57:45 +02:00
MrOtherGuy
582f97c53e Add [customtitlebar] as alternative to [tabsintitlebar] 2024-11-29 16:35:06 +02:00
MrOtherGuy
9e91c32460 non floating tabs: remove nav-bar top border
The border is theme dependent, but we really don't want that to ever
appear
2024-11-28 16:36:42 +02:00
MrOtherGuy
e23b213d84 non-floating tabs: add will-change:unset for tabstoolbar as well
Fixes #451
2024-11-27 04:52:33 +02:00
MrOtherGuy
a2d00c282d tab separator lines: hide separator next to hidden tab after selected
This isn't a proper fix for the issue, but fixes a special case where
there is only on hidden tab after the selected tab - this is what
happens with firefox-view button. Fixes #450
2024-11-26 17:46:42 +02:00
MrOtherGuy
14f2c867e7 inline tab audio icons: adjust icon inline margin 2024-11-16 07:33:01 +02:00
MrOtherGuy
36be28e7d2 autohide main toolbar: add background for nav-bar when sidebar tabs
When tabs are in sidebar, nav-bar has .browser-titlebar class so use
that to conditionally inherit background from toolbox
2024-11-04 20:19:47 +02:00
MrOtherGuy
9eef8cd4bf autohide toolbars: remove weird --uc-urlbar-top hack
Beta 133 b4 seems to work okay without it and it breaks positioning on
nightly
2024-11-04 19:52:21 +02:00
MrOtherGuy
ec1aede46c show autohidden toolbar when a panel is open 2024-11-01 05:36:58 +02:00
MrOtherGuy
14b75c1b77 autohide bm and main toolbars: remove duplicate ruleset 2024-11-01 05:35:55 +02:00
MrOtherGuy
d2a663229d autohide main toolbar: apply separate transitions to urlbar[popup] 2024-10-31 18:20:47 +02:00
MrOtherGuy
7c38557add autohide bm and main toolbars: use opacity+pointer-events to hide urlbar
visibility: hidden prevents urlbar from getting focus from hotkeys etc.
2024-10-31 17:46:08 +02:00
MrOtherGuy
f4dfe670eb autohide toolbox: show urlbar also when :focus-within 2024-10-31 17:45:32 +02:00
MrOtherGuy
3f6b82c235 autohide toolbox: use transform instead of visibility changes on urlbar 2024-10-31 17:32:14 +02:00
MrOtherGuy
b563a37cec Use --tab-inline-padding in place of --inline-tab-padding
Fixes #439
2024-10-30 20:42:19 +02:00
MrOtherGuy
56e83df95b autohide bookmarks and main toolbar: apply separate transform to urlbar
This makes popover urlbar sort of work - for now. Fixes #436
2024-10-29 21:24:29 +02:00
MrOtherGuy
7baf1d3fbe create autohide_tabstoolbar_v2.css
Rewriting the old style to work with both vertical and horizontal tabs
2024-10-27 19:20:46 +02:00
MrOtherGuy
008c504621 autohide bookmarks toolbar: increase z-index to 4
with z-index 3 the (non-revamp) sidebar splitter would be drawn
on top of bookmarks toolbar
2024-10-27 19:16:30 +02:00
MrOtherGuy
b83f788e4d autohide bookmarks toolbar: increase toolbox z-index
Needed in fx133, because otherwise web-content would be drawn over
bookmarks
2024-10-26 10:40:47 +03:00
MrOtherGuy
2200c38777 autohide_toolbox: changes to make it sort of usable with popover urlbar 2024-10-23 18:01:27 +03:00
MrOtherGuy
ef7a1b86a6 create toolbars_below_content_v2.css 2024-10-23 17:22:28 +03:00
MrOtherGuy
7367a9e80c autohide sidebar: always apply larger z-index
Patch from bug 1921811 changes things such that the
browser-area-z-index-sidebar is only used when revamped sidebar
is used. So lets shuffle things around a bit and use that always.
Fixes #431
2024-10-22 22:04:06 +03:00
MrOtherGuy
831ff094ba create oneline_toolbar.css
This is effectively navbar_tabs_oneliner for 133, but with conditions
for captions of left/right as well as tabs on left/right
2024-10-17 15:09:17 +03:00
MrOtherGuy
fc231f2444 Add _v2 version of tabs_below_content.css
This works in Firefox 133 and should be compatible with multi-row_tabs
as is
2024-10-15 14:10:05 +03:00
MrOtherGuy
eda73c19e4 tabs on bottom v2: support window controls on left placement 2024-10-12 05:50:29 +03:00
MrOtherGuy
91efcba213 create hide_tabs_toolbar_v2.css 2024-10-11 05:14:38 +03:00
MrOtherGuy
1d7530e370 only rotate nav-bar by 89.9deg when hiding it
Rotating by full 90deg makes panels anchored to some node, such as
star-button panel, unable to open. Fixes #424
2024-10-10 04:56:22 +03:00
MrOtherGuy
d60a970480 minimal text fields: update selectors for Fx 131 - fixes #422
Structure inside .urlbar-input-container is a bit different so lets fix
that
2024-10-09 05:29:33 +03:00
MrOtherGuy
e73c60ecfd buttons in tabs periphery: Make scrollbox > slot have display:contents 2024-10-06 05:35:14 +03:00
MrOtherGuy
4e6c1afd64 unset will-change for every .browser-titlebar in vertical popup menubar
This fixes #418
2024-10-05 18:55:37 +03:00
MrOtherGuy
13109b6d3d Trivial selector changes from titlebar removal 2024-10-05 08:44:59 +03:00
MrOtherGuy
29b7f87409 multirow tabs: apply flex:1 to scrollbox 2024-10-04 16:11:16 +03:00
MrOtherGuy
69e53df519 Restore z-index: auto for toolbox and sidebar elements. Fixes #411
Revamped sidebar design sets non-auto z-index for toolbox and sidebar
items. We need to restore them to auto for correct (in our perspective)
layering.
2024-10-02 06:10:12 +03:00
MrOtherGuy
5051132cf3 tabs on bottom v2: remove nav-bar top border and pbm icon tweaks 2024-09-29 10:11:40 +03:00
MrOtherGuy
da90d6d223 tabs on bottom v2: add support for left-side caption buttons and themes 2024-09-29 09:33:28 +03:00
MrOtherGuy
61b08bb448 autohide sidebar: increase the value of --browser-area-z-index-sidebar
In 132, sidebarbox-has lower z-index than tabbrowser-tabbox which would
cause expanded sidebar to be drawn behind web content. Fixes #408
2024-09-28 16:04:33 +03:00
MrOtherGuy
44b7593404 create tabs_on_bottom_v2.css
This does reordering with grid display. Requires Firefox 132 for
supporting display: contents on xul elements.
2024-09-27 16:42:39 +03:00
MrOtherGuy
3c18dabe86 normal pinned tabs: set min-width for tab-content
This makes text overflow work properly, fixes #404
2024-09-07 21:21:11 +03:00
MrOtherGuy
d08d7791fa toggle tabs toolbar with alt: Make Alt only show tabs toolbar
This is pretty much complete rewrite, Alt now only show tabs toolbar,
but when you press Alt again while also hovering tabs toolbar, then
menubar items will be shown and window controls likewise.

There's a weird behavior, some 1px slice that hides tabs toolbar when
cursor is moved from tabs to window controls, but doesn't trigger from
other direction mysteriously. But window controls can be accessed when
cursor is already where window controls would appear when Alt is pressed
the second time.
2024-09-02 16:06:53 +03:00