UNPKG

@ckeditor/ckeditor5-theme-lark

Version:

A bright theme for CKEditor 5.

47 lines (40 loc) 1.04 kB
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ :root { --ck-table-selected-cell-background: hsla(208, 90%, 80%, .3); } .ck.ck-editor__editable .table table { & td.ck-editor__editable_selected, & th.ck-editor__editable_selected { position: relative; caret-color: transparent; box-shadow: unset; /* https://github.com/ckeditor/ckeditor5/issues/6446 */ &:after { content: ''; pointer-events: none; background-color: var(--ck-table-selected-cell-background); position: absolute; top: 0; left: 0; right: 0; bottom: 0; } & ::selection, &:focus { background-color: transparent; } /* * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle. * See https://github.com/ckeditor/ckeditor5/issues/9491. */ & .ck-widget { outline: unset; & > .ck-widget__selection-handle { display: none; } } } }