create privatemode_indicator_as_menu_button.css

This commit is contained in:
MrOtherGuy 2021-02-20 19:09:38 +02:00
parent ff2a46604f
commit ca1ff8ba07
3 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,9 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/privatemode_indicator_as_menu_button.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Removes the private-browsing-mode indicator from tabs toolbar and changes the menu-button icon to the private-browsing indicator in private windows */
.private-browsing-indicator{ display: none }
:root[privatebrowsingmode="temporary"] #PanelUI-menu-button{
list-style-image: url("chrome://browser/skin/private-browsing.svg") !important;
}

View file

@ -113,5 +113,6 @@
"custom_menupopup_check_icons.css":["icon","menu","minimal","popup"],
"show_toolbars_in_popup_windows.css":["toolbars","popup"],
"centered_tab_content.css":["tab","icon"],
"window_control_fallback_for_custom_windows_theme.css":["window-controls","buttons","colors","patch"]
"window_control_fallback_for_custom_windows_theme.css":["window-controls","buttons","colors","patch"],
"privatemode_indicator_as_menu_button.css":["icon","buttons"]
}

View file

@ -113,3 +113,4 @@ custom_menupopup_check_icons.css,icon,menu,minimal,popup
show_toolbars_in_popup_windows.css,toolbars,popup
centered_tab_content.css,tab,icon
window_control_fallback_for_custom_windows_theme.css,window-controls,buttons,colors,patch
privatemode_indicator_as_menu_button.css,icon,buttons

1 autohide_bookmarks_and_main_toolbars.css,autohide,bookmarks,toolbars,nav-bar
113 show_toolbars_in_popup_windows.css,toolbars,popup
114 centered_tab_content.css,tab,icon
115 window_control_fallback_for_custom_windows_theme.css,window-controls,buttons,colors,patch
116 privatemode_indicator_as_menu_button.css,icon,buttons