@ckeditor/ckeditor5-theme-lark 31.1.0 → 34.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/README.md +2 -1
- 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 +1 -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-style/style.css +8 -0
- package/theme/ckeditor5-style/stylegrid.css +109 -0
- package/theme/ckeditor5-style/stylegroup.css +16 -0
- package/theme/ckeditor5-style/stylepanel.css +14 -0
- 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 +1 -1
- 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 +15 -15
- 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/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/README.md
CHANGED
@@ -3,7 +3,8 @@ CKEditor 5 lark theme
|
|
3
3
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark)
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
6
|
-
[](https://travis-ci.com/ckeditor/ckeditor5)
|
6
|
+
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
7
|
+

|
7
8
|
|
8
9
|
This package implements lark theme — the default CKEditor 5 theme.
|
9
10
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "
|
3
|
+
"version": "34.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": "^34.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": "^34.0.0",
|
16
|
+
"@ckeditor/ckeditor5-ckfinder": "^34.0.0",
|
17
|
+
"@ckeditor/ckeditor5-code-block": "^34.0.0",
|
18
|
+
"@ckeditor/ckeditor5-core": "^34.0.0",
|
19
|
+
"@ckeditor/ckeditor5-editor-balloon": "^34.0.0",
|
20
|
+
"@ckeditor/ckeditor5-editor-classic": "^34.0.0",
|
21
|
+
"@ckeditor/ckeditor5-find-and-replace": "^34.0.0",
|
22
|
+
"@ckeditor/ckeditor5-font": "^34.0.0",
|
23
|
+
"@ckeditor/ckeditor5-heading": "^34.0.0",
|
24
|
+
"@ckeditor/ckeditor5-highlight": "^34.0.0",
|
25
|
+
"@ckeditor/ckeditor5-html-embed": "^34.0.0",
|
26
|
+
"@ckeditor/ckeditor5-indent": "^34.0.0",
|
27
|
+
"@ckeditor/ckeditor5-link": "^34.0.0",
|
28
|
+
"@ckeditor/ckeditor5-list": "^34.0.0",
|
29
|
+
"@ckeditor/ckeditor5-media-embed": "^34.0.0",
|
30
|
+
"@ckeditor/ckeditor5-page-break": "^34.0.0",
|
31
|
+
"@ckeditor/ckeditor5-paragraph": "^34.0.0",
|
32
|
+
"@ckeditor/ckeditor5-remove-format": "^34.0.0",
|
33
|
+
"@ckeditor/ckeditor5-restricted-editing": "^34.0.0",
|
34
|
+
"@ckeditor/ckeditor5-select-all": "^34.0.0",
|
35
|
+
"@ckeditor/ckeditor5-source-editing": "^34.0.0",
|
36
|
+
"@ckeditor/ckeditor5-special-characters": "^34.0.0",
|
37
|
+
"@ckeditor/ckeditor5-undo": "^34.0.0",
|
38
|
+
"@ckeditor/ckeditor5-utils": "^34.0.0",
|
39
|
+
"@ckeditor/ckeditor5-table": "^34.0.0",
|
40
|
+
"ckeditor5": "^34.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,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
|
}
|
@@ -0,0 +1,8 @@
|
|
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-dropdown.ck-style-dropdown.ck-style-dropdown_multiple-active > .ck-button > .ck-button__label {
|
7
|
+
font-style: italic;
|
8
|
+
}
|
@@ -0,0 +1,109 @@
|
|
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-style-panel-button-width: 120px;
|
8
|
+
--ck-style-panel-button-height: 80px;
|
9
|
+
--ck-style-panel-button-shadow-color: hsl(0deg 0% 0% / 10%);
|
10
|
+
--ck-style-panel-button-shadow: 0px 0px 6px var(--ck-style-panel-button-shadow-color);
|
11
|
+
--ck-style-panel-button-label-background: hsl(0, 0%, 90%);
|
12
|
+
--ck-style-panel-button-hover-label-background: hsl(0, 0%, 80%);
|
13
|
+
--ck-style-panel-button-hover-border-color: hsl(0, 0%, 70%);
|
14
|
+
}
|
15
|
+
|
16
|
+
.ck.ck-style-panel .ck-style-grid {
|
17
|
+
row-gap: var(--ck-spacing-large);
|
18
|
+
column-gap: var(--ck-spacing-large);
|
19
|
+
|
20
|
+
& .ck-style-grid__button {
|
21
|
+
--ck-color-button-default-hover-background: var(--ck-color-base-background);
|
22
|
+
--ck-color-button-default-active-background: var(--ck-color-base-background);
|
23
|
+
|
24
|
+
padding: 0;
|
25
|
+
width: var(--ck-style-panel-button-width);
|
26
|
+
height: var(--ck-style-panel-button-height);
|
27
|
+
|
28
|
+
/* Let default .ck-button :focus styles apply */
|
29
|
+
&:not(:focus) {
|
30
|
+
border: 1px solid var(--ck-color-base-border);
|
31
|
+
box-shadow: var(--ck-style-panel-button-shadow);
|
32
|
+
}
|
33
|
+
|
34
|
+
& .ck-button__label {
|
35
|
+
height: 22px;
|
36
|
+
line-height: 22px;
|
37
|
+
width: 100%;
|
38
|
+
padding: 0 var(--ck-spacing-medium);
|
39
|
+
overflow: hidden;
|
40
|
+
text-overflow: ellipsis;
|
41
|
+
flex-shrink: 0;
|
42
|
+
background: var(--ck-style-panel-button-label-background);
|
43
|
+
}
|
44
|
+
|
45
|
+
& .ck-style-grid__button__preview {
|
46
|
+
width: 100%;
|
47
|
+
overflow: hidden;
|
48
|
+
opacity: .9;
|
49
|
+
|
50
|
+
padding: var(--ck-spacing-medium);
|
51
|
+
border: 2px solid var(--ck-color-base-background);
|
52
|
+
}
|
53
|
+
|
54
|
+
&.ck-disabled {
|
55
|
+
--ck-color-button-default-disabled-background: var(--ck-color-base-foreground);
|
56
|
+
|
57
|
+
/* Let default .ck-button :focus styles apply */
|
58
|
+
&:not(:focus) {
|
59
|
+
box-shadow: none;
|
60
|
+
border-color: var(--ck-style-panel-button-label-background);
|
61
|
+
}
|
62
|
+
|
63
|
+
& .ck-button__label {
|
64
|
+
background: var(--ck-style-panel-button-label-background);
|
65
|
+
}
|
66
|
+
|
67
|
+
& .ck-style-grid__button__preview {
|
68
|
+
opacity: .4;
|
69
|
+
|
70
|
+
border-color: var(--ck-color-base-foreground);
|
71
|
+
filter: saturate(.3);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
&.ck-on {
|
76
|
+
--ck-color-button-on-background: var(--ck-color-base-background);
|
77
|
+
--ck-color-button-on-hover-background: var(--ck-color-base-background);
|
78
|
+
--ck-color-button-on-active-background: var(--ck-color-base-background);
|
79
|
+
--ck-style-panel-button-shadow-color: hsla(208, 88%, 52%, 0.1);
|
80
|
+
|
81
|
+
border-color: var(--ck-color-base-active);
|
82
|
+
|
83
|
+
& .ck-button__label {
|
84
|
+
background: var(--ck-color-base-active);
|
85
|
+
color: var(--ck-color-base-background);
|
86
|
+
}
|
87
|
+
|
88
|
+
&:hover {
|
89
|
+
border-color: var(--ck-color-base-active-focus);
|
90
|
+
|
91
|
+
& .ck-button__label {
|
92
|
+
background: var(--ck-color-base-active-focus);
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
&:hover:not(.ck-disabled):not(.ck-on) {
|
98
|
+
border-color: var(--ck-style-panel-button-hover-border-color);
|
99
|
+
|
100
|
+
& .ck-style-grid__button__preview {
|
101
|
+
opacity: 1;
|
102
|
+
}
|
103
|
+
|
104
|
+
& .ck-button__label {
|
105
|
+
background: var(--ck-style-panel-button-hover-label-background);
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
@@ -0,0 +1,16 @@
|
|
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-style-panel .ck-style-panel__style-group {
|
7
|
+
& > .ck-label {
|
8
|
+
margin: var(--ck-spacing-large) 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
&:first-child {
|
12
|
+
& > .ck-label {
|
13
|
+
margin-top: 0;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
@@ -0,0 +1,14 @@
|
|
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-style-panel-max-height: 470px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.ck.ck-style-panel {
|
11
|
+
padding: var(--ck-spacing-large);
|
12
|
+
overflow-y: auto;
|
13
|
+
max-height: var(--ck-style-panel-max-height);
|
14
|
+
}
|