Moved edit module CSS functions from modules to WB core (avoid code duplication; improve maintenance of code)