You are here

editor_ckeditor.language.css in Editor 7

Language: add styling for elements that have a language attribute.

File

modules/editor_ckeditor/css/plugins/language/editor_ckeditor.language.css
View source
  1. /**
  2. * @file
  3. * Language: add styling for elements that have a language attribute.
  4. */
  5. /**
  6. * Show the user that a 'lang' tag has been applied by adding a thin dotted
  7. * border. We also append the value of the tag between brackets, for example:
  8. * '(en)'. Since the html element has a 'lang' attribute too we only target
  9. * elements within the html scope.
  10. */
  11. html [lang] {
  12. outline: 1px dotted gray;
  13. }
  14. html [lang]:after {
  15. content: " ("attr(lang)")";
  16. font-size: 10px;
  17. color: #666;
  18. }