alignment.admin.css

Same filename in other branches
  1. 9 core/modules/ckeditor5/css/alignment.admin.css
  2. 11.x core/modules/ckeditor5/css/alignment.admin.css
.ckeditor5-toolbar-button-alignment\:left {
  background-image: url(../icons/align-left.svg);
}
.ckeditor5-toolbar-button-alignment\:right {
  background-image: url(../icons/align-right.svg);
}
.ckeditor5-toolbar-button-alignment\:center {
  background-image: url(../icons/align-center.svg);
}
.ckeditor5-toolbar-button-alignment\:justify {
  background-image: url(../icons/align-justify.svg);
}
.ckeditor5-toolbar-button-alignment {
  background-image: url(../icons/align-left.svg);
}

.ckeditor5-toolbar-button-alignment {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 20px;
  background-position-x: 10px;
}
[dir="rtl"] .ckeditor5-toolbar-button-alignment {
  padding-right: 0;
  padding-left: 20px;
  background-position-x: 30px;
}
.ckeditor5-toolbar-button-alignment::after {
  position: relative;
  right: -10px;
  display: inline-block;
  width: 7px;
  height: 7px;
  content: "";
  transform: rotate(135deg);
  color: #000;
  border-width: 2px 2px 0 0;
  border-style: solid;
  background-position-x: -10px;
}
[dir="rtl"] .ckeditor5-toolbar-button-alignment::after {
  right: 10px;
  background-position-x: 10px;
}

File

core/modules/ckeditor5/css/alignment.admin.css

View source
  1. .ckeditor5-toolbar-button-alignment\:left {
  2. background-image: url(../icons/align-left.svg);
  3. }
  4. .ckeditor5-toolbar-button-alignment\:right {
  5. background-image: url(../icons/align-right.svg);
  6. }
  7. .ckeditor5-toolbar-button-alignment\:center {
  8. background-image: url(../icons/align-center.svg);
  9. }
  10. .ckeditor5-toolbar-button-alignment\:justify {
  11. background-image: url(../icons/align-justify.svg);
  12. }
  13. .ckeditor5-toolbar-button-alignment {
  14. background-image: url(../icons/align-left.svg);
  15. }
  16. .ckeditor5-toolbar-button-alignment {
  17. display: flex;
  18. align-items: center;
  19. justify-content: flex-end;
  20. padding-right: 20px;
  21. background-position-x: 10px;
  22. }
  23. [dir="rtl"] .ckeditor5-toolbar-button-alignment {
  24. padding-right: 0;
  25. padding-left: 20px;
  26. background-position-x: 30px;
  27. }
  28. .ckeditor5-toolbar-button-alignment::after {
  29. position: relative;
  30. right: -10px;
  31. display: inline-block;
  32. width: 7px;
  33. height: 7px;
  34. content: "";
  35. transform: rotate(135deg);
  36. color: #000;
  37. border-width: 2px 2px 0 0;
  38. border-style: solid;
  39. background-position-x: -10px;
  40. }
  41. [dir="rtl"] .ckeditor5-toolbar-button-alignment::after {
  42. right: 10px;
  43. background-position-x: 10px;
  44. }

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