Replace :before with :after

Backport of https://github.com/sonata-project/SonataAdminBundle/pull/2535