I found the source
Masque is the addon that is skinning the buttons. You can access it through /msq. There is an option to disable it's features for WeakAuras, but you wont have the buttonstyle that fits RealUI, so I suggest the negative spacing in WeakAuras.