Commit Graph

31 Commits

Author SHA1 Message Date
MrOtherGuy
8d3c6ab4fc code cleanup: remove uses of -moz-bool-pref 2025-11-02 06:45:00 +02:00
MrOtherGuy
2ea55cbc72 autohide bookmarks toolbar: background styling for vertical tabs
Bookmarks toolbar doesn't have --toolbar-bgcolor when vertical tabs is
enabled.

We need to inherit background-color from toolbox though, because
otherwise the toolbar would be transparent if the selected theme doesn't
have image backgrounds.
2025-03-06 05:22:34 +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
c79cfaf813 Remove fx 119 specific light-dark() workarounds 2023-12-09 16:35:39 +02:00
MrOtherGuy
a16f88fab3 Fix some background-image alignment issues for autohidden bm toolbar 2023-10-26 17:37:09 +03:00
MrOtherGuy
fd1b56ea7c autohide_bookmarks_toolbar: add workaround for fx 119 with default theme
In 119 the light-dark() computation doesn't always resolve correctly and
when default theme is used --toolbar-bgcolor ends up using it.
See bug 1853524 for some more info.
This fixes #315
2023-10-26 17:31:47 +03: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
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
2a3c116fd1 improvements for bookmarks toolbar background image alignment 2021-09-17 20:33:22 +03:00
MrOtherGuy
81a94ba8d4 Set custom backgrounds always rather than depending on lwtheme-image
:root[lwtheme-image] doesn't necessarily work with all themes
2021-07-31 00:21:22 +03:00
MrOtherGuy
04e15aba61 add multi-image background to bookmark toolbar if theme has header image
This is a workaround for an issue where the toolbar background may be
transparent if theme uses non-opaque toolbar background-color
2021-07-31 00:03:00 +03:00
MrOtherGuy
aa77a9478e Apply bookmarks padding also to import-bookmarks and other-bookmarks buttons 2020-12-16 16:19:28 +02:00
MrOtherGuy
a4c81d331a Move behavior-control comments to the top of the file 2020-08-29 06:07:07 +03:00
Neil561
608ac1a6c0 Allowing disable 'hover' or 'focus' behavior via properties (#70)
* Update autohide_bookmarks_toolbar.css

* Removing variables

* Adding comments

* Using meaningful variables and fixing comments
2020-08-29 05:55:01 +03:00
MrOtherGuy
1ba9cafab4 Update default toolbar paddings match current Firefox styling 2020-08-08 12:00:04 +03:00
MrOtherGuy
fc967120bf Use longer delay before autohide 2020-07-06 20:29:51 +03:00
MrOtherGuy
e7a5932fb6 Remove the extra 2px margin from bookmarks toolbar 2020-07-02 17:17:52 +03:00
MrOtherGuy
84ec1414dd Add source/license notices 2020-05-22 08:13:58 +03:00
MrOtherGuy
aa9dddaccf Add compatibility layer for autohide + multi-row bookmarks toolbar 2020-01-18 22:04:18 +02:00
MrOtherGuy
f8dfc90ed0 Shorten the hiding delay and make the showing delay apply when nav-bar
is focused
2020-01-10 09:47:54 +02:00
aleqx
369522e091 short delay for show, long delay for hide 2020-01-09 15:50:34 +00:00
MrOtherGuy
d6a1a8663d Separate the two show behaviors 2020-01-08 23:51:11 +02:00
MrOtherGuy
026b65a517 Make magic heights to be controlled by variables 2020-01-05 00:39:52 +02:00
MrOtherGuy
62818a31d4 Add options to select when to show bookmarks toolbar 2020-01-03 15:39:36 +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
993d439c57 Remove child combinators between :root and toolbox & browser 2019-11-11 17:23:33 +02:00
MrOtherGuy
86fad03932 Disable autohide while customizing 2019-06-01 00:22:40 +03:00
MrOtherGuy
03d99edf6d let the position to be static 2019-06-01 00:17:51 +03:00
MrOtherGuy
8247e931fd new file 2019-06-01 00:14:17 +03:00