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

--
London
UK
_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to