essentials.admin.css

Same filename in other branches
  1. 9 core/modules/ckeditor5/css/essentials.admin.css
  2. 10 core/modules/ckeditor5/css/essentials.admin.css
.ckeditor5-toolbar-button-divider {
  background-image: url(../icons/divider.svg);
}

.ckeditor5-toolbar-button-wrapping {
  background-image: url(../icons/separator.svg);
}

.ckeditor5-toolbar-button-undo {
  background-image: url(../icons/undo.svg);
}

.ckeditor5-toolbar-button-redo {
  background-image: url(../icons/redo.svg);
}

.ckeditor5-toolbar-button-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100px;
  color: #000;
}

.ckeditor5-toolbar-button-heading::before {
  margin-left: 10px;
  /* For browsers which don't support alt content, eg FireFox */
  content: "Heading";
  content: "Heading" / "";
  font-size: 14px;
}

[dir="rtl"] .ckeditor5-toolbar-button-heading::before {
  margin-right: 10px;
  margin-left: 0;
}

.ckeditor5-toolbar-button-heading::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  content: "";
  transform: rotate(135deg);
  border-width: 2px 2px 0 0;
  border-style: solid;
}

[dir="rtl"] .ckeditor5-toolbar-button-heading::after {
  margin-right: 0;
  margin-left: 10px;
}

File

core/modules/ckeditor5/css/essentials.admin.css

View source
  1. .ckeditor5-toolbar-button-divider {
  2. background-image: url(../icons/divider.svg);
  3. }
  4. .ckeditor5-toolbar-button-wrapping {
  5. background-image: url(../icons/separator.svg);
  6. }
  7. .ckeditor5-toolbar-button-undo {
  8. background-image: url(../icons/undo.svg);
  9. }
  10. .ckeditor5-toolbar-button-redo {
  11. background-image: url(../icons/redo.svg);
  12. }
  13. .ckeditor5-toolbar-button-heading {
  14. display: flex;
  15. align-items: center;
  16. justify-content: space-between;
  17. width: 100px;
  18. color: #000;
  19. }
  20. .ckeditor5-toolbar-button-heading::before {
  21. margin-left: 10px;
  22. /* For browsers which don't support alt content, eg FireFox */
  23. content: "Heading";
  24. content: "Heading" / "";
  25. font-size: 14px;
  26. }
  27. [dir="rtl"] .ckeditor5-toolbar-button-heading::before {
  28. margin-right: 10px;
  29. margin-left: 0;
  30. }
  31. .ckeditor5-toolbar-button-heading::after {
  32. display: inline-block;
  33. width: 7px;
  34. height: 7px;
  35. margin-right: 10px;
  36. content: "";
  37. transform: rotate(135deg);
  38. border-width: 2px 2px 0 0;
  39. border-style: solid;
  40. }
  41. [dir="rtl"] .ckeditor5-toolbar-button-heading::after {
  42. margin-right: 0;
  43. margin-left: 10px;
  44. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.