| 123456789101112131415161718192021222324252627282930313233343536373839 |
- /*
- * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
- */
- :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;
- outline: unset;
- 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;
- }
- & .ck-widget_selected {
- outline: unset;
- }
- }
- }
|