Add iconized_menubar_items.css
This commit is contained in:
parent
3ab84536d0
commit
c6b0d611fc
3 changed files with 26 additions and 1 deletions
23
chrome/iconized_menubar_items.css
Normal file
23
chrome/iconized_menubar_items.css
Normal 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") }
|
|
@ -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"]
|
||||||
}
|
}
|
||||||
|
|
1
tags.csv
1
tags.csv
|
@ -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
|
||||||
|
|
|
Loading…
Reference in a new issue