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?
We should be able to get rid of these two lines if we make the original border-top and border-bottom properties in brackets.less line 921 transparent.