@ckeditor/ckeditor5-theme-lark 41.1.0 → 41.3.0-alpha.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/dist/index.css ADDED
@@ -0,0 +1,4420 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2024, 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
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
7
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
8
+ */
9
+
10
+ /* Reset */
11
+ /*
12
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
13
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
14
+ */
15
+ /*
16
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
17
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
18
+ */
19
+ :root {
20
+ --ck-color-base-foreground: hsl(0, 0%, 98%);
21
+ --ck-color-base-background: hsl(0, 0%, 100%);
22
+ --ck-color-base-border: hsl(220, 6%, 81%);
23
+ --ck-color-base-action: hsl(104, 50.2%, 42.5%);
24
+ --ck-color-base-focus: hsl(209, 92%, 70%);
25
+ --ck-color-base-text: hsl(0, 0%, 20%);
26
+ --ck-color-base-active: hsl(218.1, 100%, 58%);
27
+ --ck-color-base-active-focus: hsl(218.2, 100%, 52.5%);
28
+ --ck-color-base-error: hsl(15, 100%, 43%);
29
+
30
+ /* -- Generic colors ------------------------------------------------------------------------ */
31
+
32
+ --ck-color-focus-border-coordinates: 218, 81.8%, 56.9%;
33
+ --ck-color-focus-border: hsl(var(--ck-color-focus-border-coordinates));
34
+ --ck-color-focus-outer-shadow: hsl(212.4, 89.3%, 89%);
35
+ --ck-color-focus-disabled-shadow: hsla(209, 90%, 72%,.3);
36
+ --ck-color-focus-error-shadow: hsla(9,100%,56%,.3);
37
+ --ck-color-text: var(--ck-color-base-text);
38
+ --ck-color-shadow-drop: hsla(0, 0%, 0%, 0.15);
39
+ --ck-color-shadow-drop-active: hsla(0, 0%, 0%, 0.2);
40
+ --ck-color-shadow-inner: hsla(0, 0%, 0%, 0.1);
41
+
42
+ /* -- Buttons ------------------------------------------------------------------------------- */
43
+
44
+ --ck-color-button-default-background: transparent;
45
+ --ck-color-button-default-hover-background: hsl(0, 0%, 94.1%);
46
+ --ck-color-button-default-active-background: hsl(0, 0%, 94.1%);
47
+ --ck-color-button-default-disabled-background: transparent;
48
+
49
+ --ck-color-button-on-background: hsl(212, 100%, 97.1%);
50
+ --ck-color-button-on-hover-background: hsl(211.7, 100%, 92.9%);
51
+ --ck-color-button-on-active-background: hsl(211.7, 100%, 92.9%);
52
+ --ck-color-button-on-disabled-background: hsl(211, 15%, 95%);
53
+ --ck-color-button-on-color: hsl(218.1, 100%, 58%);
54
+
55
+
56
+ --ck-color-button-action-background: var(--ck-color-base-action);
57
+ --ck-color-button-action-hover-background: hsl(104, 53.2%, 40.2%);
58
+ --ck-color-button-action-active-background: hsl(104, 53.2%, 40.2%);
59
+ --ck-color-button-action-disabled-background: hsl(104, 44%, 58%);
60
+ --ck-color-button-action-text: var(--ck-color-base-background);
61
+
62
+ --ck-color-button-save: hsl(120, 100%, 27%);
63
+ --ck-color-button-cancel: hsl(15, 100%, 43%);
64
+
65
+ --ck-color-switch-button-off-background: hsl(0, 0%, 57.6%);
66
+ --ck-color-switch-button-off-hover-background: hsl(0, 0%, 49%);
67
+ --ck-color-switch-button-on-background: var(--ck-color-button-action-background);
68
+ --ck-color-switch-button-on-hover-background: hsl(104, 53.2%, 40.2%);
69
+ --ck-color-switch-button-inner-background: var(--ck-color-base-background);
70
+ --ck-color-switch-button-inner-shadow: hsla(0, 0%, 0%, 0.1);
71
+
72
+ /* -- Dropdown ------------------------------------------------------------------------------ */
73
+
74
+ --ck-color-dropdown-panel-background: var(--ck-color-base-background);
75
+ --ck-color-dropdown-panel-border: var(--ck-color-base-border);
76
+
77
+ /* -- Dialog -------------------------------------------------------------------------------- */
78
+
79
+ --ck-color-dialog-background: var(--ck-custom-background);
80
+ --ck-color-dialog-form-header-border: var(--ck-custom-border);
81
+
82
+ /* -- Input --------------------------------------------------------------------------------- */
83
+
84
+ --ck-color-input-background: var(--ck-color-base-background);
85
+ --ck-color-input-border: var(--ck-color-base-border);
86
+ --ck-color-input-error-border: var(--ck-color-base-error);
87
+ --ck-color-input-text: var(--ck-color-base-text);
88
+ --ck-color-input-disabled-background: hsl(0, 0%, 95%);
89
+ --ck-color-input-disabled-border: var(--ck-color-base-border);
90
+ --ck-color-input-disabled-text: hsl(0, 0%, 46%);
91
+
92
+ /* -- List ---------------------------------------------------------------------------------- */
93
+
94
+ --ck-color-list-background: var(--ck-color-base-background);
95
+ --ck-color-list-button-hover-background: var(--ck-color-button-default-hover-background);
96
+ --ck-color-list-button-on-background: var(--ck-color-button-on-color);
97
+ --ck-color-list-button-on-background-focus: var(--ck-color-button-on-color);
98
+ --ck-color-list-button-on-text: var(--ck-color-base-background);
99
+
100
+ /* -- Panel --------------------------------------------------------------------------------- */
101
+
102
+ --ck-color-panel-background: var(--ck-color-base-background);
103
+ --ck-color-panel-border: var(--ck-color-base-border);
104
+
105
+ /* -- Toolbar ------------------------------------------------------------------------------- */
106
+
107
+ --ck-color-toolbar-background: var(--ck-color-base-background);
108
+ --ck-color-toolbar-border: var(--ck-color-base-border);
109
+
110
+ /* -- Tooltip ------------------------------------------------------------------------------- */
111
+
112
+ --ck-color-tooltip-background: var(--ck-color-base-text);
113
+ --ck-color-tooltip-text: var(--ck-color-base-background);
114
+
115
+ /* -- Engine -------------------------------------------------------------------------------- */
116
+
117
+ --ck-color-engine-placeholder-text: hsl(0, 0%, 44%);
118
+
119
+ /* -- Upload -------------------------------------------------------------------------------- */
120
+
121
+ --ck-color-upload-bar-background: hsl(209, 92%, 70%);
122
+
123
+ /* -- Link -------------------------------------------------------------------------------- */
124
+
125
+ --ck-color-link-default: hsl(240, 100%, 47%);
126
+ --ck-color-link-selected-background: hsla(201, 100%, 56%, 0.1);
127
+ --ck-color-link-fake-selection: hsla(201, 100%, 56%, 0.3);
128
+
129
+ /* -- Search result highlight ---------------------------------------------------------------- */
130
+
131
+ --ck-color-highlight-background: hsl(60, 100%, 50%);
132
+
133
+ /* -- Generic colors ------------------------------------------------------------------------- */
134
+
135
+ --ck-color-light-red: hsl(0, 100%, 90%);
136
+ }
137
+ /*
138
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
139
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
140
+ */
141
+ :root {
142
+ /**
143
+ * An opacity value of disabled UI item.
144
+ */
145
+ --ck-disabled-opacity: .5;
146
+ }
147
+ /*
148
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
149
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
150
+ */
151
+ :root {
152
+ /**
153
+ * The geometry of the of focused element's outer shadow.
154
+ */
155
+ --ck-focus-outer-shadow-geometry: 0 0 0 3px;
156
+
157
+ /**
158
+ * A visual style of focused element's outer shadow.
159
+ */
160
+ --ck-focus-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-outer-shadow);
161
+
162
+ /**
163
+ * A visual style of focused element's outer shadow (when disabled).
164
+ */
165
+ --ck-focus-disabled-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-disabled-shadow);
166
+
167
+ /**
168
+ * A visual style of focused element's outer shadow (when has errors).
169
+ */
170
+ --ck-focus-error-outer-shadow: var(--ck-focus-outer-shadow-geometry) var(--ck-color-focus-error-shadow);
171
+
172
+ /**
173
+ * A visual style of focused element's border or outline.
174
+ */
175
+ --ck-focus-ring: 1px solid var(--ck-color-focus-border);
176
+ }
177
+ /*
178
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
179
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
180
+ */
181
+ :root {
182
+ --ck-font-size-base: 13px;
183
+ --ck-line-height-base: 1.84615;
184
+ --ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
185
+
186
+ --ck-font-size-tiny: 0.7em;
187
+ --ck-font-size-small: 0.75em;
188
+ --ck-font-size-normal: 1em;
189
+ --ck-font-size-big: 1.4em;
190
+ --ck-font-size-large: 1.8em;
191
+ }
192
+ /*
193
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
194
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
195
+ */
196
+ :root {
197
+ /* This is super-important. This is **manually** adjusted so a button without an icon
198
+ is never smaller than a button with icon, additionally making sure that text-less buttons
199
+ are perfect squares. The value is also shared by other components which should stay "in-line"
200
+ with buttons. */
201
+ --ck-ui-component-min-height: 2.3em;
202
+ }
203
+ /**
204
+ * Resets an element, ignoring its children.
205
+ */
206
+ .ck.ck-reset,
207
+ .ck.ck-reset_all,
208
+ .ck-reset_all *:not(.ck-reset_all-excluded *) {
209
+ /* Do not include inheritable rules here. */
210
+ margin: 0;
211
+ padding: 0;
212
+ border: 0;
213
+ background: transparent;
214
+ text-decoration: none;
215
+ vertical-align: middle;
216
+ transition: none;
217
+
218
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/105 */
219
+ word-wrap: break-word;
220
+ }
221
+ /**
222
+ * Resets an element AND its children.
223
+ */
224
+ .ck.ck-reset_all,
225
+ .ck-reset_all *:not(.ck-reset_all-excluded *) {
226
+ /* These are rule inherited by all children elements. */
227
+ border-collapse: collapse;
228
+ font: normal normal normal var(--ck-font-size-base)/var(--ck-line-height-base) var(--ck-font-face);
229
+ color: var(--ck-color-text);
230
+ text-align: left;
231
+ white-space: nowrap;
232
+ cursor: auto;
233
+ float: none;
234
+ }
235
+ .ck-reset_all .ck-rtl *:not(.ck-reset_all-excluded *) {
236
+ text-align: right;
237
+ }
238
+ .ck-reset_all iframe:not(.ck-reset_all-excluded *) {
239
+ /* For IE */
240
+ vertical-align: inherit;
241
+ }
242
+ .ck-reset_all textarea:not(.ck-reset_all-excluded *) {
243
+ white-space: pre-wrap;
244
+ }
245
+ .ck-reset_all textarea:not(.ck-reset_all-excluded *),
246
+ .ck-reset_all input[type="text"]:not(.ck-reset_all-excluded *),
247
+ .ck-reset_all input[type="password"]:not(.ck-reset_all-excluded *) {
248
+ cursor: text;
249
+ }
250
+ .ck-reset_all textarea[disabled]:not(.ck-reset_all-excluded *),
251
+ .ck-reset_all input[type="text"][disabled]:not(.ck-reset_all-excluded *),
252
+ .ck-reset_all input[type="password"][disabled]:not(.ck-reset_all-excluded *) {
253
+ cursor: default;
254
+ }
255
+ .ck-reset_all fieldset:not(.ck-reset_all-excluded *) {
256
+ padding: 10px;
257
+ border: 2px groove hsl(255, 7%, 88%);
258
+ }
259
+ .ck-reset_all button:not(.ck-reset_all-excluded *)::-moz-focus-inner {
260
+ /* See http://stackoverflow.com/questions/5517744/remove-extra-button-spacing-padding-in-firefox */
261
+ padding: 0;
262
+ border: 0
263
+ }
264
+ /**
265
+ * Default UI rules for RTL languages.
266
+ */
267
+ .ck[dir="rtl"],
268
+ .ck[dir="rtl"] .ck {
269
+ text-align: right;
270
+ }
271
+ /*
272
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
273
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
274
+ */
275
+ /**
276
+ * Default border-radius value.
277
+ */
278
+ :root{
279
+ --ck-border-radius: 2px;
280
+ }
281
+ /*
282
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
283
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
284
+ */
285
+ :root {
286
+ /**
287
+ * A visual style of element's inner shadow (i.e. input).
288
+ */
289
+ --ck-inner-shadow: 2px 2px 3px var(--ck-color-shadow-inner) inset;
290
+
291
+ /**
292
+ * A visual style of element's drop shadow (i.e. panel).
293
+ */
294
+ --ck-drop-shadow: 0 1px 2px 1px var(--ck-color-shadow-drop);
295
+
296
+ /**
297
+ * A visual style of element's active shadow (i.e. comment or suggestion).
298
+ */
299
+ --ck-drop-shadow-active: 0 3px 6px 1px var(--ck-color-shadow-drop-active);
300
+ }
301
+ /*
302
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
303
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
304
+ */
305
+ :root {
306
+ --ck-spacing-unit: 0.6em;
307
+ --ck-spacing-large: calc(var(--ck-spacing-unit) * 1.5);
308
+ --ck-spacing-standard: var(--ck-spacing-unit);
309
+ --ck-spacing-medium: calc(var(--ck-spacing-unit) * 0.8);
310
+ --ck-spacing-small: calc(var(--ck-spacing-unit) * 0.5);
311
+ --ck-spacing-tiny: calc(var(--ck-spacing-unit) * 0.3);
312
+ --ck-spacing-extra-tiny: calc(var(--ck-spacing-unit) * 0.16);
313
+ }
314
+
315
+ /* Components */
316
+ /*
317
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
318
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
319
+ */
320
+ /*
321
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
322
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
323
+ */
324
+ /**
325
+ * Implements rounded corner interface for .ck-rounded-corners class.
326
+ *
327
+ * @see $ck-border-radius
328
+ */
329
+ /*
330
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
331
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
332
+ */
333
+ /**
334
+ * A helper to combine multiple shadows.
335
+ */
336
+ /**
337
+ * Gives an element a drop shadow so it looks like a floating panel.
338
+ */
339
+ .ck.ck-autocomplete > .ck-search__results {
340
+ border-radius: 0;
341
+ }
342
+ .ck-rounded-corners .ck.ck-autocomplete > .ck-search__results, .ck.ck-autocomplete > .ck-search__results.ck-rounded-corners {
343
+ border-radius: var(--ck-border-radius);
344
+ }
345
+ .ck.ck-autocomplete > .ck-search__results {
346
+ box-shadow: var(--ck-drop-shadow), 0 0;
347
+
348
+ max-height: 200px;
349
+ overflow-y: auto;
350
+ background: var(--ck-color-base-background);
351
+ border: 1px solid var(--ck-color-dropdown-panel-border);
352
+ min-width: auto;
353
+ }
354
+ .ck.ck-autocomplete > .ck-search__results.ck-search__results_n {
355
+ border-bottom-left-radius: 0;
356
+ border-bottom-right-radius: 0;
357
+
358
+ /* Prevent duplicated borders between the input and the results pane. */
359
+ margin-bottom: -1px;
360
+ }
361
+ .ck.ck-autocomplete > .ck-search__results.ck-search__results_s {
362
+ border-top-left-radius: 0;
363
+ border-top-right-radius: 0;
364
+
365
+ /* Prevent duplicated borders between the input and the results pane. */
366
+ margin-top: -1px;
367
+ }
368
+ /*
369
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
370
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
371
+ */
372
+ /*
373
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
374
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
375
+ */
376
+ /**
377
+ * A visual style of focused element's border.
378
+ */
379
+ /*
380
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
381
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
382
+ */
383
+ /**
384
+ * A helper to combine multiple shadows.
385
+ */
386
+ /**
387
+ * Gives an element a drop shadow so it looks like a floating panel.
388
+ */
389
+ /*
390
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
391
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
392
+ */
393
+ /**
394
+ * A class which indicates that an element holding it is disabled.
395
+ */
396
+ /*
397
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
398
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
399
+ */
400
+ /**
401
+ * Implements rounded corner interface for .ck-rounded-corners class.
402
+ *
403
+ * @see $ck-border-radius
404
+ */
405
+ /*
406
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
407
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
408
+ */
409
+ /**
410
+ * Implements a button of given background color.
411
+ *
412
+ * @param {String} $background - Background color of the button.
413
+ * @param {String} $border - Border color of the button.
414
+ */
415
+ /*
416
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
417
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
418
+ */
419
+ .ck.ck-button,
420
+ a.ck.ck-button {
421
+ background: var(--ck-color-button-default-background);
422
+ border-radius: 0;
423
+
424
+ white-space: nowrap;
425
+ cursor: default;
426
+ vertical-align: middle;
427
+ padding: var(--ck-spacing-tiny);
428
+ text-align: center;
429
+
430
+ /* A very important piece of styling. Go to variable declaration to learn more. */
431
+ min-width: var(--ck-ui-component-min-height);
432
+ min-height: var(--ck-ui-component-min-height);
433
+
434
+ /* Normalize the height of the line. Removing this will break consistent height
435
+ among text and text-less buttons (with icons). */
436
+ line-height: 1;
437
+
438
+ /* Enable font size inheritance, which allows fluid UI scaling. */
439
+ font-size: inherit;
440
+
441
+ /* Avoid flickering when the foucs border shows up. */
442
+ border: 1px solid transparent;
443
+
444
+ /* Apply some smooth transition to the box-shadow and border. */
445
+ transition: box-shadow .2s ease-in-out, border .2s ease-in-out;
446
+
447
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/189 */
448
+ -webkit-appearance: none;
449
+ }
450
+ .ck.ck-button:not(.ck-disabled):hover, a.ck.ck-button:not(.ck-disabled):hover {
451
+ background: var(--ck-color-button-default-hover-background);
452
+ }
453
+ .ck.ck-button:not(.ck-disabled):active, a.ck.ck-button:not(.ck-disabled):active {
454
+ background: var(--ck-color-button-default-active-background);
455
+ }
456
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
457
+ .ck.ck-button.ck-disabled, a.ck.ck-button.ck-disabled {
458
+ background: var(--ck-color-button-default-disabled-background);
459
+ }
460
+ .ck-rounded-corners .ck.ck-button,
461
+ .ck-rounded-corners a.ck.ck-button,
462
+ .ck.ck-button.ck-rounded-corners,
463
+ a.ck.ck-button.ck-rounded-corners {
464
+ border-radius: var(--ck-border-radius);
465
+ }
466
+ .ck.ck-button:active,
467
+ a.ck.ck-button:active,
468
+ .ck.ck-button:focus,
469
+ a.ck.ck-button:focus {
470
+ /* Disable native outline. */
471
+ outline: none;
472
+ border: var(--ck-focus-ring);
473
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
474
+ }
475
+ /* Allow icon coloring using the text "color" property. */
476
+ .ck.ck-button .ck-button__icon use,
477
+ a.ck.ck-button .ck-button__icon use,
478
+ .ck.ck-button .ck-button__icon use *,
479
+ a.ck.ck-button .ck-button__icon use * {
480
+ color: inherit;
481
+ }
482
+ .ck.ck-button .ck-button__label, a.ck.ck-button .ck-button__label {
483
+ /* Enable font size inheritance, which allows fluid UI scaling. */
484
+ font-size: inherit;
485
+ font-weight: inherit;
486
+ color: inherit;
487
+ cursor: inherit;
488
+
489
+ /* Must be consistent with .ck-icon's vertical align. Otherwise, buttons with and
490
+ without labels (but with icons) have different sizes in Chrome */
491
+ vertical-align: middle;
492
+ }
493
+ [dir="ltr"] .ck.ck-button .ck-button__label, [dir="ltr"] a.ck.ck-button .ck-button__label {
494
+ text-align: left;
495
+ }
496
+ [dir="rtl"] .ck.ck-button .ck-button__label, [dir="rtl"] a.ck.ck-button .ck-button__label {
497
+ text-align: right;
498
+ }
499
+ .ck.ck-button .ck-button__keystroke, a.ck.ck-button .ck-button__keystroke {
500
+ color: inherit;
501
+ }
502
+ [dir="ltr"] .ck.ck-button .ck-button__keystroke, [dir="ltr"] a.ck.ck-button .ck-button__keystroke {
503
+ margin-left: var(--ck-spacing-large);
504
+ }
505
+ [dir="rtl"] .ck.ck-button .ck-button__keystroke, [dir="rtl"] a.ck.ck-button .ck-button__keystroke {
506
+ margin-right: var(--ck-spacing-large);
507
+ }
508
+ .ck.ck-button .ck-button__keystroke, a.ck.ck-button .ck-button__keystroke {
509
+
510
+ font-weight: bold;
511
+ opacity: .7;
512
+ }
513
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
514
+ .ck.ck-button.ck-disabled:active,
515
+ a.ck.ck-button.ck-disabled:active,
516
+ .ck.ck-button.ck-disabled:focus,
517
+ a.ck.ck-button.ck-disabled:focus {
518
+ /* The disabled button should have a slightly less visible shadow when focused. */
519
+ box-shadow: var(--ck-focus-disabled-outer-shadow), 0 0;
520
+ }
521
+ .ck.ck-button.ck-disabled .ck-button__icon, a.ck.ck-button.ck-disabled .ck-button__icon {
522
+ opacity: var(--ck-disabled-opacity);
523
+ }
524
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
525
+ .ck.ck-button.ck-disabled .ck-button__label, a.ck.ck-button.ck-disabled .ck-button__label {
526
+ opacity: var(--ck-disabled-opacity);
527
+ }
528
+ .ck.ck-button.ck-disabled .ck-button__keystroke, a.ck.ck-button.ck-disabled .ck-button__keystroke {
529
+ opacity: .3;
530
+ }
531
+ .ck.ck-button.ck-button_with-text, a.ck.ck-button.ck-button_with-text {
532
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-standard);
533
+
534
+ /* stylelint-disable-next-line no-descending-specificity */
535
+ }
536
+ [dir="ltr"] .ck.ck-button.ck-button_with-text .ck-button__icon, [dir="ltr"] a.ck.ck-button.ck-button_with-text .ck-button__icon {
537
+ margin-left: calc(-1 * var(--ck-spacing-small));
538
+ margin-right: var(--ck-spacing-small);
539
+ }
540
+ [dir="rtl"] .ck.ck-button.ck-button_with-text .ck-button__icon, [dir="rtl"] a.ck.ck-button.ck-button_with-text .ck-button__icon {
541
+ margin-right: calc(-1 * var(--ck-spacing-small));
542
+ margin-left: var(--ck-spacing-small);
543
+ }
544
+ /* stylelint-disable-next-line no-descending-specificity */
545
+ .ck.ck-button.ck-button_with-keystroke .ck-button__label, a.ck.ck-button.ck-button_with-keystroke .ck-button__label {
546
+ flex-grow: 1;
547
+ }
548
+ /* A style of the button which is currently on, e.g. its feature is active. */
549
+ .ck.ck-button.ck-on, a.ck.ck-button.ck-on {
550
+ background: var(--ck-color-button-on-background);
551
+
552
+ color: var(--ck-color-button-on-color);
553
+ }
554
+ .ck.ck-button.ck-on:not(.ck-disabled):hover, a.ck.ck-button.ck-on:not(.ck-disabled):hover {
555
+ background: var(--ck-color-button-on-hover-background);
556
+ }
557
+ .ck.ck-button.ck-on:not(.ck-disabled):active, a.ck.ck-button.ck-on:not(.ck-disabled):active {
558
+ background: var(--ck-color-button-on-active-background);
559
+ }
560
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
561
+ .ck.ck-button.ck-on.ck-disabled, a.ck.ck-button.ck-on.ck-disabled {
562
+ background: var(--ck-color-button-on-disabled-background);
563
+ }
564
+ .ck.ck-button.ck-button-save, a.ck.ck-button.ck-button-save {
565
+ color: var(--ck-color-button-save);
566
+ }
567
+ .ck.ck-button.ck-button-cancel, a.ck.ck-button.ck-button-cancel {
568
+ color: var(--ck-color-button-cancel);
569
+ }
570
+ /* A style of the button which handles the primary action. */
571
+ .ck.ck-button-action,
572
+ a.ck.ck-button-action {
573
+ background: var(--ck-color-button-action-background);
574
+
575
+ color: var(--ck-color-button-action-text);
576
+ }
577
+ .ck.ck-button-action:not(.ck-disabled):hover, a.ck.ck-button-action:not(.ck-disabled):hover {
578
+ background: var(--ck-color-button-action-hover-background);
579
+ }
580
+ .ck.ck-button-action:not(.ck-disabled):active, a.ck.ck-button-action:not(.ck-disabled):active {
581
+ background: var(--ck-color-button-action-active-background);
582
+ }
583
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */
584
+ .ck.ck-button-action.ck-disabled, a.ck.ck-button-action.ck-disabled {
585
+ background: var(--ck-color-button-action-disabled-background);
586
+ }
587
+ .ck.ck-button-bold,
588
+ a.ck.ck-button-bold {
589
+ font-weight: bold;
590
+ }
591
+ /*
592
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
593
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
594
+ */
595
+ /*
596
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
597
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
598
+ */
599
+ /**
600
+ * Implements rounded corner interface for .ck-rounded-corners class.
601
+ *
602
+ * @see $ck-border-radius
603
+ */
604
+ /*
605
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
606
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
607
+ */
608
+ /**
609
+ * A class which indicates that an element holding it is disabled.
610
+ */
611
+ /*
612
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
613
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
614
+ */
615
+ /* Note: To avoid rendering issues (aliasing) but to preserve the responsive nature
616
+ of the component, floating–point numbers have been used which, for the default font size
617
+ (see: --ck-font-size-base), will generate simple integers. */
618
+ :root {
619
+ /* 34px at 13px font-size */
620
+ --ck-switch-button-toggle-width: 2.6153846154em;
621
+ /* 14px at 13px font-size */
622
+ --ck-switch-button-toggle-inner-size: calc(1.0769230769em + 1px);
623
+ --ck-switch-button-translation: calc(
624
+ var(--ck-switch-button-toggle-width) -
625
+ var(--ck-switch-button-toggle-inner-size) -
626
+ 2px /* Border */
627
+ );
628
+ --ck-switch-button-inner-hover-shadow: 0 0 0 5px var(--ck-color-switch-button-inner-shadow);
629
+ }
630
+ /* Unlike a regular button, the switch button text color and background should never change.
631
+ * Changing toggle switch (background, outline) is enough to carry the information about the
632
+ * state of the entire component (https://github.com/ckeditor/ckeditor5/issues/12519)
633
+ */
634
+ .ck.ck-button.ck-switchbutton, .ck.ck-button.ck-switchbutton:hover, .ck.ck-button.ck-switchbutton:focus, .ck.ck-button.ck-switchbutton:active, .ck.ck-button.ck-switchbutton.ck-on:hover, .ck.ck-button.ck-switchbutton.ck-on:focus, .ck.ck-button.ck-switchbutton.ck-on:active {
635
+ color: inherit;
636
+ background: transparent;
637
+ }
638
+ [dir="ltr"] .ck.ck-button.ck-switchbutton .ck-button__label {
639
+ /* Separate the label from the switch */
640
+ margin-right: calc(2 * var(--ck-spacing-large));
641
+ }
642
+ [dir="rtl"] .ck.ck-button.ck-switchbutton .ck-button__label {
643
+ /* Separate the label from the switch */
644
+ margin-left: calc(2 * var(--ck-spacing-large));
645
+ }
646
+ .ck.ck-button.ck-switchbutton .ck-button__toggle {
647
+ border-radius: 0;
648
+ }
649
+ .ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle, .ck.ck-button.ck-switchbutton .ck-button__toggle.ck-rounded-corners {
650
+ border-radius: var(--ck-border-radius);
651
+ }
652
+ [dir="ltr"] .ck.ck-button.ck-switchbutton .ck-button__toggle {
653
+ /* Make sure the toggle is always to the right as far as possible. */
654
+ margin-left: auto;
655
+ }
656
+ [dir="rtl"] .ck.ck-button.ck-switchbutton .ck-button__toggle {
657
+ /* Make sure the toggle is always to the left as far as possible. */
658
+ margin-right: auto;
659
+ }
660
+ .ck.ck-button.ck-switchbutton .ck-button__toggle {
661
+
662
+ /* Apply some smooth transition to the box-shadow and border. */
663
+ /* Gently animate the background color of the toggle switch */
664
+ transition: background 400ms ease, box-shadow .2s ease-in-out, outline .2s ease-in-out;
665
+ border: 1px solid transparent;
666
+ width: var(--ck-switch-button-toggle-width);
667
+ background: var(--ck-color-switch-button-off-background);
668
+ }
669
+ .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner {
670
+ border-radius: 0;
671
+ }
672
+ .ck-rounded-corners .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner, .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner.ck-rounded-corners {
673
+ border-radius: var(--ck-border-radius);
674
+ border-radius: calc(.5 * var(--ck-border-radius));
675
+ }
676
+ .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner {
677
+
678
+ width: var(--ck-switch-button-toggle-inner-size);
679
+ height: var(--ck-switch-button-toggle-inner-size);
680
+ background: var(--ck-color-switch-button-inner-background);
681
+
682
+ /* Gently animate the inner part of the toggle switch */
683
+ transition: all 300ms ease;
684
+ }
685
+ .ck.ck-button.ck-switchbutton .ck-button__toggle:hover {
686
+ background: var(--ck-color-switch-button-off-hover-background);
687
+ }
688
+ .ck.ck-button.ck-switchbutton .ck-button__toggle:hover .ck-button__toggle__inner {
689
+ box-shadow: var(--ck-switch-button-inner-hover-shadow);
690
+ }
691
+ .ck.ck-button.ck-switchbutton.ck-disabled .ck-button__toggle {
692
+ opacity: var(--ck-disabled-opacity);
693
+ }
694
+ /* Overriding default .ck-button:focus styles + an outline around the toogle */
695
+ .ck.ck-button.ck-switchbutton:focus {
696
+ border-color: transparent;
697
+ outline: none;
698
+ box-shadow: none;
699
+ }
700
+ .ck.ck-button.ck-switchbutton:focus .ck-button__toggle {
701
+ box-shadow: 0 0 0 1px var(--ck-color-base-background), 0 0 0 5px var(--ck-color-focus-outer-shadow);
702
+ outline-offset: 1px;
703
+ outline: var(--ck-focus-ring);
704
+ }
705
+ /* stylelint-disable-next-line no-descending-specificity */
706
+ .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle {
707
+ background: var(--ck-color-switch-button-on-background);
708
+ }
709
+ .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle:hover {
710
+ background: var(--ck-color-switch-button-on-hover-background);
711
+ }
712
+ /*
713
+ * Move the toggle switch to the right. It will be animated.
714
+ */
715
+ [dir="ltr"] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner {
716
+ transform: translateX( var( --ck-switch-button-translation ) );
717
+ }
718
+ [dir="rtl"] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner {
719
+ transform: translateX( calc( -1 * var( --ck-switch-button-translation ) ) );
720
+ }
721
+ /*
722
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
723
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
724
+ */
725
+ /*
726
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
727
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
728
+ */
729
+ /**
730
+ * Implements rounded corner interface for .ck-rounded-corners class.
731
+ *
732
+ * @see $ck-border-radius
733
+ */
734
+ :root {
735
+ --ck-color-grid-tile-size: 24px;
736
+
737
+ /* Not using global colors here because these may change but some colors in a pallette
738
+ * require special treatment. For instance, this ensures no matter what the UI text color is,
739
+ * the check icon will look good on the black color tile. */
740
+ --ck-color-color-grid-check-icon: hsl(212, 81%, 46%);
741
+ }
742
+ .ck.ck-color-grid {
743
+ grid-gap: 5px;
744
+ padding: 8px;
745
+ }
746
+ .ck.ck-color-grid__tile {
747
+ width: var(--ck-color-grid-tile-size);
748
+ height: var(--ck-color-grid-tile-size);
749
+ min-width: var(--ck-color-grid-tile-size);
750
+ min-height: var(--ck-color-grid-tile-size);
751
+ padding: 0;
752
+ transition: .2s ease box-shadow;
753
+ border: 0;
754
+ }
755
+ .ck.ck-color-grid__tile.ck-disabled {
756
+ cursor: unset;
757
+ transition: unset;
758
+ }
759
+ .ck.ck-color-grid__tile.ck-color-selector__color-tile_bordered {
760
+ box-shadow: 0 0 0 1px var(--ck-color-base-border);
761
+ }
762
+ .ck.ck-color-grid__tile .ck.ck-icon {
763
+ display: none;
764
+ color: var(--ck-color-color-grid-check-icon);
765
+ }
766
+ .ck.ck-color-grid__tile.ck-on {
767
+ box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);
768
+ }
769
+ .ck.ck-color-grid__tile.ck-on .ck.ck-icon {
770
+ display: block;
771
+ }
772
+ .ck.ck-color-grid__tile.ck-on,
773
+ .ck.ck-color-grid__tile:focus:not( .ck-disabled ),
774
+ .ck.ck-color-grid__tile:hover:not( .ck-disabled ) {
775
+ /* Disable the default .ck-button's border ring. */
776
+ border: 0;
777
+ }
778
+ .ck.ck-color-grid__tile:focus:not( .ck-disabled ),
779
+ .ck.ck-color-grid__tile:hover:not( .ck-disabled ) {
780
+ box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);
781
+ }
782
+ .ck.ck-color-grid__label {
783
+ padding: 0 var(--ck-spacing-standard);
784
+ }
785
+ /*
786
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
787
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
788
+ */
789
+ /*
790
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
791
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
792
+ */
793
+ /* View fragment with color grids. */
794
+ .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color,
795
+ .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker {
796
+ width: 100%;
797
+ }
798
+ .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker {
799
+ padding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);
800
+ border-bottom-left-radius: 0;
801
+ border-bottom-right-radius: 0;
802
+ }
803
+ .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker:not(:focus) {
804
+ border-top: 1px solid var(--ck-color-base-border);
805
+ }
806
+ [dir="ltr"] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon {
807
+ margin-right: var(--ck-spacing-standard);
808
+ }
809
+ [dir="rtl"] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker .ck.ck-icon {
810
+ margin-left: var(--ck-spacing-standard);
811
+ }
812
+ .ck.ck-color-selector .ck-color-grids-fragment label.ck.ck-color-grid__label {
813
+ font-weight: unset;
814
+ }
815
+ /* View fragment with a color picker. */
816
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker {
817
+ padding: 8px;
818
+ }
819
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker {
820
+ height: 100px;
821
+ min-width: 180px;
822
+ }
823
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation) {
824
+ border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
825
+ }
826
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue) {
827
+ border-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);
828
+ }
829
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(saturation-pointer),
830
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-picker .hex-color-picker::part(hue-pointer) {
831
+ width: 15px;
832
+ height: 15px;
833
+ }
834
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar {
835
+ padding: 0 8px 8px;
836
+ }
837
+ /*
838
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
839
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
840
+ */
841
+ /*
842
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
843
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
844
+ */
845
+ /**
846
+ * Implements rounded corner interface for .ck-rounded-corners class.
847
+ *
848
+ * @see $ck-border-radius
849
+ */
850
+ /*
851
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
852
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
853
+ */
854
+ /**
855
+ * A class which indicates that an element holding it is disabled.
856
+ */
857
+ /*
858
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
859
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
860
+ */
861
+ /**
862
+ * A helper to combine multiple shadows.
863
+ */
864
+ /**
865
+ * Gives an element a drop shadow so it looks like a floating panel.
866
+ */
867
+ /*
868
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
869
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
870
+ */
871
+ :root {
872
+ --ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));
873
+ }
874
+ .ck.ck-dropdown {
875
+ /* Enable font size inheritance, which allows fluid UI scaling. */
876
+ font-size: inherit;
877
+ }
878
+ .ck.ck-dropdown .ck-dropdown__arrow {
879
+ width: var(--ck-dropdown-arrow-size);
880
+ }
881
+ [dir="ltr"] .ck.ck-dropdown .ck-dropdown__arrow {
882
+ right: var(--ck-spacing-standard);
883
+
884
+ /* A space to accommodate the triangle. */
885
+ margin-left: var(--ck-spacing-standard);
886
+ }
887
+ [dir="rtl"] .ck.ck-dropdown .ck-dropdown__arrow {
888
+ left: var(--ck-spacing-standard);
889
+
890
+ /* A space to accommodate the triangle. */
891
+ margin-right: var(--ck-spacing-small);
892
+ }
893
+ .ck.ck-dropdown.ck-disabled .ck-dropdown__arrow {
894
+ opacity: var(--ck-disabled-opacity);
895
+ }
896
+ [dir="ltr"] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text) {
897
+ /* Make sure dropdowns with just an icon have the right inner spacing */
898
+ padding-left: var(--ck-spacing-small);
899
+ }
900
+ [dir="rtl"] .ck.ck-dropdown .ck-button.ck-dropdown__button:not(.ck-button_with-text) {
901
+ /* Make sure dropdowns with just an icon have the right inner spacing */
902
+ padding-right: var(--ck-spacing-small);
903
+ }
904
+ /* #23 */
905
+ .ck.ck-dropdown .ck-button.ck-dropdown__button .ck-button__label {
906
+ width: 7em;
907
+ overflow: hidden;
908
+ text-overflow: ellipsis;
909
+ }
910
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
911
+ .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-disabled .ck-button__label {
912
+ opacity: var(--ck-disabled-opacity);
913
+ }
914
+ /* https://github.com/ckeditor/ckeditor5/issues/816 */
915
+ .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on {
916
+ border-bottom-left-radius: 0;
917
+ border-bottom-right-radius: 0;
918
+ }
919
+ .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-dropdown__button_label-width_auto .ck-button__label {
920
+ width: auto;
921
+ }
922
+ /* https://github.com/ckeditor/ckeditor5/issues/8699 */
923
+ .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active,
924
+ .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active {
925
+ box-shadow: none;
926
+ }
927
+ .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-off:active:focus, .ck.ck-dropdown .ck-button.ck-dropdown__button.ck-on:active:focus {
928
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
929
+ }
930
+ .ck.ck-dropdown__panel {
931
+ border-radius: 0;
932
+ }
933
+ .ck-rounded-corners .ck.ck-dropdown__panel, .ck.ck-dropdown__panel.ck-rounded-corners {
934
+ border-radius: var(--ck-border-radius);
935
+ }
936
+ .ck.ck-dropdown__panel {
937
+ box-shadow: var(--ck-drop-shadow), 0 0;
938
+
939
+ background: var(--ck-color-dropdown-panel-background);
940
+ border: 1px solid var(--ck-color-dropdown-panel-border);
941
+ bottom: 0;
942
+
943
+ /* Make sure the panel is at least as wide as the drop-down's button. */
944
+ min-width: 100%;
945
+
946
+ /* Disabled corner border radius to be consistent with the .dropdown__button
947
+ https://github.com/ckeditor/ckeditor5/issues/816 */
948
+ }
949
+ .ck.ck-dropdown__panel.ck-dropdown__panel_se {
950
+ border-top-left-radius: 0;
951
+ }
952
+ .ck.ck-dropdown__panel.ck-dropdown__panel_sw {
953
+ border-top-right-radius: 0;
954
+ }
955
+ .ck.ck-dropdown__panel.ck-dropdown__panel_ne {
956
+ border-bottom-left-radius: 0;
957
+ }
958
+ .ck.ck-dropdown__panel.ck-dropdown__panel_nw {
959
+ border-bottom-right-radius: 0;
960
+ }
961
+ .ck.ck-dropdown__panel:focus {
962
+ outline: none;
963
+ }
964
+ /*
965
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
966
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
967
+ */
968
+ /*
969
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
970
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
971
+ */
972
+ /**
973
+ * Implements rounded corner interface for .ck-rounded-corners class.
974
+ *
975
+ * @see $ck-border-radius
976
+ */
977
+ .ck.ck-dropdown .ck-dropdown__panel .ck-list {
978
+ /* Disabled radius of top-left border to be consistent with .dropdown__button
979
+ https://github.com/ckeditor/ckeditor5/issues/816 */
980
+ border-radius: 0;
981
+ }
982
+ .ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list, .ck.ck-dropdown .ck-dropdown__panel .ck-list.ck-rounded-corners {
983
+ border-radius: var(--ck-border-radius);
984
+ border-top-left-radius: 0;
985
+ }
986
+ /* Make sure the button belonging to the first/last child of the list goes well with the
987
+ border radius of the entire panel. */
988
+ .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button {
989
+ border-radius: 0;
990
+ }
991
+ .ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button, .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:first-child .ck-button.ck-rounded-corners {
992
+ border-radius: var(--ck-border-radius);
993
+ border-top-left-radius: 0;
994
+ border-bottom-left-radius: 0;
995
+ border-bottom-right-radius: 0;
996
+ }
997
+ .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button {
998
+ border-radius: 0;
999
+ }
1000
+ .ck-rounded-corners .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button, .ck.ck-dropdown .ck-dropdown__panel .ck-list .ck-list__item:last-child .ck-button.ck-rounded-corners {
1001
+ border-radius: var(--ck-border-radius);
1002
+ border-top-left-radius: 0;
1003
+ border-top-right-radius: 0;
1004
+ }
1005
+ /*
1006
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1007
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1008
+ */
1009
+ /*
1010
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1011
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1012
+ */
1013
+ /**
1014
+ * Implements rounded corner interface for .ck-rounded-corners class.
1015
+ *
1016
+ * @see $ck-border-radius
1017
+ */
1018
+ :root {
1019
+ --ck-color-split-button-hover-background: hsl(0, 0%, 92%);
1020
+ --ck-color-split-button-hover-border: hsl(0, 0%, 70%);
1021
+ }
1022
+ /*
1023
+ * Note: ck-rounded and ck-dir mixins don't go together (because they both use @nest).
1024
+ */
1025
+ [dir="ltr"] .ck.ck-splitbutton:hover > .ck-splitbutton__action,
1026
+ [dir="ltr"] .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__action {
1027
+ /* Don't round the action button on the right side */
1028
+ border-top-right-radius: unset;
1029
+ border-bottom-right-radius: unset;
1030
+ }
1031
+ [dir="rtl"] .ck.ck-splitbutton:hover > .ck-splitbutton__action,
1032
+ [dir="rtl"] .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__action {
1033
+ /* Don't round the action button on the left side */
1034
+ border-top-left-radius: unset;
1035
+ border-bottom-left-radius: unset;
1036
+ }
1037
+ .ck.ck-splitbutton > .ck-splitbutton__arrow {
1038
+ /* It's a text-less button and since the icon is positioned absolutely in such situation,
1039
+ it must get some arbitrary min-width. */
1040
+ min-width: unset;
1041
+ }
1042
+ [dir="ltr"] .ck.ck-splitbutton > .ck-splitbutton__arrow {
1043
+ /* Don't round the arrow button on the left side */
1044
+ border-top-left-radius: unset;
1045
+ border-bottom-left-radius: unset;
1046
+ }
1047
+ [dir="rtl"] .ck.ck-splitbutton > .ck-splitbutton__arrow {
1048
+ /* Don't round the arrow button on the right side */
1049
+ border-top-right-radius: unset;
1050
+ border-bottom-right-radius: unset;
1051
+ }
1052
+ .ck.ck-splitbutton > .ck-splitbutton__arrow svg {
1053
+ width: var(--ck-dropdown-arrow-size);
1054
+ }
1055
+ /* Make sure the divider stretches 100% height of the button
1056
+ https://github.com/ckeditor/ckeditor5/issues/10936 */
1057
+ .ck.ck-splitbutton > .ck-splitbutton__arrow:not(:focus) {
1058
+ border-top-width: 0px;
1059
+ border-bottom-width: 0px;
1060
+ }
1061
+ /* When the split button is "open" (the arrow is on) or being hovered, it should get some styling
1062
+ as a whole. The background of both buttons should stand out and there should be a visual
1063
+ separation between both buttons. */
1064
+ /* When the split button hovered as a whole, not as individual buttons. */
1065
+ .ck.ck-splitbutton.ck-splitbutton_open > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover), .ck.ck-splitbutton:hover > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {
1066
+ background: var(--ck-color-split-button-hover-background);
1067
+ }
1068
+ /* Splitbutton separator needs to be set with the ::after pseudoselector
1069
+ to display properly the borders on focus */
1070
+ .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled)::after, .ck.ck-splitbutton:hover > .ck-splitbutton__arrow:not(.ck-disabled)::after {
1071
+ content: '';
1072
+ position: absolute;
1073
+ width: 1px;
1074
+ height: 100%;
1075
+ background-color: var(--ck-color-split-button-hover-border);
1076
+ }
1077
+ /* Make sure the divider between the buttons looks fine when the button is focused */
1078
+ .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__arrow:focus::after, .ck.ck-splitbutton:hover > .ck-splitbutton__arrow:focus::after {
1079
+ --ck-color-split-button-hover-border: var(--ck-color-focus-border);
1080
+ }
1081
+ [dir="ltr"] .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled)::after, [dir="ltr"] .ck.ck-splitbutton:hover > .ck-splitbutton__arrow:not(.ck-disabled)::after {
1082
+ left: -1px;
1083
+ }
1084
+ [dir="rtl"] .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__arrow:not(.ck-disabled)::after, [dir="rtl"] .ck.ck-splitbutton:hover > .ck-splitbutton__arrow:not(.ck-disabled)::after {
1085
+ right: -1px;
1086
+ }
1087
+ /* Don't round the bottom left and right corners of the buttons when "open"
1088
+ https://github.com/ckeditor/ckeditor5/issues/816 */
1089
+ .ck.ck-splitbutton.ck-splitbutton_open {
1090
+ border-radius: 0;
1091
+ }
1092
+ .ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open, .ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners {
1093
+ border-radius: var(--ck-border-radius);
1094
+ }
1095
+ .ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__action, .ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners > .ck-splitbutton__action {
1096
+ border-bottom-left-radius: 0;
1097
+ }
1098
+ .ck-rounded-corners .ck.ck-splitbutton.ck-splitbutton_open > .ck-splitbutton__arrow, .ck.ck-splitbutton.ck-splitbutton_open.ck-rounded-corners > .ck-splitbutton__arrow {
1099
+ border-bottom-right-radius: 0;
1100
+ }
1101
+ /*
1102
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1103
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1104
+ */
1105
+ .ck.ck-toolbar-dropdown .ck-toolbar {
1106
+ border: 0;
1107
+ }
1108
+ /*
1109
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1110
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1111
+ */
1112
+ /*
1113
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1114
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1115
+ */
1116
+ /**
1117
+ * Implements rounded corner interface for .ck-rounded-corners class.
1118
+ *
1119
+ * @see $ck-border-radius
1120
+ */
1121
+ /*
1122
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1123
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1124
+ */
1125
+ /**
1126
+ * A class which indicates that an element holding it is disabled.
1127
+ */
1128
+ /*
1129
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1130
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1131
+ */
1132
+ /**
1133
+ * A helper to combine multiple shadows.
1134
+ */
1135
+ /**
1136
+ * Gives an element a drop shadow so it looks like a floating panel.
1137
+ */
1138
+ /*
1139
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1140
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1141
+ */
1142
+ /**
1143
+ * A visual style of focused element's border.
1144
+ */
1145
+ /*
1146
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1147
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1148
+ */
1149
+ /**
1150
+ * Implements a button of given background color.
1151
+ *
1152
+ * @param {String} $background - Background color of the button.
1153
+ * @param {String} $border - Border color of the button.
1154
+ */
1155
+ :root {
1156
+ --ck-color-editable-blur-selection: hsl(0, 0%, 85%);
1157
+ }
1158
+ .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
1159
+ border-radius: 0;
1160
+ }
1161
+ .ck-rounded-corners .ck.ck-editor__editable:not(.ck-editor__nested-editable), .ck.ck-editor__editable.ck-rounded-corners:not(.ck-editor__nested-editable) {
1162
+ border-radius: var(--ck-border-radius);
1163
+ }
1164
+ .ck.ck-editor__editable.ck-focused:not(.ck-editor__nested-editable) {
1165
+ /* Disable native outline. */
1166
+ outline: none;
1167
+ border: var(--ck-focus-ring);
1168
+ box-shadow: var(--ck-inner-shadow), 0 0;
1169
+ }
1170
+ .ck.ck-editor__editable_inline {
1171
+ overflow: auto;
1172
+ padding: 0 var(--ck-spacing-standard);
1173
+ border: 1px solid transparent;
1174
+ }
1175
+ .ck.ck-editor__editable_inline[dir="ltr"] {
1176
+ text-align: left;
1177
+ }
1178
+ .ck.ck-editor__editable_inline[dir="rtl"] {
1179
+ text-align: right;
1180
+ }
1181
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */
1182
+ .ck.ck-editor__editable_inline > *:first-child {
1183
+ margin-top: var(--ck-spacing-large);
1184
+ }
1185
+ /* https://github.com/ckeditor/ckeditor5/issues/847 */
1186
+ .ck.ck-editor__editable_inline > *:last-child {
1187
+ /*
1188
+ * This value should match with the default margins of the block elements (like .media or .image)
1189
+ * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).
1190
+ */
1191
+ margin-bottom: var(--ck-spacing-large);
1192
+ }
1193
+ /* https://github.com/ckeditor/ckeditor5/issues/6517 */
1194
+ .ck.ck-editor__editable_inline.ck-blurred ::selection {
1195
+ background: var(--ck-color-editable-blur-selection);
1196
+ }
1197
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */
1198
+ .ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"]::after {
1199
+ border-bottom-color: var(--ck-color-panel-background);
1200
+ }
1201
+ .ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"]::after {
1202
+ border-top-color: var(--ck-color-panel-background);
1203
+ }
1204
+ /*
1205
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1206
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1207
+ */
1208
+ /*
1209
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1210
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1211
+ */
1212
+ :root {
1213
+ --ck-form-header-height: 44px;
1214
+ }
1215
+ .ck.ck-form__header {
1216
+ padding: var(--ck-spacing-small) var(--ck-spacing-large);
1217
+ height: var(--ck-form-header-height);
1218
+ line-height: var(--ck-form-header-height);
1219
+ border-bottom: 1px solid var(--ck-color-base-border);
1220
+ }
1221
+ [dir="ltr"] .ck.ck-form__header > .ck-icon {
1222
+ margin-right: var(--ck-spacing-medium);
1223
+ }
1224
+ [dir="rtl"] .ck.ck-form__header > .ck-icon {
1225
+ margin-left: var(--ck-spacing-medium);
1226
+ }
1227
+ .ck.ck-form__header .ck-form__header__label {
1228
+ --ck-font-size-base: 15px;
1229
+ font-weight: bold;
1230
+ }
1231
+ /*
1232
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1233
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1234
+ */
1235
+ :root {
1236
+ --ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
1237
+ }
1238
+ .ck.ck-icon {
1239
+ width: var(--ck-icon-size);
1240
+ height: var(--ck-icon-size);
1241
+
1242
+ /* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */
1243
+ font-size: .8333350694em;
1244
+
1245
+ /* Inherit cursor style (#5). */
1246
+ cursor: inherit;
1247
+
1248
+ /* This will prevent blurry icons on Firefox. See #340. */
1249
+ will-change: transform;
1250
+ }
1251
+ .ck.ck-icon * {
1252
+ /* Inherit cursor style (#5). */
1253
+ cursor: inherit;
1254
+ }
1255
+ /* Allows dynamic coloring of an icon by inheriting its color from the parent. */
1256
+ .ck.ck-icon.ck-icon_inherit-color {
1257
+ color: inherit;
1258
+ }
1259
+ .ck.ck-icon.ck-icon_inherit-color * {
1260
+ color: inherit;
1261
+ }
1262
+ .ck.ck-icon.ck-icon_inherit-color *:not([fill]) {
1263
+ /* Needed by FF. */
1264
+ fill: currentColor;
1265
+ }
1266
+ /*
1267
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1268
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1269
+ */
1270
+ /*
1271
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1272
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1273
+ */
1274
+ /**
1275
+ * Implements rounded corner interface for .ck-rounded-corners class.
1276
+ *
1277
+ * @see $ck-border-radius
1278
+ */
1279
+ /*
1280
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1281
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1282
+ */
1283
+ /**
1284
+ * A visual style of focused element's border.
1285
+ */
1286
+ /*
1287
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1288
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1289
+ */
1290
+ /**
1291
+ * A helper to combine multiple shadows.
1292
+ */
1293
+ /**
1294
+ * Gives an element a drop shadow so it looks like a floating panel.
1295
+ */
1296
+ :root {
1297
+ --ck-input-width: 18em;
1298
+
1299
+ /* Backward compatibility. */
1300
+ --ck-input-text-width: var(--ck-input-width);
1301
+ }
1302
+ .ck.ck-input {
1303
+ border-radius: 0;
1304
+ }
1305
+ .ck-rounded-corners .ck.ck-input, .ck.ck-input.ck-rounded-corners {
1306
+ border-radius: var(--ck-border-radius);
1307
+ }
1308
+ .ck.ck-input {
1309
+
1310
+ background: var(--ck-color-input-background);
1311
+ border: 1px solid var(--ck-color-input-border);
1312
+ padding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);
1313
+ min-width: var(--ck-input-width);
1314
+
1315
+ /* This is important to stay of the same height as surrounding buttons */
1316
+ min-height: var(--ck-ui-component-min-height);
1317
+
1318
+ /* Apply some smooth transition to the box-shadow and border. */
1319
+ transition: box-shadow .1s ease-in-out, border .1s ease-in-out;
1320
+ }
1321
+ .ck.ck-input:focus {
1322
+ /* Disable native outline. */
1323
+ outline: none;
1324
+ border: var(--ck-focus-ring);
1325
+ box-shadow: var(--ck-focus-outer-shadow), 0 0;
1326
+ }
1327
+ .ck.ck-input[readonly] {
1328
+ border: 1px solid var(--ck-color-input-disabled-border);
1329
+ background: var(--ck-color-input-disabled-background);
1330
+ color: var(--ck-color-input-disabled-text);
1331
+ }
1332
+ .ck.ck-input[readonly]:focus {
1333
+ /* The read-only input should have a slightly less visible shadow when focused. */
1334
+ box-shadow: var(--ck-focus-disabled-outer-shadow), 0 0;
1335
+ }
1336
+ .ck.ck-input.ck-error {
1337
+ border-color: var(--ck-color-input-error-border);
1338
+ animation: ck-input-shake .3s ease both;
1339
+ }
1340
+ .ck.ck-input.ck-error:focus {
1341
+ box-shadow: var(--ck-focus-error-outer-shadow), 0 0;
1342
+ }
1343
+ @keyframes ck-input-shake {
1344
+ 20% {
1345
+ transform: translateX(-2px);
1346
+ }
1347
+
1348
+ 40% {
1349
+ transform: translateX(2px);
1350
+ }
1351
+
1352
+ 60% {
1353
+ transform: translateX(-1px);
1354
+ }
1355
+
1356
+ 80% {
1357
+ transform: translateX(1px);
1358
+ }
1359
+ }
1360
+ /*
1361
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1362
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1363
+ */
1364
+ .ck.ck-label {
1365
+ font-weight: bold;
1366
+ }
1367
+ /*
1368
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1369
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1370
+ */
1371
+ /*
1372
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1373
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1374
+ */
1375
+ /*
1376
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1377
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1378
+ */
1379
+ /**
1380
+ * Implements rounded corner interface for .ck-rounded-corners class.
1381
+ *
1382
+ * @see $ck-border-radius
1383
+ */
1384
+ :root {
1385
+ --ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);
1386
+ --ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);
1387
+ --ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);
1388
+ --ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));
1389
+ --ck-color-labeled-field-label-background: var(--ck-color-base-background);
1390
+ }
1391
+ .ck.ck-labeled-field-view {
1392
+ border-radius: 0;
1393
+ }
1394
+ .ck-rounded-corners .ck.ck-labeled-field-view, .ck.ck-labeled-field-view.ck-rounded-corners {
1395
+ border-radius: var(--ck-border-radius);
1396
+ }
1397
+ .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper {
1398
+ width: 100%;
1399
+ }
1400
+ .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1401
+ top: 0px;
1402
+ }
1403
+ [dir="ltr"] .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1404
+ left: 0px;
1405
+ transform-origin: 0 0;
1406
+ /* By default, display the label scaled down above the field. */
1407
+ transform: translate(var(--ck-spacing-medium), -6px) scale(.75);
1408
+ }
1409
+ [dir="rtl"] .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1410
+ right: 0px;
1411
+ transform-origin: 100% 0;
1412
+ transform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);
1413
+ }
1414
+ .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1415
+
1416
+ pointer-events: none;
1417
+
1418
+ background: var(--ck-color-labeled-field-label-background);
1419
+ padding: 0 calc(.5 * var(--ck-font-size-tiny));
1420
+ line-height: initial;
1421
+ font-weight: normal;
1422
+
1423
+ /* Prevent overflow when the label is longer than the input */
1424
+ text-overflow: ellipsis;
1425
+ overflow: hidden;
1426
+
1427
+ max-width: 100%;
1428
+
1429
+ transition:
1430
+ transform var(--ck-labeled-field-view-transition),
1431
+ padding var(--ck-labeled-field-view-transition),
1432
+ background var(--ck-labeled-field-view-transition);
1433
+ }
1434
+ .ck.ck-labeled-field-view.ck-error > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1435
+ color: var(--ck-color-base-error);
1436
+ }
1437
+ .ck.ck-labeled-field-view.ck-error .ck-input:not([readonly]) + .ck.ck-label {
1438
+ color: var(--ck-color-base-error);
1439
+ }
1440
+ .ck.ck-labeled-field-view .ck-labeled-field-view__status {
1441
+ font-size: var(--ck-font-size-small);
1442
+ margin-top: var(--ck-spacing-small);
1443
+
1444
+ /* Let the info wrap to the next line to avoid stretching the layout horizontally.
1445
+ The status could be very long. */
1446
+ white-space: normal;
1447
+ }
1448
+ .ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error {
1449
+ color: var(--ck-color-base-error);
1450
+ }
1451
+ /* Disabled fields and fields that have no focus should fade out. */
1452
+ .ck.ck-labeled-field-view.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
1453
+ .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1454
+ color: var(--ck-color-input-disabled-text);
1455
+ }
1456
+ /* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */
1457
+ /* stylelint-disable-next-line no-descending-specificity */
1458
+ [dir="ltr"] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
1459
+ [dir="ltr"] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1460
+ transform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);
1461
+ }
1462
+ [dir="rtl"] .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
1463
+ [dir="rtl"] .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1464
+ transform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);
1465
+ }
1466
+ .ck.ck-labeled-field-view.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
1467
+ .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder):not(.ck-error) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
1468
+
1469
+ /* Compensate for the default translate position. */
1470
+ max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));
1471
+
1472
+ background: transparent;
1473
+ padding: 0;
1474
+ }
1475
+ /*------ DropdownView integration ----------------------------------------------------------------------------------- */
1476
+ /* Make sure dropdown' background color in any of dropdown's state does not collide with labeled field. */
1477
+ .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {
1478
+ background: transparent;
1479
+ }
1480
+ /* When the dropdown is "empty", the labeled field label replaces its label. */
1481
+ .ck.ck-labeled-field-view.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {
1482
+ opacity: 0;
1483
+ }
1484
+ /* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */
1485
+ .ck.ck-labeled-field-view.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-dropdown + .ck-label {
1486
+ max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));
1487
+ }
1488
+ /*
1489
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1490
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1491
+ */
1492
+ .ck.ck-labeled-input .ck-labeled-input__status {
1493
+ font-size: var(--ck-font-size-small);
1494
+ margin-top: var(--ck-spacing-small);
1495
+
1496
+ /* Let the info wrap to the next line to avoid stretching the layout horizontally.
1497
+ The status could be very long. */
1498
+ white-space: normal;
1499
+ }
1500
+ .ck.ck-labeled-input .ck-labeled-input__status_error {
1501
+ color: var(--ck-color-base-error);
1502
+ }
1503
+ /*
1504
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1505
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1506
+ */
1507
+ /*
1508
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1509
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1510
+ */
1511
+ /**
1512
+ * A class which indicates that an element holding it is disabled.
1513
+ */
1514
+ /*
1515
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1516
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1517
+ */
1518
+ /**
1519
+ * Implements rounded corner interface for .ck-rounded-corners class.
1520
+ *
1521
+ * @see $ck-border-radius
1522
+ */
1523
+ /*
1524
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1525
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1526
+ */
1527
+ /**
1528
+ * A helper to combine multiple shadows.
1529
+ */
1530
+ /**
1531
+ * Gives an element a drop shadow so it looks like a floating panel.
1532
+ */
1533
+ /*
1534
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1535
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1536
+ */
1537
+ :root {
1538
+ --ck-list-button-padding:
1539
+ calc(.2 * var(--ck-line-height-base) * var(--ck-font-size-base))
1540
+ calc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));
1541
+ }
1542
+ .ck.ck-list {
1543
+ border-radius: 0;
1544
+ }
1545
+ .ck-rounded-corners .ck.ck-list, .ck.ck-list.ck-rounded-corners {
1546
+ border-radius: var(--ck-border-radius);
1547
+ }
1548
+ .ck.ck-list {
1549
+
1550
+ list-style-type: none;
1551
+ background: var(--ck-color-list-background);
1552
+ }
1553
+ .ck.ck-list__item {
1554
+ cursor: default;
1555
+ min-width: 12em;
1556
+ }
1557
+ .ck.ck-list__item .ck-button {
1558
+ min-height: unset;
1559
+ width: 100%;
1560
+ border-radius: 0;
1561
+ }
1562
+ [dir="ltr"] .ck.ck-list__item .ck-button {
1563
+ text-align: left;
1564
+ }
1565
+ [dir="rtl"] .ck.ck-list__item .ck-button {
1566
+ text-align: right;
1567
+ }
1568
+ .ck.ck-list__item .ck-button {
1569
+
1570
+ /* List items should have the same height. Use absolute units to make sure it is so
1571
+ because e.g. different heading styles may have different height
1572
+ https://github.com/ckeditor/ckeditor5-heading/issues/63 */
1573
+ padding: var(--ck-list-button-padding);
1574
+ }
1575
+ .ck.ck-list__item .ck-button .ck-button__label {
1576
+ /* https://github.com/ckeditor/ckeditor5-heading/issues/63 */
1577
+ line-height: calc(1.2 * var(--ck-line-height-base) * var(--ck-font-size-base));
1578
+ }
1579
+ .ck.ck-list__item .ck-button:active {
1580
+ box-shadow: none;
1581
+ }
1582
+ .ck.ck-list__item .ck-button.ck-on {
1583
+ background: var(--ck-color-list-button-on-background);
1584
+ color: var(--ck-color-list-button-on-text);
1585
+ }
1586
+ .ck.ck-list__item .ck-button.ck-on:active {
1587
+ box-shadow: none;
1588
+ }
1589
+ .ck.ck-list__item .ck-button.ck-on:hover:not(.ck-disabled) {
1590
+ background: var(--ck-color-list-button-on-background-focus);
1591
+ }
1592
+ .ck.ck-list__item .ck-button.ck-on:focus:not(.ck-switchbutton):not(.ck-disabled) {
1593
+ border-color: var(--ck-color-base-background);
1594
+ }
1595
+ .ck.ck-list__item .ck-button:hover:not(.ck-disabled) {
1596
+ background: var(--ck-color-list-button-hover-background);
1597
+ }
1598
+ /* It's unnecessary to change the background/text of a switch toggle; it has different ways
1599
+ of conveying its state (like the switcher) */
1600
+ .ck.ck-list__item .ck-switchbutton.ck-on {
1601
+ background: var(--ck-color-list-background);
1602
+ color: inherit;
1603
+ }
1604
+ .ck.ck-list__item .ck-switchbutton.ck-on:hover:not(.ck-disabled) {
1605
+ background: var(--ck-color-list-button-hover-background);
1606
+ color: inherit;
1607
+ }
1608
+ .ck-list .ck-list__group {
1609
+ padding-top: var(--ck-spacing-medium);
1610
+
1611
+ /* The group should have a border when it's not the first item. */
1612
+ }
1613
+ *:not(.ck-hidden) ~ .ck-list .ck-list__group {
1614
+ border-top: 1px solid var(--ck-color-base-border);
1615
+ }
1616
+ .ck-list .ck-list__group > .ck-label {
1617
+ font-size: 11px;
1618
+ font-weight: bold;
1619
+ padding: var(--ck-spacing-medium) var(--ck-spacing-medium) 0 var(--ck-spacing-medium);
1620
+ }
1621
+ .ck.ck-list__separator {
1622
+ height: 1px;
1623
+ width: 100%;
1624
+ background: var(--ck-color-base-border);
1625
+ }
1626
+ /*
1627
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1628
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1629
+ */
1630
+ /*
1631
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1632
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1633
+ */
1634
+ /**
1635
+ * Implements rounded corner interface for .ck-rounded-corners class.
1636
+ *
1637
+ * @see $ck-border-radius
1638
+ */
1639
+ /*
1640
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1641
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1642
+ */
1643
+ /**
1644
+ * A helper to combine multiple shadows.
1645
+ */
1646
+ /**
1647
+ * Gives an element a drop shadow so it looks like a floating panel.
1648
+ */
1649
+ :root {
1650
+ --ck-balloon-border-width: 1px;
1651
+ --ck-balloon-arrow-offset: 2px;
1652
+ --ck-balloon-arrow-height: 10px;
1653
+ --ck-balloon-arrow-half-width: 8px;
1654
+ --ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);
1655
+ }
1656
+ .ck.ck-balloon-panel {
1657
+ border-radius: 0;
1658
+ }
1659
+ .ck-rounded-corners .ck.ck-balloon-panel, .ck.ck-balloon-panel.ck-rounded-corners {
1660
+ border-radius: var(--ck-border-radius);
1661
+ }
1662
+ .ck.ck-balloon-panel {
1663
+ box-shadow: var(--ck-drop-shadow), 0 0;
1664
+
1665
+ min-height: 15px;
1666
+
1667
+ background: var(--ck-color-panel-background);
1668
+ border: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);
1669
+ }
1670
+ .ck.ck-balloon-panel.ck-balloon-panel_with-arrow::before,
1671
+ .ck.ck-balloon-panel.ck-balloon-panel_with-arrow::after {
1672
+ width: 0;
1673
+ height: 0;
1674
+ border-style: solid;
1675
+ }
1676
+ .ck.ck-balloon-panel[class*="arrow_n"]::before,
1677
+ .ck.ck-balloon-panel[class*="arrow_n"]::after {
1678
+ border-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);
1679
+ }
1680
+ .ck.ck-balloon-panel[class*="arrow_n"]::before {
1681
+ border-color: transparent transparent var(--ck-color-panel-border) transparent;
1682
+ margin-top: calc( -1 * var(--ck-balloon-border-width) );
1683
+ }
1684
+ .ck.ck-balloon-panel[class*="arrow_n"]::after {
1685
+ border-color: transparent transparent var(--ck-color-panel-background) transparent;
1686
+ margin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
1687
+ }
1688
+ .ck.ck-balloon-panel[class*="arrow_s"]::before,
1689
+ .ck.ck-balloon-panel[class*="arrow_s"]::after {
1690
+ border-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);
1691
+ }
1692
+ .ck.ck-balloon-panel[class*="arrow_s"]::before {
1693
+ border-color: var(--ck-color-panel-border) transparent transparent;
1694
+ filter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));
1695
+ margin-bottom: calc( -1 * var(--ck-balloon-border-width) );
1696
+ }
1697
+ .ck.ck-balloon-panel[class*="arrow_s"]::after {
1698
+ border-color: var(--ck-color-panel-background) transparent transparent transparent;
1699
+ margin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
1700
+ }
1701
+ .ck.ck-balloon-panel[class*="arrow_e"]::before,
1702
+ .ck.ck-balloon-panel[class*="arrow_e"]::after {
1703
+ border-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);
1704
+ }
1705
+ .ck.ck-balloon-panel[class*="arrow_e"]::before {
1706
+ border-color: transparent transparent transparent var(--ck-color-panel-border);
1707
+ margin-right: calc( -1 * var(--ck-balloon-border-width) );
1708
+ }
1709
+ .ck.ck-balloon-panel[class*="arrow_e"]::after {
1710
+ border-color: transparent transparent transparent var(--ck-color-panel-background);
1711
+ margin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
1712
+ }
1713
+ .ck.ck-balloon-panel[class*="arrow_w"]::before,
1714
+ .ck.ck-balloon-panel[class*="arrow_w"]::after {
1715
+ border-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;
1716
+ }
1717
+ .ck.ck-balloon-panel[class*="arrow_w"]::before {
1718
+ border-color: transparent var(--ck-color-panel-border) transparent transparent;
1719
+ margin-left: calc( -1 * var(--ck-balloon-border-width) );
1720
+ }
1721
+ .ck.ck-balloon-panel[class*="arrow_w"]::after {
1722
+ border-color: transparent var(--ck-color-panel-background) transparent transparent;
1723
+ margin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
1724
+ }
1725
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_n::before,
1726
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_n::after {
1727
+ left: 50%;
1728
+ margin-left: calc(-1 * var(--ck-balloon-arrow-half-width));
1729
+ top: calc(-1 * var(--ck-balloon-arrow-height));
1730
+ }
1731
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_nw::before,
1732
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_nw::after {
1733
+ left: calc(2 * var(--ck-balloon-arrow-half-width));
1734
+ top: calc(-1 * var(--ck-balloon-arrow-height));
1735
+ }
1736
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_ne::before,
1737
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_ne::after {
1738
+ right: calc(2 * var(--ck-balloon-arrow-half-width));
1739
+ top: calc(-1 * var(--ck-balloon-arrow-height));
1740
+ }
1741
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_s::before,
1742
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_s::after {
1743
+ left: 50%;
1744
+ margin-left: calc(-1 * var(--ck-balloon-arrow-half-width));
1745
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
1746
+ }
1747
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_sw::before,
1748
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_sw::after {
1749
+ left: calc(2 * var(--ck-balloon-arrow-half-width));
1750
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
1751
+ }
1752
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_se::before,
1753
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_se::after {
1754
+ right: calc(2 * var(--ck-balloon-arrow-half-width));
1755
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
1756
+ }
1757
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_sme::before,
1758
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_sme::after {
1759
+ right: 25%;
1760
+ margin-right: calc(2 * var(--ck-balloon-arrow-half-width));
1761
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
1762
+ }
1763
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_smw::before,
1764
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_smw::after {
1765
+ left: 25%;
1766
+ margin-left: calc(2 * var(--ck-balloon-arrow-half-width));
1767
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
1768
+ }
1769
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_nme::before,
1770
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_nme::after {
1771
+ right: 25%;
1772
+ margin-right: calc(2 * var(--ck-balloon-arrow-half-width));
1773
+ top: calc(-1 * var(--ck-balloon-arrow-height));
1774
+ }
1775
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw::before,
1776
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_nmw::after {
1777
+ left: 25%;
1778
+ margin-left: calc(2 * var(--ck-balloon-arrow-half-width));
1779
+ top: calc(-1 * var(--ck-balloon-arrow-height));
1780
+ }
1781
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_e::before,
1782
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_e::after {
1783
+ right: calc(-1 * var(--ck-balloon-arrow-height));
1784
+ margin-top: calc(-1 * var(--ck-balloon-arrow-half-width));
1785
+ top: 50%;
1786
+ }
1787
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_w::before,
1788
+ .ck.ck-balloon-panel.ck-balloon-panel_arrow_w::after {
1789
+ left: calc(-1 * var(--ck-balloon-arrow-height));
1790
+ margin-top: calc(-1 * var(--ck-balloon-arrow-half-width));
1791
+ top: 50%;
1792
+ }
1793
+ /*
1794
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1795
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1796
+ */
1797
+ .ck .ck-balloon-rotator__navigation {
1798
+ background: var(--ck-color-toolbar-background);
1799
+ border-bottom: 1px solid var(--ck-color-toolbar-border);
1800
+ padding: 0 var(--ck-spacing-small);
1801
+
1802
+ /* Let's keep similar appearance to `ck-toolbar`. */
1803
+ }
1804
+ .ck .ck-balloon-rotator__navigation > * {
1805
+ margin-right: var(--ck-spacing-small);
1806
+ margin-top: var(--ck-spacing-small);
1807
+ margin-bottom: var(--ck-spacing-small);
1808
+ }
1809
+ /* Gives counter more breath than buttons. */
1810
+ .ck .ck-balloon-rotator__navigation .ck-balloon-rotator__counter {
1811
+ margin-right: var(--ck-spacing-standard);
1812
+
1813
+ /* We need to use smaller margin because of previous button's right margin. */
1814
+ margin-left: var(--ck-spacing-small);
1815
+ }
1816
+ /* Disable default annotation shadow inside rotator with fake panels. */
1817
+ .ck .ck-balloon-rotator__content .ck.ck-annotation-wrapper {
1818
+ box-shadow: none;
1819
+ }
1820
+ /*
1821
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1822
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1823
+ */
1824
+ /*
1825
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1826
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1827
+ */
1828
+ /**
1829
+ * A helper to combine multiple shadows.
1830
+ */
1831
+ /**
1832
+ * Gives an element a drop shadow so it looks like a floating panel.
1833
+ */
1834
+ :root {
1835
+ --ck-balloon-fake-panel-offset-horizontal: 6px;
1836
+ --ck-balloon-fake-panel-offset-vertical: 6px;
1837
+ }
1838
+ /* Let's use `.ck-balloon-panel` appearance. See: balloonpanel.css. */
1839
+ .ck .ck-fake-panel div {
1840
+ box-shadow: var(--ck-drop-shadow), 0 0;
1841
+
1842
+ min-height: 15px;
1843
+
1844
+ background: var(--ck-color-panel-background);
1845
+ border: 1px solid var(--ck-color-panel-border);
1846
+ border-radius: var(--ck-border-radius);
1847
+
1848
+ width: 100%;
1849
+ height: 100%;
1850
+ }
1851
+ .ck .ck-fake-panel div:nth-child( 1 ) {
1852
+ margin-left: var(--ck-balloon-fake-panel-offset-horizontal);
1853
+ margin-top: var(--ck-balloon-fake-panel-offset-vertical);
1854
+ }
1855
+ .ck .ck-fake-panel div:nth-child( 2 ) {
1856
+ margin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);
1857
+ margin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);
1858
+ }
1859
+ .ck .ck-fake-panel div:nth-child( 3 ) {
1860
+ margin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);
1861
+ margin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);
1862
+ }
1863
+ /* If balloon is positioned above element, we need to move fake panel to the top. */
1864
+ .ck .ck-balloon-panel_arrow_s + .ck-fake-panel,
1865
+ .ck .ck-balloon-panel_arrow_se + .ck-fake-panel,
1866
+ .ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {
1867
+ --ck-balloon-fake-panel-offset-vertical: -6px;
1868
+ }
1869
+ /*
1870
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1871
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1872
+ */
1873
+ /*
1874
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1875
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1876
+ */
1877
+ /**
1878
+ * A helper to combine multiple shadows.
1879
+ */
1880
+ /**
1881
+ * Gives an element a drop shadow so it looks like a floating panel.
1882
+ */
1883
+ .ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
1884
+ box-shadow: var(--ck-drop-shadow), 0 0;
1885
+
1886
+ border-width: 0 1px 1px;
1887
+ border-top-left-radius: 0;
1888
+ border-top-right-radius: 0;
1889
+ }
1890
+ /*
1891
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1892
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1893
+ */
1894
+ /*
1895
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1896
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1897
+ */
1898
+ /*
1899
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1900
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1901
+ */
1902
+ .ck-vertical-form > .ck-button:nth-last-child(2)::after {
1903
+ border-right: 1px solid var(--ck-color-base-border);
1904
+ }
1905
+ .ck.ck-responsive-form {
1906
+ padding: var(--ck-spacing-large);
1907
+ }
1908
+ .ck.ck-responsive-form:focus {
1909
+ /* See: https://github.com/ckeditor/ckeditor5/issues/4773 */
1910
+ outline: none;
1911
+ }
1912
+ [dir="ltr"] .ck.ck-responsive-form > :not(:first-child) {
1913
+ margin-left: var(--ck-spacing-standard);
1914
+ }
1915
+ [dir="rtl"] .ck.ck-responsive-form > :not(:last-child) {
1916
+ margin-left: var(--ck-spacing-standard);
1917
+ }
1918
+ @media screen and (max-width: 600px) {
1919
+ .ck.ck-responsive-form {
1920
+ padding: 0;
1921
+ width: calc(.8 * var(--ck-input-width));
1922
+ }
1923
+
1924
+ .ck.ck-responsive-form .ck-labeled-field-view {
1925
+ margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
1926
+ }
1927
+
1928
+ .ck.ck-responsive-form .ck-labeled-field-view .ck-input-text {
1929
+ min-width: 0;
1930
+ width: 100%;
1931
+ }
1932
+
1933
+ /* Let the long error messages wrap in the narrow form. */
1934
+ .ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error {
1935
+ white-space: normal;
1936
+ }
1937
+
1938
+ /* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */
1939
+ .ck.ck-responsive-form > .ck-button:nth-last-child(2)::after {
1940
+ border-right: 1px solid var(--ck-color-base-border);
1941
+ }
1942
+
1943
+ .ck.ck-responsive-form > .ck-button:nth-last-child(1),
1944
+ .ck.ck-responsive-form > .ck-button:nth-last-child(2) {
1945
+ padding: var(--ck-spacing-standard);
1946
+ margin-top: var(--ck-spacing-large);
1947
+ border-radius: 0;
1948
+ }
1949
+
1950
+ .ck.ck-responsive-form > .ck-button:nth-last-child(1):not(:focus), .ck.ck-responsive-form > .ck-button:nth-last-child(2):not(:focus) {
1951
+ border-top: 1px solid var(--ck-color-base-border);
1952
+ }
1953
+
1954
+ [dir="ltr"] .ck.ck-responsive-form > .ck-button:nth-last-child(1),
1955
+ [dir="ltr"] .ck.ck-responsive-form > .ck-button:nth-last-child(2) {
1956
+ margin-left: 0;
1957
+ }
1958
+
1959
+ [dir="rtl"] .ck.ck-responsive-form > .ck-button:nth-last-child(1),
1960
+ [dir="rtl"] .ck.ck-responsive-form > .ck-button:nth-last-child(2) {
1961
+ margin-left: 0;
1962
+ }
1963
+
1964
+ [dir="rtl"] .ck.ck-responsive-form > .ck-button:nth-last-child(1):last-of-type, [dir="rtl"] .ck.ck-responsive-form > .ck-button:nth-last-child(2):last-of-type {
1965
+ border-right: 1px solid var(--ck-color-base-border);
1966
+ }
1967
+ }
1968
+ /*
1969
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1970
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1971
+ */
1972
+ /*
1973
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1974
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1975
+ */
1976
+ :root {
1977
+ --ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));
1978
+ }
1979
+ .ck.ck-search > .ck-labeled-field-view .ck-input {
1980
+ width: 100%;
1981
+ }
1982
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-icon {
1983
+ --ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);
1984
+ }
1985
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-icon > .ck-labeled-field-view__input-wrapper > .ck-icon {
1986
+ opacity: .5;
1987
+ pointer-events: none;
1988
+ }
1989
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-icon .ck-input {
1990
+ width: 100%;
1991
+ }
1992
+ [dir="ltr"] .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-icon .ck-input {
1993
+ padding-left: var(--ck-search-field-view-horizontal-spacing);
1994
+ }
1995
+ [dir="rtl"] .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-icon .ck-input:not(.ck-input-text_empty) {
1996
+ padding-left: var(--ck-search-field-view-horizontal-spacing);
1997
+ }
1998
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset {
1999
+ --ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);
2000
+ }
2001
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset.ck-labeled-field-view_empty {
2002
+ --ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);
2003
+ }
2004
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset {
2005
+ min-width: auto;
2006
+ min-height: auto;
2007
+
2008
+ background: none;
2009
+ opacity: .5;
2010
+ padding: 0;
2011
+ }
2012
+ [dir="ltr"] .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset {
2013
+ right: var(--ck-spacing-medium);
2014
+ }
2015
+ [dir="rtl"] .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset {
2016
+ left: var(--ck-spacing-medium);
2017
+ }
2018
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-search__reset:hover {
2019
+ opacity: 1;
2020
+ }
2021
+ .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-input {
2022
+ width: 100%;
2023
+ }
2024
+ [dir="ltr"] .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-input:not(.ck-input-text_empty) {
2025
+ padding-right: var(--ck-search-field-view-horizontal-spacing);
2026
+ }
2027
+ [dir="rtl"] .ck.ck-search > .ck-labeled-field-view.ck-search__query_with-reset .ck-input {
2028
+ padding-right: var(--ck-search-field-view-horizontal-spacing);
2029
+ }
2030
+ .ck.ck-search > .ck-search__results {
2031
+ min-width: 100%;
2032
+ }
2033
+ .ck.ck-search > .ck-search__results > .ck-search__info {
2034
+ width: 100%;
2035
+ padding: var(--ck-spacing-medium) var(--ck-spacing-large);
2036
+ }
2037
+ .ck.ck-search > .ck-search__results > .ck-search__info * {
2038
+ white-space: normal;
2039
+ }
2040
+ .ck.ck-search > .ck-search__results > .ck-search__info > span:first-child {
2041
+ font-weight: bold;
2042
+ }
2043
+ .ck.ck-search > .ck-search__results > .ck-search__info > span:last-child {
2044
+ margin-top: var(--ck-spacing-medium);
2045
+ }
2046
+ /*
2047
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2048
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2049
+ */
2050
+ :root {
2051
+ --ck-toolbar-spinner-size: 18px;
2052
+ }
2053
+ .ck.ck-spinner-container {
2054
+ width: var(--ck-toolbar-spinner-size);
2055
+ height: var(--ck-toolbar-spinner-size);
2056
+ animation: 1.5s infinite rotate linear;
2057
+ }
2058
+ .ck.ck-spinner {
2059
+ width: var(--ck-toolbar-spinner-size);
2060
+ height: var(--ck-toolbar-spinner-size);
2061
+ border-radius: 50%;
2062
+ border: 2px solid var(--ck-color-text);
2063
+ border-top-color: transparent;
2064
+ }
2065
+ @keyframes rotate {
2066
+ to {
2067
+ transform: rotate(360deg)
2068
+ }
2069
+ }
2070
+ /*
2071
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2072
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2073
+ */
2074
+ /*
2075
+ * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.
2076
+ * This bug is especially visible when rows=1.
2077
+ */
2078
+ .ck-textarea {
2079
+ overflow-x: hidden
2080
+ }
2081
+ /*
2082
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2083
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2084
+ */
2085
+ :root {
2086
+ --ck-color-block-toolbar-button: var(--ck-color-text);
2087
+ --ck-block-toolbar-button-size: var(--ck-font-size-normal);
2088
+ }
2089
+ .ck.ck-block-toolbar-button {
2090
+ color: var(--ck-color-block-toolbar-button);
2091
+ font-size: var(--ck-block-toolbar-size);
2092
+ }
2093
+ /*
2094
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2095
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2096
+ */
2097
+ /*
2098
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2099
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2100
+ */
2101
+ /**
2102
+ * Implements rounded corner interface for .ck-rounded-corners class.
2103
+ *
2104
+ * @see $ck-border-radius
2105
+ */
2106
+ /*
2107
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2108
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2109
+ */
2110
+ .ck.ck-toolbar {
2111
+ border-radius: 0;
2112
+ }
2113
+ .ck-rounded-corners .ck.ck-toolbar, .ck.ck-toolbar.ck-rounded-corners {
2114
+ border-radius: var(--ck-border-radius);
2115
+ }
2116
+ .ck.ck-toolbar {
2117
+
2118
+ background: var(--ck-color-toolbar-background);
2119
+ padding: 0 var(--ck-spacing-small);
2120
+ border: 1px solid var(--ck-color-toolbar-border);
2121
+ }
2122
+ .ck.ck-toolbar .ck.ck-toolbar__separator {
2123
+ align-self: stretch;
2124
+ width: 1px;
2125
+ min-width: 1px;
2126
+ background: var(--ck-color-toolbar-border);
2127
+
2128
+ /*
2129
+ * These margins make the separators look better in balloon toolbars (when aligned with the "tip").
2130
+ * See https://github.com/ckeditor/ckeditor5/issues/7493.
2131
+ */
2132
+ margin-top: var(--ck-spacing-small);
2133
+ margin-bottom: var(--ck-spacing-small);
2134
+ }
2135
+ .ck.ck-toolbar .ck-toolbar__line-break {
2136
+ height: 0;
2137
+ }
2138
+ .ck.ck-toolbar > .ck-toolbar__items > *:not(.ck-toolbar__line-break) {
2139
+ /* (#11) Separate toolbar items. */
2140
+ margin-right: var(--ck-spacing-small);
2141
+ }
2142
+ /* Don't display a separator after an empty items container, for instance,
2143
+ when all items were grouped */
2144
+ .ck.ck-toolbar > .ck-toolbar__items:empty + .ck.ck-toolbar__separator {
2145
+ display: none;
2146
+ }
2147
+ .ck.ck-toolbar > .ck-toolbar__items > *:not(.ck-toolbar__line-break),
2148
+ .ck.ck-toolbar > .ck.ck-toolbar__grouped-dropdown {
2149
+ /* Make sure items wrapped to the next line have v-spacing */
2150
+ margin-top: var(--ck-spacing-small);
2151
+ margin-bottom: var(--ck-spacing-small);
2152
+ }
2153
+ .ck.ck-toolbar.ck-toolbar_vertical {
2154
+ /* Items in a vertical toolbar span the entire width. */
2155
+ padding: 0;
2156
+
2157
+ /* Specificity matters here. See https://github.com/ckeditor/ckeditor5-theme-lark/issues/168. */
2158
+ }
2159
+ .ck.ck-toolbar.ck-toolbar_vertical > .ck-toolbar__items > .ck {
2160
+ /* Items in a vertical toolbar should span the horizontal space. */
2161
+ width: 100%;
2162
+
2163
+ /* Items in a vertical toolbar should have no margin. */
2164
+ margin: 0;
2165
+
2166
+ /* Items in a vertical toolbar span the entire width so rounded corners are pointless. */
2167
+ border-radius: 0;
2168
+ }
2169
+ .ck.ck-toolbar.ck-toolbar_compact {
2170
+ /* No spacing around items. */
2171
+ padding: 0;
2172
+ }
2173
+ .ck.ck-toolbar.ck-toolbar_compact > .ck-toolbar__items > * {
2174
+ /* Compact toolbar items have no spacing between them. */
2175
+ margin: 0;
2176
+
2177
+ /* "Middle" children should have no rounded corners. */
2178
+ }
2179
+ .ck.ck-toolbar.ck-toolbar_compact > .ck-toolbar__items > *:not(:first-child):not(:last-child) {
2180
+ border-radius: 0;
2181
+ }
2182
+ /*
2183
+ * Dropdown button has asymmetric padding to fit the arrow.
2184
+ * This button has no arrow so let's revert that padding back to normal.
2185
+ */
2186
+ .ck.ck-toolbar > .ck.ck-toolbar__grouped-dropdown > .ck.ck-button.ck-dropdown__button {
2187
+ padding-left: var(--ck-spacing-tiny);
2188
+ }
2189
+ /* A drop-down containing the nested toolbar with configured items. */
2190
+ /* Prevent empty space in the panel when the dropdown label is visible and long but the toolbar has few items. */
2191
+ .ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown > .ck-dropdown__panel {
2192
+ min-width: auto;
2193
+ }
2194
+ .ck.ck-toolbar .ck-toolbar__nested-toolbar-dropdown > .ck-button > .ck-button__label {
2195
+ max-width: 7em;
2196
+ width: auto;
2197
+ }
2198
+ .ck.ck-toolbar:focus {
2199
+ outline: none;
2200
+ }
2201
+ .ck-toolbar-container .ck.ck-toolbar {
2202
+ border: 0;
2203
+ }
2204
+ /* stylelint-disable */
2205
+ /*
2206
+ * Styles for RTL toolbars.
2207
+ *
2208
+ * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"
2209
+ * because its parent is not controlled by the editor framework.
2210
+ */
2211
+ [dir="rtl"] .ck.ck-toolbar > .ck-toolbar__items > .ck, .ck.ck-toolbar[dir="rtl"] > .ck-toolbar__items > .ck {
2212
+ margin-right: 0;
2213
+ }
2214
+ [dir="rtl"] .ck.ck-toolbar:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck, .ck.ck-toolbar[dir="rtl"]:not(.ck-toolbar_compact) > .ck-toolbar__items > .ck {
2215
+ /* (#11) Separate toolbar items. */
2216
+ margin-left: var(--ck-spacing-small);
2217
+ }
2218
+ [dir="rtl"] .ck.ck-toolbar > .ck-toolbar__items > .ck:last-child, .ck.ck-toolbar[dir="rtl"] > .ck-toolbar__items > .ck:last-child {
2219
+ margin-left: 0;
2220
+ }
2221
+ /* No rounded corners on the right side of the first child. */
2222
+ [dir="rtl"] .ck.ck-toolbar.ck-toolbar_compact > .ck-toolbar__items > .ck:first-child, .ck.ck-toolbar.ck-toolbar_compact[dir="rtl"] > .ck-toolbar__items > .ck:first-child {
2223
+ border-top-left-radius: 0;
2224
+ border-bottom-left-radius: 0;
2225
+ }
2226
+ /* No rounded corners on the left side of the last child. */
2227
+ [dir="rtl"] .ck.ck-toolbar.ck-toolbar_compact > .ck-toolbar__items > .ck:last-child, .ck.ck-toolbar.ck-toolbar_compact[dir="rtl"] > .ck-toolbar__items > .ck:last-child {
2228
+ border-top-right-radius: 0;
2229
+ border-bottom-right-radius: 0;
2230
+ }
2231
+ /* Separate the the separator form the grouping dropdown when some items are grouped. */
2232
+ [dir="rtl"] .ck.ck-toolbar > .ck.ck-toolbar__separator, .ck.ck-toolbar[dir="rtl"] > .ck.ck-toolbar__separator {
2233
+ margin-left: var(--ck-spacing-small);
2234
+ }
2235
+ /* Some spacing between the items and the separator before the grouped items dropdown. */
2236
+ [dir="rtl"] .ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child), .ck.ck-toolbar.ck-toolbar_grouping[dir="rtl"] > .ck-toolbar__items:not(:empty):not(:only-child) {
2237
+ margin-left: var(--ck-spacing-small);
2238
+ }
2239
+ /*
2240
+ * Styles for LTR toolbars.
2241
+ *
2242
+ * Note: In some cases (e.g. a decoupled editor), the toolbar has its own "dir"
2243
+ * because its parent is not controlled by the editor framework.
2244
+ */
2245
+ [dir="ltr"] .ck.ck-toolbar > .ck-toolbar__items > .ck:last-child, .ck.ck-toolbar[dir="ltr"] > .ck-toolbar__items > .ck:last-child {
2246
+ margin-right: 0;
2247
+ }
2248
+ /* No rounded corners on the right side of the first child. */
2249
+ [dir="ltr"] .ck.ck-toolbar.ck-toolbar_compact > .ck-toolbar__items > .ck:first-child, .ck.ck-toolbar.ck-toolbar_compact[dir="ltr"] > .ck-toolbar__items > .ck:first-child {
2250
+ border-top-right-radius: 0;
2251
+ border-bottom-right-radius: 0;
2252
+ }
2253
+ /* No rounded corners on the left side of the last child. */
2254
+ [dir="ltr"] .ck.ck-toolbar.ck-toolbar_compact > .ck-toolbar__items > .ck:last-child, .ck.ck-toolbar.ck-toolbar_compact[dir="ltr"] > .ck-toolbar__items > .ck:last-child {
2255
+ border-top-left-radius: 0;
2256
+ border-bottom-left-radius: 0;
2257
+ }
2258
+ /* Separate the the separator form the grouping dropdown when some items are grouped. */
2259
+ [dir="ltr"] .ck.ck-toolbar > .ck.ck-toolbar__separator, .ck.ck-toolbar[dir="ltr"] > .ck.ck-toolbar__separator {
2260
+ margin-right: var(--ck-spacing-small);
2261
+ }
2262
+ /* Some spacing between the items and the separator before the grouped items dropdown. */
2263
+ [dir="ltr"] .ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items:not(:empty):not(:only-child), .ck.ck-toolbar.ck-toolbar_grouping[dir="ltr"] > .ck-toolbar__items:not(:empty):not(:only-child) {
2264
+ margin-right: var(--ck-spacing-small);
2265
+ }
2266
+ /* stylelint-enable */
2267
+ /*
2268
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2269
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2270
+ */
2271
+ /*
2272
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2273
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2274
+ */
2275
+ /**
2276
+ * Implements rounded corner interface for .ck-rounded-corners class.
2277
+ *
2278
+ * @see $ck-border-radius
2279
+ */
2280
+ .ck.ck-balloon-panel.ck-tooltip {
2281
+ --ck-balloon-border-width: 0px;
2282
+ --ck-balloon-arrow-offset: 0px;
2283
+ --ck-balloon-arrow-half-width: 4px;
2284
+ --ck-balloon-arrow-height: 4px;
2285
+ --ck-tooltip-text-padding: 4px;
2286
+ --ck-color-panel-background: var(--ck-color-tooltip-background);
2287
+
2288
+ padding: 0 var(--ck-spacing-medium);
2289
+
2290
+ /* Reset balloon panel styles */
2291
+ box-shadow: none;
2292
+ }
2293
+ .ck.ck-balloon-panel.ck-tooltip .ck-tooltip__text {
2294
+ font-size: .9em;
2295
+ line-height: 1.5;
2296
+ color: var(--ck-color-tooltip-text);
2297
+ }
2298
+ .ck.ck-balloon-panel.ck-tooltip.ck-tooltip_multi-line .ck-tooltip__text {
2299
+ white-space: break-spaces;
2300
+ display: inline-block;
2301
+ padding: var(--ck-tooltip-text-padding) 0;
2302
+ max-width: 200px;
2303
+ }
2304
+ /* Hide the default shadow of the .ck-balloon-panel tip */
2305
+ .ck.ck-balloon-panel.ck-tooltip::before {
2306
+ display: none;
2307
+ }
2308
+
2309
+ /* Editor */
2310
+ /*
2311
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2312
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2313
+ */
2314
+ /*
2315
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2316
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2317
+ */
2318
+ /**
2319
+ * Implements rounded corner interface for .ck-rounded-corners class.
2320
+ *
2321
+ * @see $ck-border-radius
2322
+ */
2323
+ .ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
2324
+ border-radius: 0;
2325
+ }
2326
+ .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar, .ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners {
2327
+ border-radius: var(--ck-border-radius);
2328
+ border-bottom-left-radius: 0;
2329
+ border-bottom-right-radius: 0;
2330
+ }
2331
+ .ck.ck-editor__top .ck-sticky-panel .ck-toolbar {
2332
+
2333
+ border-bottom-width: 0;
2334
+ }
2335
+ .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar {
2336
+ border-bottom-width: 1px;
2337
+
2338
+ border-radius: 0;
2339
+ }
2340
+ .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar, .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content_sticky .ck-toolbar.ck-rounded-corners {
2341
+ border-radius: var(--ck-border-radius);
2342
+ border-radius: 0;
2343
+ }
2344
+ /* Note: Use ck-editor__main to make sure these styles don't apply to other editor types */
2345
+ .ck.ck-editor__main > .ck-editor__editable {
2346
+ /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/113 */
2347
+ background: var(--ck-color-base-background);
2348
+
2349
+ border-radius: 0;
2350
+ }
2351
+ .ck-rounded-corners .ck.ck-editor__main > .ck-editor__editable, .ck.ck-editor__main > .ck-editor__editable.ck-rounded-corners {
2352
+ border-radius: var(--ck-border-radius);
2353
+ border-top-left-radius: 0;
2354
+ border-top-right-radius: 0;
2355
+ }
2356
+ .ck.ck-editor__main > .ck-editor__editable:not(.ck-focused) {
2357
+ border-color: var(--ck-color-base-border);
2358
+ }
2359
+
2360
+ /* Plugins */
2361
+ /*
2362
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2363
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2364
+ */
2365
+ /*
2366
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2367
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2368
+ */
2369
+ :root {
2370
+ --ck-clipboard-drop-target-dot-width: 12px;
2371
+ --ck-clipboard-drop-target-dot-height: 8px;
2372
+ --ck-clipboard-drop-target-color: var(--ck-color-focus-border);
2373
+ }
2374
+ /*
2375
+ * Vertical drop target (in text).
2376
+ */
2377
+ .ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span {
2378
+ bottom: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));
2379
+ top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));
2380
+ border: 1px solid var(--ck-clipboard-drop-target-color);
2381
+ background: var(--ck-clipboard-drop-target-color);
2382
+ margin-left: -1px;
2383
+
2384
+ /* The triangle above the marker */
2385
+ }
2386
+ .ck.ck-editor__editable .ck.ck-clipboard-drop-target-position span::after {
2387
+ content: '';
2388
+ width: 0;
2389
+ height: 0;
2390
+
2391
+ display: block;
2392
+ position: absolute;
2393
+ left: 50%;
2394
+ top: calc(-.5 * var(--ck-clipboard-drop-target-dot-height));
2395
+
2396
+ transform: translateX(-50%);
2397
+ border-color: var(--ck-clipboard-drop-target-color) transparent transparent transparent;
2398
+ border-width: calc(var(--ck-clipboard-drop-target-dot-height)) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width));
2399
+ border-style: solid;
2400
+ }
2401
+ /*
2402
+ * Styles of the widget that it a drop target.
2403
+ */
2404
+ .ck.ck-editor__editable .ck-widget.ck-clipboard-drop-target-range {
2405
+ outline: var(--ck-widget-outline-thickness) solid var(--ck-clipboard-drop-target-color) !important;
2406
+ }
2407
+ /*
2408
+ * Styles of the widget being dragged (its preview).
2409
+ */
2410
+ .ck.ck-editor__editable .ck-widget:-webkit-drag {
2411
+ zoom: 0.6;
2412
+ outline: none !important;
2413
+ }
2414
+ .ck.ck-clipboard-drop-target-line {
2415
+ height: 0;
2416
+ border: 1px solid var(--ck-clipboard-drop-target-color);
2417
+ background: var(--ck-clipboard-drop-target-color);
2418
+ margin-top: -1px;
2419
+ }
2420
+ .ck.ck-clipboard-drop-target-line::before {
2421
+ content: '';
2422
+ position: absolute;
2423
+ top: calc(-.5 * var(--ck-clipboard-drop-target-dot-width));
2424
+ width: 0;
2425
+ height: 0;
2426
+ border-style: solid;
2427
+ }
2428
+ [dir="ltr"] .ck.ck-clipboard-drop-target-line::before {
2429
+ left: -1px;
2430
+
2431
+ border-width: calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0 calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height);
2432
+ border-color: transparent transparent transparent var(--ck-clipboard-drop-target-color);
2433
+ }
2434
+ [dir="rtl"] .ck.ck-clipboard-drop-target-line::before {
2435
+ right: -1px;
2436
+
2437
+ border-width:calc(.5 * var(--ck-clipboard-drop-target-dot-width)) var(--ck-clipboard-drop-target-dot-height) calc(.5 * var(--ck-clipboard-drop-target-dot-width)) 0;
2438
+ border-color: transparent var(--ck-clipboard-drop-target-color) transparent transparent;
2439
+ }
2440
+ /*
2441
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2442
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2443
+ */
2444
+ :root {
2445
+ --ck-color-code-block-label-background: hsl(0, 0%, 46%);
2446
+ }
2447
+ .ck.ck-editor__editable pre[data-language]::after {
2448
+ top: -1px;
2449
+ right: 10px;
2450
+ background: var(--ck-color-code-block-label-background);
2451
+
2452
+ font-size: 10px;
2453
+ font-family: var(--ck-font-face);
2454
+ line-height: 16px;
2455
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
2456
+ color: hsl(0, 0%, 100%);
2457
+ white-space: nowrap;
2458
+ }
2459
+ .ck.ck-code-block-dropdown .ck-dropdown__panel {
2460
+ /* There could be dozens of languages available. Use scroll to prevent a 10e6px dropdown. */
2461
+ max-height: 250px;
2462
+ overflow-y: auto;
2463
+ overflow-x: hidden;
2464
+ }
2465
+ /*
2466
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2467
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2468
+ */
2469
+ /* See ckeditor/ckeditor5#936. */
2470
+ .ck.ck-placeholder::before, .ck .ck-placeholder::before {
2471
+ cursor: text;
2472
+ color: var(--ck-color-engine-placeholder-text);
2473
+ }
2474
+ /*
2475
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2476
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2477
+ */
2478
+ /*
2479
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2480
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2481
+ */
2482
+ /*
2483
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2484
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2485
+ */
2486
+ .ck.ck-find-and-replace-form {
2487
+ width: 400px;
2488
+
2489
+ /*
2490
+ * The <form> needs tabindex="-1" for proper Esc handling after being clicked
2491
+ * but the side effect is that this creates a nasty focus outline in some browsers.
2492
+ */
2493
+ }
2494
+ .ck.ck-find-and-replace-form:focus {
2495
+ outline: none;
2496
+ }
2497
+ /* Generic styles for the form inputs and actions. */
2498
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs,
2499
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions {
2500
+ flex: 1 1 auto;
2501
+ flex-direction: row;
2502
+ flex-wrap: wrap;
2503
+ align-items: center;
2504
+ align-content: stretch;
2505
+
2506
+ padding: var(--ck-spacing-large);
2507
+ margin: 0;
2508
+
2509
+ }
2510
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-button, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > .ck-button {
2511
+ flex: 0 0 auto;
2512
+ }
2513
+ [dir="ltr"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > * + *, [dir="ltr"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > * + * {
2514
+ margin-left: var(--ck-spacing-standard);
2515
+ }
2516
+ [dir="rtl"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > * + *, [dir="rtl"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > * + * {
2517
+ margin-right: var(--ck-spacing-standard);
2518
+ }
2519
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view {
2520
+ flex: 1 1 auto;
2521
+ }
2522
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-labeled-field-view .ck-input, .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions .ck-labeled-field-view .ck-input {
2523
+ width: 100%;
2524
+ min-width: 50px;
2525
+ }
2526
+ /* Styles specific for inputs area. */
2527
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs {
2528
+ /* To display all controls in line when there's an error under the input */
2529
+ align-items: flex-start;
2530
+ }
2531
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-button-prev > .ck-icon {
2532
+ transform: rotate(90deg);
2533
+ }
2534
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-button-next > .ck-icon {
2535
+ transform: rotate(-90deg);
2536
+ }
2537
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter {
2538
+ top: 50%;
2539
+ transform: translateY(-50%);
2540
+ }
2541
+ [dir="ltr"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter {
2542
+ right: var(--ck-spacing-standard);
2543
+ }
2544
+ [dir="rtl"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter {
2545
+ left: var(--ck-spacing-standard);
2546
+ }
2547
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs .ck-results-counter {
2548
+
2549
+ color: var(--ck-color-base-border);
2550
+ }
2551
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-labeled-field-replace {
2552
+ flex: 0 0 100%;
2553
+ padding-top: var(--ck-spacing-standard);
2554
+ }
2555
+ [dir="ltr"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-labeled-field-replace {
2556
+ margin-left: 0;
2557
+ }
2558
+ [dir="rtl"] .ck.ck-find-and-replace-form .ck-find-and-replace-form__inputs > .ck-labeled-field-replace {
2559
+ margin-right: 0;
2560
+ }
2561
+ /* Styles specific for actions area. */
2562
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions {
2563
+ flex-wrap: wrap;
2564
+ justify-content: flex-end;
2565
+ margin-top: calc( -1 * var(--ck-spacing-large) );
2566
+ }
2567
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > .ck-button-find {
2568
+ font-weight: bold;
2569
+
2570
+ /* Beef the find button up a little. It's the main action button in the form */
2571
+ }
2572
+ .ck.ck-find-and-replace-form .ck-find-and-replace-form__actions > .ck-button-find .ck-button__label {
2573
+ padding-left: var(--ck-spacing-large);
2574
+ padding-right: var(--ck-spacing-large);
2575
+ }
2576
+ .ck.ck-find-and-replace-form .ck-switchbutton {
2577
+ width: 100%;
2578
+ display: flex;
2579
+ flex-direction: row;
2580
+ flex-wrap: nowrap;
2581
+ justify-content: space-between;
2582
+ align-items: center;
2583
+ }
2584
+ @media screen and (max-width: 600px) {
2585
+ .ck.ck-find-and-replace-form {
2586
+ width: 300px;
2587
+
2588
+ /* Don't let the form overflow from the dialog (https://github.com/cksource/ckeditor5-commercial/issues/5913) */
2589
+ max-width: 100%;
2590
+
2591
+ /* Styles specific for inputs area. */
2592
+ }
2593
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__input {
2594
+ flex-wrap: wrap;
2595
+ }
2596
+
2597
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__input .ck-labeled-field-view {
2598
+ flex: 1 0 auto;
2599
+ width: 100%;
2600
+ margin-bottom: var(--ck-spacing-standard);
2601
+ }
2602
+
2603
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button {
2604
+ text-align: center;
2605
+ }
2606
+
2607
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type {
2608
+ flex: 1 1 auto;
2609
+ }
2610
+
2611
+ [dir="ltr"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type {
2612
+ margin-left: 0;
2613
+ }
2614
+
2615
+ [dir="rtl"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type {
2616
+ margin-right: 0;
2617
+ }
2618
+
2619
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__input > .ck-button:first-of-type .ck-button__label {
2620
+ width: 100%;
2621
+ text-align: center;
2622
+ }
2623
+
2624
+ /* Styles specific for actions area. */
2625
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) {
2626
+ flex-wrap: wrap;
2627
+ flex: 1 1 auto;
2628
+ }
2629
+
2630
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button {
2631
+ text-align: center;
2632
+ }
2633
+
2634
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button:first-of-type {
2635
+ flex: 1 1 auto;
2636
+ }
2637
+
2638
+ [dir="ltr"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button:first-of-type {
2639
+ margin-left: 0;
2640
+ }
2641
+
2642
+ [dir="rtl"] .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button:first-of-type {
2643
+ margin-right: 0;
2644
+ }
2645
+
2646
+ .ck.ck-find-and-replace-form.ck-find-and-replace-form__actions > :not(.ck-labeled-field-view) > .ck-button .ck-button__label {
2647
+ width: 100%;
2648
+ text-align: center;
2649
+ }
2650
+ }
2651
+ /*
2652
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2653
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2654
+ */
2655
+ /* Resize dropdown's button label. */
2656
+ .ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__button .ck-button__label {
2657
+ width: 8em;
2658
+ }
2659
+ .ck.ck-dropdown.ck-heading-dropdown .ck-dropdown__panel .ck-list__item {
2660
+ min-width: 18em;
2661
+ }
2662
+ /*
2663
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2664
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2665
+ */
2666
+ :root {
2667
+ --ck-html-embed-content-width: calc(100% - 1.5 * var(--ck-icon-size));
2668
+ --ck-html-embed-source-height: 10em;
2669
+ --ck-html-embed-unfocused-outline-width: 1px;
2670
+ --ck-html-embed-content-min-height: calc(var(--ck-icon-size) + var(--ck-spacing-standard));
2671
+
2672
+ --ck-html-embed-source-disabled-background: var(--ck-color-base-foreground);
2673
+ --ck-html-embed-source-disabled-color: hsl(0deg 0% 45%);
2674
+ }
2675
+ /* The feature container. */
2676
+ .ck-widget.raw-html-embed {
2677
+ font-size: var(--ck-font-size-base);
2678
+ background-color: var(--ck-color-base-foreground);
2679
+ }
2680
+ .ck-widget.raw-html-embed:not(.ck-widget_selected):not(:hover) {
2681
+ outline: var(--ck-html-embed-unfocused-outline-width) dashed var(--ck-color-widget-blurred-border);
2682
+ }
2683
+ /* HTML embed widget itself should respect UI language direction */
2684
+ .ck-widget.raw-html-embed[dir="ltr"] {
2685
+ text-align: left;
2686
+ }
2687
+ .ck-widget.raw-html-embed[dir="rtl"] {
2688
+ text-align: right;
2689
+ }
2690
+ /* ----- Embed label in the upper left corner ----------------------------------------------- */
2691
+ .ck-widget.raw-html-embed::before {
2692
+ content: attr(data-html-embed-label);
2693
+ top: calc(-1 * var(--ck-html-embed-unfocused-outline-width));
2694
+ left: var(--ck-spacing-standard);
2695
+ background: hsl(0deg 0% 60%);
2696
+ transition: background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
2697
+ padding: calc(var(--ck-spacing-tiny) + var(--ck-html-embed-unfocused-outline-width)) var(--ck-spacing-small) var(--ck-spacing-tiny);
2698
+ border-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);
2699
+ color: var(--ck-color-base-background);
2700
+ font-size: var(--ck-font-size-tiny);
2701
+ font-family: var(--ck-font-face);
2702
+ }
2703
+ .ck-widget.raw-html-embed[dir="rtl"]::before {
2704
+ left: auto;
2705
+ right: var(--ck-spacing-standard);
2706
+ }
2707
+ /* Make space for label but it only collides in LTR languages */
2708
+ .ck-widget.raw-html-embed[dir="ltr"] .ck-widget__type-around .ck-widget__type-around__button.ck-widget__type-around__button_before {
2709
+ margin-left: 50px;
2710
+ }
2711
+ .ck.ck-editor__editable.ck-blurred .ck-widget.raw-html-embed.ck-widget_selected::before {
2712
+ top: 0px;
2713
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-small);
2714
+ }
2715
+ .ck.ck-editor__editable:not(.ck-blurred) .ck-widget.raw-html-embed.ck-widget_selected::before {
2716
+ top: 0;
2717
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-small);
2718
+ background: var(--ck-color-focus-border);
2719
+ }
2720
+ .ck.ck-editor__editable .ck-widget.raw-html-embed:not(.ck-widget_selected):hover::before {
2721
+ top: 0px;
2722
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-small);
2723
+ }
2724
+ /* ----- Emebed internals --------------------------------------------------------------------- */
2725
+ .ck-widget.raw-html-embed .raw-html-embed__content-wrapper {
2726
+ padding: var(--ck-spacing-standard);
2727
+ }
2728
+ /* The switch mode button wrapper. */
2729
+ .ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper {
2730
+ top: var(--ck-spacing-standard);
2731
+ right: var(--ck-spacing-standard);
2732
+ }
2733
+ .ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__save-button {
2734
+ color: var(--ck-color-button-save);
2735
+ }
2736
+ .ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button.raw-html-embed__cancel-button {
2737
+ color: var(--ck-color-button-cancel);
2738
+ }
2739
+ .ck-widget.raw-html-embed .raw-html-embed__buttons-wrapper .ck-button:not(:first-child) {
2740
+ margin-top: var(--ck-spacing-small);
2741
+ }
2742
+ .ck-widget.raw-html-embed[dir="rtl"] .raw-html-embed__buttons-wrapper {
2743
+ left: var(--ck-spacing-standard);
2744
+ right: auto;
2745
+ }
2746
+ /* The edit source element. */
2747
+ .ck-widget.raw-html-embed .raw-html-embed__source {
2748
+ box-sizing: border-box;
2749
+ height: var(--ck-html-embed-source-height);
2750
+ width: var(--ck-html-embed-content-width);
2751
+ resize: none;
2752
+ min-width: 0;
2753
+ padding: var(--ck-spacing-standard);
2754
+
2755
+ font-family: monospace;
2756
+ tab-size: 4;
2757
+ white-space: pre-wrap;
2758
+ font-size: var(--ck-font-size-base); /* Safari needs this. */
2759
+
2760
+ /* HTML code is direction–agnostic. */
2761
+ text-align: left;
2762
+ direction: ltr;
2763
+ }
2764
+ .ck-widget.raw-html-embed .raw-html-embed__source[disabled] {
2765
+ background: var(--ck-html-embed-source-disabled-background);
2766
+ color: var(--ck-html-embed-source-disabled-color);
2767
+
2768
+ /* Safari needs this for the proper text color in disabled input (https://github.com/ckeditor/ckeditor5/issues/8320). */
2769
+ -webkit-text-fill-color: var(--ck-html-embed-source-disabled-color);
2770
+ opacity: 1;
2771
+ }
2772
+ /* The preview data container. */
2773
+ .ck-widget.raw-html-embed .raw-html-embed__preview {
2774
+ min-height: var(--ck-html-embed-content-min-height);
2775
+ width: var(--ck-html-embed-content-width);
2776
+
2777
+ /* Disable all mouse interaction as long as the editor is not read–only. */
2778
+ }
2779
+ .ck-editor__editable:not(.ck-read-only) .ck-widget.raw-html-embed .raw-html-embed__preview {
2780
+ pointer-events: none;
2781
+ }
2782
+ .ck-widget.raw-html-embed .raw-html-embed__preview-content {
2783
+ box-sizing: border-box;
2784
+ background-color: var(--ck-color-base-foreground);
2785
+ }
2786
+ .ck-widget.raw-html-embed .raw-html-embed__preview-content > * {
2787
+ margin-left: auto;
2788
+ margin-right: auto;
2789
+ }
2790
+ .ck-widget.raw-html-embed .raw-html-embed__preview-placeholder {
2791
+ color: var(--ck-html-embed-source-disabled-color)
2792
+ }
2793
+ /*
2794
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2795
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2796
+ */
2797
+ /*
2798
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2799
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2800
+ */
2801
+ :root {
2802
+ --ck-color-image-upload-icon: hsl(0, 0%, 100%);
2803
+ --ck-color-image-upload-icon-background: hsl(120, 100%, 27%);
2804
+
2805
+ /* Match the icon size with the linked image indicator brought by the link image feature. */
2806
+ --ck-image-upload-icon-size: 20;
2807
+ --ck-image-upload-icon-width: 2px;
2808
+ --ck-image-upload-icon-is-visible: clamp(0px, 100% - 50px, 1px);
2809
+ }
2810
+ .ck-image-upload-complete-icon {
2811
+ opacity: 0;
2812
+ background: var(--ck-color-image-upload-icon-background);
2813
+ animation-name: ck-upload-complete-icon-show, ck-upload-complete-icon-hide;
2814
+ animation-fill-mode: forwards, forwards;
2815
+ animation-duration: 500ms, 500ms;
2816
+
2817
+ /* To make animation scalable. */
2818
+ font-size: calc(1px * var(--ck-image-upload-icon-size));
2819
+
2820
+ /* Hide completed upload icon after 3 seconds. */
2821
+ animation-delay: 0ms, 3000ms;
2822
+
2823
+ /*
2824
+ * Use CSS math to simulate container queries.
2825
+ * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things
2826
+ */
2827
+ overflow: hidden;
2828
+ width: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
2829
+ height: calc(var(--ck-image-upload-icon-is-visible) * var(--ck-image-upload-icon-size));
2830
+
2831
+ /* This is check icon element made from border-width mixed with animations. */
2832
+ }
2833
+ .ck-image-upload-complete-icon::after {
2834
+ /* Because of border transformation we need to "hard code" left position. */
2835
+ left: 25%;
2836
+
2837
+ top: 50%;
2838
+ opacity: 0;
2839
+ height: 0;
2840
+ width: 0;
2841
+
2842
+ transform: scaleX(-1) rotate(135deg);
2843
+ transform-origin: left top;
2844
+ border-top: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
2845
+ border-right: var(--ck-image-upload-icon-width) solid var(--ck-color-image-upload-icon);
2846
+
2847
+ animation-name: ck-upload-complete-icon-check;
2848
+ animation-duration: 500ms;
2849
+ animation-delay: 500ms;
2850
+ animation-fill-mode: forwards;
2851
+
2852
+ /* #1095. While reset is not providing proper box-sizing for pseudoelements, we need to handle it. */
2853
+ box-sizing: border-box;
2854
+ }
2855
+ @keyframes ck-upload-complete-icon-show {
2856
+ from {
2857
+ opacity: 0;
2858
+ }
2859
+
2860
+ to {
2861
+ opacity: 1;
2862
+ }
2863
+ }
2864
+ @keyframes ck-upload-complete-icon-hide {
2865
+ from {
2866
+ opacity: 1;
2867
+ }
2868
+
2869
+ to {
2870
+ opacity: 0;
2871
+ }
2872
+ }
2873
+ @keyframes ck-upload-complete-icon-check {
2874
+ 0% {
2875
+ opacity: 1;
2876
+ width: 0;
2877
+ height: 0;
2878
+ }
2879
+ 33% {
2880
+ width: 0.3em;
2881
+ height: 0;
2882
+ }
2883
+ 100% {
2884
+ opacity: 1;
2885
+ width: 0.3em;
2886
+ height: 0.45em;
2887
+ }
2888
+ }
2889
+ /*
2890
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2891
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2892
+ */
2893
+ :root {
2894
+ --ck-color-upload-placeholder-loader: hsl(0, 0%, 70%);
2895
+ --ck-upload-placeholder-loader-size: 32px;
2896
+ --ck-upload-placeholder-image-aspect-ratio: 2.8;
2897
+ }
2898
+ .ck .ck-image-upload-placeholder {
2899
+ /* We need to control the full width of the SVG gray background. */
2900
+ width: 100%;
2901
+ margin: 0;
2902
+ }
2903
+ .ck .ck-image-upload-placeholder.image-inline {
2904
+ width: calc( 2 * var(--ck-upload-placeholder-loader-size) * var(--ck-upload-placeholder-image-aspect-ratio) );
2905
+ }
2906
+ .ck .ck-image-upload-placeholder img {
2907
+ /*
2908
+ * This is an arbitrary aspect for a 1x1 px GIF to display to the user. Not too tall, not too short.
2909
+ * There's nothing special about this number except that it should make the image placeholder look like
2910
+ * a real image during this short period after the upload started and before the image was read from the
2911
+ * file system (and a rich preview was loaded).
2912
+ */
2913
+ aspect-ratio: var(--ck-upload-placeholder-image-aspect-ratio);
2914
+ }
2915
+ .ck .ck-upload-placeholder-loader {
2916
+ width: 100%;
2917
+ height: 100%;
2918
+ }
2919
+ .ck .ck-upload-placeholder-loader::before {
2920
+ width: var(--ck-upload-placeholder-loader-size);
2921
+ height: var(--ck-upload-placeholder-loader-size);
2922
+ border-radius: 50%;
2923
+ border-top: 3px solid var(--ck-color-upload-placeholder-loader);
2924
+ border-right: 2px solid transparent;
2925
+ animation: ck-upload-placeholder-loader 1s linear infinite;
2926
+ }
2927
+ @keyframes ck-upload-placeholder-loader {
2928
+ to {
2929
+ transform: rotate( 360deg );
2930
+ }
2931
+ }
2932
+ /*
2933
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2934
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2935
+ */
2936
+ /* Showing animation. */
2937
+ .ck.ck-editor__editable .image.ck-appear, .ck.ck-editor__editable .image-inline.ck-appear {
2938
+ animation: fadeIn 700ms;
2939
+ }
2940
+ /* Upload progress bar. */
2941
+ .ck.ck-editor__editable .image .ck-progress-bar,
2942
+ .ck.ck-editor__editable .image-inline .ck-progress-bar {
2943
+ height: 2px;
2944
+ width: 0;
2945
+ background: var(--ck-color-upload-bar-background);
2946
+ transition: width 100ms;
2947
+ }
2948
+ @keyframes fadeIn {
2949
+ from { opacity: 0; }
2950
+ to { opacity: 1; }
2951
+ }
2952
+ /*
2953
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2954
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2955
+ */
2956
+ /* Class added to span element surrounding currently selected link. */
2957
+ .ck .ck-link_selected {
2958
+ background: var(--ck-color-link-selected-background);
2959
+
2960
+ /* Give linked inline images some outline to let the user know they are also part of the link. */
2961
+ }
2962
+ .ck .ck-link_selected span.image-inline {
2963
+ outline: var(--ck-widget-outline-thickness) solid var(--ck-color-link-selected-background);
2964
+ }
2965
+ /*
2966
+ * Classes used by the "fake visual selection" displayed in the content when an input
2967
+ * in the link UI has focus (the browser does not render the native selection in this state).
2968
+ */
2969
+ .ck .ck-fake-link-selection {
2970
+ background: var(--ck-color-link-fake-selection);
2971
+ }
2972
+ /* A collapsed fake visual selection. */
2973
+ .ck .ck-fake-link-selection_collapsed {
2974
+ height: 100%;
2975
+ border-right: 1px solid var(--ck-color-base-text);
2976
+ margin-right: -1px;
2977
+ outline: solid 1px hsla(0, 0%, 100%, .5);
2978
+ }
2979
+ /*
2980
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2981
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2982
+ */
2983
+ /*
2984
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2985
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2986
+ */
2987
+ /**
2988
+ * Makes element unselectable.
2989
+ */
2990
+ /*
2991
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2992
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2993
+ */
2994
+ /*
2995
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
2996
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
2997
+ */
2998
+ /**
2999
+ * A visual style of focused element's border.
3000
+ */
3001
+ /*
3002
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3003
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3004
+ */
3005
+ /**
3006
+ * A helper to combine multiple shadows.
3007
+ */
3008
+ /**
3009
+ * Gives an element a drop shadow so it looks like a floating panel.
3010
+ */
3011
+ /*
3012
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3013
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3014
+ */
3015
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview {
3016
+ padding-left: 0;
3017
+ padding-right: 0;
3018
+ }
3019
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label {
3020
+ padding: 0 var(--ck-spacing-medium);
3021
+ color: var(--ck-color-link-default);
3022
+ text-overflow: ellipsis;
3023
+ cursor: pointer;
3024
+
3025
+ /* Match the box model of the link editor form's input so the balloon
3026
+ does not change width when moving between actions and the form. */
3027
+ max-width: var(--ck-input-width);
3028
+ min-width: 3em;
3029
+ text-align: center;
3030
+ }
3031
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover {
3032
+ text-decoration: underline;
3033
+ }
3034
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview,
3035
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview:hover,
3036
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,
3037
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview:active {
3038
+ background: none;
3039
+ }
3040
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview:active {
3041
+ box-shadow: none;
3042
+ }
3043
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label {
3044
+ text-decoration: underline;
3045
+ }
3046
+ [dir="ltr"] .ck.ck-link-actions .ck-button:not(:first-child) {
3047
+ margin-left: var(--ck-spacing-standard);
3048
+ }
3049
+ [dir="rtl"] .ck.ck-link-actions .ck-button:not(:last-child) {
3050
+ margin-left: var(--ck-spacing-standard);
3051
+ }
3052
+ @media screen and (max-width: 600px) {
3053
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview {
3054
+ margin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;
3055
+ }
3056
+
3057
+ .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label {
3058
+ min-width: 0;
3059
+ max-width: 100%;
3060
+ }
3061
+
3062
+ [dir="ltr"] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview) {
3063
+ margin-left: 0;
3064
+ }
3065
+
3066
+ [dir="rtl"] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview) {
3067
+ margin-left: 0;
3068
+ }
3069
+ }
3070
+ /*
3071
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3072
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3073
+ */
3074
+ /*
3075
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3076
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3077
+ */
3078
+ /*
3079
+ * Style link form differently when manual decorators are available.
3080
+ * See: https://github.com/ckeditor/ckeditor5-link/issues/186.
3081
+ */
3082
+ .ck.ck-link-form_layout-vertical {
3083
+ padding: 0;
3084
+ min-width: var(--ck-input-width);
3085
+ }
3086
+ .ck.ck-link-form_layout-vertical .ck-labeled-field-view {
3087
+ margin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);
3088
+ }
3089
+ .ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text {
3090
+ min-width: 0;
3091
+ width: 100%;
3092
+ }
3093
+ .ck.ck-link-form_layout-vertical > .ck-button {
3094
+ padding: var(--ck-spacing-standard);
3095
+ margin: 0;
3096
+ width: 50%;
3097
+ border-radius: 0;
3098
+ }
3099
+ .ck.ck-link-form_layout-vertical > .ck-button:not(:focus) {
3100
+ border-top: 1px solid var(--ck-color-base-border);
3101
+ }
3102
+ [dir="ltr"] .ck.ck-link-form_layout-vertical > .ck-button {
3103
+ margin-left: 0;
3104
+ }
3105
+ [dir="rtl"] .ck.ck-link-form_layout-vertical > .ck-button {
3106
+ margin-left: 0;
3107
+ }
3108
+ [dir="rtl"] .ck.ck-link-form_layout-vertical > .ck-button:last-of-type {
3109
+ border-right: 1px solid var(--ck-color-base-border);
3110
+ }
3111
+ /* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */
3112
+ .ck.ck-link-form_layout-vertical .ck.ck-list {
3113
+ margin: var(--ck-spacing-standard) var(--ck-spacing-large);
3114
+ }
3115
+ .ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton {
3116
+ padding: 0;
3117
+ width: 100%;
3118
+ }
3119
+ .ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover {
3120
+ background: none;
3121
+ }
3122
+ /*
3123
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3124
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3125
+ */
3126
+ :root {
3127
+ /* Match the icon size with the upload indicator brought by the image upload feature. */
3128
+ --ck-link-image-indicator-icon-size: 20;
3129
+ --ck-link-image-indicator-icon-is-visible: clamp(0px, 100% - 50px, 1px);
3130
+ }
3131
+ /* Linked image indicator */
3132
+ .ck.ck-editor__editable figure.image > a::after, .ck.ck-editor__editable a span.image-inline::after {
3133
+ content: "";
3134
+
3135
+ /*
3136
+ * Smaller images should have the icon closer to the border.
3137
+ * Match the icon position with the upload indicator brought by the image upload feature.
3138
+ */
3139
+ top: min(var(--ck-spacing-medium), 6%);
3140
+ right: min(var(--ck-spacing-medium), 6%);
3141
+
3142
+ background-color: hsla(0, 0%, 0%, .4);
3143
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iI2ZmZiIgZD0ibTExLjA3NyAxNSAuOTkxLTEuNDE2YS43NS43NSAwIDEgMSAxLjIyOS44NmwtMS4xNDggMS42NGEuNzQ4Ljc0OCAwIDAgMS0uMjE3LjIwNiA1LjI1MSA1LjI1MSAwIDAgMS04LjUwMy01Ljk1NS43NDEuNzQxIDAgMCAxIC4xMi0uMjc0bDEuMTQ3LTEuNjM5YS43NS43NSAwIDEgMSAxLjIyOC44Nkw0LjkzMyAxMC43bC4wMDYuMDAzYTMuNzUgMy43NSAwIDAgMCA2LjEzMiA0LjI5NGwuMDA2LjAwNHptNS40OTQtNS4zMzVhLjc0OC43NDggMCAwIDEtLjEyLjI3NGwtMS4xNDcgMS42MzlhLjc1Ljc1IDAgMSAxLTEuMjI4LS44NmwuODYtMS4yM2EzLjc1IDMuNzUgMCAwIDAtNi4xNDQtNC4zMDFsLS44NiAxLjIyOWEuNzUuNzUgMCAwIDEtMS4yMjktLjg2bDEuMTQ4LTEuNjRhLjc0OC43NDggMCAwIDEgLjIxNy0uMjA2IDUuMjUxIDUuMjUxIDAgMCAxIDguNTAzIDUuOTU1em0tNC41NjMtMi41MzJhLjc1Ljc1IDAgMCAxIC4xODQgMS4wNDVsLTMuMTU1IDQuNTA1YS43NS43NSAwIDEgMS0xLjIyOS0uODZsMy4xNTUtNC41MDZhLjc1Ljc1IDAgMCAxIDEuMDQ1LS4xODR6Ii8+PC9zdmc+");
3144
+ background-size: 14px;
3145
+ background-repeat: no-repeat;
3146
+ background-position: center;
3147
+ border-radius: 100%;
3148
+
3149
+ /*
3150
+ * Use CSS math to simulate container queries.
3151
+ * https://css-tricks.com/the-raven-technique-one-step-closer-to-container-queries/#what-about-showing-and-hiding-things
3152
+ */
3153
+ overflow: hidden;
3154
+ width: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));
3155
+ height: calc(var(--ck-link-image-indicator-icon-is-visible) * var(--ck-link-image-indicator-icon-size));
3156
+ }
3157
+ /*
3158
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3159
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3160
+ */
3161
+ /* When there are no list styles and there is no collapsible. */
3162
+ .ck.ck-list-properties.ck-list-properties_without-styles {
3163
+ padding: var(--ck-spacing-large);
3164
+ }
3165
+ .ck.ck-list-properties.ck-list-properties_without-styles > * {
3166
+ min-width: 14em;
3167
+ }
3168
+ .ck.ck-list-properties.ck-list-properties_without-styles > * + * {
3169
+ margin-top: var(--ck-spacing-standard);
3170
+ }
3171
+ /*
3172
+ * When the numbered list property fields (start at, reversed) should be displayed,
3173
+ * more horizontal space is needed. Reconfigure the style grid to create that space.
3174
+ */
3175
+ .ck.ck-list-properties.ck-list-properties_with-numbered-properties > .ck-list-styles-list {
3176
+ grid-template-columns: repeat( 4, auto );
3177
+ }
3178
+ /* When list styles are rendered and property fields are in a collapsible. */
3179
+ .ck.ck-list-properties.ck-list-properties_with-numbered-properties > .ck-collapsible {
3180
+ border-top: 1px solid var(--ck-color-base-border);
3181
+ }
3182
+ .ck.ck-list-properties.ck-list-properties_with-numbered-properties > .ck-collapsible > .ck-collapsible__children > * {
3183
+ width: 100%;
3184
+ }
3185
+ .ck.ck-list-properties.ck-list-properties_with-numbered-properties > .ck-collapsible > .ck-collapsible__children > * + * {
3186
+ margin-top: var(--ck-spacing-standard);
3187
+ }
3188
+ .ck.ck-list-properties .ck.ck-numbered-list-properties__start-index .ck-input {
3189
+ min-width: auto;
3190
+ width: 100%;
3191
+ }
3192
+ .ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order {
3193
+ background: transparent;
3194
+ padding-left: 0;
3195
+ padding-right: 0;
3196
+ margin-bottom: calc(-1 * var(--ck-spacing-tiny));
3197
+ }
3198
+ .ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:active, .ck.ck-list-properties .ck.ck-numbered-list-properties__reversed-order:hover {
3199
+ box-shadow: none;
3200
+ border-color: transparent;
3201
+ background: none;
3202
+ }
3203
+ /*
3204
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3205
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3206
+ */
3207
+ :root {
3208
+ --ck-list-style-button-size: 44px;
3209
+ }
3210
+ .ck.ck-list-styles-list {
3211
+ grid-template-columns: repeat( 3, auto );
3212
+ row-gap: var(--ck-spacing-medium);
3213
+ column-gap: var(--ck-spacing-medium);
3214
+ padding: var(--ck-spacing-large);
3215
+ }
3216
+ .ck.ck-list-styles-list .ck-button {
3217
+ /* Make the button look like a thumbnail (the icon "takes it all"). */
3218
+ width: var(--ck-list-style-button-size);
3219
+ height: var(--ck-list-style-button-size);
3220
+ padding: 0;
3221
+
3222
+ /*
3223
+ * Buttons are aligned by the grid so disable default button margins to not collide with the
3224
+ * gaps in the grid.
3225
+ */
3226
+ margin: 0;
3227
+
3228
+ /*
3229
+ * Make sure the button border (which is displayed on focus, BTW) does not steal pixels
3230
+ * from the button dimensions and, as a result, decrease the size of the icon
3231
+ * (which becomes blurry as it scales down).
3232
+ */
3233
+ box-sizing: content-box;
3234
+ }
3235
+ .ck.ck-list-styles-list .ck-button .ck-icon {
3236
+ width: var(--ck-list-style-button-size);
3237
+ height: var(--ck-list-style-button-size);
3238
+ }
3239
+ /*
3240
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3241
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3242
+ */
3243
+ :root {
3244
+ --ck-media-embed-placeholder-icon-size: 3em;
3245
+
3246
+ --ck-color-media-embed-placeholder-url-text: hsl(0, 0%, 46%);
3247
+ --ck-color-media-embed-placeholder-url-text-hover: var(--ck-color-base-text);
3248
+ }
3249
+ .ck-media__wrapper {
3250
+ margin: 0 auto;
3251
+ }
3252
+ .ck-media__wrapper .ck-media__placeholder {
3253
+ padding: calc( 3 * var(--ck-spacing-standard) );
3254
+ background: var(--ck-color-base-foreground);
3255
+ }
3256
+ .ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon {
3257
+ min-width: var(--ck-media-embed-placeholder-icon-size);
3258
+ height: var(--ck-media-embed-placeholder-icon-size);
3259
+ margin-bottom: var(--ck-spacing-large);
3260
+ background-position: center;
3261
+ background-size: cover;
3262
+ }
3263
+ .ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__icon .ck-icon {
3264
+ width: 100%;
3265
+ height: 100%;
3266
+ }
3267
+ .ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text {
3268
+ color: var(--ck-color-media-embed-placeholder-url-text);
3269
+ white-space: nowrap;
3270
+ text-align: center;
3271
+ font-style: italic;
3272
+ text-overflow: ellipsis;
3273
+ }
3274
+ .ck-media__wrapper .ck-media__placeholder .ck-media__placeholder__url__text:hover {
3275
+ color: var(--ck-color-media-embed-placeholder-url-text-hover);
3276
+ cursor: pointer;
3277
+ text-decoration: underline;
3278
+ }
3279
+ .ck-media__wrapper[data-oembed-url*="open.spotify.com"] {
3280
+ max-width: 300px;
3281
+ max-height: 380px;
3282
+ }
3283
+ .ck-media__wrapper[data-oembed-url*="google.com/maps"] .ck-media__placeholder__icon,
3284
+ .ck-media__wrapper[data-oembed-url*="goo.gl/maps"] .ck-media__placeholder__icon,
3285
+ .ck-media__wrapper[data-oembed-url*="maps.google.com"] .ck-media__placeholder__icon,
3286
+ .ck-media__wrapper[data-oembed-url*="maps.app.goo.gl"] .ck-media__placeholder__icon {
3287
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAuMzc4IiBoZWlnaHQ9IjI1NC4xNjciIHZpZXdCb3g9IjAgMCA2Ni4yNDYgNjcuMjQ4Ij48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcyLjUzMSAtMjE4LjQ1NSkgc2NhbGUoLjk4MDEyKSI+PHJlY3Qgcnk9IjUuMjM4IiByeD0iNS4yMzgiIHk9IjIzMS4zOTkiIHg9IjE3Ni4wMzEiIGhlaWdodD0iNjAuMDk5IiB3aWR0aD0iNjAuMDk5IiBmaWxsPSIjMzRhNjY4IiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxwYXRoIGQ9Ik0yMDYuNDc3IDI2MC45bC0yOC45ODcgMjguOTg3YTUuMjE4IDUuMjE4IDAgMCAwIDMuNzggMS42MWg0OS42MjFjMS42OTQgMCAzLjE5LS43OTggNC4xNDYtMi4wMzd6IiBmaWxsPSIjNWM4OGM1Ii8+PHBhdGggZD0iTTIyNi43NDIgMjIyLjk4OGMtOS4yNjYgMC0xNi43NzcgNy4xNy0xNi43NzcgMTYuMDE0LjAwNyAyLjc2Mi42NjMgNS40NzQgMi4wOTMgNy44NzUuNDMuNzAzLjgzIDEuNDA4IDEuMTkgMi4xMDcuMzMzLjUwMi42NSAxLjAwNS45NSAxLjUwOC4zNDMuNDc3LjY3My45NTcuOTg4IDEuNDQgMS4zMSAxLjc2OSAyLjUgMy41MDIgMy42MzcgNS4xNjguNzkzIDEuMjc1IDEuNjgzIDIuNjQgMi40NjYgMy45OSAyLjM2MyA0LjA5NCA0LjAwNyA4LjA5MiA0LjYgMTMuOTE0di4wMTJjLjE4Mi40MTIuNTE2LjY2Ni44NzkuNjY3LjQwMy0uMDAxLjc2OC0uMzE0LjkzLS43OTkuNjAzLTUuNzU2IDIuMjM4LTkuNzI5IDQuNTg1LTEzLjc5NC43ODItMS4zNSAxLjY3My0yLjcxNSAyLjQ2NS0zLjk5IDEuMTM3LTEuNjY2IDIuMzI4LTMuNCAzLjYzOC01LjE2OS4zMTUtLjQ4Mi42NDUtLjk2Mi45ODgtMS40MzkuMy0uNTAzLjYxNy0xLjAwNi45NS0xLjUwOC4zNTktLjcuNzYtMS40MDQgMS4xOS0yLjEwNyAxLjQyNi0yLjQwMiAyLTUuMTE0IDIuMDA0LTcuODc1IDAtOC44NDQtNy41MTEtMTYuMDE0LTE2Ljc3Ni0xNi4wMTR6IiBmaWxsPSIjZGQ0YjNlIiBwYWludC1vcmRlcj0ibWFya2VycyBzdHJva2UgZmlsbCIvPjxlbGxpcHNlIHJ5PSI1LjU2NCIgcng9IjUuODI4IiBjeT0iMjM5LjAwMiIgY3g9IjIyNi43NDIiIGZpbGw9IiM4MDJkMjciIHBhaW50LW9yZGVyPSJtYXJrZXJzIHN0cm9rZSBmaWxsIi8+PHBhdGggZD0iTTE5MC4zMDEgMjM3LjI4M2MtNC42NyAwLTguNDU3IDMuODUzLTguNDU3IDguNjA2czMuNzg2IDguNjA3IDguNDU3IDguNjA3YzMuMDQzIDAgNC44MDYtLjk1OCA2LjMzNy0yLjUxNiAxLjUzLTEuNTU3IDIuMDg3LTMuOTEzIDIuMDg3LTYuMjkgMC0uMzYyLS4wMjMtLjcyMi0uMDY0LTEuMDc5aC04LjI1N3YzLjA0M2g0Ljg1Yy0uMTk3Ljc1OS0uNTMxIDEuNDUtMS4wNTggMS45ODYtLjk0Mi45NTgtMi4wMjggMS41NDgtMy45MDEgMS41NDgtMi44NzYgMC01LjIwOC0yLjM3Mi01LjIwOC01LjI5OSAwLTIuOTI2IDIuMzMyLTUuMjk5IDUuMjA4LTUuMjk5IDEuMzk5IDAgMi42MTguNDA3IDMuNTg0IDEuMjkzbDIuMzgxLTIuMzhjMC0uMDAyLS4wMDMtLjAwNC0uMDA0LS4wMDUtMS41ODgtMS41MjQtMy42Mi0yLjIxNS01Ljk1NS0yLjIxNXptNC40MyA1LjY2bC4wMDMuMDA2di0uMDAzeiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjE1LjE4NCAyNTEuOTI5bC03Ljk4IDcuOTc5IDI4LjQ3NyAyOC40NzVjLjI4Ny0uNjQ5LjQ0OS0xLjM2Ni40NDktMi4xMjN2LTMxLjE2NWMtLjQ2OS42NzUtLjkzNCAxLjM0OS0xLjM4MiAyLjAwNS0uNzkyIDEuMjc1LTEuNjgyIDIuNjQtMi40NjUgMy45OS0yLjM0NyA0LjA2NS0zLjk4MiA4LjAzOC00LjU4NSAxMy43OTQtLjE2Mi40ODUtLjUyNy43OTgtLjkzLjc5OS0uMzYzLS4wMDEtLjY5Ny0uMjU1LS44NzktLjY2N3YtLjAxMmMtLjU5My01LjgyMi0yLjIzNy05LjgyLTQuNi0xMy45MTQtLjc4My0xLjM1LTEuNjczLTIuNzE1LTIuNDY2LTMuOTktMS4xMzctMS42NjYtMi4zMjctMy40LTMuNjM3LTUuMTY5bC0uMDAyLS4wMDN6IiBmaWxsPSIjYzNjM2MzIi8+PHBhdGggZD0iTTIxMi45ODMgMjQ4LjQ5NWwtMzYuOTUyIDM2Ljk1M3YuODEyYTUuMjI3IDUuMjI3IDAgMCAwIDUuMjM4IDUuMjM4aDEuMDE1bDM1LjY2Ni0zNS42NjZhMTM2LjI3NSAxMzYuMjc1IDAgMCAwLTIuNzY0LTMuOSAzNy41NzUgMzcuNTc1IDAgMCAwLS45ODktMS40NGMtLjI5OS0uNTAzLS42MTYtMS4wMDYtLjk1LTEuNTA4LS4wODMtLjE2Mi0uMTc2LS4zMjYtLjI2NC0uNDg5eiIgZmlsbD0iI2ZkZGM0ZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48cGF0aCBkPSJNMjExLjk5OCAyNjEuMDgzbC02LjE1MiA2LjE1MSAyNC4yNjQgMjQuMjY0aC43ODFhNS4yMjcgNS4yMjcgMCAwIDAgNS4yMzktNS4yMzh2LTEuMDQ1eiIgZmlsbD0iI2ZmZiIgcGFpbnQtb3JkZXI9Im1hcmtlcnMgc3Ryb2tlIGZpbGwiLz48L2c+PC9zdmc+);
3288
+ }
3289
+ .ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder {
3290
+ background: hsl(220, 46%, 48%);
3291
+ }
3292
+ .ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__icon {
3293
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIxMDI0cHgiIGhlaWdodD0iMTAyNHB4IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPiAgICAgICAgPHRpdGxlPkZpbGwgMTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZGVmcz48L2RlZnM+ICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9ImZMb2dvX1doaXRlIiBmaWxsPSIjRkZGRkZFIj4gICAgICAgICAgICA8cGF0aCBkPSJNOTY3LjQ4NCwwIEw1Ni41MTcsMCBDMjUuMzA0LDAgMCwyNS4zMDQgMCw1Ni41MTcgTDAsOTY3LjQ4MyBDMCw5OTguNjk0IDI1LjI5NywxMDI0IDU2LjUyMiwxMDI0IEw1NDcsMTAyNCBMNTQ3LDYyOCBMNDE0LDYyOCBMNDE0LDQ3MyBMNTQ3LDQ3MyBMNTQ3LDM1OS4wMjkgQzU0NywyMjYuNzY3IDYyNy43NzMsMTU0Ljc0NyA3NDUuNzU2LDE1NC43NDcgQzgwMi4yNjksMTU0Ljc0NyA4NTAuODQyLDE1OC45NTUgODY1LDE2MC44MzYgTDg2NSwyOTkgTDc4My4zODQsMjk5LjAzNyBDNzE5LjM5MSwyOTkuMDM3IDcwNywzMjkuNTI5IDcwNywzNzQuMjczIEw3MDcsNDczIEw4NjAuNDg3LDQ3MyBMODQwLjUwMSw2MjggTDcwNyw2MjggTDcwNywxMDI0IEw5NjcuNDg0LDEwMjQgQzk5OC42OTcsMTAyNCAxMDI0LDk5OC42OTcgMTAyNCw5NjcuNDg0IEwxMDI0LDU2LjUxNSBDMTAyNCwyNS4zMDMgOTk4LjY5NywwIDk2Ny40ODQsMCIgaWQ9IkZpbGwtMSI+PC9wYXRoPiAgICAgICAgPC9nPiAgICA8L2c+PC9zdmc+);
3294
+ }
3295
+ .ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text {
3296
+ color: hsl(220, 100%, 90%);
3297
+ }
3298
+ .ck-media__wrapper[data-oembed-url*="facebook.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover {
3299
+ color: hsl(0, 0%, 100%);
3300
+ }
3301
+ .ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder {
3302
+ background: linear-gradient(-135deg,hsl(246, 100%, 39%),hsl(302, 100%, 36%),hsl(0, 100%, 48%));
3303
+ }
3304
+ .ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__icon {
3305
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSI1MDRweCIgaGVpZ2h0PSI1MDRweCIgdmlld0JveD0iMCAwIDUwNCA1MDQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+ICAgICAgICA8dGl0bGU+Z2x5cGgtbG9nb19NYXkyMDE2PC90aXRsZT4gICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+ICAgIDxkZWZzPiAgICAgICAgPHBvbHlnb24gaWQ9InBhdGgtMSIgcG9pbnRzPSIwIDAuMTU5IDUwMy44NDEgMC4xNTkgNTAzLjg0MSA1MDMuOTQgMCA1MDMuOTQiPjwvcG9seWdvbj4gICAgPC9kZWZzPiAgICA8ZyBpZD0iZ2x5cGgtbG9nb19NYXkyMDE2IiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxnIGlkPSJHcm91cC0zIj4gICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+ICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+ICAgICAgICAgICAgPC9tYXNrPiAgICAgICAgICAgIDxnIGlkPSJDbGlwLTIiPjwvZz4gICAgICAgICAgICA8cGF0aCBkPSJNMjUxLjkyMSwwLjE1OSBDMTgzLjUwMywwLjE1OSAxNzQuOTI0LDAuNDQ5IDE0OC4wNTQsMS42NzUgQzEyMS4yNCwyLjg5OCAxMDIuOTI3LDcuMTU3IDg2LjkwMywxMy4zODUgQzcwLjMzNywxOS44MjIgNTYuMjg4LDI4LjQzNiA0Mi4yODIsNDIuNDQxIEMyOC4yNzcsNTYuNDQ3IDE5LjY2Myw3MC40OTYgMTMuMjI2LDg3LjA2MiBDNi45OTgsMTAzLjA4NiAyLjczOSwxMjEuMzk5IDEuNTE2LDE0OC4yMTMgQzAuMjksMTc1LjA4MyAwLDE4My42NjIgMCwyNTIuMDggQzAsMzIwLjQ5NyAwLjI5LDMyOS4wNzYgMS41MTYsMzU1Ljk0NiBDMi43MzksMzgyLjc2IDYuOTk4LDQwMS4wNzMgMTMuMjI2LDQxNy4wOTcgQzE5LjY2Myw0MzMuNjYzIDI4LjI3Nyw0NDcuNzEyIDQyLjI4Miw0NjEuNzE4IEM1Ni4yODgsNDc1LjcyMyA3MC4zMzcsNDg0LjMzNyA4Ni45MDMsNDkwLjc3NSBDMTAyLjkyNyw0OTcuMDAyIDEyMS4yNCw1MDEuMjYxIDE0OC4wNTQsNTAyLjQ4NCBDMTc0LjkyNCw1MDMuNzEgMTgzLjUwMyw1MDQgMjUxLjkyMSw1MDQgQzMyMC4zMzgsNTA0IDMyOC45MTcsNTAzLjcxIDM1NS43ODcsNTAyLjQ4NCBDMzgyLjYwMSw1MDEuMjYxIDQwMC45MTQsNDk3LjAwMiA0MTYuOTM4LDQ5MC43NzUgQzQzMy41MDQsNDg0LjMzNyA0NDcuNTUzLDQ3NS43MjMgNDYxLjU1OSw0NjEuNzE4IEM0NzUuNTY0LDQ0Ny43MTIgNDg0LjE3OCw0MzMuNjYzIDQ5MC42MTYsNDE3LjA5NyBDNDk2Ljg0Myw0MDEuMDczIDUwMS4xMDIsMzgyLjc2IDUwMi4zMjUsMzU1Ljk0NiBDNTAzLjU1MSwzMjkuMDc2IDUwMy44NDEsMzIwLjQ5NyA1MDMuODQxLDI1Mi4wOCBDNTAzLjg0MSwxODMuNjYyIDUwMy41NTEsMTc1LjA4MyA1MDIuMzI1LDE0OC4yMTMgQzUwMS4xMDIsMTIxLjM5OSA0OTYuODQzLDEwMy4wODYgNDkwLjYxNiw4Ny4wNjIgQzQ4NC4xNzgsNzAuNDk2IDQ3NS41NjQsNTYuNDQ3IDQ2MS41NTksNDIuNDQxIEM0NDcuNTUzLDI4LjQzNiA0MzMuNTA0LDE5LjgyMiA0MTYuOTM4LDEzLjM4NSBDNDAwLjkxNCw3LjE1NyAzODIuNjAxLDIuODk4IDM1NS43ODcsMS42NzUgQzMyOC45MTcsMC40NDkgMzIwLjMzOCwwLjE1OSAyNTEuOTIxLDAuMTU5IFogTTI1MS45MjEsNDUuNTUgQzMxOS4xODYsNDUuNTUgMzI3LjE1NCw0NS44MDcgMzUzLjcxOCw0Ny4wMTkgQzM3OC4yOCw0OC4xMzkgMzkxLjYxOSw1Mi4yNDMgNDAwLjQ5Niw1NS42OTMgQzQxMi4yNTUsNjAuMjYzIDQyMC42NDcsNjUuNzIyIDQyOS40NjIsNzQuNTM4IEM0MzguMjc4LDgzLjM1MyA0NDMuNzM3LDkxLjc0NSA0NDguMzA3LDEwMy41MDQgQzQ1MS43NTcsMTEyLjM4MSA0NTUuODYxLDEyNS43MiA0NTYuOTgxLDE1MC4yODIgQzQ1OC4xOTMsMTc2Ljg0NiA0NTguNDUsMTg0LjgxNCA0NTguNDUsMjUyLjA4IEM0NTguNDUsMzE5LjM0NSA0NTguMTkzLDMyNy4zMTMgNDU2Ljk4MSwzNTMuODc3IEM0NTUuODYxLDM3OC40MzkgNDUxLjc1NywzOTEuNzc4IDQ0OC4zMDcsNDAwLjY1NSBDNDQzLjczNyw0MTIuNDE0IDQzOC4yNzgsNDIwLjgwNiA0MjkuNDYyLDQyOS42MjEgQzQyMC42NDcsNDM4LjQzNyA0MTIuMjU1LDQ0My44OTYgNDAwLjQ5Niw0NDguNDY2IEMzOTEuNjE5LDQ1MS45MTYgMzc4LjI4LDQ1Ni4wMiAzNTMuNzE4LDQ1Ny4xNCBDMzI3LjE1OCw0NTguMzUyIDMxOS4xOTEsNDU4LjYwOSAyNTEuOTIxLDQ1OC42MDkgQzE4NC42NSw0NTguNjA5IDE3Ni42ODQsNDU4LjM1MiAxNTAuMTIzLDQ1Ny4xNCBDMTI1LjU2MSw0NTYuMDIgMTEyLjIyMiw0NTEuOTE2IDEwMy4zNDUsNDQ4LjQ2NiBDOTEuNTg2LDQ0My44OTYgODMuMTk0LDQzOC40MzcgNzQuMzc5LDQyOS42MjEgQzY1LjU2NCw0MjAuODA2IDYwLjEwNCw0MTIuNDE0IDU1LjUzNCw0MDAuNjU1IEM1Mi4wODQsMzkxLjc3OCA0Ny45OCwzNzguNDM5IDQ2Ljg2LDM1My44NzcgQzQ1LjY0OCwzMjcuMzEzIDQ1LjM5MSwzMTkuMzQ1IDQ1LjM5MSwyNTIuMDggQzQ1LjM5MSwxODQuODE0IDQ1LjY0OCwxNzYuODQ2IDQ2Ljg2LDE1MC4yODIgQzQ3Ljk4LDEyNS43MiA1Mi4wODQsMTEyLjM4MSA1NS41MzQsMTAzLjUwNCBDNjAuMTA0LDkxLjc0NSA2NS41NjMsODMuMzUzIDc0LjM3OSw3NC41MzggQzgzLjE5NCw2NS43MjIgOTEuNTg2LDYwLjI2MyAxMDMuMzQ1LDU1LjY5MyBDMTEyLjIyMiw1Mi4yNDMgMTI1LjU2MSw0OC4xMzkgMTUwLjEyMyw0Ny4wMTkgQzE3Ni42ODcsNDUuODA3IDE4NC42NTUsNDUuNTUgMjUxLjkyMSw0NS41NSBaIiBpZD0iRmlsbC0xIiBmaWxsPSIjRkZGRkZGIiBtYXNrPSJ1cmwoI21hc2stMikiPjwvcGF0aD4gICAgICAgIDwvZz4gICAgICAgIDxwYXRoIGQ9Ik0yNTEuOTIxLDMzNi4wNTMgQzIwNS41NDMsMzM2LjA1MyAxNjcuOTQ3LDI5OC40NTcgMTY3Ljk0NywyNTIuMDggQzE2Ny45NDcsMjA1LjcwMiAyMDUuNTQzLDE2OC4xMDYgMjUxLjkyMSwxNjguMTA2IEMyOTguMjk4LDE2OC4xMDYgMzM1Ljg5NCwyMDUuNzAyIDMzNS44OTQsMjUyLjA4IEMzMzUuODk0LDI5OC40NTcgMjk4LjI5OCwzMzYuMDUzIDI1MS45MjEsMzM2LjA1MyBaIE0yNTEuOTIxLDEyMi43MTUgQzE4MC40NzQsMTIyLjcxNSAxMjIuNTU2LDE4MC42MzMgMTIyLjU1NiwyNTIuMDggQzEyMi41NTYsMzIzLjUyNiAxODAuNDc0LDM4MS40NDQgMjUxLjkyMSwzODEuNDQ0IEMzMjMuMzY3LDM4MS40NDQgMzgxLjI4NSwzMjMuNTI2IDM4MS4yODUsMjUyLjA4IEMzODEuMjg1LDE4MC42MzMgMzIzLjM2NywxMjIuNzE1IDI1MS45MjEsMTIyLjcxNSBaIiBpZD0iRmlsbC00IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgICAgICA8cGF0aCBkPSJNNDE2LjYyNywxMTcuNjA0IEM0MTYuNjI3LDEzNC4zIDQwMy4wOTIsMTQ3LjgzNCAzODYuMzk2LDE0Ny44MzQgQzM2OS43MDEsMTQ3LjgzNCAzNTYuMTY2LDEzNC4zIDM1Ni4xNjYsMTE3LjYwNCBDMzU2LjE2NiwxMDAuOTA4IDM2OS43MDEsODcuMzczIDM4Ni4zOTYsODcuMzczIEM0MDMuMDkyLDg3LjM3MyA0MTYuNjI3LDEwMC45MDggNDE2LjYyNywxMTcuNjA0IiBpZD0iRmlsbC01IiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+ICAgIDwvZz48L3N2Zz4=);
3306
+ }
3307
+ /* stylelint-disable-next-line no-descending-specificity */
3308
+ .ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text {
3309
+ color: hsl(302, 100%, 94%);
3310
+ }
3311
+ .ck-media__wrapper[data-oembed-url*="instagram.com"] .ck-media__placeholder .ck-media__placeholder__url__text:hover {
3312
+ color: hsl(0, 0%, 100%);
3313
+ }
3314
+ .ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder {
3315
+ /* Use gradient to contrast with focused widget (ckeditor/ckeditor5-media-embed#22). */
3316
+ background: linear-gradient( to right, hsl(201, 85%, 70%), hsl(201, 85%, 35%) );
3317
+ }
3318
+ .ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__icon {
3319
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgaWQ9IldoaXRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQwMCA0MDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMCA0MDA7IiB4bWw6c3BhY2U9InByZXNlcnZlIj48c3R5bGUgdHlwZT0idGV4dC9jc3MiPi5zdDB7ZmlsbDojRkZGRkZGO308L3N0eWxlPjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MDAsMjAwYzAsMTEwLjUtODkuNSwyMDAtMjAwLDIwMFMwLDMxMC41LDAsMjAwUzg5LjUsMCwyMDAsMFM0MDAsODkuNSw0MDAsMjAweiBNMTYzLjQsMzA1LjVjODguNywwLDEzNy4yLTczLjUsMTM3LjItMTM3LjJjMC0yLjEsMC00LjItMC4xLTYuMmM5LjQtNi44LDE3LjYtMTUuMywyNC4xLTI1Yy04LjYsMy44LTE3LjksNi40LTI3LjcsNy42YzEwLTYsMTcuNi0xNS40LDIxLjItMjYuN2MtOS4zLDUuNS0xOS42LDkuNS0zMC42LDExLjdjLTguOC05LjQtMjEuMy0xNS4yLTM1LjItMTUuMmMtMjYuNiwwLTQ4LjIsMjEuNi00OC4yLDQ4LjJjMCwzLjgsMC40LDcuNSwxLjMsMTFjLTQwLjEtMi03NS42LTIxLjItOTkuNC01MC40Yy00LjEsNy4xLTYuNSwxNS40LTYuNSwyNC4yYzAsMTYuNyw4LjUsMzEuNSwyMS41LDQwLjFjLTcuOS0wLjItMTUuMy0yLjQtMjEuOC02YzAsMC4yLDAsMC40LDAsMC42YzAsMjMuNCwxNi42LDQyLjgsMzguNyw0Ny4zYy00LDEuMS04LjMsMS43LTEyLjcsMS43Yy0zLjEsMC02LjEtMC4zLTkuMS0wLjljNi4xLDE5LjIsMjMuOSwzMy4xLDQ1LDMzLjVjLTE2LjUsMTIuOS0zNy4zLDIwLjYtNTkuOSwyMC42Yy0zLjksMC03LjctMC4yLTExLjUtMC43QzExMC44LDI5Ny41LDEzNi4yLDMwNS41LDE2My40LDMwNS41Ii8+PC9zdmc+);
3320
+ }
3321
+ .ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text {
3322
+ color: hsl(201, 100%, 86%);
3323
+ }
3324
+ .ck-media__wrapper[data-oembed-url*="twitter.com"] .ck.ck-media__placeholder .ck-media__placeholder__url__text:hover {
3325
+ color: hsl(0, 0%, 100%);
3326
+ }
3327
+ /*
3328
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3329
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3330
+ */
3331
+ :root {
3332
+ --ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
3333
+ --ck-color-mention-text: hsl(341, 100%, 30%);
3334
+ }
3335
+ .ck-content .mention {
3336
+ background: var(--ck-color-mention-background);
3337
+ color: var(--ck-color-mention-text);
3338
+ }
3339
+ /*
3340
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3341
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3342
+ */
3343
+ :root {
3344
+ --ck-color-restricted-editing-exception-background: hsla(31, 100%, 65%, .2);
3345
+ --ck-color-restricted-editing-exception-hover-background: hsla(31, 100%, 65%, .35);
3346
+ --ck-color-restricted-editing-exception-brackets: hsla(31, 100%, 40%, .4);
3347
+ --ck-color-restricted-editing-selected-exception-background: hsla(31, 100%, 65%, .5);
3348
+ --ck-color-restricted-editing-selected-exception-brackets: hsla(31, 100%, 40%, .6);
3349
+ }
3350
+ .ck-editor__editable .restricted-editing-exception {
3351
+ transition: .2s ease-in-out background;
3352
+ background-color: var(--ck-color-restricted-editing-exception-background);
3353
+ border: 1px solid;
3354
+ border-image: linear-gradient(
3355
+ to right,
3356
+ var(--ck-color-restricted-editing-exception-brackets) 0%,
3357
+ var(--ck-color-restricted-editing-exception-brackets) 5px,
3358
+ hsla(0, 0%, 0%, 0) 6px,
3359
+ hsla(0, 0%, 0%, 0) calc(100% - 6px),
3360
+ var(--ck-color-restricted-editing-exception-brackets) calc(100% - 5px),
3361
+ var(--ck-color-restricted-editing-exception-brackets) 100%
3362
+ ) 1;
3363
+ }
3364
+ .ck-editor__editable .restricted-editing-exception.restricted-editing-exception_selected {
3365
+ background-color: var(--ck-color-restricted-editing-selected-exception-background);
3366
+ border-image: linear-gradient(
3367
+ to right,
3368
+ var(--ck-color-restricted-editing-selected-exception-brackets) 0%,
3369
+ var(--ck-color-restricted-editing-selected-exception-brackets) 5px,
3370
+ var(--ck-color-restricted-editing-selected-exception-brackets) calc(100% - 5px),
3371
+ var(--ck-color-restricted-editing-selected-exception-brackets) 100%
3372
+ ) 1;
3373
+ }
3374
+ .ck-editor__editable .restricted-editing-exception.restricted-editing-exception_collapsed {
3375
+ /* Empty exception should have the same width as exception with at least 1 char */
3376
+ padding-left: 1ch;
3377
+ }
3378
+ .ck-restricted-editing_mode_restricted {
3379
+ cursor: default;
3380
+
3381
+ /* We also have to override all elements inside the restricted editable to prevent cursor switching between default and text
3382
+ during the pointer movement. */
3383
+ }
3384
+ .ck-restricted-editing_mode_restricted * {
3385
+ cursor: default;
3386
+ }
3387
+ .ck-restricted-editing_mode_restricted .restricted-editing-exception {
3388
+ cursor: text;
3389
+ }
3390
+ .ck-restricted-editing_mode_restricted .restricted-editing-exception * {
3391
+ cursor: text;
3392
+ }
3393
+ .ck-restricted-editing_mode_restricted .restricted-editing-exception:hover {
3394
+ background: var(--ck-color-restricted-editing-exception-hover-background);
3395
+ }
3396
+ /*
3397
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3398
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3399
+ */
3400
+ /*
3401
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3402
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3403
+ */
3404
+ /*
3405
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3406
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3407
+ */
3408
+ /**
3409
+ * Implements rounded corner interface for .ck-rounded-corners class.
3410
+ *
3411
+ * @see $ck-border-radius
3412
+ */
3413
+ :root {
3414
+ --ck-character-grid-tile-size: 24px;
3415
+ }
3416
+ .ck.ck-character-grid {
3417
+ overflow-y: auto;
3418
+ overflow-x: hidden;
3419
+ width: 350px;
3420
+ max-height: 200px;
3421
+ }
3422
+ @media screen and (max-width: 600px) {
3423
+ .ck.ck-character-grid {
3424
+ width: 190px;
3425
+ }
3426
+ }
3427
+ .ck.ck-character-grid .ck-character-grid__tiles {
3428
+ grid-template-columns: repeat(10, 1fr);
3429
+ margin: var(--ck-spacing-standard) var(--ck-spacing-large);
3430
+ grid-gap: var(--ck-spacing-standard);
3431
+ }
3432
+ @media screen and (max-width: 600px) {
3433
+ .ck.ck-character-grid .ck-character-grid__tiles {
3434
+ grid-template-columns: repeat(5, 1fr);
3435
+ }
3436
+ }
3437
+ .ck.ck-character-grid .ck-character-grid__tile {
3438
+ width: var(--ck-character-grid-tile-size);
3439
+ height: var(--ck-character-grid-tile-size);
3440
+ min-width: var(--ck-character-grid-tile-size);
3441
+ min-height: var(--ck-character-grid-tile-size);
3442
+ font-size: 1.2em;
3443
+ padding: 0;
3444
+ transition: .2s ease box-shadow;
3445
+ border: 0;
3446
+ }
3447
+ .ck.ck-character-grid .ck-character-grid__tile:focus:not( .ck-disabled ),
3448
+ .ck.ck-character-grid .ck-character-grid__tile:hover:not( .ck-disabled ) {
3449
+ /* Disable the default .ck-button's border ring. */
3450
+ border: 0;
3451
+ box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);
3452
+ }
3453
+ /* Make sure the glyph is rendered in the center of the button */
3454
+ .ck.ck-character-grid .ck-character-grid__tile .ck-button__label {
3455
+ line-height: var(--ck-character-grid-tile-size);
3456
+ width: 100%;
3457
+ text-align: center;
3458
+ }
3459
+ /*
3460
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3461
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3462
+ */
3463
+ /*
3464
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3465
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3466
+ */
3467
+ .ck.ck-character-info {
3468
+ padding: var(--ck-spacing-small) var(--ck-spacing-large);
3469
+ border-top: 1px solid var(--ck-color-base-border);
3470
+ }
3471
+ .ck.ck-character-info > * {
3472
+ text-transform: uppercase;
3473
+ font-size: var(--ck-font-size-small);
3474
+ }
3475
+ .ck.ck-character-info .ck-character-info__name {
3476
+ max-width: 280px;
3477
+ text-overflow: ellipsis;
3478
+ overflow: hidden;
3479
+ }
3480
+ .ck.ck-character-info .ck-character-info__code {
3481
+ opacity: .6;
3482
+ }
3483
+ @media screen and (max-width: 600px) {
3484
+ .ck.ck-character-info {
3485
+ max-width: 190px;
3486
+ }
3487
+ }
3488
+ /*
3489
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3490
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3491
+ */
3492
+ /*
3493
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3494
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3495
+ */
3496
+ /*
3497
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3498
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3499
+ */
3500
+ .ck.ck-special-characters-navigation > .ck-label {
3501
+ max-width: 160px;
3502
+ text-overflow: ellipsis;
3503
+ overflow: hidden;
3504
+ }
3505
+ .ck.ck-special-characters-navigation > .ck-dropdown .ck-dropdown__panel {
3506
+ /* There could be dozens of categories available. Use scroll to prevent a 10e6px dropdown. */
3507
+ max-height: 250px;
3508
+ overflow-y: auto;
3509
+ overflow-x: hidden;
3510
+ }
3511
+ @media screen and (max-width: 600px) {
3512
+ .ck.ck-special-characters-navigation {
3513
+ max-width: 190px;
3514
+ }
3515
+
3516
+ .ck.ck-special-characters-navigation > .ck-form__header__label {
3517
+ text-overflow: ellipsis;
3518
+ overflow: hidden;
3519
+ }
3520
+ }
3521
+ /*
3522
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3523
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3524
+ */
3525
+ .ck.ck-dropdown.ck-style-dropdown.ck-style-dropdown_multiple-active > .ck-button > .ck-button__label {
3526
+ font-style: italic;
3527
+ }
3528
+ /*
3529
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3530
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3531
+ */
3532
+ :root {
3533
+ --ck-style-panel-button-width: 120px;
3534
+ --ck-style-panel-button-height: 80px;
3535
+ --ck-style-panel-button-label-background: hsl(0, 0%, 94.1%);
3536
+ --ck-style-panel-button-hover-label-background: hsl(0, 0%, 92.1%);
3537
+ --ck-style-panel-button-hover-border-color: hsl(0, 0%, 70%);
3538
+ }
3539
+ .ck.ck-style-panel .ck-style-grid {
3540
+ row-gap: var(--ck-spacing-large);
3541
+ column-gap: var(--ck-spacing-large);
3542
+ }
3543
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button {
3544
+ --ck-color-button-default-hover-background: var(--ck-color-base-background);
3545
+ --ck-color-button-default-active-background: var(--ck-color-base-background);
3546
+
3547
+ padding: 0;
3548
+ width: var(--ck-style-panel-button-width);
3549
+ height: var(--ck-style-panel-button-height);
3550
+
3551
+ /* Let default .ck-button :focus styles apply */
3552
+ }
3553
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(:focus) {
3554
+ border: 1px solid var(--ck-color-base-border);
3555
+ }
3556
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-button__label {
3557
+ height: 22px;
3558
+ line-height: 22px;
3559
+ width: 100%;
3560
+ padding: 0 var(--ck-spacing-medium);
3561
+ overflow: hidden;
3562
+ text-overflow: ellipsis;
3563
+ flex-shrink: 0;
3564
+ }
3565
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button .ck-style-grid__button__preview {
3566
+ width: 100%;
3567
+ overflow: hidden;
3568
+ opacity: .9;
3569
+
3570
+ padding: var(--ck-spacing-medium);
3571
+ background: var(--ck-color-base-background);
3572
+ border: 2px solid var(--ck-color-base-background);
3573
+ }
3574
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled {
3575
+ --ck-color-button-default-disabled-background: var(--ck-color-base-foreground);
3576
+
3577
+ /* Let default .ck-button :focus styles apply */
3578
+ }
3579
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled:not(:focus) {
3580
+ border-color: var(--ck-style-panel-button-label-background);
3581
+ }
3582
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-disabled .ck-style-grid__button__preview {
3583
+ opacity: .4;
3584
+
3585
+ border-color: var(--ck-color-base-foreground);
3586
+ filter: saturate(.3);
3587
+ }
3588
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on {
3589
+ border-color: var(--ck-color-base-active);
3590
+ }
3591
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on .ck-button__label {
3592
+ box-shadow: 0 -1px 0 var(--ck-color-base-active);
3593
+ z-index: 1; /* Stay on top of the preview with the shadow. */
3594
+ }
3595
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button.ck-on:hover {
3596
+ border-color: var(--ck-color-base-active-focus);
3597
+ }
3598
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on) .ck-button__label {
3599
+ background: var(--ck-style-panel-button-label-background);
3600
+ }
3601
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button:not(.ck-on):hover .ck-button__label {
3602
+ background: var(--ck-style-panel-button-hover-label-background);
3603
+ }
3604
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on) {
3605
+ border-color: var(--ck-style-panel-button-hover-border-color);
3606
+ }
3607
+ .ck.ck-style-panel .ck-style-grid .ck-style-grid__button:hover:not(.ck-disabled):not(.ck-on) .ck-style-grid__button__preview {
3608
+ opacity: 1;
3609
+ }
3610
+ /*
3611
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3612
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3613
+ */
3614
+ .ck.ck-style-panel .ck-style-panel__style-group > .ck-label {
3615
+ margin: var(--ck-spacing-large) 0;
3616
+ }
3617
+ .ck.ck-style-panel .ck-style-panel__style-group:first-child > .ck-label {
3618
+ margin-top: 0;
3619
+ }
3620
+ /*
3621
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3622
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3623
+ */
3624
+ :root {
3625
+ --ck-style-panel-max-height: 470px;
3626
+ }
3627
+ .ck.ck-style-panel {
3628
+ padding: var(--ck-spacing-large);
3629
+ overflow-y: auto;
3630
+ max-height: var(--ck-style-panel-max-height);
3631
+ }
3632
+ /*
3633
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3634
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3635
+ */
3636
+ /*
3637
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3638
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3639
+ */
3640
+ /*
3641
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3642
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3643
+ */
3644
+ /**
3645
+ * Implements rounded corner interface for .ck-rounded-corners class.
3646
+ *
3647
+ * @see $ck-border-radius
3648
+ */
3649
+ [dir="ltr"] .ck.ck-input-color > .ck.ck-input-text {
3650
+ border-top-right-radius: 0;
3651
+ border-bottom-right-radius: 0;
3652
+ }
3653
+ [dir="rtl"] .ck.ck-input-color > .ck.ck-input-text {
3654
+ border-top-left-radius: 0;
3655
+ border-bottom-left-radius: 0;
3656
+ }
3657
+ /* Make sure the focused input is always on top of the dropdown button so its
3658
+ outline and border are never cropped (also when the input is read-only). */
3659
+ .ck.ck-input-color > .ck.ck-input-text:focus {
3660
+ z-index: 0;
3661
+ }
3662
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button {
3663
+ padding: 0;
3664
+ }
3665
+ [dir="ltr"] .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button {
3666
+ border-top-left-radius: 0;
3667
+ border-bottom-left-radius: 0;
3668
+ }
3669
+ [dir="ltr"] .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button:not(:focus) {
3670
+ border-left: 1px solid transparent;
3671
+ }
3672
+ [dir="rtl"] .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button {
3673
+ border-top-right-radius: 0;
3674
+ border-bottom-right-radius: 0;
3675
+ }
3676
+ [dir="rtl"] .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button:not(:focus) {
3677
+ border-right: 1px solid transparent;
3678
+ }
3679
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button.ck-disabled {
3680
+ background: var(--ck-color-input-disabled-background);
3681
+ }
3682
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview {
3683
+ border-radius: 0;
3684
+ }
3685
+ .ck-rounded-corners .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview, .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview.ck-rounded-corners {
3686
+ border-radius: var(--ck-border-radius);
3687
+ }
3688
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview {
3689
+
3690
+ width: 20px;
3691
+ height: 20px;
3692
+ border: 1px solid var(--ck-color-input-border);
3693
+ }
3694
+ .ck.ck-input-color > .ck.ck-dropdown > .ck.ck-button.ck-input-color__button > .ck.ck-input-color__button__preview > .ck.ck-input-color__button__preview__no-color-indicator {
3695
+ top: -30%;
3696
+ left: 50%;
3697
+ height: 150%;
3698
+ width: 8%;
3699
+ background: hsl(0, 100%, 50%);
3700
+ border-radius: 2px;
3701
+ transform: rotate(45deg);
3702
+ transform-origin: 50%;
3703
+ }
3704
+ .ck.ck-input-color .ck.ck-input-color__remove-color {
3705
+ width: 100%;
3706
+ padding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);
3707
+
3708
+ border-bottom-left-radius: 0;
3709
+ border-bottom-right-radius: 0;
3710
+ }
3711
+ .ck.ck-input-color .ck.ck-input-color__remove-color:not(:focus) {
3712
+ border-bottom: 1px solid var(--ck-color-input-border);
3713
+ }
3714
+ [dir="ltr"] .ck.ck-input-color .ck.ck-input-color__remove-color {
3715
+ border-top-right-radius: 0;
3716
+ }
3717
+ [dir="rtl"] .ck.ck-input-color .ck.ck-input-color__remove-color {
3718
+ border-top-left-radius: 0;
3719
+ }
3720
+ .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon {
3721
+ margin-right: var(--ck-spacing-standard);
3722
+ }
3723
+ [dir="rtl"] .ck.ck-input-color .ck.ck-input-color__remove-color .ck.ck-icon {
3724
+ margin-right: 0;
3725
+ margin-left: var(--ck-spacing-standard);
3726
+ }
3727
+ /*
3728
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3729
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3730
+ */
3731
+ .ck.ck-form {
3732
+ padding: 0 0 var(--ck-spacing-large);
3733
+ }
3734
+ .ck.ck-form:focus {
3735
+ /* See: https://github.com/ckeditor/ckeditor5/issues/4773 */
3736
+ outline: none;
3737
+ }
3738
+ .ck.ck-form .ck.ck-input-text {
3739
+ min-width: 100%;
3740
+ width: 0;
3741
+ }
3742
+ .ck.ck-form .ck.ck-dropdown {
3743
+ min-width: 100%;
3744
+ }
3745
+ .ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus) {
3746
+ border: 1px solid var(--ck-color-base-border);
3747
+ }
3748
+ .ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label {
3749
+ width: 100%;
3750
+ }
3751
+ /*
3752
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3753
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3754
+ */
3755
+ /*
3756
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3757
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3758
+ */
3759
+ .ck.ck-form__row {
3760
+ padding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;
3761
+
3762
+ /* Ignore labels that work as fieldset legends */
3763
+ }
3764
+ [dir="ltr"] .ck.ck-form__row > *:not(.ck-label) + * {
3765
+ margin-left: var(--ck-spacing-large);
3766
+ }
3767
+ [dir="rtl"] .ck.ck-form__row > *:not(.ck-label) + * {
3768
+ margin-right: var(--ck-spacing-large);
3769
+ }
3770
+ .ck.ck-form__row > .ck-label {
3771
+ width: 100%;
3772
+ min-width: 100%;
3773
+ }
3774
+ .ck.ck-form__row.ck-table-form__action-row {
3775
+ margin-top: var(--ck-spacing-large);
3776
+ }
3777
+ .ck.ck-form__row.ck-table-form__action-row .ck-button .ck-button__label {
3778
+ color: var(--ck-color-text);
3779
+ }
3780
+ /*
3781
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3782
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3783
+ */
3784
+ :root {
3785
+ --ck-insert-table-dropdown-padding: 10px;
3786
+ --ck-insert-table-dropdown-box-height: 11px;
3787
+ --ck-insert-table-dropdown-box-width: 12px;
3788
+ --ck-insert-table-dropdown-box-margin: 1px;
3789
+ }
3790
+ .ck .ck-insert-table-dropdown__grid {
3791
+ /* The width of a container should match 10 items in a row so there will be a 10x10 grid. */
3792
+ width: calc(var(--ck-insert-table-dropdown-box-width) * 10 + var(--ck-insert-table-dropdown-box-margin) * 20 + var(--ck-insert-table-dropdown-padding) * 2);
3793
+ padding: var(--ck-insert-table-dropdown-padding) var(--ck-insert-table-dropdown-padding) 0;
3794
+ }
3795
+ .ck .ck-insert-table-dropdown__label,
3796
+ .ck[dir=rtl] .ck-insert-table-dropdown__label {
3797
+ text-align: center;
3798
+ }
3799
+ .ck .ck-insert-table-dropdown-grid-box {
3800
+ min-width: var(--ck-insert-table-dropdown-box-width);
3801
+ min-height: var(--ck-insert-table-dropdown-box-height);
3802
+ margin: var(--ck-insert-table-dropdown-box-margin);
3803
+ border: 1px solid var(--ck-color-base-border);
3804
+ border-radius: 1px;
3805
+ outline: none;
3806
+ transition: none;
3807
+ }
3808
+ .ck .ck-insert-table-dropdown-grid-box:focus {
3809
+ box-shadow: none;
3810
+ }
3811
+ .ck .ck-insert-table-dropdown-grid-box.ck-on {
3812
+ border-color: var(--ck-color-focus-border);
3813
+ background: var(--ck-color-focus-outer-shadow);
3814
+ }
3815
+ /*
3816
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3817
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3818
+ */
3819
+ .ck.ck-table-cell-properties-form {
3820
+ width: 320px;
3821
+ }
3822
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__padding-row {
3823
+ align-self: flex-end;
3824
+ padding: 0;
3825
+ width: 25%;
3826
+ }
3827
+ .ck.ck-table-cell-properties-form .ck-form__row.ck-table-cell-properties-form__alignment-row .ck.ck-toolbar {
3828
+ background: none;
3829
+
3830
+ /* Compensate for missing input label that would push the margin (toolbar has no inputs). */
3831
+ margin-top: var(--ck-spacing-standard);
3832
+ }
3833
+ /*
3834
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3835
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3836
+ */
3837
+ :root {
3838
+ --ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);
3839
+ }
3840
+ .ck-widget.table td.ck-editor__nested-editable.ck-editor__nested-editable_focused,
3841
+ .ck-widget.table th.ck-editor__nested-editable.ck-editor__nested-editable_focused,
3842
+ .ck-widget.table td.ck-editor__nested-editable:focus,
3843
+ .ck-widget.table th.ck-editor__nested-editable:focus {
3844
+ /* A very slight background to highlight the focused cell */
3845
+ background: var(--ck-color-selector-focused-cell-background);
3846
+
3847
+ /* Fixes the problem where surrounding cells cover the focused cell's border.
3848
+ It does not fix the problem in all places but the UX is improved.
3849
+ See https://github.com/ckeditor/ckeditor5-table/issues/29. */
3850
+ border-style: none;
3851
+ outline: 1px solid var(--ck-color-focus-border);
3852
+ outline-offset: -1px; /* progressive enhancement - no IE support */
3853
+ }
3854
+ /*
3855
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3856
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3857
+ */
3858
+ /*
3859
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3860
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3861
+ */
3862
+ /**
3863
+ * Implements rounded corner interface for .ck-rounded-corners class.
3864
+ *
3865
+ * @see $ck-border-radius
3866
+ */
3867
+ :root {
3868
+ --ck-table-properties-error-arrow-size: 6px;
3869
+ --ck-table-properties-min-error-width: 150px;
3870
+ }
3871
+ .ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-labeled-field-view > .ck-label {
3872
+ font-size: var(--ck-font-size-tiny);
3873
+ text-align: center;
3874
+ }
3875
+ .ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-style,
3876
+ .ck.ck-table-form .ck-form__row.ck-table-form__border-row .ck-table-form__border-width {
3877
+ width: 80px;
3878
+ min-width: 80px;
3879
+ max-width: 80px;
3880
+ }
3881
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row {
3882
+ padding: 0;
3883
+ }
3884
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__width,
3885
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimensions-row__height {
3886
+ margin: 0
3887
+ }
3888
+ .ck.ck-table-form .ck-form__row.ck-table-form__dimensions-row .ck-table-form__dimension-operator {
3889
+ align-self: flex-end;
3890
+ display: inline-block;
3891
+ height: var(--ck-ui-component-min-height);
3892
+ line-height: var(--ck-ui-component-min-height);
3893
+ margin: 0 var(--ck-spacing-small);
3894
+ }
3895
+ .ck.ck-table-form .ck.ck-labeled-field-view {
3896
+ padding-top: var(--ck-spacing-standard);
3897
+ }
3898
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
3899
+ border-radius: 0;
3900
+ }
3901
+ .ck-rounded-corners .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status, .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status.ck-rounded-corners {
3902
+ border-radius: var(--ck-border-radius);
3903
+ }
3904
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status {
3905
+
3906
+ background: var(--ck-color-base-error);
3907
+ color: var(--ck-color-base-background);
3908
+ padding: var(--ck-spacing-small) var(--ck-spacing-medium);
3909
+ min-width: var(--ck-table-properties-min-error-width);
3910
+ text-align: center;
3911
+
3912
+ animation: ck-table-form-labeled-view-status-appear .15s ease both;
3913
+
3914
+ /* The arrow pointing towards the field. */
3915
+ }
3916
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck.ck-labeled-field-view__status::after {
3917
+ border-color: transparent transparent var(--ck-color-base-error) transparent;
3918
+ border-width: 0 var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size) var(--ck-table-properties-error-arrow-size);
3919
+ border-style: solid;
3920
+ }
3921
+ /* Hide the error balloon when the field is blurred. Makes the experience much more clear. */
3922
+ .ck.ck-table-form .ck.ck-labeled-field-view .ck-input.ck-error:not(:focus) + .ck.ck-labeled-field-view__status {
3923
+ display: none;
3924
+ }
3925
+ @keyframes ck-table-form-labeled-view-status-appear {
3926
+ 0% {
3927
+ opacity: 0;
3928
+ }
3929
+
3930
+ 100% {
3931
+ opacity: 1;
3932
+ }
3933
+ }
3934
+ /*
3935
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3936
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3937
+ */
3938
+ .ck.ck-table-properties-form {
3939
+ width: 320px;
3940
+ }
3941
+ .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row {
3942
+ align-self: flex-end;
3943
+ padding: 0;
3944
+ }
3945
+ .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar {
3946
+ background: none;
3947
+
3948
+ /* Compensate for missing input label that would push the margin (toolbar has no inputs). */
3949
+ margin-top: var(--ck-spacing-standard);
3950
+ }
3951
+ .ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar .ck-toolbar__items > * {
3952
+ width: 40px;
3953
+ }
3954
+ /*
3955
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3956
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3957
+ */
3958
+ :root {
3959
+ --ck-table-selected-cell-background: hsla(208, 90%, 80%, .3);
3960
+ }
3961
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected,
3962
+ .ck.ck-editor__editable .table table th.ck-editor__editable_selected {
3963
+ position: relative;
3964
+ caret-color: transparent;
3965
+ outline: unset;
3966
+ box-shadow: unset;
3967
+
3968
+ /* https://github.com/ckeditor/ckeditor5/issues/6446 */
3969
+ }
3970
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected:after, .ck.ck-editor__editable .table table th.ck-editor__editable_selected:after {
3971
+ content: '';
3972
+ pointer-events: none;
3973
+ background-color: var(--ck-table-selected-cell-background);
3974
+ position: absolute;
3975
+ top: 0;
3976
+ left: 0;
3977
+ right: 0;
3978
+ bottom: 0;
3979
+ }
3980
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected ::selection,
3981
+ .ck.ck-editor__editable .table table th.ck-editor__editable_selected ::selection,
3982
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected:focus,
3983
+ .ck.ck-editor__editable .table table th.ck-editor__editable_selected:focus {
3984
+ background-color: transparent;
3985
+ }
3986
+ /*
3987
+ * To reduce the amount of noise, all widgets in the table selection have no outline and no selection handle.
3988
+ * See https://github.com/ckeditor/ckeditor5/issues/9491.
3989
+ */
3990
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget, .ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget {
3991
+ outline: unset;
3992
+ }
3993
+ .ck.ck-editor__editable .table table td.ck-editor__editable_selected .ck-widget > .ck-widget__selection-handle, .ck.ck-editor__editable .table table th.ck-editor__editable_selected .ck-widget > .ck-widget__selection-handle {
3994
+ display: none;
3995
+ }
3996
+ /*
3997
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
3998
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
3999
+ */
4000
+ /*
4001
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4002
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4003
+ */
4004
+ /**
4005
+ * A visual style of focused element's border.
4006
+ */
4007
+ /*
4008
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4009
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4010
+ */
4011
+ /**
4012
+ * A helper to combine multiple shadows.
4013
+ */
4014
+ /**
4015
+ * Gives an element a drop shadow so it looks like a floating panel.
4016
+ */
4017
+ :root {
4018
+ --ck-widget-outline-thickness: 3px;
4019
+ --ck-widget-handler-icon-size: 16px;
4020
+ --ck-widget-handler-animation-duration: 200ms;
4021
+ --ck-widget-handler-animation-curve: ease;
4022
+
4023
+ --ck-color-widget-blurred-border: hsl(0, 0%, 87%);
4024
+ --ck-color-widget-hover-border: hsl(43, 100%, 62%);
4025
+ --ck-color-widget-editable-focus-background: var(--ck-color-base-background);
4026
+ --ck-color-widget-drag-handler-icon-color: var(--ck-color-base-background);
4027
+ }
4028
+ .ck .ck-widget {
4029
+ outline-width: var(--ck-widget-outline-thickness);
4030
+ outline-style: solid;
4031
+ outline-color: transparent;
4032
+ transition: outline-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
4033
+ }
4034
+ .ck .ck-widget.ck-widget_selected,
4035
+ .ck .ck-widget.ck-widget_selected:hover {
4036
+ outline: var(--ck-widget-outline-thickness) solid var(--ck-color-focus-border);
4037
+ }
4038
+ .ck .ck-widget:hover {
4039
+ outline-color: var(--ck-color-widget-hover-border);
4040
+ }
4041
+ .ck .ck-editor__nested-editable {
4042
+ border: 1px solid transparent;
4043
+
4044
+ /* The :focus style is applied before .ck-editor__nested-editable_focused class is rendered in the view.
4045
+ These styles show a different border for a blink of an eye, so `:focus` need to have same styles applied. */
4046
+ }
4047
+ .ck .ck-editor__nested-editable.ck-editor__nested-editable_focused,
4048
+ .ck .ck-editor__nested-editable:focus {
4049
+ /* Disable native outline. */
4050
+ outline: none;
4051
+ border: var(--ck-focus-ring);
4052
+ box-shadow: var(--ck-inner-shadow), 0 0;
4053
+
4054
+ background-color: var(--ck-color-widget-editable-focus-background);
4055
+ }
4056
+ .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
4057
+ padding: 4px;
4058
+ box-sizing: border-box;
4059
+
4060
+ /* Background and opacity will be animated as the handler shows up or the widget gets selected. */
4061
+ background-color: transparent;
4062
+ opacity: 0;
4063
+
4064
+ /* Transition:
4065
+ * background-color for the .ck-widget_selected state change,
4066
+ * visibility for hiding the handler,
4067
+ * opacity for the proper look of the icon when the handler disappears. */
4068
+ transition:
4069
+ background-color var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),
4070
+ visibility var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve),
4071
+ opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
4072
+
4073
+ /* Make only top corners round. */
4074
+ border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
4075
+
4076
+ /* Place the drag handler outside the widget wrapper. */
4077
+ transform: translateY(-100%);
4078
+ left: calc(0px - var(--ck-widget-outline-thickness));
4079
+ top: 0;
4080
+ }
4081
+ .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon {
4082
+ /* Make sure the dimensions of the icon are independent of the fon-size of the content. */
4083
+ width: var(--ck-widget-handler-icon-size);
4084
+ height: var(--ck-widget-handler-icon-size);
4085
+ color: var(--ck-color-widget-drag-handler-icon-color);
4086
+
4087
+ /* The "selected" part of the icon is invisible by default */
4088
+ }
4089
+ .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator {
4090
+ opacity: 0;
4091
+
4092
+ /* Note: The animation is longer on purpose. Simply feels better. */
4093
+ transition: opacity 300ms var(--ck-widget-handler-animation-curve);
4094
+ }
4095
+ /* Advertise using the look of the icon that once clicked the handler, the widget will be selected. */
4096
+ .ck .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover .ck-icon .ck-icon__selected-indicator {
4097
+ opacity: 1;
4098
+ }
4099
+ /* Show the selection handler on mouse hover over the widget, but not for nested widgets. */
4100
+ .ck .ck-widget.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle {
4101
+ opacity: 1;
4102
+ background-color: var(--ck-color-widget-hover-border);
4103
+ }
4104
+ /* Show the selection handler when the widget is selected, but not for nested widgets. */
4105
+ .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle, .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover > .ck-widget__selection-handle {
4106
+ opacity: 1;
4107
+ background-color: var(--ck-color-focus-border);
4108
+
4109
+ /* When the widget is selected, notify the user using the proper look of the icon. */
4110
+ }
4111
+ .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator, .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover > .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator {
4112
+ opacity: 1;
4113
+ }
4114
+ /* In a RTL environment, align the selection handler to the right side of the widget */
4115
+ /* stylelint-disable-next-line no-descending-specificity */
4116
+ .ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
4117
+ left: auto;
4118
+ right: calc(0px - var(--ck-widget-outline-thickness));
4119
+ }
4120
+ /* https://github.com/ckeditor/ckeditor5/issues/6415 */
4121
+ .ck.ck-editor__editable.ck-read-only .ck-widget {
4122
+ /* Prevent the :hover outline from showing up because of the used outline-color transition. */
4123
+ transition: none;
4124
+ }
4125
+ .ck.ck-editor__editable.ck-read-only .ck-widget:not(.ck-widget_selected) {
4126
+ /* Disable visual effects of hover/active widget when CKEditor is in readOnly mode.
4127
+ * See: https://github.com/ckeditor/ckeditor5/issues/1261
4128
+ *
4129
+ * Leave the unit because this custom property is used in calc() by other features.
4130
+ * See: https://github.com/ckeditor/ckeditor5/issues/6775
4131
+ */
4132
+ --ck-widget-outline-thickness: 0px;
4133
+ }
4134
+ .ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle,
4135
+ .ck.ck-editor__editable.ck-read-only .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle:hover {
4136
+ background: var(--ck-color-widget-blurred-border);
4137
+ }
4138
+ /* Style the widget when it's selected but the editable it belongs to lost focus. */
4139
+ /* stylelint-disable-next-line no-descending-specificity */
4140
+ .ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected,
4141
+ .ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected:hover {
4142
+ outline-color: var(--ck-color-widget-blurred-border);
4143
+ }
4144
+ .ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle > .ck-widget__selection-handle,
4145
+ .ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle,
4146
+ .ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle > .ck-widget__selection-handle:hover,
4147
+ .ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle:hover > .ck-widget__selection-handle:hover {
4148
+ background: var(--ck-color-widget-blurred-border);
4149
+ }
4150
+ .ck.ck-editor__editable > .ck-widget.ck-widget_with-selection-handle:first-child,
4151
+ .ck.ck-editor__editable blockquote > .ck-widget.ck-widget_with-selection-handle:first-child {
4152
+ /* Do not crop selection handler if a widget is a first-child in the blockquote or in the root editable.
4153
+ In fact, anything with overflow: hidden.
4154
+ https://github.com/ckeditor/ckeditor5-block-quote/issues/28
4155
+ https://github.com/ckeditor/ckeditor5-widget/issues/44
4156
+ https://github.com/ckeditor/ckeditor5-widget/issues/66 */
4157
+ margin-top: calc(1em + var(--ck-widget-handler-icon-size));
4158
+ }
4159
+ /*
4160
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4161
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4162
+ */
4163
+ :root {
4164
+ --ck-resizer-size: 10px;
4165
+
4166
+ /* Set the resizer with a 50% offset. */
4167
+ --ck-resizer-offset: calc( ( var(--ck-resizer-size) / -2 ) - 2px);
4168
+ --ck-resizer-border-width: 1px;
4169
+ }
4170
+ .ck .ck-widget__resizer {
4171
+ outline: 1px solid var(--ck-color-resizer);
4172
+ }
4173
+ .ck .ck-widget__resizer__handle {
4174
+ width: var(--ck-resizer-size);
4175
+ height: var(--ck-resizer-size);
4176
+ background: var(--ck-color-focus-border);
4177
+ border: var(--ck-resizer-border-width) solid hsl(0, 0%, 100%);
4178
+ border-radius: var(--ck-resizer-border-radius);
4179
+ }
4180
+ .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-left {
4181
+ top: var(--ck-resizer-offset);
4182
+ left: var(--ck-resizer-offset);
4183
+ }
4184
+ .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-top-right {
4185
+ top: var(--ck-resizer-offset);
4186
+ right: var(--ck-resizer-offset);
4187
+ }
4188
+ .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-right {
4189
+ bottom: var(--ck-resizer-offset);
4190
+ right: var(--ck-resizer-offset);
4191
+ }
4192
+ .ck .ck-widget__resizer__handle.ck-widget__resizer__handle-bottom-left {
4193
+ bottom: var(--ck-resizer-offset);
4194
+ left: var(--ck-resizer-offset);
4195
+ }
4196
+ /*
4197
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
4198
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4199
+ */
4200
+ :root {
4201
+ --ck-widget-type-around-button-size: 20px;
4202
+ --ck-color-widget-type-around-button-active: var(--ck-color-focus-border);
4203
+ --ck-color-widget-type-around-button-hover: var(--ck-color-widget-hover-border);
4204
+ --ck-color-widget-type-around-button-blurred-editable: var(--ck-color-widget-blurred-border);
4205
+ --ck-color-widget-type-around-button-radar-start-alpha: 0;
4206
+ --ck-color-widget-type-around-button-radar-end-alpha: .3;
4207
+ --ck-color-widget-type-around-button-icon: var(--ck-color-base-background);
4208
+ }
4209
+ /*
4210
+ * Styles of the type around buttons
4211
+ */
4212
+ .ck .ck-widget .ck-widget__type-around__button {
4213
+ width: var(--ck-widget-type-around-button-size);
4214
+ height: var(--ck-widget-type-around-button-size);
4215
+ background: var(--ck-color-widget-type-around-button);
4216
+ border-radius: 100px;
4217
+ transition: opacity var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve), background var(--ck-widget-handler-animation-duration) var(--ck-widget-handler-animation-curve);
4218
+
4219
+ opacity: 0;
4220
+
4221
+ pointer-events: none;
4222
+ }
4223
+ .ck .ck-widget .ck-widget__type-around__button svg {
4224
+ width: 10px;
4225
+ height: 8px;
4226
+ transform: translate(-50%,-50%);
4227
+ transition: transform .5s ease;
4228
+ margin-top: 1px;
4229
+ }
4230
+ .ck .ck-widget .ck-widget__type-around__button svg * {
4231
+ stroke-dasharray: 10;
4232
+ stroke-dashoffset: 0;
4233
+
4234
+ fill: none;
4235
+ stroke: var(--ck-color-widget-type-around-button-icon);
4236
+ stroke-width: 1.5px;
4237
+ stroke-linecap: round;
4238
+ stroke-linejoin: round;
4239
+ }
4240
+ .ck .ck-widget .ck-widget__type-around__button svg line {
4241
+ stroke-dasharray: 7;
4242
+ }
4243
+ .ck .ck-widget .ck-widget__type-around__button:hover {
4244
+ /*
4245
+ * Display the "sonar" around the button when hovered.
4246
+ */
4247
+ animation: ck-widget-type-around-button-sonar 1s ease infinite;
4248
+
4249
+ /*
4250
+ * Animate active button's icon.
4251
+ */
4252
+ }
4253
+ .ck .ck-widget .ck-widget__type-around__button:hover svg polyline {
4254
+ animation: ck-widget-type-around-arrow-dash 2s linear;
4255
+ }
4256
+ .ck .ck-widget .ck-widget__type-around__button:hover svg line {
4257
+ animation: ck-widget-type-around-arrow-tip-dash 2s linear;
4258
+ }
4259
+ /*
4260
+ * Show type around buttons when the widget gets selected or being hovered.
4261
+ */
4262
+ .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button, .ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__button {
4263
+ opacity: 1;
4264
+ pointer-events: auto;
4265
+ }
4266
+ /*
4267
+ * Styles for the buttons when the widget is NOT selected (but the buttons are visible
4268
+ * and still can be hovered).
4269
+ */
4270
+ .ck .ck-widget:not(.ck-widget_selected) > .ck-widget__type-around > .ck-widget__type-around__button {
4271
+ background: var(--ck-color-widget-type-around-button-hover);
4272
+ }
4273
+ /*
4274
+ * Styles for the buttons when:
4275
+ * - the widget is selected,
4276
+ * - or the button is being hovered (regardless of the widget state).
4277
+ */
4278
+ .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button,
4279
+ .ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__button:hover {
4280
+ background: var(--ck-color-widget-type-around-button-active);
4281
+ }
4282
+ .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button::after, .ck .ck-widget > .ck-widget__type-around > .ck-widget__type-around__button:hover::after {
4283
+ width: calc(var(--ck-widget-type-around-button-size) - 2px);
4284
+ height: calc(var(--ck-widget-type-around-button-size) - 2px);
4285
+ border-radius: 100px;
4286
+ background: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);
4287
+ }
4288
+ /*
4289
+ * Styles for the "before" button when the widget has a selection handle. Because some space
4290
+ * is consumed by the handle, the button must be moved slightly to the right to let it breathe.
4291
+ */
4292
+ .ck .ck-widget.ck-widget_with-selection-handle > .ck-widget__type-around > .ck-widget__type-around__button_before {
4293
+ margin-left: 20px;
4294
+ }
4295
+ /*
4296
+ * Styles for the horizontal "fake caret" which is displayed when the user navigates using the keyboard.
4297
+ */
4298
+ .ck .ck-widget .ck-widget__type-around__fake-caret {
4299
+ pointer-events: none;
4300
+ height: 1px;
4301
+ animation: ck-widget-type-around-fake-caret-pulse linear 1s infinite normal forwards;
4302
+
4303
+ /*
4304
+ * The semi-transparent-outline+background combo improves the contrast
4305
+ * when the background underneath the fake caret is dark.
4306
+ */
4307
+ outline: solid 1px hsla(0, 0%, 100%, .5);
4308
+ background: var(--ck-color-base-text);
4309
+ }
4310
+ /*
4311
+ * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).
4312
+ * Despite the widget being physically selected in the model, its outline should disappear.
4313
+ */
4314
+ .ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before,
4315
+ .ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after {
4316
+ outline-color: transparent;
4317
+ }
4318
+ /*
4319
+ * When the "fake caret" is visible we simulate that the widget is not selected
4320
+ * (despite being physically selected), so the outline color should be for the
4321
+ * unselected widget.
4322
+ */
4323
+ .ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected:hover, .ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected:hover {
4324
+ outline-color: var(--ck-color-widget-hover-border);
4325
+ }
4326
+ /*
4327
+ * Styles of the type around buttons when the "fake caret" is blinking (e.g. upon keyboard navigation).
4328
+ * In this state, the type around buttons would collide with the fake carets so they should disappear.
4329
+ */
4330
+ .ck .ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__button, .ck .ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__button {
4331
+ opacity: 0;
4332
+ pointer-events: none;
4333
+ }
4334
+ /*
4335
+ * Fake horizontal caret integration with the selection handle. When the caret is visible, simply
4336
+ * hide the handle because it intersects with the caret (and does not make much sense anyway).
4337
+ */
4338
+ .ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle, .ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle, .ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_with-selection-handle.ck-widget_selected:hover > .ck-widget__selection-handle, .ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_with-selection-handle.ck-widget_selected:hover > .ck-widget__selection-handle {
4339
+ opacity: 0
4340
+ }
4341
+ /*
4342
+ * Fake horizontal caret integration with the resize UI. When the caret is visible, simply
4343
+ * hide the resize UI because it creates too much noise. It can be visible when the user
4344
+ * hovers the widget, though.
4345
+ */
4346
+ .ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer, .ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {
4347
+ opacity: 0
4348
+ }
4349
+ /*
4350
+ * Styles for the "before" button when the widget has a selection handle in an RTL environment.
4351
+ * The selection handler is aligned to the right side of the widget so there is no need to create
4352
+ * additional space for it next to the "before" button.
4353
+ */
4354
+ .ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__type-around > .ck-widget__type-around__button_before {
4355
+ margin-left: 0;
4356
+ margin-right: 20px;
4357
+ }
4358
+ /*
4359
+ * Hide type around buttons when the widget is selected as a child of a selected
4360
+ * nested editable (e.g. mulit-cell table selection).
4361
+ *
4362
+ * See https://github.com/ckeditor/ckeditor5/issues/7263.
4363
+ */
4364
+ .ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button, .ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__button {
4365
+ opacity: 0;
4366
+ pointer-events: none;
4367
+ }
4368
+ /*
4369
+ * Styles for the buttons when the widget is selected but the user clicked outside of the editor (blurred the editor).
4370
+ */
4371
+ .ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) {
4372
+ background: var(--ck-color-widget-type-around-button-blurred-editable);
4373
+ }
4374
+ .ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button:not(:hover) svg * {
4375
+ stroke: hsl(0,0%,60%);
4376
+ }
4377
+ @keyframes ck-widget-type-around-arrow-dash {
4378
+ 0% {
4379
+ stroke-dashoffset: 10;
4380
+ }
4381
+ 20%, 100% {
4382
+ stroke-dashoffset: 0;
4383
+ }
4384
+ }
4385
+ @keyframes ck-widget-type-around-arrow-tip-dash {
4386
+ 0%, 20% {
4387
+ stroke-dashoffset: 7;
4388
+ }
4389
+ 40%, 100% {
4390
+ stroke-dashoffset: 0;
4391
+ }
4392
+ }
4393
+ @keyframes ck-widget-type-around-button-sonar {
4394
+ 0% {
4395
+ box-shadow: 0 0 0 0 hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));
4396
+ }
4397
+ 50% {
4398
+ box-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-end-alpha));
4399
+ }
4400
+ 100% {
4401
+ box-shadow: 0 0 0 5px hsla(var(--ck-color-focus-border-coordinates), var(--ck-color-widget-type-around-button-radar-start-alpha));
4402
+ }
4403
+ }
4404
+ @keyframes ck-widget-type-around-fake-caret-pulse {
4405
+ 0% {
4406
+ opacity: 1;
4407
+ }
4408
+ 49% {
4409
+ opacity: 1;
4410
+ }
4411
+ 50% {
4412
+ opacity: 0;
4413
+ }
4414
+ 99% {
4415
+ opacity: 0;
4416
+ }
4417
+ 100% {
4418
+ opacity: 1;
4419
+ }
4420
+ }