S3.Translator for TB 60.7.0 with dark theme?

Talk about add-ons and extension development.
Post Reply
Centauri39
Posts: 355
Joined: November 25th, 2006, 2:18 pm

S3.Translator for TB 60.7.0 with dark theme?

Post by Centauri39 »

On a Linux Mint 19.1 MATE 64bit, how can I make S3.Translator using a dark background, please?
No matter what I try, it is still bright white, which is very ugly, when Thunderbird is set to a dark theme.
morat
Posts: 6432
Joined: February 3rd, 2009, 6:29 pm

Re: S3.Translator for TB 60.7.0 with dark theme?

Post by morat »

I can change the color using the userChrome.css file.

Code: Select all

/* Thunderbird userChrome.css */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");

html|div[id="s3gt_translate_tooltip"] {
  background-color: #353431 !important;
  color: #E6E6E6 !important;
  border: 1px solid #CCCCCC !important;
  box-shadow: 0 0 5px 2px rgba(40, 40, 40, 0.7) !important;
}
I got the css from the dark.css file in the extension's .xpi file.

S3.Google Translator 5.38
Thunderbird 60.7.1
Windows 7 SP1 32-bit

S3.Google Translator
http://addons.thunderbird.net/thunderbird/addon/986302
Centauri39
Posts: 355
Joined: November 25th, 2006, 2:18 pm

Re: S3.Translator for TB 60.7.0 with dark theme?

Post by Centauri39 »

Great! It's working!
Thank you very much!
Post Reply