Move some styles into type.less and adjust for tinymce compat