Custom CSS dynamic classes since NC28

Hi,
Normally, I use the custom css app to modify certain menu items in the interface. Ever since upgrading to NC28, there is a new option in the “New” menu item called “create new templates folder”.

I’m trying to get rid of this by hiding it with css, but I’m not able to access it as some classes have a random name in it that changes at every reload.

Same for the “universal search” button.

Can someone help me on how I can hide these options?