@ckeditor/ckeditor5-theme-lark 38.1.1 → 38.2.0-alpha.1
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "38.
|
3
|
+
"version": "38.2.0-alpha.1",
|
4
4
|
"description": "A bright theme for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"ckeditor5-theme"
|
10
10
|
],
|
11
11
|
"dependencies": {
|
12
|
-
"@ckeditor/ckeditor5-ui": "38.
|
12
|
+
"@ckeditor/ckeditor5-ui": "38.2.0-alpha.1"
|
13
13
|
},
|
14
14
|
"engines": {
|
15
15
|
"node": ">=16.0.0",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
:root {
|
7
|
-
--ck-color-
|
7
|
+
--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);
|
8
8
|
}
|
9
9
|
|
10
10
|
.ck-widget.table {
|
@@ -13,7 +13,7 @@
|
|
13
13
|
&.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
14
14
|
&.ck-editor__nested-editable:focus {
|
15
15
|
/* A very slight background to highlight the focused cell */
|
16
|
-
background: var(--ck-color-
|
16
|
+
background: var(--ck-color-selector-focused-cell-background);
|
17
17
|
|
18
18
|
/* Fixes the problem where surrounding cells cover the focused cell's border.
|
19
19
|
It does not fix the problem in all places but the UX is improved.
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
|
6
|
+
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
7
|
+
|
8
|
+
.ck.ck-color-selector {
|
9
|
+
/* View fragment with color grids. */
|
10
|
+
& .ck-color-grids-fragment {
|
11
|
+
& .ck-button.ck-color-selector__remove-color,
|
12
|
+
& .ck-button.ck-color-selector__color-picker {
|
13
|
+
width: 100%;
|
14
|
+
}
|
15
|
+
|
16
|
+
& .ck-button.ck-color-selector__color-picker {
|
17
|
+
padding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);
|
18
|
+
border-bottom-left-radius: 0;
|
19
|
+
border-bottom-right-radius: 0;
|
20
|
+
|
21
|
+
&:not(:focus) {
|
22
|
+
border-top: 1px solid var(--ck-color-base-border);
|
23
|
+
}
|
24
|
+
|
25
|
+
& .ck.ck-icon {
|
26
|
+
@mixin ck-dir ltr {
|
27
|
+
margin-right: var(--ck-spacing-standard);
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin ck-dir rtl {
|
31
|
+
margin-left: var(--ck-spacing-standard);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
& label.ck.ck-color-grid__label {
|
37
|
+
font-weight: unset;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
/* View fragment with a color picker. */
|
42
|
+
& .ck-color-picker-fragment {
|
43
|
+
& .ck.ck-color-picker {
|
44
|
+
padding: 8px;
|
45
|
+
|
46
|
+
& .hex-color-picker {
|
47
|
+
height: 100px;
|
48
|
+
min-width: 180px;
|
49
|
+
|
50
|
+
&::part(saturation) {
|
51
|
+
border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
&::part(hue) {
|
55
|
+
border-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);
|
56
|
+
}
|
57
|
+
|
58
|
+
&::part(saturation-pointer),
|
59
|
+
&::part(hue-pointer) {
|
60
|
+
width: 15px;
|
61
|
+
height: 15px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
& .ck.ck-color-selector_action-bar {
|
67
|
+
padding: 0 8px 8px;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
|
6
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
7
|
-
|
8
|
-
.ck .ck-button.ck-color-table__remove-color {
|
9
|
-
padding: calc(var(--ck-spacing-standard) / 2 ) var(--ck-spacing-standard);
|
10
|
-
border-bottom-left-radius: 0;
|
11
|
-
border-bottom-right-radius: 0;
|
12
|
-
|
13
|
-
&:not(:focus) {
|
14
|
-
border-bottom: 1px solid var(--ck-color-base-border);
|
15
|
-
}
|
16
|
-
|
17
|
-
& .ck.ck-icon {
|
18
|
-
@mixin ck-dir ltr {
|
19
|
-
margin-right: var(--ck-spacing-standard);
|
20
|
-
}
|
21
|
-
|
22
|
-
@mixin ck-dir rtl {
|
23
|
-
margin-left: var(--ck-spacing-standard);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|