Naezr / ShyFox

A very shy little theme that hides the entire browser interface in the window border
Mozilla Public License 2.0
1.68k stars 30 forks source link

Trying to get shy-toolbar work with ESR128 based Floorp #138

Open uugaabuugaa opened 2 months ago

uugaabuugaa commented 2 months ago

Most of the css work with Floorp after it shifted to ESR128 but the shy-toolbar is having some issues. It seems like the Browser Manager Sidebar conflicts with shy-toolbar for some reason even if it is turned off. I use the code below to hide BMS unless hovering on it.

#sidebar-select-box {
width: 1px !important;
max-width: 1px !important;
min-width: 1px !important;
transition: all 0.1s;
}
#sidebar-select-box:hover {
width: 42px !important;
max-width: 42px !important;
min-width: 42px !important;
}

It seems whether I have BMS on or off, the code mentioned above in the userchrome.css or not, shy-toolbar keeps flickering if the mouse isn't present exactly within the toolbar border.

Any idea what I might need to change to make the flickering off in Floorp or is it a lost cause?

https://github.com/user-attachments/assets/2b47bb4c-daa3-46d5-9272-770645fa8e24

Naezr commented 2 months ago

Most likely the problems are in that location:

https://github.com/Naezr/ShyFox/blob/main/chrome%2FShyFox%2Fshy-toolbar.css#L183-L194

Try adding !important to all parameters.

Since everything started working on Floorp, I will probably port ShyFox 4.0 to Floorp when I finish development for the original Firefox.

uugaabuugaa commented 2 months ago

adding !important doesn't seem to change anything.

I will probably port ShyFox 4.0 to Floorp when I finish development for the original Firefox.

I'll be waiting for v4.0 then.