Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

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

  • 5 trả lời
  • 1 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi olist

more options

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!
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (5)

more options

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.
more options

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

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.

more options

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.

more options

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