MrOtherGuy / firefox-csshacks

Collection of userstyles affecting the browser
Mozilla Public License 2.0
3.2k stars 312 forks source link

[Feature Request] Group iconized context buttons horizontally #403

Open Hash6232 opened 2 weeks ago

Hash6232 commented 2 weeks ago

There are certain buttons in the context menus that are pretty much self explanatory and that don't really need text or to take an entire line for them. Is there a way to group together these buttons to save up space? The vertical contextmenu navigation does just that, kinda, but maybe something similar can be achieved by toggling on context menu icons and then placing them on the same line in contextual groups (navigation groups, text editing groups, etc)

contextual_menu

MrOtherGuy commented 2 weeks ago

I think this is a rather neat idea, and it can be done, but it's rather complicated. I have created a style for this, which works alongside iconized_textbox_context_menu.css and iconized_content_context_menu.css (it requires them both to actually show the icons). But it changes the menu layout rather drastically, so there might very well be situations where it's gonna break.

MrOtherGuy commented 2 weeks ago

The style in question: https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/icon_only_context_menu_text_controls.css