소스 검색

Used a solid background color for table cells to indicate the scope of the selection.

Aleksander Nowodzinski 6 년 전
부모
커밋
61c6d38194
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15 0
      packages/ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css

+ 15 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css

@@ -0,0 +1,15 @@
+/*
+ * 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: hsl(210, 92%, 85%);
+}
+
+.ck.ck-editor__editable .table table {
+	& td.ck-editor__editable_selected,
+	& th.ck-editor__editable_selected {
+		background-color: var(--ck-table-selected-cell-background) !important;
+	}
+}