mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-13 20:45:56 +00:00
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") }
|
Loading…
Add table
Add a link
Reference in a new issue