@ckeditor/ckeditor5-image 45.2.1 → 46.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/build/image.js +1 -1
- package/dist/index-content.css +18 -17
- package/dist/index-editor.css +96 -96
- package/dist/index.css +164 -163
- package/dist/index.css.map +1 -1
- package/dist/index.js +93 -44
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/src/autoimage.d.ts +2 -2
- package/src/autoimage.js +8 -8
- package/src/image/converters.d.ts +1 -1
- package/src/image/imageblockediting.d.ts +5 -5
- package/src/image/imageblockediting.js +8 -8
- package/src/image/imageediting.d.ts +2 -2
- package/src/image/imageediting.js +5 -5
- package/src/image/imageinlineediting.d.ts +5 -5
- package/src/image/imageinlineediting.js +8 -8
- package/src/image/imageloadobserver.d.ts +7 -7
- package/src/image/imageloadobserver.js +6 -6
- package/src/image/imageplaceholder.d.ts +2 -2
- package/src/image/imageplaceholder.js +3 -3
- package/src/image/imagetypecommand.d.ts +4 -4
- package/src/image/imagetypecommand.js +1 -1
- package/src/image/insertimagecommand.d.ts +1 -1
- package/src/image/insertimagecommand.js +1 -1
- package/src/image/replaceimagesourcecommand.d.ts +3 -3
- package/src/image/replaceimagesourcecommand.js +1 -1
- package/src/image/ui/utils.d.ts +4 -2
- package/src/image/ui/utils.js +2 -0
- package/src/image/utils.d.ts +8 -4
- package/src/image/utils.js +4 -0
- package/src/image.d.ts +3 -3
- package/src/image.js +3 -3
- package/src/imageblock.d.ts +4 -4
- package/src/imageblock.js +4 -4
- package/src/imagecaption/imagecaptionediting.d.ts +8 -8
- package/src/imagecaption/imagecaptionediting.js +9 -9
- package/src/imagecaption/imagecaptionui.d.ts +2 -2
- package/src/imagecaption/imagecaptionui.js +2 -2
- package/src/imagecaption/imagecaptionutils.d.ts +5 -5
- package/src/imagecaption/imagecaptionutils.js +2 -2
- package/src/imagecaption/toggleimagecaptioncommand.d.ts +1 -1
- package/src/imagecaption/toggleimagecaptioncommand.js +2 -2
- package/src/imagecaption.d.ts +3 -3
- package/src/imagecaption.js +3 -3
- package/src/imageinline.d.ts +4 -4
- package/src/imageinline.js +4 -4
- package/src/imageinsert/imageinsertui.d.ts +2 -2
- package/src/imageinsert/imageinsertui.js +3 -3
- package/src/imageinsert/imageinsertviaurlui.d.ts +2 -2
- package/src/imageinsert/imageinsertviaurlui.js +3 -3
- package/src/imageinsert/ui/imageinsertformview.d.ts +3 -1
- package/src/imageinsert/ui/imageinsertformview.js +3 -1
- package/src/imageinsert/ui/imageinserturlview.d.ts +3 -1
- package/src/imageinsert/ui/imageinserturlview.js +3 -1
- package/src/imageinsert.d.ts +4 -4
- package/src/imageinsert.js +4 -4
- package/src/imageinsertviaurl.d.ts +3 -3
- package/src/imageinsertviaurl.js +3 -3
- package/src/imageresize/imagecustomresizeui.d.ts +1 -1
- package/src/imageresize/imagecustomresizeui.js +2 -2
- package/src/imageresize/imageresizebuttons.d.ts +2 -2
- package/src/imageresize/imageresizebuttons.js +5 -5
- package/src/imageresize/imageresizeediting.d.ts +2 -2
- package/src/imageresize/imageresizeediting.js +10 -5
- package/src/imageresize/imageresizehandles.d.ts +2 -2
- package/src/imageresize/imageresizehandles.js +3 -3
- package/src/imageresize/resizeimagecommand.d.ts +1 -1
- package/src/imageresize/resizeimagecommand.js +1 -1
- package/src/imageresize/ui/imagecustomresizeformview.d.ts +5 -1
- package/src/imageresize/ui/imagecustomresizeformview.js +3 -1
- package/src/imageresize/utils/getselectedimageeditornodes.d.ts +3 -2
- package/src/imageresize/utils/getselectedimageeditornodes.js +1 -0
- package/src/imageresize/utils/getselectedimagepossibleresizerange.d.ts +1 -0
- package/src/imageresize/utils/getselectedimagepossibleresizerange.js +1 -0
- package/src/imageresize/utils/getselectedimagewidthinunits.d.ts +1 -0
- package/src/imageresize/utils/getselectedimagewidthinunits.js +1 -0
- package/src/imageresize/utils/tryparsedimensionwithunit.d.ts +2 -0
- package/src/imageresize/utils/tryparsedimensionwithunit.js +2 -0
- package/src/imageresize.d.ts +5 -5
- package/src/imageresize.js +5 -5
- package/src/imagesizeattributes.d.ts +2 -2
- package/src/imagesizeattributes.js +5 -4
- package/src/imagestyle/converters.d.ts +2 -0
- package/src/imagestyle/converters.js +2 -0
- package/src/imagestyle/imagestylecommand.d.ts +3 -3
- package/src/imagestyle/imagestylecommand.js +1 -1
- package/src/imagestyle/imagestyleediting.d.ts +2 -2
- package/src/imagestyle/imagestyleediting.js +8 -7
- package/src/imagestyle/imagestyleui.d.ts +2 -2
- package/src/imagestyle/imagestyleui.js +3 -3
- package/src/imagestyle/utils.d.ts +11 -5
- package/src/imagestyle/utils.js +11 -5
- package/src/imagestyle.d.ts +3 -3
- package/src/imagestyle.js +3 -3
- package/src/imagetextalternative/imagetextalternativecommand.d.ts +1 -1
- package/src/imagetextalternative/imagetextalternativecommand.js +1 -1
- package/src/imagetextalternative/imagetextalternativeediting.d.ts +2 -2
- package/src/imagetextalternative/imagetextalternativeediting.js +3 -3
- package/src/imagetextalternative/imagetextalternativeui.d.ts +1 -1
- package/src/imagetextalternative/imagetextalternativeui.js +2 -2
- package/src/imagetextalternative/ui/textalternativeformview.d.ts +5 -1
- package/src/imagetextalternative/ui/textalternativeformview.js +3 -1
- package/src/imagetextalternative.d.ts +3 -3
- package/src/imagetextalternative.js +3 -3
- package/src/imagetoolbar.d.ts +2 -2
- package/src/imagetoolbar.js +2 -2
- package/src/imageupload/imageuploadediting.d.ts +11 -9
- package/src/imageupload/imageuploadediting.js +10 -8
- package/src/imageupload/imageuploadprogress.d.ts +1 -1
- package/src/imageupload/imageuploadprogress.js +5 -5
- package/src/imageupload/imageuploadui.d.ts +1 -1
- package/src/imageupload/imageuploadui.js +1 -1
- package/src/imageupload/uploadimagecommand.d.ts +1 -1
- package/src/imageupload/uploadimagecommand.js +1 -1
- package/src/imageupload/utils.d.ts +3 -1
- package/src/imageupload/utils.js +2 -0
- package/src/imageupload.d.ts +4 -4
- package/src/imageupload.js +4 -4
- package/src/imageutils.d.ts +13 -13
- package/src/imageutils.js +4 -4
- package/src/index.d.ts +63 -42
- package/src/index.js +58 -32
- package/src/pictureediting.d.ts +3 -3
- package/src/pictureediting.js +3 -3
- package/theme/imagecaption.css +7 -6
- package/theme/imagestyle.css +12 -12
package/dist/index.css
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
:root {
|
|
16
|
-
--ck-color-image-caption-background: hsl(0, 0%, 97%);
|
|
17
|
-
--ck-color-image-caption-text: hsl(0, 0%, 20%);
|
|
16
|
+
--ck-content-color-image-caption-background: hsl(0, 0%, 97%);
|
|
17
|
+
--ck-content-color-image-caption-text: hsl(0, 0%, 20%);
|
|
18
18
|
--ck-color-image-caption-highlighted-background: hsl(52deg 100% 50%);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -22,9 +22,10 @@
|
|
|
22
22
|
.ck-content .image > figcaption {
|
|
23
23
|
display: table-caption;
|
|
24
24
|
caption-side: bottom;
|
|
25
|
-
word-break:
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
word-break: normal;
|
|
26
|
+
overflow-wrap: anywhere;
|
|
27
|
+
color: var(--ck-content-color-image-caption-text);
|
|
28
|
+
background-color: var(--ck-content-color-image-caption-background);
|
|
28
29
|
padding: .6em;
|
|
29
30
|
font-size: .75em;
|
|
30
31
|
outline-offset: -1px;
|
|
@@ -56,25 +57,10 @@
|
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
100% {
|
|
59
|
-
background-color: var(--ck-color-image-caption-background);
|
|
60
|
+
background-color: var(--ck-content-color-image-caption-background);
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
/*
|
|
64
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
65
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
|
-
.ck.ck-image-insert-url {
|
|
69
|
-
width: 400px;
|
|
70
|
-
padding: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.ck.ck-image-insert-url .ck-image-insert-url__action-row {
|
|
74
|
-
display: grid;
|
|
75
|
-
grid-template-columns: repeat(2, 1fr);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
64
|
/*
|
|
79
65
|
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
80
66
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -131,8 +117,8 @@
|
|
|
131
117
|
*/
|
|
132
118
|
|
|
133
119
|
:root {
|
|
134
|
-
--ck-image-style-spacing: 1.5em;
|
|
135
|
-
--ck-inline-image-style-spacing: calc(var(--ck-image-style-spacing) / 2);
|
|
120
|
+
--ck-content-image-style-spacing: 1.5em;
|
|
121
|
+
--ck-content-inline-image-style-spacing: calc(var(--ck-content-image-style-spacing) / 2);
|
|
136
122
|
}
|
|
137
123
|
|
|
138
124
|
/* See: https://github.com/ckeditor/ckeditor5/issues/16317 */
|
|
@@ -143,7 +129,7 @@
|
|
|
143
129
|
|
|
144
130
|
.ck-content .image.image-style-block-align-left,
|
|
145
131
|
.ck-content .image.image-style-block-align-right {
|
|
146
|
-
max-width: calc(100% - var(--ck-image-style-spacing));
|
|
132
|
+
max-width: calc(100% - var(--ck-content-image-style-spacing));
|
|
147
133
|
}
|
|
148
134
|
|
|
149
135
|
/* Allows displaying multiple floating images in the same line.
|
|
@@ -156,18 +142,18 @@
|
|
|
156
142
|
|
|
157
143
|
.ck-content .image.image-style-side {
|
|
158
144
|
float: right;
|
|
159
|
-
margin-left: var(--ck-image-style-spacing);
|
|
145
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
160
146
|
max-width: 50%;
|
|
161
147
|
}
|
|
162
148
|
|
|
163
149
|
.ck-content .image.image-style-align-left {
|
|
164
150
|
float: left;
|
|
165
|
-
margin-right: var(--ck-image-style-spacing);
|
|
151
|
+
margin-right: var(--ck-content-image-style-spacing);
|
|
166
152
|
}
|
|
167
153
|
|
|
168
154
|
.ck-content .image.image-style-align-right {
|
|
169
155
|
float: right;
|
|
170
|
-
margin-left: var(--ck-image-style-spacing);
|
|
156
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
171
157
|
}
|
|
172
158
|
|
|
173
159
|
.ck-content .image.image-style-block-align-right {
|
|
@@ -187,12 +173,12 @@
|
|
|
187
173
|
|
|
188
174
|
.ck-content .image-style-align-left {
|
|
189
175
|
float: left;
|
|
190
|
-
margin-right: var(--ck-image-style-spacing);
|
|
176
|
+
margin-right: var(--ck-content-image-style-spacing);
|
|
191
177
|
}
|
|
192
178
|
|
|
193
179
|
.ck-content .image-style-align-right {
|
|
194
180
|
float: right;
|
|
195
|
-
margin-left: var(--ck-image-style-spacing);
|
|
181
|
+
margin-left: var(--ck-content-image-style-spacing);
|
|
196
182
|
}
|
|
197
183
|
|
|
198
184
|
/* Simulates margin collapsing with the preceding paragraph, which does not work for the floating elements. */
|
|
@@ -205,16 +191,16 @@
|
|
|
205
191
|
|
|
206
192
|
.ck-content .image-inline.image-style-align-left,
|
|
207
193
|
.ck-content .image-inline.image-style-align-right {
|
|
208
|
-
margin-top: var(--ck-inline-image-style-spacing);
|
|
209
|
-
margin-bottom: var(--ck-inline-image-style-spacing);
|
|
194
|
+
margin-top: var(--ck-content-inline-image-style-spacing);
|
|
195
|
+
margin-bottom: var(--ck-content-inline-image-style-spacing);
|
|
210
196
|
}
|
|
211
197
|
|
|
212
198
|
.ck-content .image-inline.image-style-align-left {
|
|
213
|
-
margin-right: var(--ck-inline-image-style-spacing);
|
|
199
|
+
margin-right: var(--ck-content-inline-image-style-spacing);
|
|
214
200
|
}
|
|
215
201
|
|
|
216
202
|
.ck-content .image-inline.image-style-align-right {
|
|
217
|
-
margin-left: var(--ck-inline-image-style-spacing);
|
|
203
|
+
margin-left: var(--ck-content-inline-image-style-spacing);
|
|
218
204
|
}
|
|
219
205
|
|
|
220
206
|
/* The button should display as a regular drop-down if the action button
|
|
@@ -239,136 +225,6 @@
|
|
|
239
225
|
background-color: var(--ck-color-button-on-hover-background);
|
|
240
226
|
}
|
|
241
227
|
|
|
242
|
-
/*
|
|
243
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
244
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
245
|
-
*/
|
|
246
|
-
|
|
247
|
-
/*
|
|
248
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
249
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
250
|
-
*/
|
|
251
|
-
|
|
252
|
-
.ck-vertical-form .ck-button::after {
|
|
253
|
-
content: "";
|
|
254
|
-
width: 0;
|
|
255
|
-
position: absolute;
|
|
256
|
-
right: -1px;
|
|
257
|
-
top: -1px;
|
|
258
|
-
bottom: -1px;
|
|
259
|
-
z-index: 1;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.ck-vertical-form .ck-button:focus::after {
|
|
263
|
-
display: none;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
@media screen and (max-width: 600px) {
|
|
267
|
-
.ck.ck-responsive-form .ck-button::after {
|
|
268
|
-
content: "";
|
|
269
|
-
width: 0;
|
|
270
|
-
position: absolute;
|
|
271
|
-
right: -1px;
|
|
272
|
-
top: -1px;
|
|
273
|
-
bottom: -1px;
|
|
274
|
-
z-index: 1;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.ck.ck-responsive-form .ck-button:focus::after {
|
|
278
|
-
display: none;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/*
|
|
283
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
284
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
285
|
-
*/
|
|
286
|
-
|
|
287
|
-
/*
|
|
288
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
289
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
290
|
-
*/
|
|
291
|
-
/*
|
|
292
|
-
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
293
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
294
|
-
*/
|
|
295
|
-
|
|
296
|
-
:root {
|
|
297
|
-
--ck-form-default-width: 340px;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.ck.ck-form {
|
|
301
|
-
padding: 0 0 var(--ck-spacing-large);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
.ck.ck-form.ck-form_default-width {
|
|
305
|
-
width: var(--ck-form-default-width);
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.ck.ck-form:focus {
|
|
309
|
-
outline: none;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
.ck.ck-form .ck.ck-input-text,
|
|
313
|
-
.ck.ck-form .ck.ck-input-number {
|
|
314
|
-
min-width: 100%;
|
|
315
|
-
width: 0;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
.ck.ck-form .ck.ck-dropdown {
|
|
319
|
-
min-width: 100%;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus) {
|
|
323
|
-
border: 1px solid var(--ck-color-base-border);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label {
|
|
327
|
-
width: 100%;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/* Default `ck-responsive-form` customization when it lies next to `ck-form` class */
|
|
331
|
-
|
|
332
|
-
@media screen and (max-width: 600px) {
|
|
333
|
-
|
|
334
|
-
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit {
|
|
335
|
-
flex-direction: column;
|
|
336
|
-
align-items: stretch;
|
|
337
|
-
padding: 0;
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
@media screen and (max-width: 600px) {
|
|
342
|
-
|
|
343
|
-
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit > .ck {
|
|
344
|
-
margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
@media screen and (max-width: 600px) {
|
|
349
|
-
|
|
350
|
-
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit .ck-button_with-text {
|
|
351
|
-
justify-content: center;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
@media screen and (max-width: 600px) {
|
|
356
|
-
|
|
357
|
-
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_large-bottom-padding {
|
|
358
|
-
padding-bottom: var(--ck-spacing-large);
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
[dir="ltr"] .ck.ck-form.ck-responsive-form > :not(:first-child) {
|
|
363
|
-
margin-left: 0;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
[dir="rtl"] .ck.ck-form.ck-responsive-form > :not(:last-child) {
|
|
367
|
-
margin-left: 0;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/* End of `ck-responsive-form` customization */
|
|
371
|
-
|
|
372
228
|
/*
|
|
373
229
|
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
374
230
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
@@ -587,4 +443,149 @@
|
|
|
587
443
|
background-size: 100% 100%;
|
|
588
444
|
}
|
|
589
445
|
|
|
446
|
+
/*
|
|
447
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
448
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
449
|
+
*/
|
|
450
|
+
|
|
451
|
+
.ck.ck-image-insert-url {
|
|
452
|
+
width: 400px;
|
|
453
|
+
padding: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
.ck.ck-image-insert-url .ck-image-insert-url__action-row {
|
|
457
|
+
display: grid;
|
|
458
|
+
grid-template-columns: repeat(2, 1fr);
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
/*
|
|
462
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
463
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
464
|
+
*/
|
|
465
|
+
|
|
466
|
+
/*
|
|
467
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
468
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
469
|
+
*/
|
|
470
|
+
|
|
471
|
+
.ck-vertical-form .ck-button::after {
|
|
472
|
+
content: "";
|
|
473
|
+
width: 0;
|
|
474
|
+
position: absolute;
|
|
475
|
+
right: -1px;
|
|
476
|
+
top: -1px;
|
|
477
|
+
bottom: -1px;
|
|
478
|
+
z-index: 1;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.ck-vertical-form .ck-button:focus::after {
|
|
482
|
+
display: none;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
@media screen and (max-width: 600px) {
|
|
486
|
+
.ck.ck-responsive-form .ck-button::after {
|
|
487
|
+
content: "";
|
|
488
|
+
width: 0;
|
|
489
|
+
position: absolute;
|
|
490
|
+
right: -1px;
|
|
491
|
+
top: -1px;
|
|
492
|
+
bottom: -1px;
|
|
493
|
+
z-index: 1;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.ck.ck-responsive-form .ck-button:focus::after {
|
|
497
|
+
display: none;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/*
|
|
502
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
503
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
504
|
+
*/
|
|
505
|
+
|
|
506
|
+
/*
|
|
507
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
508
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
509
|
+
*/
|
|
510
|
+
/*
|
|
511
|
+
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
512
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
|
|
513
|
+
*/
|
|
514
|
+
|
|
515
|
+
:root {
|
|
516
|
+
--ck-form-default-width: 340px;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.ck.ck-form {
|
|
520
|
+
padding: 0 0 var(--ck-spacing-large);
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
.ck.ck-form.ck-form_default-width {
|
|
524
|
+
width: var(--ck-form-default-width);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.ck.ck-form:focus {
|
|
528
|
+
outline: none;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.ck.ck-form .ck.ck-input-text,
|
|
532
|
+
.ck.ck-form .ck.ck-input-number {
|
|
533
|
+
min-width: 100%;
|
|
534
|
+
width: 0;
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.ck.ck-form .ck.ck-dropdown {
|
|
538
|
+
min-width: 100%;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus) {
|
|
542
|
+
border: 1px solid var(--ck-color-base-border);
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label {
|
|
546
|
+
width: 100%;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
/* Default `ck-responsive-form` customization when it lies next to `ck-form` class */
|
|
550
|
+
|
|
551
|
+
@media screen and (max-width: 600px) {
|
|
552
|
+
|
|
553
|
+
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit {
|
|
554
|
+
flex-direction: column;
|
|
555
|
+
align-items: stretch;
|
|
556
|
+
padding: 0;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
@media screen and (max-width: 600px) {
|
|
561
|
+
|
|
562
|
+
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit > .ck {
|
|
563
|
+
margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
@media screen and (max-width: 600px) {
|
|
568
|
+
|
|
569
|
+
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_with-submit .ck-button_with-text {
|
|
570
|
+
justify-content: center;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
@media screen and (max-width: 600px) {
|
|
575
|
+
|
|
576
|
+
.ck.ck-form.ck-responsive-form .ck.ck-form__row.ck-form__row_large-bottom-padding {
|
|
577
|
+
padding-bottom: var(--ck-spacing-large);
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
[dir="ltr"] .ck.ck-form.ck-responsive-form > :not(:first-child) {
|
|
582
|
+
margin-left: 0;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
[dir="rtl"] .ck.ck-form.ck-responsive-form > :not(:last-child) {
|
|
586
|
+
margin-left: 0;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/* End of `ck-responsive-form` customization */
|
|
590
|
+
|
|
590
591
|
/*# sourceMappingURL=index.css.map */
|