jenskutilek / FiraSystemFontReplacement

Modified version of the Fira Sans fonts to replace the default system font on macOS
750 stars 23 forks source link

Firefox context menu #33

Open mcmz opened 8 years ago

mcmz commented 8 years ago

Runs nearly flawless on my system, except for the firefox context menu. Is there some kind of workaround for it?

mcmz commented 8 years ago

For others having an issue with that, here comes a workaround …

Edit userChrome.css under ~/Library/Application Support/Firefox/Profiles/[ProfileName]/chrome/ or create that files if it's not there. Paste the following code:

/* context menu (right click) */
#contentAreaContextMenu *, #contentAreaContextMenu menuitem {
    font: 300 14px 'Fira Sans', sans-serif !important;
}

/* bookmark menu item */
.bookmark-item menupopup .menuitem-iconic {
    font: 300 12px 'Fira Sans', sans-serif !important;
}

/* bookmark menu - bottommost item */
.bookmark-item menupopup menuitem {
    font: 300 14px 'Fira Sans', sans-serif !important;
}

/* all other context menues*/
menuitem {
    font: 300 14px 'Fira Sans', sans-serif !important;
}

/* url */
#urlbar {
    font: 300 12px 'Fira Sans', sans-serif !important;
}

NB: 'Fira Sans' has to be installed through fontbook.app or something like that, if you havent done that already. The Fira fonts should then be found within the ~/Library/Fonts/ folder.

samueleaton commented 6 years ago

is this resolved in the latest firefox?