Add iconized_menubar_items.css

This commit is contained in:
MrOtherGuy 2020-06-30 16:29:40 +03:00
parent 3ab84536d0
commit c6b0d611fc
3 changed files with 26 additions and 1 deletions

View file

@ -0,0 +1,23 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/iconized_menubar_items.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Replaces menubar items text ("File Edit etc.") with icons */
#main-menubar > menu{
fill: currentColor;
height: 22px;
width: 32px;
-moz-context-properties: fill;
padding: 3px !important;
background-repeat: no-repeat;
background-position: center;
}
.menubar-text{ display: none }
#file-menu{ background-image: url("chrome://devtools/skin/images/tool-storage.svg") }
#edit-menu{ background-image: url("chrome://browser/skin/customize.svg") }
#view-menu{ background-image: url("chrome://devtools/skin/images/command-frames.svg") }
#history-menu{ background-image: url("chrome://browser/skin/history.svg") }
#bookmarksMenu{ background-image: url("chrome://browser/skin/bookmark.svg") }
#tools-menu{ background-image: url("chrome://browser/skin/developer.svg") }
#helpMenu{ background-image: url("chrome://global/skin/icons/help.svg") }

View file

@ -95,5 +95,6 @@
"vertical_context_navigation_v2.css":["navigation","menu","popup"], "vertical_context_navigation_v2.css":["navigation","menu","popup"],
"vertical_menubar.css":["menubar","hack"], "vertical_menubar.css":["menubar","hack"],
"window_control_placeholder_support.css":["window-control","patch"], "window_control_placeholder_support.css":["window-control","patch"],
"hide_tabs_toolbar_osx.css":["tabs","toolbars","hiding","minimal"] "hide_tabs_toolbar_osx.css":["tabs","toolbars","hiding","minimal"],
"iconized_menubar_items.css":["menubar","menu","icon"]
} }

View file

@ -95,3 +95,4 @@ vertical_context_navigation_v2.css,navigation,menu,popup
vertical_menubar.css,menubar,hack vertical_menubar.css,menubar,hack
window_control_placeholder_support.css,window-control,patch window_control_placeholder_support.css,window-control,patch
hide_tabs_toolbar_osx.css,tabs,toolbars,hiding,minimal hide_tabs_toolbar_osx.css,tabs,toolbars,hiding,minimal
iconized_menubar_items.css,menubar,menu,icon

1 autohide_bookmarks_and_main_toolbars.css,autohide,bookmarks,toolbars,nav-bar
95 vertical_menubar.css,menubar,hack
96 window_control_placeholder_support.css,window-control,patch
97 hide_tabs_toolbar_osx.css,tabs,toolbars,hiding,minimal
98 iconized_menubar_items.css,menubar,menu,icon