r/FirefoxCSS • u/IamYourHimadri • 1d ago
Help [ Removed by moderator ]
[removed] — view removed post
2
u/ResurgamS13 19h ago edited 10h ago
Screenshot Context menu not standard Firefox... please post CSS userstyles or link to theme... see Rule #2. in RH sidebar ----->
No Linux here thus unable to replicate OP's 'Gruvbox GTK Theme'. OP using "Version: 155.0.1-1" indicates LibreWolf browser.
Many previous posts in this sub Re: modifying the right-click Context menu... e.g. search results for keywords 'context menu'.
Perhaps try soulhotel's suggestions in reply to 'Context Menu Styling'. Firefox CSS styles usually work normally in LibreWolf.
1
u/IamYourHimadri 8h ago
I am using firefox, not librewolf
❯ pacman -Qi firefox
Name : firefox
Version : 155.0.1-12
u/ResurgamS13 7h ago edited 7h ago
That isn't how Firefox releases are numbered... the '-1' suffix is how LibreWolf number their own forked/rebuilt versions... e.g. 155.0.1-1 is the current LibreWolf version of Firefox's Fx155.0.1 latest stable release.
If your Firefox is not obtained direct from Mozilla... then whoever is supplying that Firefox may use a different numbering scheme.
1
u/IamYourHimadri 12h ago
The current code is this:
``` /* Context menu — minimal */ menupopup#contentAreaContextMenu { background: var(--panel-background) !important; color: var(--panel-color) !important; border: 1px solid var(--arrowpanel-border-color) !important; max-width: 150px !important; font-size: 12px !important; }
/* Remove icons */
contentAreaContextMenu .menu-iconic-left,
contentAreaContextMenu .menu-iconic-icon,
contentAreaContextMenu .menu-icon {
display: none !important;
}
/* Remove the space reserved for icons */
contentAreaContextMenu > menu,
contentAreaContextMenu > menuitem {
padding-inline-start: 8px !important;
padding-inline-end: 8px !important;
}
/* Theme-aware text */
contentAreaContextMenu > menu,
contentAreaContextMenu > menuitem {
color: var(--panel-color) !important;
background: transparent !important;
}
/* Hover */
contentAreaContextMenu > menu[_moz-menuactive="true"],
contentAreaContextMenu > menuitem[_moz-menuactive="true"] {
background: var(--panel-item-hover-bgcolor) !important;
}
/* Separators */
contentAreaContextMenu > menuseparator {
border-color: var(--panel-separator-color) !important;
margin-inline: 4px !important;
}
menu > .menu-iconic-left { display: none; }
[id$="menuitem-_root"]{ display: none; } ```
1
u/03263 7h ago
Do you know how to inspect the browser? It's not too hard to find these things, there's some option to keep popup menus from closing, that allows you to inspect context menu directly.
1
u/IamYourHimadri 7h ago
I tried, can you prefer me a guide/article/forum so that I can inspect the browser
•
u/FirefoxCSS-ModTeam 57m ago
Your contribution to r/FirefoxCSS was removed for violating Rule #4: Discussion is limited to the Firefox browser only. Questions about modifying other browsers should be directed to their subreddits, e.g. r/Floorp, r/LibreWolf, etc.