Dirk Fieldhouse wrote on 29/12/20 11:53:
On 28/12/2020 05:42, Daniel wrote:
Dirk Fieldhouse wrote on 28/12/2020 6:10 am:
...
If you never want the mail tab bar to be shown, or you want it to be disabled independently of the browser tab bar, you can apply a user style like this:

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url-prefix('chrome://') {

.tabmail-tabs {display: none;}

}

The StyleM extension makes it easy to do this.

/df

Thank you, Dirk, your logic seems infallible!

I guess this means an addition to my UserChrome.js file, that addition being everything from your "@namespace" to your "display: none;)" right??

The @namespace line would already be in the *userChrome.css* (in the chrome profile subdirectory) if you had already edited it. You don't need the @-moz-document line because putting the style in userChrome.css means the same. You can check the -example files in the same directory for usage (userChrome -> internal browser styles; userContent -> website styles).

With StyleM, and its predecessors, the presence of the line "@-moz-document url-prefix('chrome://')" identifies a user style ("affects the user interface"), vs "affects <whatever URL>".

HTH
/df

I'm sure it will help, thanks again, Dirk
--
Daniel

User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 SeaMonkey/2.53.5.1 Build identifier: 20201115194905

Linux User agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.1 Build identifier: 20171015235623
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to