Edit Slide Menu

I’m not 100% sure if this is JavaScript or not (I know nothing about JS) so apologies if this is in the wrong section.

I would like to change the hover navigation on this website from what it is now to this:

As you can see I would like to change the shape but I want to keep the dynamic actions of the menu.

Any ideas?

Thanks