Commit Graph

24 Commits

Author SHA1 Message Date
MrOtherGuy
bcb85f0476 autohide sidebar: add optional way to also hide sidebar main 2026-01-16 16:11:00 +02:00
MrOtherGuy
20830b8677 autohide sidebar: handle .sidebar-browser-stack wrapper 2025-05-22 18:19:26 +03:00
MrOtherGuy
c880ab119a autohide sidebar: set sidebar-box directionality only based on side 2025-05-03 20:27:34 +03:00
MrOtherGuy
7f4f4511ba autohide sidebar: Add option for fixed-layout sidebar via pref 2025-04-30 12:43:20 +03:00
MrOtherGuy
b57c0b5456 autohide-sidebar: make sidebar rules use [sidebar-positionend] attribute
And also remove extra border for revamped sidebar.
This fixes #542
2025-04-30 12:37:30 +03:00
Sujal Gurung
8c371d758a add note to only autohide Sideberry sidebar (#518)
This css is useful to autohide Sideberry but users may not want other sidebars like History, Bitwarden to be autohidden.
2025-02-25 16:12:21 +02: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
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
dom
db9e98834e parameterize autohide transition (#323) 2023-11-13 05:25:56 +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
b08805185f autohide_sidebar: create sidebar-header padding using pseudo-elements.
This works around a layout issue where header inline-padding prevents it
from collapsing to zero-width in fullscreen mode.
2022-11-16 09:25:07 +02:00
MrOtherGuy
53526aa76e autohide-sidebar: Apply width transitions to sidebar-header 2022-10-08 16:33:43 +03:00
MrOtherGuy
0e2727345b inherit sidebar background color
inherited background is safer than using --toolbar-bgcolor which is very
likely to have transparency if theme has images.
2022-05-07 20:46:15 +03:00
MrOtherGuy
202809a27e Move statuspanel to the other side when sidebar is hovered 2020-07-22 08:29:48 +03:00
MrOtherGuy
fc967120bf Use longer delay before autohide 2020-07-06 20:29:51 +03:00
MrOtherGuy
84ec1414dd Add source/license notices 2020-05-22 08:13:58 +03:00
MrOtherGuy
5cbcc0378a Add support for sidebar on left/right & RTL combinations 2020-01-07 12:17:01 +02:00
MrOtherGuy
02fcff95cb Add z-index:1 for elements that need to overlap web-content 2019-11-14 17:48:20 +02:00
MrOtherGuy
a65c512919 make sidebar 1px wide in fullscreen mode 2019-06-10 12:17:01 +03:00
MrOtherGuy
c2ad7e9973 Fix some coloring issues with different themes 2018-12-09 19:17:05 +02:00
MrOtherGuy
bb8d6a35e5 Use correct text colors on sidebar header 2018-12-07 17:54:17 +02:00
MrOtherGuy
d1e3a75b51 Use more suitable colors in sidebars 2018-12-06 23:47:43 +02:00
MrOtherGuy
ace01c890a Set max-width to the container to make things work properly 2018-12-06 23:17:27 +02:00
MrOtherGuy
db8dd681d2 New file 2018-12-06 21:38:55 +02:00