8
0

tableediting.css 794 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
  3. * For licensing, see LICENSE.md.
  4. */
  5. :root {
  6. --ck-color-table-focused-cell-background: hsl(208, 90%, 98%);
  7. }
  8. .ck-widget.table {
  9. & td,
  10. & th {
  11. &.ck-editor__nested-editable.ck-editor__nested-editable_focused {
  12. /* A very slight background to highlight the focused cell */
  13. background: var(--ck-color-table-focused-cell-background);
  14. /* Fixes the problem where surrounding cells cover the focused cell's border.
  15. It does not fix the problem in all places but the UX is improved.
  16. See https://github.com/ckeditor/ckeditor5-table/issues/29. */
  17. border-style: none;
  18. outline: 1px solid var(--ck-color-focus-border);
  19. outline-offset: -1px; /* progressive enhancement - no IE support */
  20. }
  21. }
  22. }