Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CSS for changing the color of the star in a highlighted row

  • 2 antwoorde
  • 0 hierdie probleem
  • 87 views
  • Laaste antwoord deur Rick

I would like to change the fill color and the outline color of stars in the message list when messages are starred and highlighted. (I have code already for stars when messages are starred and not highlighted.)

Does anyone know the right CSS code?

Many thanks for any help.

I would like to change the fill color and the outline color of stars in the message list when messages are starred and highlighted. (I have code already for stars when messages are starred and not highlighted.) Does anyone know the right CSS code? Many thanks for any help.

Gekose oplossing

Based on this topic:

https://support.mozilla.org/gl/questions/1500833

the star colour for selected messages can be set with this css:

*|*:root .selected{
  --thread-pane-flag-fill: cyan !important;
  --thread-pane-flag-stroke: red !important;
}
Lees dié antwoord in konteks 👍 0

All Replies (2)

Gekose oplossing

Based on this topic:

https://support.mozilla.org/gl/questions/1500833

the star colour for selected messages can be set with this css:

*|*:root .selected{
  --thread-pane-flag-fill: cyan !important;
  --thread-pane-flag-stroke: red !important;
}

Thanks, sfhowes! I did not know how to refer to “selected”.

Vra 'n vraag

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.