Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #271 from ckeditor/i/6229
Browse files Browse the repository at this point in the history
Fix: Background color of a table cell should blend with the background of an entire table. Closes ckeditor/ckeditor5#6229.
  • Loading branch information
oleq authored Mar 11, 2020
2 parents 931351c + 7522711 commit f5312ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions theme/ckeditor5-table/tableediting.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
*/

:root {
--ck-color-table-focused-cell-background: hsl(208, 90%, 98%);
--ck-color-table-focused-cell-background: hsla(208, 90%, 80%, .3);
}

.ck-widget.table {
& td,
& th {
&.ck-editor__nested-editable.ck-editor__nested-editable_focused {
&.ck-editor__nested-editable.ck-editor__nested-editable_focused,
&.ck-editor__nested-editable:focus {
/* A very slight background to highlight the focused cell */
background: var(--ck-color-table-focused-cell-background);

Expand Down

0 comments on commit f5312ed

Please sign in to comment.