Style Ajax Loader

When an ajax event is fired in Drupal, the ajax loader appears briefly then disappears.

This makes it hard to theme!

To make it appear and stick around, set an XHR breakpoint in your browser debugger.

Image
Firefox debugger xhr breakpoints

Now trigger the ajax event.

Image
Drupal ajax loader default

The debugger will pause, keeping the loader visible.

Inspect the element again to hide the overlay.