QNetITQ / WaveFox

Firefox CSS Theme/Style for manual customization
MIT License
1.03k stars 48 forks source link

Add an option to have title bar container disabled within the mica/acrylic mode #147

Closed Aleksandra0056 closed 1 year ago

Aleksandra0056 commented 1 year ago

Hello, I have Firefox without title bar container, because I have MinMaxClose button from Firefox Scripts by xiaoxiaoflood, but if I've applied the windows_11_10.css then there already are title bar container buttons, which I don't like. So I want an option in about:config which would disable the title bar container (minimize, maximize, close buttons) with enabled mica/acrylic mode within the windows_11_10.css.

Thank you for understanding my issue!

Oh, and if you implement it, then tell me how is that option named.

Aleksandra0056 commented 1 year ago

Sorry, that I changed the title too often, but the title is now completed.

QNetITQ commented 1 year ago

I don't support third party styles or modifications so I won't make a separate key for that. But if you just need to disable the window control buttons, just use the code below. It doesn't disable the buttons, it hides them.

.titlebar-buttonbox-container { pointer-events: none !important; / or / z-index: -1 !important; }

Aleksandra0056 commented 1 year ago

No! This issue is completely unrelated to xiaoxiaoflood's MinMaxClose, I only said, that I have it installed.

I said, that you should add an option to disable the title bar container within the mica/acrylic mode (an about:config entry).

Aleksandra0056 commented 1 year ago

Also, I added that code to windows_11_10.css and nothing have changed.

Aleksandra0056 commented 1 year ago

I must remove windows_11_10.css from my userChrome.css, because it causes problems with status bar.

QNetITQ commented 1 year ago

My code disables window control buttons. I thought you were talking about it. Can you clarify what you want to do? Preferably with screenshots.

QNetITQ commented 1 year ago

I read your message again. If you need to disable not the window control buttons, but the block in which they are located, then the code below should handle this.

.titlebar-buttonbox-container
{
    display: none !important;
}

Add this code here. You can delete lines from 61 to 135.