8
0
فهرست منبع

Merge branch 'master' into i/6107

Aleksander Nowodzinski 5 سال پیش
والد
کامیت
9df2fe9bfe
1فایلهای تغییر یافته به همراه28 افزوده شده و 0 حذف شده
  1. 28 0
      packages/ckeditor5-theme-lark/theme/ckeditor5-table/tableselection.css

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

@@ -0,0 +1,28 @@
+/*
+ * 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%, 90%);
+}
+
+.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;
+
+		caret-color: transparent;
+		outline: unset;
+		box-shadow: unset;
+
+		& ::selection {
+			background-color: transparent;
+		}
+
+		& .ck-widget_selected {
+			outline: unset;
+		}
+	}
+}
+