8
0

tableediting.css 673 B

1234567891011121314151617181920212223
  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: double;
  18. }
  19. }
  20. }