@ckeditor/ckeditor5-theme-lark 44.3.0 → 45.0.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/dist/index-editor.css +341 -111
- package/dist/index.css +448 -156
- package/dist/index.css.map +1 -1
- package/package.json +2 -2
- package/theme/ckeditor5-bookmark/bookmark.css +48 -0
- package/theme/ckeditor5-bookmark/bookmarkform.css +20 -0
- package/theme/ckeditor5-bookmark/bookmarktoolbar.css +27 -0
- package/theme/ckeditor5-image/imagecustomresizeform.css +22 -0
- package/theme/ckeditor5-image/textalternativeform.css +22 -0
- package/theme/ckeditor5-link/linkform.css +38 -41
- package/theme/ckeditor5-link/linkproperties.css +20 -0
- package/theme/ckeditor5-link/linkprovideritems.css +50 -0
- package/theme/ckeditor5-link/linktoolbar.css +66 -0
- package/theme/ckeditor5-table/formrow.css +1 -9
- package/theme/ckeditor5-table/tablelayout.css +155 -0
- package/theme/ckeditor5-ui/components/form/form.css +4 -0
- package/theme/ckeditor5-ui/components/formheader/formheader.css +14 -0
- package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +4 -0
- package/theme/ckeditor5-widget/widget.css +13 -0
- package/theme/ckeditor5-widget/widgettypearound.css +29 -13
- package/theme/index.css +9 -2
- package/theme/ckeditor5-link/linkactions.css +0 -84
- package/theme/ckeditor5-table/form.css +0 -32
@@ -103,9 +103,8 @@
|
|
103
103
|
}
|
104
104
|
|
105
105
|
/*
|
106
|
-
* Show type around buttons when the widget
|
106
|
+
* Show type around buttons when the widget is being hovered.
|
107
107
|
*/
|
108
|
-
&.ck-widget_selected,
|
109
108
|
&:hover {
|
110
109
|
& > .ck-widget__type-around > .ck-widget__type-around__button {
|
111
110
|
@mixin ck-widget-type-around-button-visible;
|
@@ -137,6 +136,24 @@
|
|
137
136
|
}
|
138
137
|
}
|
139
138
|
|
139
|
+
&.ck-widget_selected {
|
140
|
+
/*
|
141
|
+
* Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).
|
142
|
+
* Despite the widget being physically selected in the model, its outline should disappear.
|
143
|
+
*/
|
144
|
+
&.ck-widget_type-around_show-fake-caret_before,
|
145
|
+
&.ck-widget_type-around_show-fake-caret_after {
|
146
|
+
outline-color: transparent;
|
147
|
+
}
|
148
|
+
|
149
|
+
/*
|
150
|
+
* Show type around buttons when the widget gets selected.
|
151
|
+
*/
|
152
|
+
& > .ck-widget__type-around > .ck-widget__type-around__button {
|
153
|
+
@mixin ck-widget-type-around-button-visible;
|
154
|
+
}
|
155
|
+
}
|
156
|
+
|
140
157
|
/*
|
141
158
|
* Styles for the "before" button when the widget has a selection handle. Because some space
|
142
159
|
* is consumed by the handle, the button must be moved slightly to the right to let it breathe.
|
@@ -161,17 +178,6 @@
|
|
161
178
|
background: var(--ck-color-base-text);
|
162
179
|
}
|
163
180
|
|
164
|
-
/*
|
165
|
-
* Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).
|
166
|
-
* Despite the widget being physically selected in the model, its outline should disappear.
|
167
|
-
*/
|
168
|
-
&.ck-widget_selected {
|
169
|
-
&.ck-widget_type-around_show-fake-caret_before,
|
170
|
-
&.ck-widget_type-around_show-fake-caret_after {
|
171
|
-
outline-color: transparent;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
181
|
&.ck-widget_type-around_show-fake-caret_before,
|
176
182
|
&.ck-widget_type-around_show-fake-caret_after {
|
177
183
|
/*
|
@@ -213,6 +219,15 @@
|
|
213
219
|
opacity: 0
|
214
220
|
}
|
215
221
|
}
|
222
|
+
|
223
|
+
/*
|
224
|
+
* Hide type around buttons of all widget parents when the widget is being hovered.
|
225
|
+
*/
|
226
|
+
&:has( .ck-widget:hover ) {
|
227
|
+
& > .ck-widget__type-around > .ck-widget__type-around__button {
|
228
|
+
@mixin ck-widget-type-around-button-hidden;
|
229
|
+
}
|
230
|
+
}
|
216
231
|
}
|
217
232
|
|
218
233
|
/*
|
@@ -232,6 +247,7 @@
|
|
232
247
|
* See https://github.com/ckeditor/ckeditor5/issues/7263.
|
233
248
|
*/
|
234
249
|
.ck-editor__nested-editable.ck-editor__editable_selected {
|
250
|
+
/* stylelint-disable-next-line no-descending-specificity */
|
235
251
|
& .ck-widget {
|
236
252
|
&.ck-widget_selected,
|
237
253
|
&:hover {
|
package/theme/index.css
CHANGED
@@ -43,6 +43,7 @@
|
|
43
43
|
@import "./ckeditor5-ui/components/panel/balloonrotator.css";
|
44
44
|
@import "./ckeditor5-ui/components/panel/fakepanel.css";
|
45
45
|
@import "./ckeditor5-ui/components/panel/stickypanel.css";
|
46
|
+
@import "./ckeditor5-ui/components/form/form.css";
|
46
47
|
@import "./ckeditor5-ui/components/responsive-form/responsiveform.css";
|
47
48
|
@import "./ckeditor5-ui/components/search/search.css";
|
48
49
|
@import "./ckeditor5-ui/components/spinner/spinner.css";
|
@@ -56,6 +57,8 @@
|
|
56
57
|
|
57
58
|
/* Plugins */
|
58
59
|
@import "./ckeditor5-bookmark/bookmark.css";
|
60
|
+
@import "./ckeditor5-bookmark/bookmarkform.css";
|
61
|
+
@import "./ckeditor5-bookmark/bookmarktoolbar.css";
|
59
62
|
@import "./ckeditor5-clipboard/clipboard.css";
|
60
63
|
@import "./ckeditor5-code-block/codeblock.css";
|
61
64
|
@import "./ckeditor5-engine/placeholder.css";
|
@@ -68,10 +71,14 @@
|
|
68
71
|
@import "./ckeditor5-image/imageuploadicon.css";
|
69
72
|
@import "./ckeditor5-image/imageuploadloader.css";
|
70
73
|
@import "./ckeditor5-image/imageuploadprogress.css";
|
74
|
+
@import "./ckeditor5-image/textalternativeform.css";
|
75
|
+
@import "./ckeditor5-image/imagecustomresizeform.css";
|
71
76
|
@import "./ckeditor5-link/link.css";
|
72
|
-
@import "./ckeditor5-link/
|
77
|
+
@import "./ckeditor5-link/linktoolbar.css";
|
73
78
|
@import "./ckeditor5-link/linkform.css";
|
74
79
|
@import "./ckeditor5-link/linkimage.css";
|
80
|
+
@import "./ckeditor5-link/linkproperties.css";
|
81
|
+
@import "./ckeditor5-link/linkprovideritems.css";
|
75
82
|
@import "./ckeditor5-list/listproperties.css";
|
76
83
|
@import "./ckeditor5-list/liststyles.css";
|
77
84
|
@import "./ckeditor5-media-embed/mediaembedediting.css";
|
@@ -85,7 +92,6 @@
|
|
85
92
|
@import "./ckeditor5-style/stylegroup.css";
|
86
93
|
@import "./ckeditor5-style/stylepanel.css";
|
87
94
|
@import "./ckeditor5-table/colorinput.css";
|
88
|
-
@import "./ckeditor5-table/form.css";
|
89
95
|
@import "./ckeditor5-table/formrow.css";
|
90
96
|
@import "./ckeditor5-table/inserttable.css";
|
91
97
|
@import "./ckeditor5-table/tablecellproperties.css";
|
@@ -93,6 +99,7 @@
|
|
93
99
|
@import "./ckeditor5-table/tableform.css";
|
94
100
|
@import "./ckeditor5-table/tableproperties.css";
|
95
101
|
@import "./ckeditor5-table/tableselection.css";
|
102
|
+
@import "./ckeditor5-table/tablelayout.css";
|
96
103
|
@import "./ckeditor5-widget/widget.css";
|
97
104
|
@import "./ckeditor5-widget/widgetresize.css";
|
98
105
|
@import "./ckeditor5-widget/widgettypearound.css";
|
@@ -1,84 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
|
-
*/
|
5
|
-
|
6
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_unselectable.css";
|
7
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
8
|
-
@import "../mixins/_focus.css";
|
9
|
-
@import "../mixins/_shadow.css";
|
10
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
|
11
|
-
|
12
|
-
.ck.ck-link-actions {
|
13
|
-
& .ck-button.ck-link-actions__preview {
|
14
|
-
padding-left: 0;
|
15
|
-
padding-right: 0;
|
16
|
-
|
17
|
-
& .ck-button__label {
|
18
|
-
padding: 0 var(--ck-spacing-medium);
|
19
|
-
color: var(--ck-color-link-default);
|
20
|
-
text-overflow: ellipsis;
|
21
|
-
cursor: pointer;
|
22
|
-
|
23
|
-
/* Match the box model of the link editor form's input so the balloon
|
24
|
-
does not change width when moving between actions and the form. */
|
25
|
-
max-width: var(--ck-input-width);
|
26
|
-
min-width: 3em;
|
27
|
-
text-align: center;
|
28
|
-
|
29
|
-
&:hover {
|
30
|
-
text-decoration: underline;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
&,
|
35
|
-
&:hover,
|
36
|
-
&:focus,
|
37
|
-
&:active {
|
38
|
-
background: none;
|
39
|
-
}
|
40
|
-
|
41
|
-
&:active {
|
42
|
-
box-shadow: none;
|
43
|
-
}
|
44
|
-
|
45
|
-
&:focus {
|
46
|
-
& .ck-button__label {
|
47
|
-
text-decoration: underline;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
}
|
51
|
-
|
52
|
-
@mixin ck-dir ltr {
|
53
|
-
& .ck-button:not(:first-child) {
|
54
|
-
margin-left: var(--ck-spacing-standard);
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
@mixin ck-dir rtl {
|
59
|
-
& .ck-button:not(:last-child) {
|
60
|
-
margin-left: var(--ck-spacing-standard);
|
61
|
-
}
|
62
|
-
}
|
63
|
-
|
64
|
-
@mixin ck-media-phone {
|
65
|
-
& .ck-button.ck-link-actions__preview {
|
66
|
-
margin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;
|
67
|
-
|
68
|
-
& .ck-button__label {
|
69
|
-
min-width: 0;
|
70
|
-
max-width: 100%;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
& .ck-button:not(.ck-link-actions__preview) {
|
75
|
-
@mixin ck-dir ltr {
|
76
|
-
margin-left: 0;
|
77
|
-
}
|
78
|
-
|
79
|
-
@mixin ck-dir rtl {
|
80
|
-
margin-left: 0;
|
81
|
-
}
|
82
|
-
}
|
83
|
-
}
|
84
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
4
|
-
*/
|
5
|
-
|
6
|
-
.ck.ck-form {
|
7
|
-
padding: 0 0 var(--ck-spacing-large);
|
8
|
-
|
9
|
-
&:focus {
|
10
|
-
/* See: https://github.com/ckeditor/ckeditor5/issues/4773 */
|
11
|
-
outline: none;
|
12
|
-
}
|
13
|
-
|
14
|
-
& .ck.ck-input-text {
|
15
|
-
min-width: 100%;
|
16
|
-
width: 0;
|
17
|
-
}
|
18
|
-
|
19
|
-
& .ck.ck-dropdown {
|
20
|
-
min-width: 100%;
|
21
|
-
|
22
|
-
& .ck-dropdown__button {
|
23
|
-
&:not(:focus) {
|
24
|
-
border: 1px solid var(--ck-color-base-border);
|
25
|
-
}
|
26
|
-
|
27
|
-
& .ck-button__label {
|
28
|
-
width: 100%;
|
29
|
-
}
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|