Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, 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 replies
  • 0 have this problem
  • 3 views
  • Last reply by Rick

more options

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.

Chosen solution

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;
}
Read this answer in context 👍 0

All Replies (2)

more options

Chosen Solution

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;
}

Helpful?

more options

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

Helpful?

Ask a question

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