@ckeditor/ckeditor5-theme-lark 40.1.0 → 40.2.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/CHANGELOG.md +26 -26
- package/README.md +1 -1
- package/package.json +2 -2
- package/theme/ckeditor5-image/imageinsert.css +67 -0
- package/theme/{ckeditor5-list → ckeditor5-ui/components/collapsible}/collapsible.css +2 -2
- package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +1 -1
- package/theme/ckeditor5-ui/components/list/list.css +7 -3
package/CHANGELOG.md
CHANGED
@@ -5,7 +5,7 @@ All changes in the package are documented in the main repository. See: https://g
|
|
5
5
|
|
6
6
|
Changes for the past releases are available below.
|
7
7
|
|
8
|
-
## [19.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v18.0.0...v19.0.0) (2020
|
8
|
+
## [19.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v18.0.0...v19.0.0) (April 29, 2020)
|
9
9
|
|
10
10
|
### Bug fixes
|
11
11
|
|
@@ -20,7 +20,7 @@ Changes for the past releases are available below.
|
|
20
20
|
* The selection inside the `InlineEditableUIView` should be grey when the editor is blurred. Closes [ckeditor/ckeditor5#6517](https://github.com/ckeditor/ckeditor5/issues/6517). ([8ad92eb](https://github.com/ckeditor/ckeditor5-theme-lark/commit/8ad92eb))
|
21
21
|
|
22
22
|
|
23
|
-
## [18.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v17.0.0...v18.0.0) (2020
|
23
|
+
## [18.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v17.0.0...v18.0.0) (March 19, 2020)
|
24
24
|
|
25
25
|
### Features
|
26
26
|
|
@@ -33,7 +33,7 @@ Changes for the past releases are available below.
|
|
33
33
|
* Pointer inside a restricted editing exception should be set to text for all the children. Closes [ckeditor/ckeditor5#6272](https://github.com/ckeditor/ckeditor5/issues/6272). ([a20d13b](https://github.com/ckeditor/ckeditor5-theme-lark/commit/a20d13b))
|
34
34
|
|
35
35
|
|
36
|
-
## [17.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v16.0.0...v17.0.0) (2020
|
36
|
+
## [17.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v16.0.0...v17.0.0) (February 19, 2020)
|
37
37
|
|
38
38
|
### MAJOR BREAKING CHANGES
|
39
39
|
|
@@ -58,7 +58,7 @@ Changes for the past releases are available below.
|
|
58
58
|
* Set default cursor in restricted editing mode while restricted editing exceptions still have text cursor when you hover over them. Closes [ckeditor/ckeditor5#5992](https://github.com/ckeditor/ckeditor5/issues/5992). ([2602ab4](https://github.com/ckeditor/ckeditor5-theme-lark/commit/2602ab4))
|
59
59
|
|
60
60
|
|
61
|
-
## [16.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v15.0.0...v16.0.0) (2019
|
61
|
+
## [16.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v15.0.0...v16.0.0) (December 4, 2019)
|
62
62
|
|
63
63
|
### MAJOR BREAKING CHANGES
|
64
64
|
|
@@ -79,7 +79,7 @@ Changes for the past releases are available below.
|
|
79
79
|
* Improved the table UI contrast and accessibility.
|
80
80
|
|
81
81
|
|
82
|
-
## [15.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.2.0...v15.0.0) (2019
|
82
|
+
## [15.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.2.0...v15.0.0) (October 23, 2019)
|
83
83
|
|
84
84
|
### Bug fixes
|
85
85
|
|
@@ -92,7 +92,7 @@ Changes for the past releases are available below.
|
|
92
92
|
* Adjusted toolbar styles to allow automatic items grouping (see [ckeditor/ckeditor5#416](https://github.com/ckeditor/ckeditor5/issues/416)). ([e73b50d](https://github.com/ckeditor/ckeditor5-theme-lark/commit/e73b50d))
|
93
93
|
|
94
94
|
|
95
|
-
## [14.2.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.1.1...v14.2.0) (2019
|
95
|
+
## [14.2.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.1.1...v14.2.0) (August 26, 2019)
|
96
96
|
|
97
97
|
### Features
|
98
98
|
|
@@ -104,12 +104,12 @@ Changes for the past releases are available below.
|
|
104
104
|
* The `.ck-progress-bar` styles should not be under with `.ck-content`. Additionally removed two unused custom properties: `--ck-color-upload-infinite-background` and `--ck-image-upload-progress-line-width`. Closes https://github.com/ckeditor/ckeditor5-theme-lark/issues/239. Closes https://github.com/ckeditor/ckeditor5/issues/1915. ([cb92793](https://github.com/ckeditor/ckeditor5-theme-lark/commit/cb92793))
|
105
105
|
|
106
106
|
|
107
|
-
## [14.1.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.1.0...v14.1.1) (2019
|
107
|
+
## [14.1.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.1.0...v14.1.1) (July 10, 2019)
|
108
108
|
|
109
109
|
Internal changes only (updated dependencies, documentation, etc.).
|
110
110
|
|
111
111
|
|
112
|
-
## [14.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.0.0...v14.1.0) (2019
|
112
|
+
## [14.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v14.0.0...v14.1.0) (July 4, 2019)
|
113
113
|
|
114
114
|
### Features
|
115
115
|
|
@@ -121,7 +121,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
121
121
|
* Tooltips should not render blurry in LoDPI environments. Closes [ckeditor/ckeditor5#1802](https://github.com/ckeditor/ckeditor5/issues/1802). ([53d7ca3](https://github.com/ckeditor/ckeditor5-theme-lark/commit/53d7ca3))
|
122
122
|
|
123
123
|
|
124
|
-
## [14.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v13.0.1...v14.0.0) (2019
|
124
|
+
## [14.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v13.0.1...v14.0.0) (June 6, 2019)
|
125
125
|
|
126
126
|
### Features
|
127
127
|
|
@@ -141,12 +141,12 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
141
141
|
* The `_rwd.css` mixin was moved to `@ckeditor/ckeditor5-ui`.
|
142
142
|
|
143
143
|
|
144
|
-
## [13.0.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v13.0.0...v13.0.1) (2019
|
144
|
+
## [13.0.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v13.0.0...v13.0.1) (April 4, 2019)
|
145
145
|
|
146
146
|
Internal changes only (updated dependencies, documentation, etc.).
|
147
147
|
|
148
148
|
|
149
|
-
## [13.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v12.0.0...v13.0.0) (2019
|
149
|
+
## [13.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v12.0.0...v13.0.0) (February 28, 2019)
|
150
150
|
|
151
151
|
### Features
|
152
152
|
|
@@ -163,7 +163,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
163
163
|
* Upgraded minimal versions of Node to `8.0.0` and npm to `5.7.1`. See: [ckeditor/ckeditor5#1507](https://github.com/ckeditor/ckeditor5/issues/1507). ([612ea3c](https://github.com/ckeditor/ckeditor5-cloud-services/commit/612ea3c))
|
164
164
|
|
165
165
|
|
166
|
-
## [12.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v11.1.0...v12.0.0) (2018
|
166
|
+
## [12.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v11.1.0...v12.0.0) (December 5, 2018)
|
167
167
|
|
168
168
|
### Features
|
169
169
|
|
@@ -187,7 +187,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
187
187
|
* The `.ck-labeled-input__error` class has been replaced with `.ck-labeled-input__status_error`.
|
188
188
|
|
189
189
|
|
190
|
-
## [11.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v11.0.0...v11.1.0) (2018
|
190
|
+
## [11.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v11.0.0...v11.1.0) (October 8, 2018)
|
191
191
|
|
192
192
|
### Features
|
193
193
|
|
@@ -203,7 +203,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
203
203
|
* Added a subtle shake animation to the .ck-input-text when it gets an error. Closes [#198](https://github.com/ckeditor/ckeditor5-theme-lark/issues/198). ([f84102b](https://github.com/ckeditor/ckeditor5-theme-lark/commit/f84102b))
|
204
204
|
|
205
205
|
|
206
|
-
## [11.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v10.1.0...v11.0.0) (2018
|
206
|
+
## [11.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v10.1.0...v11.0.0) (July 18, 2018)
|
207
207
|
|
208
208
|
### Features
|
209
209
|
|
@@ -238,7 +238,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
238
238
|
* Several `--ck-color-widget-*` custom properties have been renamed to match the project's naming standards.
|
239
239
|
|
240
240
|
|
241
|
-
## [10.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v10.0.0...v10.1.0) (2018
|
241
|
+
## [10.1.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v10.0.0...v10.1.0) (June 21, 2018)
|
242
242
|
|
243
243
|
### Features
|
244
244
|
|
@@ -256,7 +256,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
256
256
|
* Introduced disabled styles of a list item (see [ckeditor/ckeditor5-ui#389](https://github.com/ckeditor/ckeditor5-ui/issues/389)). ([b4a069c](https://github.com/ckeditor/ckeditor5-theme-lark/commit/b4a069c))
|
257
257
|
|
258
258
|
|
259
|
-
## [10.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-beta.4...v10.0.0) (2018
|
259
|
+
## [10.0.0](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-beta.4...v10.0.0) (April 25, 2018)
|
260
260
|
|
261
261
|
### Other changes
|
262
262
|
|
@@ -267,12 +267,12 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
267
267
|
* The license under which CKEditor 5 is released has been changed from a triple GPL, LGPL and MPL license to a GPL2+ only. See [ckeditor/ckeditor5#991](https://github.com/ckeditor/ckeditor5/issues/991) for more information.
|
268
268
|
|
269
269
|
|
270
|
-
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-beta.2...v1.0.0-beta.4) (2018
|
270
|
+
## [1.0.0-beta.4](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-beta.2...v1.0.0-beta.4) (April 19, 2018)
|
271
271
|
|
272
272
|
Internal changes only (updated dependencies, documentation, etc.).
|
273
273
|
|
274
274
|
|
275
|
-
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2018
|
275
|
+
## [1.0.0-beta.2](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-beta.1...v1.0.0-beta.2) (April 10, 2018)
|
276
276
|
|
277
277
|
### Features
|
278
278
|
|
@@ -290,7 +290,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
290
290
|
* Updated the classic editor and the editorui styles to the latest nested editable CSS class naming convention (see [ckeditor/ckeditor5#578](https://github.com/ckeditor/ckeditor5/issues/578)). ([508db7c](https://github.com/ckeditor/ckeditor5-theme-lark/commit/508db7c))
|
291
291
|
|
292
292
|
|
293
|
-
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (2018
|
293
|
+
## [1.0.0-beta.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-alpha.2...v1.0.0-beta.1) (March 15, 2018)
|
294
294
|
|
295
295
|
### Features
|
296
296
|
|
@@ -332,18 +332,18 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
332
332
|
|
333
333
|
* The `.ck-editor-toolbar` CSS class has been removed.
|
334
334
|
* Various CSS variables (mostly colors) have been removed. Please make sure your code uses the latest theme API.
|
335
|
-
* From now on there
|
335
|
+
* From now on there is only one subset of the theme, aligned to the default look of CKEditor 5.
|
336
336
|
* Various UI components' styles have been rewritten. The CSS selectors that used to style them may have a different specificity and appear in a different order.
|
337
337
|
* The styles are no longer developed in SASS which means various `.scss` files (including variables, mixins, etc.) became unavailable. Please refer to the [Theme Customization](https://ckeditor.com/docs/ckeditor5/latest/framework/guides/ui/theme-customization.html) guide to learn more about migration to PostCSS.
|
338
338
|
|
339
339
|
|
340
|
-
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2017
|
340
|
+
## [1.0.0-alpha.2](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (November 14, 2017)
|
341
341
|
|
342
342
|
### Other changes
|
343
343
|
|
344
344
|
* Updated `.ck-sticky-panel` styles to the new component's structure. ([c8afd35](https://github.com/ckeditor/ckeditor5-theme-lark/commit/c8afd35))
|
345
345
|
|
346
|
-
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v0.9.0...v1.0.0-alpha.1) (2017
|
346
|
+
## [1.0.0-alpha.1](https://github.com/ckeditor/ckeditor5-theme-lark/compare/v0.9.0...v1.0.0-alpha.1) (October 3, 2017)
|
347
347
|
|
348
348
|
### Bug fixes
|
349
349
|
|
@@ -363,7 +363,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
363
363
|
* The theme has been, basically, rewritten. Consider it a new implementation.
|
364
364
|
|
365
365
|
|
366
|
-
## [0.9.0](https://github.com/ckeditor/ckeditor5-theme/compare/v0.8.0...v0.9.0) (2017
|
366
|
+
## [0.9.0](https://github.com/ckeditor/ckeditor5-theme/compare/v0.8.0...v0.9.0) (September 3, 2017)
|
367
367
|
|
368
368
|
### Bug fixes
|
369
369
|
|
@@ -388,7 +388,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
388
388
|
* `.ck-disabled` is no longer available as a standalone class due to differences in the implementation of the disabled state among the UI components. Use a mixin instead `.your-class.ck-disabled { [@include](https://github.com/include) ck-disabled; }` to keep the previous functionality (reduced `opacity`) or provide a custom implementation of the state.
|
389
389
|
|
390
390
|
|
391
|
-
## [0.8.0](https://github.com/ckeditor/ckeditor5-theme/compare/v0.7.0...v0.8.0) (2017
|
391
|
+
## [0.8.0](https://github.com/ckeditor/ckeditor5-theme/compare/v0.7.0...v0.8.0) (May 7, 2017)
|
392
392
|
|
393
393
|
### Other changes
|
394
394
|
|
@@ -404,7 +404,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
404
404
|
* The `ck-toolbar__container` class has been renamed, use `.ck-toolbar-container` instead.
|
405
405
|
|
406
406
|
|
407
|
-
## [0.7.0](https://github.com/ckeditor/ckeditor5-theme/compare/v0.6.1...v0.7.0) (2017
|
407
|
+
## [0.7.0](https://github.com/ckeditor/ckeditor5-theme/compare/v0.6.1...v0.7.0) (April 5, 2017)
|
408
408
|
|
409
409
|
### Features
|
410
410
|
|
@@ -417,7 +417,7 @@ Internal changes only (updated dependencies, documentation, etc.).
|
|
417
417
|
* Removed tick symbol from active list item, used inverted background and text colors instead. Closes [#82](https://github.com/ckeditor/ckeditor5-theme/issues/82). ([a2eb843](https://github.com/ckeditor/ckeditor5-theme/commit/a2eb843))
|
418
418
|
|
419
419
|
|
420
|
-
## [0.6.1](https://github.com/ckeditor/ckeditor5-theme/compare/v0.6.0...v0.6.1) (2017
|
420
|
+
## [0.6.1](https://github.com/ckeditor/ckeditor5-theme/compare/v0.6.0...v0.6.1) (March 6, 2017)
|
421
421
|
|
422
422
|
### Bug fixes
|
423
423
|
|
package/README.md
CHANGED
@@ -5,7 +5,7 @@ CKEditor 5 lark theme
|
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
6
6
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
7
7
|
|
8
|
-
This package implements lark theme &
|
8
|
+
This package implements lark theme – the default CKEditor 5 theme.
|
9
9
|
|
10
10
|
## Documentation
|
11
11
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "40.
|
3
|
+
"version": "40.2.0",
|
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": "40.
|
12
|
+
"@ckeditor/ckeditor5-ui": "40.2.0"
|
13
13
|
},
|
14
14
|
"author": "CKSource (http://cksource.com/)",
|
15
15
|
"license": "GPL-2.0-or-later",
|
@@ -0,0 +1,67 @@
|
|
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
|
+
:root {
|
9
|
+
--ck-image-insert-insert-by-url-width: 250px;
|
10
|
+
}
|
11
|
+
|
12
|
+
.ck.ck-image-insert-url {
|
13
|
+
--ck-input-width: 100%;
|
14
|
+
|
15
|
+
& .ck-image-insert-url__action-row {
|
16
|
+
grid-column-gap: var(--ck-spacing-large);
|
17
|
+
margin-top: var(--ck-spacing-large);
|
18
|
+
|
19
|
+
& .ck-button-save,
|
20
|
+
& .ck-button-cancel {
|
21
|
+
justify-content: center;
|
22
|
+
min-width: auto;
|
23
|
+
}
|
24
|
+
|
25
|
+
& .ck-button .ck-button__label {
|
26
|
+
color: var(--ck-color-text);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.ck.ck-image-insert-form {
|
32
|
+
& > .ck.ck-button {
|
33
|
+
display: block;
|
34
|
+
width: 100%;
|
35
|
+
padding: var(--ck-list-button-padding);
|
36
|
+
|
37
|
+
@mixin ck-dir ltr {
|
38
|
+
text-align: left;
|
39
|
+
}
|
40
|
+
|
41
|
+
@mixin ck-dir rtl {
|
42
|
+
text-align: right;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
& > .ck.ck-collapsible {
|
47
|
+
&:not(:first-child) {
|
48
|
+
border-top: 1px solid var(--ck-color-base-border);
|
49
|
+
}
|
50
|
+
|
51
|
+
&:not(:last-child) {
|
52
|
+
border-bottom: 1px solid var(--ck-color-base-border);
|
53
|
+
}
|
54
|
+
|
55
|
+
min-width: var(--ck-image-insert-insert-by-url-width);
|
56
|
+
}
|
57
|
+
|
58
|
+
/* This is the case when there are no other integrations configured than insert by URL */
|
59
|
+
& > .ck.ck-image-insert-url {
|
60
|
+
min-width: var(--ck-image-insert-insert-by-url-width);
|
61
|
+
padding: var(--ck-spacing-large);
|
62
|
+
}
|
63
|
+
|
64
|
+
&:focus {
|
65
|
+
outline: none;
|
66
|
+
}
|
67
|
+
}
|
@@ -11,7 +11,7 @@
|
|
11
11
|
& > .ck.ck-button {
|
12
12
|
width: 100%;
|
13
13
|
font-weight: bold;
|
14
|
-
padding: var(--ck-
|
14
|
+
padding: var(--ck-list-button-padding);
|
15
15
|
border-radius: 0;
|
16
16
|
color: inherit;
|
17
17
|
|
@@ -32,7 +32,7 @@
|
|
32
32
|
}
|
33
33
|
|
34
34
|
& > .ck-collapsible__children {
|
35
|
-
padding:
|
35
|
+
padding: var(--ck-spacing-medium) var(--ck-spacing-large) var(--ck-spacing-large);
|
36
36
|
}
|
37
37
|
|
38
38
|
&.ck-collapsible_collapsed {
|
@@ -87,7 +87,7 @@
|
|
87
87
|
|
88
88
|
/* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */
|
89
89
|
/* stylelint-disable-next-line no-descending-specificity */
|
90
|
-
&.ck-disabled.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
|
90
|
+
&.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
|
91
91
|
&.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
|
92
92
|
@mixin ck-dir ltr {
|
93
93
|
transform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);
|
@@ -8,6 +8,12 @@
|
|
8
8
|
@import "../../../mixins/_shadow.css";
|
9
9
|
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
10
10
|
|
11
|
+
:root {
|
12
|
+
--ck-list-button-padding:
|
13
|
+
calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))
|
14
|
+
calc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));
|
15
|
+
}
|
16
|
+
|
11
17
|
.ck.ck-list {
|
12
18
|
@mixin ck-rounded-corners;
|
13
19
|
|
@@ -35,9 +41,7 @@
|
|
35
41
|
/* List items should have the same height. Use absolute units to make sure it is so
|
36
42
|
because e.g. different heading styles may have different height
|
37
43
|
https://github.com/ckeditor/ckeditor5-heading/issues/63 */
|
38
|
-
padding:
|
39
|
-
calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))
|
40
|
-
calc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));
|
44
|
+
padding: var(--ck-list-button-padding);
|
41
45
|
|
42
46
|
& .ck-button__label {
|
43
47
|
/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */
|