How to debug right click menu style

What I’m trying to do

I want to change the style of the right click on editor menu, but i don’t know how to get the right menu element in developer tools.

Things I have tried

Once i right click the editor menu and then click developer tools to get the element, the right menu disappears.

I also try F8 in developer Tools. I can use F8 shortcut when the mouse point in developer tools, but when i click the Obsidian, F8 fails.

I’ve not used it myself, but the tool mentioned in the thread below in Custom CSS & Theme Design (where I’ve moved your post for better responses) might be helpful.