Commit Graph

23 Commits

Author SHA1 Message Date
MrOtherGuy
a7bcb11625 code cleanup: remove rules using #titlebar 2025-11-02 06:23:35 +02:00
MrOtherGuy
9e39c99f50 Support [autohide] as boolean attribute
Firefox 143 uses authide as boolean attribute, so we need to support
both versions, thus selectors looking mildly horrifying
2025-09-18 17:06:31 +03:00
MrOtherGuy
14d2fa0d03 Add #notifications-toolbar as selector where notifications are styled 2025-07-27 07:08:51 +03:00
MrOtherGuy
2eaffa57ff autohiding styles: exclude more selectors from triggering auto-show
Fixes #535
2025-03-29 04:59:22 +02:00
MrOtherGuy
e3f0e06f4b autohide main toolbar: conditionally apply browser top margin
We have removed custom browser top margin in fullscreen mode, but it
actually needs to apply in fullscreen mode if toolbars are not
autohidden using built-in Firefox fullscreen mechanism.
2025-03-22 20:15:30 +02:00
MrOtherGuy
890a03f4ff autohiding toolbars: exclude tab-preview-panel from keeping toolbar open
Tab preview panel can sometimes cause what is possibly style
invalidation problem where the panel would jump around and even be
outside the window. This is especially likely to happen with
autohide_main_toolbar when tabs are overflowing.
2024-12-09 11:53:29 +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
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
d2a663229d autohide main toolbar: apply separate transitions to urlbar[popup] 2024-10-31 18:20:47 +02:00
MrOtherGuy
13109b6d3d Trivial selector changes from titlebar removal 2024-10-05 08:44:59 +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
4215caf2b8 autohide_main_toolbar: Relatively position titlebar instead of tabs
Fixes #342
2024-03-01 05:22:15 +02:00
MrOtherGuy
f42c760474 Don't modify #browser margins when chromehidden attr is set
chromehidden attribute to various values for windows where various
toolbar are disabled, such as popups etc.
2023-11-23 17:46:05 +02:00
MrOtherGuy
fd88af0e85 autohidden toolbars: Use :has() to show toolbar if menu popup is hovered 2023-11-23 17:27:28 +02:00
MrOtherGuy
ea17cb7f1f Show window global notificationbox in same order as tab modal 2022-03-27 15:31:59 +03:00
MrOtherGuy
1cbac45914 split up :hover and :focus-within so they cab be changed individually 2021-07-16 12:28:39 +03:00
MrOtherGuy
f3cf989c1b correctly remove effects in customizing mode 2021-07-02 12:34:43 +03:00
MrOtherGuy
ccddba2424 apply z-index to tabs, not titlebar and remove browser margin in fullscren 2021-06-03 10:30:38 +03:00
MrOtherGuy
f513263e2a better autohiding behavior in popup windows and customizing mode 2021-06-01 09:52:34 +03:00
MrOtherGuy
978e143e8b don't trigger nav-bar when bookmarks toolbar is hovered 2021-06-01 09:13:36 +03:00
MrOtherGuy
85b1c9b4e7 create autohide_main_toolbar.css 2021-05-31 23:52:10 +03:00