Move non-theme-specific inline editor styles into core.

Fix for #8571 (targeting release branch).

@larz0 can you take a look?

@mackenza does this do the trick for you?
Hmm... I don't actually see a problem from this.