entity-link-suggestions.css

Same filename and directory in other branches
  1. 11.x core/modules/ckeditor5/css/entity-link-suggestions.css

Styles for Entity Link Suggestions in CKEditor 5.

File

core/modules/ckeditor5/css/entity-link-suggestions.css

View source
  1. /**
  2. * @file
  3. * Styles for Entity Link Suggestions in CKEditor 5.
  4. */
  5. /* Override the default jQuery UI theme and CKEditor defaults */
  6. .ck-reset_all .entity-link-suggestions-ui-autocomplete {
  7. overflow: auto;
  8. max-height: calc((100vh - 80px) / 2);
  9. &.ck-reset_all-excluded {
  10. max-width: 500px;
  11. white-space: break-spaces;
  12. }
  13. }
  14. .entity-link-suggestions-ui-autocomplete.ui-widget {
  15. font-size: 0.9em;
  16. }
  17. .entity-link-suggestions-ui-autocomplete.ui-menu .entity-link-suggestions-result-line-wrapper {
  18. margin: 0;
  19. padding: 5px 7px;
  20. }
  21. .entity-link-suggestions-ui-autocomplete.ui-menu .entity-link-suggestions-result-line-wrapper.ui-state-focus,
  22. .entity-link-suggestions-ui-autocomplete.ui-menu .entity-link-suggestions-result-line-wrapper.ui-state-active {
  23. color: #fff;
  24. border: 0;
  25. border-bottom: 1px solid #bfbfbf;
  26. background: #0075ba;
  27. }
  28. .entity-link-suggestions-result-line:not(:last-of-type) {
  29. border-bottom: 1px solid #bfbfbf;
  30. }
  31. .ui-menu .entity-link-suggestions-result-line--group.ui-menu-divider {
  32. height: auto;
  33. margin: 0;
  34. padding: 3px;
  35. text-align: center;
  36. color: #555;
  37. border-bottom: 1px solid #bfbfbf;
  38. background-color: #e7e7e7;
  39. font-size: 0.9em;
  40. font-weight: 600;
  41. line-height: inherit;
  42. }
  43. .entity-link-suggestions-result-line--title {
  44. display: block;
  45. margin-bottom: 3px;
  46. font-weight: 600;
  47. line-height: 1.3;
  48. }
  49. .entity-link-suggestions-result-line--description {
  50. display: block;
  51. font-size: 0.9em;
  52. line-height: 1.3;
  53. }
  54. .entity-link-suggestions-result-line--description img {
  55. display: block;
  56. }
  57. .ck.ck-form.ck-link-form.ck-responsive-form {
  58. width: fit-content;
  59. min-width: 340px;
  60. max-width: 640px;
  61. }

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