MrOtherGuy / firefox-csshacks

Collection of userstyles affecting the browser
Mozilla Public License 2.0
3.05k stars 307 forks source link

overlay_fullscreen_toolbars.css do nothing for me :( #367

Closed vitaly-zdanevich closed 2 months ago

vitaly-zdanevich commented 2 months ago

macOS, current stable Firefox.

MrOtherGuy commented 2 months ago

Yeah, it (and bunch of other styles were outdated for fullscreen specific rules, but they should be fixed now. Thanks for reporting!

vitaly-zdanevich commented 2 months ago

Thanks, now it works, and it COOL! This is good for performance on my old laptop. Maybe you should propose that CSS to Mozilla, to have such checkbox in Preferences?

MrOtherGuy commented 2 months ago

If the fullscreen toolbar behavior was changed it would certainly not be done with code like this - we just need to use this kind of "override styling" because aside from building Firefox from source we can't properly change the implementation and userChrome.css is best we got.

If you care about this sort of overlay behavior then I suggest you open a new ticket on bugzilla or maybe connect.mozilla.org proposing such a feature.

vitaly-zdanevich commented 2 months ago

Thanks, created https://connect.mozilla.org/t5/ideas/fullscreen-please-add-overlay-toolbar-like-in-safari/idi-p/57351#M33573

vitaly-zdanevich commented 2 months ago

Is it possible to hide the toolbar always when the mouse in not on the top?

https://github.com/MrOtherGuy/firefox-csshacks/assets/3514015/3a3d34bc-9c96-4e1b-b9ac-2532be50d915

MrOtherGuy commented 1 month ago

I don't really understand what''s going on threre to be honest. There's supposed to be a 600ms delay before the toolbars get hidden from this but that doesn't really match the recording.

Unfortunately whatever the cause, it sounds like macOS specific issue and I can't help you with that.

vitaly-zdanevich commented 1 month ago

I removed this line with delay, I do not like animations.

MrOtherGuy commented 1 month ago

Don't remove the whole thing. If you don't want an animation then just make the duration part (100ms) be zero (0sm). Then then animation should be instant, but still transitioned with 600ms delay.