搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

此討論串已經關閉並封存。 如果您有需要幫助,請新增一個新問題

Hover Higlighting for Firefox

  • 1 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 Paul

more options

I found the following css for highlighting all context menu items for Firefox 91 ESR (not working on side-bar items from hamburger menu)

/* Highlight context menu items */

menu[_moz-menuactive="true"], menuitem[_moz-menuactive="true"] {

 background-color: #e8eefd !important;  /* blue 95% lighter */
 color: #3d3dff !important; /* blue 62% darker */
 /* https://www.w3schools.com/colors/colors_picker.asp */

}

How do I apply the same highlighting shown by the red arrow to the text where grey and heavy blue is used for highlighting? I find css very convoluted and it's hard for me to know what ids/parameters to use to get the desired effects. Any help appreciated.

I found the following css for highlighting all context menu items for Firefox 91 ESR (not working on side-bar items from hamburger menu) /* Highlight context menu items */ menu[_moz-menuactive="true"], menuitem[_moz-menuactive="true"] { background-color: #e8eefd !important; /* blue 95% lighter */ color: #3d3dff !important; /* blue 62% darker */ /* https://www.w3schools.com/colors/colors_picker.asp */ } How do I apply the same highlighting shown by the red arrow to the text where grey and heavy blue is used for highlighting? I find css very convoluted and it's hard for me to know what ids/parameters to use to get the desired effects. Any help appreciated.
附加的畫面擷圖

所有回覆 (1)

more options

Hi

I am going to close this thread as it appears to be a duplicate of:

https://support.mozilla.org/en-US/questions/1356307