@ckeditor/ckeditor5-theme-lark 29.2.0 → 32.0.0
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/LICENSE.md +2 -2
- package/package.json +29 -29
- package/theme/ckeditor5-clipboard/clipboard.css +1 -1
- package/theme/ckeditor5-code-block/codeblock.css +1 -1
- package/theme/ckeditor5-editor-classic/classiceditor.css +1 -1
- package/theme/ckeditor5-engine/placeholder.css +1 -1
- package/theme/ckeditor5-find-and-replace/findandreplaceform.css +1 -1
- package/theme/ckeditor5-font/fontcolor.css +1 -1
- package/theme/ckeditor5-heading/heading.css +1 -1
- package/theme/ckeditor5-horizontal-line/horizontalline.css +1 -1
- package/theme/ckeditor5-html-embed/htmlembed.css +1 -1
- package/theme/ckeditor5-image/imageupload.css +1 -1
- package/theme/ckeditor5-image/imageuploadicon.css +1 -1
- package/theme/ckeditor5-image/imageuploadloader.css +16 -1
- package/theme/ckeditor5-image/imageuploadprogress.css +1 -1
- package/theme/ckeditor5-link/link.css +1 -1
- package/theme/ckeditor5-link/linkactions.css +2 -2
- package/theme/ckeditor5-link/linkform.css +2 -2
- package/theme/ckeditor5-link/linkimage.css +1 -1
- package/theme/ckeditor5-list/collapsible.css +42 -0
- package/theme/ckeditor5-list/listproperties.css +62 -0
- package/theme/ckeditor5-list/liststyles.css +25 -30
- package/theme/ckeditor5-media-embed/mediaembedediting.css +1 -1
- package/theme/ckeditor5-mention/mention.css +1 -1
- package/theme/ckeditor5-restricted-editing/restrictedediting.css +1 -1
- package/theme/ckeditor5-special-characters/charactergrid.css +1 -1
- package/theme/ckeditor5-special-characters/characterinfo.css +1 -1
- package/theme/ckeditor5-special-characters/specialcharacters.css +1 -1
- package/theme/ckeditor5-table/colorinput.css +1 -1
- package/theme/ckeditor5-table/form.css +1 -1
- package/theme/ckeditor5-table/formrow.css +1 -1
- package/theme/ckeditor5-table/inserttable.css +1 -1
- package/theme/ckeditor5-table/tablecellproperties.css +1 -1
- package/theme/ckeditor5-table/tableediting.css +1 -1
- package/theme/ckeditor5-table/tableform.css +1 -1
- package/theme/ckeditor5-table/tableproperties.css +1 -1
- package/theme/ckeditor5-table/tableselection.css +10 -2
- package/theme/ckeditor5-ui/components/button/button.css +1 -1
- package/theme/ckeditor5-ui/components/button/switchbutton.css +1 -1
- package/theme/ckeditor5-ui/components/colorgrid/colorgrid.css +1 -1
- package/theme/ckeditor5-ui/components/dropdown/dropdown.css +1 -1
- package/theme/ckeditor5-ui/components/dropdown/listdropdown.css +1 -1
- package/theme/ckeditor5-ui/components/dropdown/splitbutton.css +1 -1
- package/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css +1 -1
- package/theme/ckeditor5-ui/components/editorui/editorui.css +1 -1
- package/theme/ckeditor5-ui/components/formheader/formheader.css +1 -1
- package/theme/ckeditor5-ui/components/icon/icon.css +1 -1
- package/theme/ckeditor5-ui/components/{inputtext/inputtext.css → input/input.css} +9 -6
- package/theme/ckeditor5-ui/components/label/label.css +1 -1
- package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +1 -1
- package/theme/ckeditor5-ui/components/labeledinput/labeledinput.css +1 -1
- package/theme/ckeditor5-ui/components/list/list.css +1 -1
- package/theme/ckeditor5-ui/components/panel/balloonpanel.css +1 -1
- package/theme/ckeditor5-ui/components/panel/balloonrotator.css +1 -1
- package/theme/ckeditor5-ui/components/panel/fakepanel.css +1 -1
- package/theme/ckeditor5-ui/components/panel/stickypanel.css +1 -1
- package/theme/ckeditor5-ui/components/responsive-form/responsiveform.css +2 -2
- package/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css +1 -1
- package/theme/ckeditor5-ui/components/toolbar/toolbar.css +1 -1
- package/theme/ckeditor5-ui/components/tooltip/tooltip.css +1 -1
- package/theme/ckeditor5-ui/globals/_colors.css +1 -1
- package/theme/ckeditor5-ui/globals/_disabled.css +1 -1
- package/theme/ckeditor5-ui/globals/_focus.css +1 -1
- package/theme/ckeditor5-ui/globals/_fonts.css +1 -1
- package/theme/ckeditor5-ui/globals/_reset.css +1 -1
- package/theme/ckeditor5-ui/globals/_rounded.css +1 -1
- package/theme/ckeditor5-ui/globals/_shadow.css +1 -1
- package/theme/ckeditor5-ui/globals/_spacing.css +1 -1
- package/theme/ckeditor5-ui/globals/globals.css +1 -1
- package/theme/ckeditor5-ui/mixins/_button.css +1 -1
- package/theme/ckeditor5-widget/widget.css +1 -1
- package/theme/ckeditor5-widget/widgetresize.css +1 -1
- package/theme/ckeditor5-widget/widgettypearound.css +1 -1
- package/theme/mixins/_disabled.css +1 -1
- package/theme/mixins/_focus.css +1 -1
- package/theme/mixins/_rounded.css +1 -1
- package/theme/mixins/_shadow.css +1 -1
- package/theme/theme.css +1 -1
- package/CHANGELOG.md +0 -424
package/LICENSE.md
CHANGED
@@ -2,7 +2,7 @@ Software License Agreement
|
|
2
2
|
==========================
|
3
3
|
|
4
4
|
**CKEditor 5 lark theme** – https://github.com/ckeditor/ckeditor5-theme-lark <br>
|
5
|
-
Copyright (c) 2003-
|
5
|
+
Copyright (c) 2003-2022, [CKSource](http://cksource.com) Holding sp. z o.o. All rights reserved.
|
6
6
|
|
7
7
|
Licensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).
|
8
8
|
|
@@ -14,4 +14,4 @@ Where not otherwise indicated, all CKEditor content is authored by CKSource engi
|
|
14
14
|
Trademarks
|
15
15
|
----------
|
16
16
|
|
17
|
-
**CKEditor** is a trademark of [CKSource](http://cksource.com)
|
17
|
+
**CKEditor** is a trademark of [CKSource](http://cksource.com) Holding sp. z o.o. All other brand and product names are trademarks, registered trademarks or service marks of their respective holders.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "
|
3
|
+
"version": "32.0.0",
|
4
4
|
"description": "A bright theme for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -9,38 +9,38 @@
|
|
9
9
|
"ckeditor5-theme"
|
10
10
|
],
|
11
11
|
"dependencies": {
|
12
|
-
"@ckeditor/ckeditor5-ui": "^
|
12
|
+
"@ckeditor/ckeditor5-ui": "^32.0.0"
|
13
13
|
},
|
14
14
|
"devDependencies": {
|
15
|
-
"@ckeditor/ckeditor5-basic-styles": "^
|
16
|
-
"@ckeditor/ckeditor5-ckfinder": "^
|
17
|
-
"@ckeditor/ckeditor5-code-block": "^
|
18
|
-
"@ckeditor/ckeditor5-core": "^
|
19
|
-
"@ckeditor/ckeditor5-editor-balloon": "^
|
20
|
-
"@ckeditor/ckeditor5-editor-classic": "^
|
21
|
-
"@ckeditor/ckeditor5-find-and-replace": "^
|
22
|
-
"@ckeditor/ckeditor5-font": "^
|
23
|
-
"@ckeditor/ckeditor5-heading": "^
|
24
|
-
"@ckeditor/ckeditor5-highlight": "^
|
25
|
-
"@ckeditor/ckeditor5-html-embed": "^
|
26
|
-
"@ckeditor/ckeditor5-indent": "^
|
27
|
-
"@ckeditor/ckeditor5-link": "^
|
28
|
-
"@ckeditor/ckeditor5-list": "^
|
29
|
-
"@ckeditor/ckeditor5-media-embed": "^
|
30
|
-
"@ckeditor/ckeditor5-page-break": "^
|
31
|
-
"@ckeditor/ckeditor5-paragraph": "^
|
32
|
-
"@ckeditor/ckeditor5-remove-format": "^
|
33
|
-
"@ckeditor/ckeditor5-restricted-editing": "^
|
34
|
-
"@ckeditor/ckeditor5-select-all": "^
|
35
|
-
"@ckeditor/ckeditor5-source-editing": "^
|
36
|
-
"@ckeditor/ckeditor5-special-characters": "^
|
37
|
-
"@ckeditor/ckeditor5-undo": "^
|
38
|
-
"@ckeditor/ckeditor5-utils": "^
|
39
|
-
"@ckeditor/ckeditor5-table": "^
|
40
|
-
"ckeditor5": "^
|
15
|
+
"@ckeditor/ckeditor5-basic-styles": "^32.0.0",
|
16
|
+
"@ckeditor/ckeditor5-ckfinder": "^32.0.0",
|
17
|
+
"@ckeditor/ckeditor5-code-block": "^32.0.0",
|
18
|
+
"@ckeditor/ckeditor5-core": "^32.0.0",
|
19
|
+
"@ckeditor/ckeditor5-editor-balloon": "^32.0.0",
|
20
|
+
"@ckeditor/ckeditor5-editor-classic": "^32.0.0",
|
21
|
+
"@ckeditor/ckeditor5-find-and-replace": "^32.0.0",
|
22
|
+
"@ckeditor/ckeditor5-font": "^32.0.0",
|
23
|
+
"@ckeditor/ckeditor5-heading": "^32.0.0",
|
24
|
+
"@ckeditor/ckeditor5-highlight": "^32.0.0",
|
25
|
+
"@ckeditor/ckeditor5-html-embed": "^32.0.0",
|
26
|
+
"@ckeditor/ckeditor5-indent": "^32.0.0",
|
27
|
+
"@ckeditor/ckeditor5-link": "^32.0.0",
|
28
|
+
"@ckeditor/ckeditor5-list": "^32.0.0",
|
29
|
+
"@ckeditor/ckeditor5-media-embed": "^32.0.0",
|
30
|
+
"@ckeditor/ckeditor5-page-break": "^32.0.0",
|
31
|
+
"@ckeditor/ckeditor5-paragraph": "^32.0.0",
|
32
|
+
"@ckeditor/ckeditor5-remove-format": "^32.0.0",
|
33
|
+
"@ckeditor/ckeditor5-restricted-editing": "^32.0.0",
|
34
|
+
"@ckeditor/ckeditor5-select-all": "^32.0.0",
|
35
|
+
"@ckeditor/ckeditor5-source-editing": "^32.0.0",
|
36
|
+
"@ckeditor/ckeditor5-special-characters": "^32.0.0",
|
37
|
+
"@ckeditor/ckeditor5-undo": "^32.0.0",
|
38
|
+
"@ckeditor/ckeditor5-utils": "^32.0.0",
|
39
|
+
"@ckeditor/ckeditor5-table": "^32.0.0",
|
40
|
+
"ckeditor5": "^32.0.0"
|
41
41
|
},
|
42
42
|
"engines": {
|
43
|
-
"node": ">=
|
43
|
+
"node": ">=14.0.0",
|
44
44
|
"npm": ">=5.7.1"
|
45
45
|
},
|
46
46
|
"author": "CKSource (http://cksource.com/)",
|
@@ -1,17 +1,32 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
6
6
|
:root {
|
7
7
|
--ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);
|
8
8
|
--ck-upload-placeholder-loader-size: 32px;
|
9
|
+
--ck-upload-placeholder-image-aspect-ratio: 2.8;
|
9
10
|
}
|
10
11
|
|
11
12
|
.ck .ck-image-upload-placeholder {
|
12
13
|
/* We need to control the full width of the SVG gray background. */
|
13
14
|
width: 100%;
|
14
15
|
margin: 0;
|
16
|
+
|
17
|
+
&.image-inline {
|
18
|
+
width: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );
|
19
|
+
}
|
20
|
+
|
21
|
+
& img {
|
22
|
+
/*
|
23
|
+
* This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.
|
24
|
+
* There's nothing special about this number except that it should make the image placeholder look like
|
25
|
+
* a real image during this short period after the upload started and before the image was read from the
|
26
|
+
* file system (and a rich preview was loaded).
|
27
|
+
*/
|
28
|
+
aspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);
|
29
|
+
}
|
15
30
|
}
|
16
31
|
|
17
32
|
.ck .ck-upload-placeholder-loader {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
@@ -23,7 +23,7 @@
|
|
23
23
|
|
24
24
|
/* Match the box model of the link editor form's input so the balloon
|
25
25
|
does not change width when moving between actions and the form. */
|
26
|
-
max-width: var(--ck-input-
|
26
|
+
max-width: var(--ck-input-width);
|
27
27
|
min-width: 3em;
|
28
28
|
text-align: center;
|
29
29
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
*/
|
12
12
|
.ck.ck-link-form_layout-vertical {
|
13
13
|
padding: 0;
|
14
|
-
min-width: var(--ck-input-
|
14
|
+
min-width: var(--ck-input-width);
|
15
15
|
|
16
16
|
& .ck-labeled-field-view {
|
17
17
|
margin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2022, 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
|
+
:root {
|
7
|
+
--ck-collapsible-arrow-size: calc(0.5 * var(--ck-icon-size));
|
8
|
+
}
|
9
|
+
|
10
|
+
.ck.ck-collapsible {
|
11
|
+
& > .ck.ck-button {
|
12
|
+
width: 100%;
|
13
|
+
font-weight: bold;
|
14
|
+
padding: var(--ck-spacing-medium) var(--ck-spacing-large);
|
15
|
+
border-radius: 0;
|
16
|
+
|
17
|
+
&:focus {
|
18
|
+
background: transparent;
|
19
|
+
}
|
20
|
+
|
21
|
+
&:active, &:not(:focus), &:hover:not(:focus) {
|
22
|
+
background: transparent;
|
23
|
+
border-color: transparent;
|
24
|
+
box-shadow: none;
|
25
|
+
}
|
26
|
+
|
27
|
+
& > .ck-icon {
|
28
|
+
margin-right: var(--ck-spacing-medium);
|
29
|
+
width: var(--ck-collapsible-arrow-size);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
& > .ck-collapsible__children {
|
34
|
+
padding: 0 var(--ck-spacing-large) var(--ck-spacing-large);
|
35
|
+
}
|
36
|
+
|
37
|
+
&.ck-collapsible_collapsed {
|
38
|
+
& > .ck.ck-button .ck-icon {
|
39
|
+
transform: rotate(-90deg);
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2022, 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
|
+
.ck.ck-list-properties {
|
7
|
+
/* When there are no list styles and there is no collapsible. */
|
8
|
+
&.ck-list-properties_without-styles {
|
9
|
+
padding: var(--ck-spacing-large);
|
10
|
+
|
11
|
+
& > * {
|
12
|
+
min-width: 14em;
|
13
|
+
|
14
|
+
& + * {
|
15
|
+
margin-top: var(--ck-spacing-standard);
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
/*
|
21
|
+
* When the numbered list property fields (start at, reversed) should be displayed,
|
22
|
+
* more horizontal space is needed. Reconfigure the style grid to create that space.
|
23
|
+
*/
|
24
|
+
&.ck-list-properties_with-numbered-properties {
|
25
|
+
& > .ck-list-styles-list {
|
26
|
+
grid-template-columns: repeat( 4, auto );
|
27
|
+
}
|
28
|
+
|
29
|
+
/* When list styles are rendered and property fields are in a collapsible. */
|
30
|
+
& > .ck-collapsible {
|
31
|
+
border-top: 1px solid var(--ck-color-base-border);
|
32
|
+
|
33
|
+
& > .ck-collapsible__children {
|
34
|
+
& > * {
|
35
|
+
width: 100%;
|
36
|
+
|
37
|
+
& + * {
|
38
|
+
margin-top: var(--ck-spacing-standard);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
& .ck.ck-numbered-list-properties__start-index .ck-input {
|
46
|
+
min-width: auto;
|
47
|
+
width: 100%;
|
48
|
+
}
|
49
|
+
|
50
|
+
& .ck.ck-numbered-list-properties__reversed-order {
|
51
|
+
background: transparent;
|
52
|
+
padding-left: 0;
|
53
|
+
padding-right: 0;
|
54
|
+
margin-bottom: calc(-1 * var(--ck-spacing-tiny));
|
55
|
+
|
56
|
+
&:active, &:hover {
|
57
|
+
box-shadow: none;
|
58
|
+
border-color: transparent;
|
59
|
+
background: none;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
@@ -7,39 +7,34 @@
|
|
7
7
|
--ck-list-style-button-size: 44px;
|
8
8
|
}
|
9
9
|
|
10
|
-
.ck.ck-list-styles-
|
11
|
-
|
12
|
-
|
10
|
+
.ck.ck-list-styles-list {
|
11
|
+
grid-template-columns: repeat( 3, auto );
|
12
|
+
row-gap: var(--ck-spacing-medium);
|
13
|
+
column-gap: var(--ck-spacing-medium);
|
14
|
+
padding: var(--ck-spacing-large);
|
13
15
|
|
14
|
-
&
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
padding:
|
16
|
+
& .ck-button {
|
17
|
+
/* Make the button look like a thumbnail (the icon "takes it all"). */
|
18
|
+
width: var(--ck-list-style-button-size);
|
19
|
+
height: var(--ck-list-style-button-size);
|
20
|
+
padding: 0;
|
19
21
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
/*
|
27
|
-
* Buttons are aligned by the grid so disable default button margins to not collide with the
|
28
|
-
* gaps in the grid.
|
29
|
-
*/
|
30
|
-
margin: 0;
|
22
|
+
/*
|
23
|
+
* Buttons are aligned by the grid so disable default button margins to not collide with the
|
24
|
+
* gaps in the grid.
|
25
|
+
*/
|
26
|
+
margin: 0;
|
31
27
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
28
|
+
/*
|
29
|
+
* Make sure the button border (which is displayed on focus, BTW) does not steal pixels
|
30
|
+
* from the button dimensions and, as a result, decrease the size of the icon
|
31
|
+
* (which becomes blurry as it scales down).
|
32
|
+
*/
|
33
|
+
box-sizing: content-box;
|
38
34
|
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
}
|
35
|
+
& .ck-icon {
|
36
|
+
width: var(--ck-list-style-button-size);
|
37
|
+
height: var(--ck-list-style-button-size);
|
43
38
|
}
|
44
39
|
}
|
45
40
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* Copyright (c) 2003-
|
2
|
+
* Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
|
3
3
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
4
|
*/
|
5
5
|
|
@@ -32,8 +32,16 @@
|
|
32
32
|
background-color: transparent;
|
33
33
|
}
|
34
34
|
|
35
|
-
|
35
|
+
/*
|
36
|
+
* To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.
|
37
|
+
* See https://github.com/ckeditor/ckeditor5/issues/9491.
|
38
|
+
*/
|
39
|
+
& .ck-widget {
|
36
40
|
outline: unset;
|
41
|
+
|
42
|
+
& > .ck-widget__selection-handle {
|
43
|
+
display: none;
|
44
|
+
}
|
37
45
|
}
|
38
46
|
}
|
39
47
|
}
|