essentials.admin.css

Same filename in other branches
  1. 10 core/modules/ckeditor5/css/essentials.admin.css
  2. 11.x 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;
  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. content: "Heading";
  23. font-size: 14px;
  24. }
  25. [dir="rtl"] .ckeditor5-toolbar-button-heading::before {
  26. margin-right: 10px;
  27. margin-left: 0;
  28. }
  29. .ckeditor5-toolbar-button-heading::after {
  30. display: inline-block;
  31. width: 7px;
  32. height: 7px;
  33. margin-right: 10px;
  34. content: "";
  35. transform: rotate(135deg);
  36. border-width: 2px 2px 0 0;
  37. border-style: solid;
  38. }
  39. [dir="rtl"] .ckeditor5-toolbar-button-heading::after {
  40. margin-right: 0;
  41. margin-left: 10px;
  42. }

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