Commit Graph

30 Commits

Author SHA1 Message Date
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 4f3ac169e3 autohide bm and main toolbars: Fix margins in fullscreen mode
Previously if Firefox was in fullscreen mode and toolbars would autohide
(per Firefox normal setting) then this style would cause content area to
be pushed way too far up because of computed margin-top on
navigator-toolbox. This patch makes navigator toolbox use margin
computed from tabs toolbar height.
2023-11-23 17:02:57 +02:00
MrOtherGuy 73338583a0 Use :has selector to let toolbars show if appMenu popup is hovered
This requires :has selector support which should be in fx 120
2023-11-06 15:04:22 +02:00
MrOtherGuy 69078c0394 Apply bookmarks block padding to bookmarks by variable
This makes the variable do what it says and makes compact mode work as
it should
2023-10-29 12:34:45 +02:00
MrOtherGuy daf7624553 Remove now-unnecessary rules from autohide-bookmarks_and_main_toolbars
These rules were once needed to make sure that invisible toolbox didn't
steal pointer events from sidebar. Not needed anymore, and this removal
also fixes #305
2023-09-26 19:43:51 +03:00
MrOtherGuy a504b365c8 fix incorrect notification bar layout 2023-09-26 19:37:57 +03:00
MrOtherGuy ed5a677a15 rework navigator-toolbox-background selectors 2023-09-07 20:09:55 +03:00
MrOtherGuy 5ea61e3d40 Add workarounds for bug 1705215 2023-07-18 19:16:42 +03:00
MrOtherGuy 0c0ba80f0b adjustments for bookmarks toolbar item sizing
This fixes an issue with Firefox 108 where an empty "placeholder" space
would appear below tabs toolbar.
2022-12-14 09:16:30 +02:00
MrOtherGuy b958b75f2c Make multi-row_bookmarks.css compatibility rules work in Firefox 107
In 107 (but not in 108) you also need to set
layout.css.moz-box-flexbox-emulation.enabled to true for things to work
2022-10-19 11:21:27 +03:00
MrOtherGuy ea17cb7f1f Show window global notificationbox in same order as tab modal 2022-03-27 15:31:59 +03:00
MrOtherGuy 1621ecc3f4 set visibility:hidden for items in bookmarks toolbar when collapsed 2022-02-06 09:36:12 +02:00
MrOtherGuy d35ebf1943 hide .bookmark-item elements in fullscreen mode. Fixes #154
For some reason individual .bookmark items in the toolbar are being
rendered in Firefox 96, even though the toolbar itself is hidden. This
patch applies a simple visibility:hidden to all of them.
2021-11-18 09:51:59 +02:00
MrOtherGuy 946668e9a1 Handle different bookmarks item heights better
Bookmark items in the toolbar may not be same height on all systems,
generally the text size on Linux is bigger than on Windows for example.
This patch changes the height to use min-height on bookmark items and
removes their individual block padding. Thus, thee effectively have
variable block-padding depending on the text size.

In addition this patch removes few pre-proton workarounds because those
don't need to be supported any more.
2021-11-13 09:26:18 +02:00
MrOtherGuy 2d7f31b766 make sure bookmarks toolbar isn't collapsed in fullscreen mode. fixes #154 2021-11-10 21:10:52 +02:00
MrOtherGuy 7db2c96530 add temporary dummy variables for tab-block-margin 2021-06-05 00:17:16 +03:00
MrOtherGuy 240b7ee1ec increase z-index of selected tab to hide the border below it 2021-05-29 20:48:30 +03:00
MrOtherGuy 8513ca9bfb fix additional background alignment 2021-05-29 20:05:36 +03:00
MrOtherGuy 3b3e363be5 apply --toolbar-bgcolor on top of theme-images 2021-05-29 19:41:39 +03:00
MrOtherGuy e369c1670c add support for theme images 2021-05-27 16:28:12 +03:00
MrOtherGuy 6556b1d525 bunch of fixes for proton compatibility 2021-05-08 14:54:52 +03:00
MrOtherGuy 2046d18880 sidebar-box needs to be position:relative 2021-03-21 08:33:34 +02:00
MrOtherGuy aa77a9478e Apply bookmarks padding also to import-bookmarks and other-bookmarks buttons 2020-12-16 16:19:28 +02:00
MrOtherGuy 7e11f3796e Reduce navbar and personaltoolbar transform specificity 2020-12-16 05:51:33 +02:00
MrOtherGuy 5d18237e62 Add off-by-default way to show toolbars if mainpopupset is hovered 2020-12-11 09:55:00 +02:00
MrOtherGuy b4d97d83c9 work around issue where hovering sidebar-header would show the toolbox 2020-11-22 08:27:57 +02:00
MrOtherGuy 5e823bafd5 make bookmarks toolbar only hidden - not collapsed when it is disabled 2020-10-04 21:36:14 +03:00
MrOtherGuy fc967120bf Use longer delay before autohide 2020-07-06 20:29:51 +03:00
MrOtherGuy 28278cffa4 new file 2020-05-27 16:12:41 +03:00