X
Kliknite sem pre prechod na mobilnú verziu webu.

Fórum podpory

How to change the tooltip's color of the menu button?

Pridané

After added the following code to my userChrome.css file, tooltip {

 -moz-appearance: none !important;
 background-color: #1e1e1e !important;
 color: #b4b4b4 !important;

} most tooltips' styles were modified. But it just didn't work for the menu button. I'm using Firefox 70. Thank you!

After added the following code to my userChrome.css file, tooltip { -moz-appearance: none !important; background-color: #1e1e1e !important; color: #b4b4b4 !important; } most tooltips' styles were modified. But it just didn't work for the menu button. I'm using Firefox 70. Thank you!
Priložené obrázky
Citácia

Ďalšie informácie o systéme

Aplikácie

  • Identifikácia prehliadača: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Viac informácií

Dinushi Dhananjani
  • Top 25 Contributor
5 riešení 216 odpovedí

To edit your your userContent.css file:

   First you need to find your Firefox profile. ...
   Under “Application Basics”, ...
   Look for the chrome folder inside your profile folder. ...
   Look for a file called userContent.css in the 'chrome' folder. ...
   Add the CSS and wrap-around text shown below.
   Save the file.
   Restart Firefox.
To edit your your userContent.css file: First you need to find your Firefox profile. ... Under “Application Basics”, ... Look for the chrome folder inside your profile folder. ... Look for a file called userContent.css in the 'chrome' folder. ... Add the CSS and wrap-around text shown below. Save the file. Restart Firefox.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17677 riešení 159899 odpovedí

Try to make the code work for all namespaces. You can also try to place the code above the default @namespace line.


*|*tooltip {
 -moz-appearance: none !important;
 background-color: #1e1e1e !important;
 color: #b4b4b4 !important;
}
Try to make the code work for all namespaces. You can also try to place the code above the default @namespace line. ---- <pre><nowiki> *|*tooltip { -moz-appearance: none !important; background-color: #1e1e1e !important; color: #b4b4b4 !important; }</nowiki></pre>
Pomohlo vám to?
Citácia

Autor otázky

cor-el said

Try to make the code work for all namespaces. You can also try to place the code above the default @namespace line.
*|*tooltip {
 -moz-appearance: none !important;
 background-color: #1e1e1e !important;
 color: #b4b4b4 !important;
}

I tried your ways, but they didn't work for me.

''cor-el [[#answer-1269900|said]]'' <blockquote> Try to make the code work for all namespaces. You can also try to place the code above the default @namespace line. ---- <pre><nowiki> *|*tooltip { -moz-appearance: none !important; background-color: #1e1e1e !important; color: #b4b4b4 !important; }</nowiki></pre> </blockquote> I tried your ways, but they didn't work for me.
Pomohlo vám to?
Citácia
cor-el
  • Top 10 Contributor
  • Moderator
17677 riešení 159899 odpovedí

Did you try to place the *|*tooltip {} code above the @namespace line because your screenshot shows your not working code in that position?

Tooltips are always difficult to get a selector or find them in the DOM and some elements in the user interface have been moved from XUL space to HTML space making this more difficult.

Did you try to place the <b>*|*tooltip {}</b> code above the @namespace line because your screenshot shows your not working code in that position? Tooltips are always difficult to get a selector or find them in the DOM and some elements in the user interface have been moved from XUL space to HTML space making this more difficult.
Pomohlo vám to?
Citácia

Autor otázky

cor-el said

Did you try to place the *|*tooltip {} code above the @namespace line because your screenshot shows your not working code in that position? Tooltips are always difficult to get a selector or find them in the DOM and some elements in the user interface have been moved from XUL space to HTML space making this more difficult.

Thanks for your reply, but it didn't work either. Maybe it's a bug

''cor-el [[#answer-1270166|said]]'' <blockquote> Did you try to place the <b>*|*tooltip {}</b> code above the @namespace line because your screenshot shows your not working code in that position? Tooltips are always difficult to get a selector or find them in the DOM and some elements in the user interface have been moved from XUL space to HTML space making this more difficult. </blockquote> Thanks for your reply, but it didn't work either. Maybe it's a bug
Pomohlo vám to?
Citácia
Položiť otázku

Ak chcete pridať odpoveď, musíte sa prihlásiť k svojmu účtu. Ak účet doteraz nemáte, položte novú otázku.