@ckeditor/ckeditor5-theme-lark 43.1.0-alpha.5 → 43.1.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index-editor.css
CHANGED
@@ -3221,7 +3221,6 @@ a.ck.ck-button-bold{
|
|
3221
3221
|
.ck-widget.table td.ck-editor__nested-editable:focus,
|
3222
3222
|
.ck-widget.table th.ck-editor__nested-editable:focus{
|
3223
3223
|
background:var(--ck-color-selector-focused-cell-background);
|
3224
|
-
border-style:none;
|
3225
3224
|
outline:1px solid var(--ck-color-focus-border);
|
3226
3225
|
outline-offset:-1px;
|
3227
3226
|
}
|
@@ -3374,8 +3373,6 @@ a.ck.ck-button-bold{
|
|
3374
3373
|
}
|
3375
3374
|
.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
3376
3375
|
.ck .ck-editor__nested-editable:focus{
|
3377
|
-
outline:none;
|
3378
|
-
border:var(--ck-focus-ring);
|
3379
3376
|
box-shadow:var(--ck-inner-shadow), 0 0;
|
3380
3377
|
}
|
3381
3378
|
@media (forced-colors: none){
|
@@ -3383,6 +3380,10 @@ a.ck.ck-button-bold{
|
|
3383
3380
|
background-color:var(--ck-color-widget-editable-focus-background);
|
3384
3381
|
}
|
3385
3382
|
}
|
3383
|
+
.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused:not(td, th), .ck .ck-editor__nested-editable:focus:not(td, th){
|
3384
|
+
outline:none;
|
3385
|
+
border:var(--ck-focus-ring);
|
3386
|
+
}
|
3386
3387
|
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle{
|
3387
3388
|
padding:4px;
|
3388
3389
|
box-sizing:border-box;
|
package/dist/index.css
CHANGED
@@ -4703,17 +4703,18 @@ of the component, floating–point numbers have been used which, for the default
|
|
4703
4703
|
:root {
|
4704
4704
|
--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);
|
4705
4705
|
}
|
4706
|
+
/**
|
4707
|
+
* While setting outline is fine, the border should not be modified here
|
4708
|
+
* because it overrides the default table cell border color which is not expected.
|
4709
|
+
* So do not use `@mixin ck-focus-ring;` here, or any other border styles.
|
4710
|
+
* See more: https://github.com/ckeditor/ckeditor5/issues/16979
|
4711
|
+
*/
|
4706
4712
|
.ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
4707
4713
|
.ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
4708
4714
|
.ck-widget.table td.ck-editor__nested-editable:focus,
|
4709
4715
|
.ck-widget.table th.ck-editor__nested-editable:focus {
|
4710
4716
|
/* A very slight background to highlight the focused cell */
|
4711
4717
|
background: var(--ck-color-selector-focused-cell-background);
|
4712
|
-
|
4713
|
-
/* Fixes the problem where surrounding cells cover the focused cell's border.
|
4714
|
-
It does not fix the problem in all places but the UX is improved.
|
4715
|
-
See https://github.com/ckeditor/ckeditor5-table/issues/29. */
|
4716
|
-
border-style: none;
|
4717
4718
|
outline: 1px solid var(--ck-color-focus-border);
|
4718
4719
|
outline-offset: -1px; /* progressive enhancement - no IE support */
|
4719
4720
|
}
|
@@ -4926,9 +4927,6 @@ of the component, floating–point numbers have been used which, for the default
|
|
4926
4927
|
}
|
4927
4928
|
.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
4928
4929
|
.ck .ck-editor__nested-editable:focus {
|
4929
|
-
/* Disable native outline. */
|
4930
|
-
outline: none;
|
4931
|
-
border: var(--ck-focus-ring);
|
4932
4930
|
box-shadow: var(--ck-inner-shadow), 0 0;
|
4933
4931
|
}
|
4934
4932
|
@media (forced-colors: none) {
|
@@ -4936,6 +4934,16 @@ of the component, floating–point numbers have been used which, for the default
|
|
4936
4934
|
background-color: var(--ck-color-widget-editable-focus-background);
|
4937
4935
|
}
|
4938
4936
|
}
|
4937
|
+
/**
|
4938
|
+
* Focus border should not be applied to table cells because it overrides the default table cell border color.
|
4939
|
+
* In other words - in some scenarios, the part of the table cell border has focus color style, which is not expected behavior
|
4940
|
+
* because it should be the same as the table cell border color.
|
4941
|
+
*/
|
4942
|
+
.ck .ck-editor__nested-editable.ck-editor__nested-editable_focused:not(td, th), .ck .ck-editor__nested-editable:focus:not(td, th) {
|
4943
|
+
/* Disable native outline. */
|
4944
|
+
outline: none;
|
4945
|
+
border: var(--ck-focus-ring);
|
4946
|
+
}
|
4939
4947
|
.ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
|
4940
4948
|
padding: 4px;
|
4941
4949
|
box-sizing: border-box;
|