create iconized_main_menu.css

This commit is contained in:
MrOtherGuy 2021-05-02 11:56:40 +03:00
parent 2505a9693e
commit 5575800d2a
3 changed files with 29 additions and 1 deletions

View file

@ -0,0 +1,26 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/iconized_main_menu.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Adds icons to main menu items which were removed in Proton */
#appMenu-protonMainView > .panel-subview-body > toolbarbutton > image{
fill: currentColor;
-moz-context-properties: fill;
margin-inline: 0 8px !important;
}
#appMenu-new-tab-button2{ list-style-image: url("chrome://browser/skin/new-tab.svg") }
#appMenu-new-window-button2{ list-style-image: url("chrome://browser/skin/window.svg") }
#appMenu-new-private-window-button2{ list-style-image: url("chrome://browser/skin/privateBrowsing.svg") }
#appMenu-bookmarks-button{ list-style-image: url("chrome://browser/skin/bookmark-star-on-tray.svg") }
#appMenu-history-button{ list-style-image: url("chrome://browser/skin/history.svg") }
#appMenu-downloads-button{ list-style-image: url("chrome://browser/skin/downloads/download-icons.svg#arrow-with-bar") }
#appMenu-passwords-button{ list-style-image: url("chrome://global/skin/icons/security.svg") }
#appMenu-extensions-themes-button{ list-style-image: url("chrome://mozapps/skin/extensions/extension.svg") }
#appMenu-print-button2{ list-style-image: url("chrome://global/skin/icons/print.svg") }
#appMenu-save-file-button2{ list-style-image: url("chrome://browser/skin/save.svg") }
#appMenu-find-button2{ list-style-image: url("chrome://global/skin/icons/search-glass.svg") }
#appMenu-settings-button{ list-style-image: url("chrome://global/skin/icons/settings.svg") }
#appMenu-more-button2{ list-style-image: url("chrome://browser/skin/developer.svg") }
#appMenu-help-button2{ list-style-image: url(chrome://global/skin/icons/info.svg) }
#appMenu-zoom-controls2{ border-top: 1px solid var(--panel-separator-color) !important; }

View file

@ -123,5 +123,6 @@
"vertical_popup_menubar.css":["menubar","menu","toolbars","popup"], "vertical_popup_menubar.css":["menubar","menu","toolbars","popup"],
"window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"], "window_control_fallback_for_custom_windows_theme.css":["window-control","buttons","colors","patch"],
"window_control_placeholder_support.css":["window-control","patch"], "window_control_placeholder_support.css":["window-control","patch"],
"tab_separator_lines.css":["tab","proton"] "tab_separator_lines.css":["tab","proton"],
"iconized_main_menu.css":["icon","popup","menu","proton"]
} }

View file

@ -123,3 +123,4 @@ vertical_popup_menubar.css,menubar,menu,toolbars,popup
window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
window_control_placeholder_support.css,window-control,patch window_control_placeholder_support.css,window-control,patch
tab_separator_lines.css,tab,proton tab_separator_lines.css,tab,proton
iconized_main_menu.css,icon,popup,menu,proton

1 auto_devtools_theme_for_rdm.css,devtools,colors
123 window_control_fallback_for_custom_windows_theme.css,window-control,buttons,colors,patch
124 window_control_placeholder_support.css,window-control,patch
125 tab_separator_lines.css,tab,proton
126 iconized_main_menu.css,icon,popup,menu,proton