@ckeditor/ckeditor5-ui 41.2.0 → 41.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/content-index.css +4 -0
  2. package/dist/editor-index.css +445 -0
  3. package/dist/index.css +844 -0
  4. package/dist/index.css.map +1 -0
  5. package/dist/index.js +13857 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/types/arialiveannouncer.d.ts +98 -0
  8. package/dist/types/augmentation.d.ts +88 -0
  9. package/dist/types/autocomplete/autocompleteview.d.ts +81 -0
  10. package/dist/types/bindings/addkeyboardhandlingforgrid.d.ts +27 -0
  11. package/dist/types/bindings/clickoutsidehandler.d.ts +28 -0
  12. package/dist/types/bindings/csstransitiondisablermixin.d.ts +40 -0
  13. package/dist/types/bindings/draggableviewmixin.d.ts +46 -0
  14. package/dist/types/bindings/injectcsstransitiondisabler.d.ts +59 -0
  15. package/dist/types/bindings/preventdefault.d.ts +33 -0
  16. package/dist/types/bindings/submithandler.d.ts +57 -0
  17. package/dist/types/button/button.d.ts +175 -0
  18. package/dist/types/button/buttonlabel.d.ts +34 -0
  19. package/dist/types/button/buttonlabelview.d.ts +31 -0
  20. package/dist/types/button/buttonview.d.ts +181 -0
  21. package/dist/types/button/switchbuttonview.d.ts +45 -0
  22. package/dist/types/collapsible/collapsibleview.d.ts +70 -0
  23. package/dist/types/colorgrid/colorgridview.d.ts +132 -0
  24. package/dist/types/colorgrid/colortileview.d.ts +28 -0
  25. package/dist/types/colorgrid/utils.d.ts +47 -0
  26. package/dist/types/colorpicker/colorpickerview.d.ts +142 -0
  27. package/dist/types/colorpicker/utils.d.ts +48 -0
  28. package/dist/types/colorselector/colorgridsfragmentview.d.ts +195 -0
  29. package/dist/types/colorselector/colorpickerfragmentview.d.ts +129 -0
  30. package/dist/types/colorselector/colorselectorview.d.ts +242 -0
  31. package/dist/types/colorselector/documentcolorcollection.d.ts +70 -0
  32. package/dist/types/componentfactory.d.ts +81 -0
  33. package/dist/types/dialog/dialog.d.ts +273 -0
  34. package/dist/types/dialog/dialogactionsview.d.ts +69 -0
  35. package/dist/types/dialog/dialogcontentview.d.ts +27 -0
  36. package/dist/types/dialog/dialogview.d.ts +256 -0
  37. package/dist/types/dropdown/button/dropdownbutton.d.ts +25 -0
  38. package/dist/types/dropdown/button/dropdownbuttonview.d.ts +48 -0
  39. package/dist/types/dropdown/button/splitbuttonview.d.ts +162 -0
  40. package/dist/types/dropdown/dropdownpanelfocusable.d.ts +21 -0
  41. package/dist/types/dropdown/dropdownpanelview.d.ts +62 -0
  42. package/dist/types/dropdown/dropdownview.d.ts +315 -0
  43. package/dist/types/dropdown/utils.d.ts +235 -0
  44. package/dist/types/editableui/editableuiview.d.ts +72 -0
  45. package/dist/types/editableui/inline/inlineeditableuiview.d.ts +40 -0
  46. package/dist/types/editorui/accessibilityhelp/accessibilityhelp.d.ts +47 -0
  47. package/dist/types/editorui/accessibilityhelp/accessibilityhelpcontentview.d.ts +35 -0
  48. package/dist/types/editorui/bodycollection.d.ts +55 -0
  49. package/dist/types/editorui/boxed/boxededitoruiview.d.ts +40 -0
  50. package/dist/types/editorui/editorui.d.ts +288 -0
  51. package/dist/types/editorui/editoruiview.d.ts +39 -0
  52. package/dist/types/editorui/poweredby.d.ts +71 -0
  53. package/dist/types/focuscycler.d.ts +245 -0
  54. package/dist/types/formheader/formheaderview.d.ts +59 -0
  55. package/dist/types/highlightedtext/highlightedtextview.d.ts +38 -0
  56. package/dist/types/icon/iconview.d.ts +88 -0
  57. package/dist/types/iframe/iframeview.d.ts +50 -0
  58. package/dist/types/index.d.ts +74 -0
  59. package/dist/types/input/inputbase.d.ts +107 -0
  60. package/dist/types/input/inputview.d.ts +36 -0
  61. package/dist/types/inputnumber/inputnumberview.d.ts +49 -0
  62. package/dist/types/inputtext/inputtextview.d.ts +18 -0
  63. package/dist/types/label/labelview.d.ts +36 -0
  64. package/dist/types/labeledfield/labeledfieldview.d.ts +187 -0
  65. package/dist/types/labeledfield/utils.d.ts +123 -0
  66. package/dist/types/labeledinput/labeledinputview.d.ts +125 -0
  67. package/dist/types/list/listitemgroupview.d.ts +59 -0
  68. package/dist/types/list/listitemview.d.ts +36 -0
  69. package/dist/types/list/listseparatorview.d.ts +18 -0
  70. package/dist/types/list/listview.d.ts +124 -0
  71. package/dist/types/model.d.ts +22 -0
  72. package/dist/types/notification/notification.d.ts +211 -0
  73. package/dist/types/panel/balloon/balloonpanelview.d.ts +685 -0
  74. package/dist/types/panel/balloon/contextualballoon.d.ts +299 -0
  75. package/dist/types/panel/sticky/stickypanelview.d.ts +156 -0
  76. package/dist/types/search/filteredview.d.ts +31 -0
  77. package/dist/types/search/searchinfoview.d.ts +45 -0
  78. package/dist/types/search/searchresultsview.d.ts +54 -0
  79. package/dist/types/search/text/searchtextqueryview.d.ts +76 -0
  80. package/dist/types/search/text/searchtextview.d.ts +219 -0
  81. package/dist/types/spinner/spinnerview.d.ts +25 -0
  82. package/dist/types/template.d.ts +942 -0
  83. package/dist/types/textarea/textareaview.d.ts +104 -0
  84. package/dist/types/toolbar/balloon/balloontoolbar.d.ts +117 -0
  85. package/dist/types/toolbar/block/blockbuttonview.d.ts +35 -0
  86. package/dist/types/toolbar/block/blocktoolbar.d.ts +153 -0
  87. package/dist/types/toolbar/normalizetoolbarconfig.d.ts +40 -0
  88. package/dist/types/toolbar/toolbarlinebreakview.d.ts +18 -0
  89. package/dist/types/toolbar/toolbarseparatorview.d.ts +18 -0
  90. package/dist/types/toolbar/toolbarview.d.ts +267 -0
  91. package/dist/types/tooltipmanager.d.ts +184 -0
  92. package/dist/types/view.d.ts +422 -0
  93. package/dist/types/viewcollection.d.ts +139 -0
  94. package/package.json +4 -3
  95. package/src/colorpicker/colorpickerview.js +0 -1
  96. package/src/index.d.ts +2 -2
  97. package/src/index.js +2 -1
  98. package/src/toolbar/toolbarview.js +2 -3
  99. package/theme/globals/globals.css +0 -1
  100. package/theme/globals/_reset.css +0 -13
package/dist/index.css ADDED
@@ -0,0 +1,844 @@
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
+ /*
11
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
12
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
13
+ */
14
+
15
+ /**
16
+ * A class which hides an element in DOM.
17
+ */
18
+
19
+ .ck-hidden {
20
+ /* Override selector specificity. Otherwise, all elements with some display
21
+ style defined will override this one, which is not a desired result. */
22
+ display: none !important;
23
+ }
24
+ /*
25
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
26
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
27
+ */
28
+ :root {
29
+ --ck-z-default: 1;
30
+ --ck-z-panel: calc( var(--ck-z-default) + 999 );
31
+ --ck-z-dialog: 9999;
32
+ }
33
+ /*
34
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
35
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
36
+ */
37
+ /**
38
+ * A class that disables all transitions of the element and its children.
39
+ */
40
+ .ck-transitions-disabled,
41
+ .ck-transitions-disabled * {
42
+ transition: none !important;
43
+ }
44
+ /*
45
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
46
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
47
+ */
48
+ :root {
49
+ --ck-powered-by-line-height: 10px;
50
+ --ck-powered-by-padding-vertical: 2px;
51
+ --ck-powered-by-padding-horizontal: 4px;
52
+ --ck-powered-by-text-color: hsl(0, 0%, 31%);
53
+ --ck-powered-by-border-radius: var(--ck-border-radius);
54
+ --ck-powered-by-background: hsl(0, 0%, 100%);
55
+ --ck-powered-by-border-color: var(--ck-color-focus-border);
56
+ }
57
+ .ck.ck-balloon-panel.ck-powered-by-balloon {
58
+ --ck-border-radius: var(--ck-powered-by-border-radius);
59
+
60
+ box-shadow: none;
61
+ background: var(--ck-powered-by-background);
62
+ min-height: unset;
63
+ z-index: calc( var(--ck-z-panel) - 1 );
64
+ }
65
+ .ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by {
66
+ line-height: var(--ck-powered-by-line-height);
67
+ }
68
+ .ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a {
69
+ cursor: pointer;
70
+ display: flex;
71
+ align-items: center;
72
+ opacity: .66;
73
+ filter: grayscale(80%);
74
+ line-height: var(--ck-powered-by-line-height);
75
+ padding: var(--ck-powered-by-padding-vertical) var(--ck-powered-by-padding-horizontal);
76
+ }
77
+ .ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label {
78
+ font-size: 7.5px;
79
+ letter-spacing: -.2px;
80
+ padding-left: 2px;
81
+ text-transform: uppercase;
82
+ font-weight: bold;
83
+ margin-right: 4px;
84
+ cursor: pointer;
85
+ line-height: normal;
86
+ color: var(--ck-powered-by-text-color);
87
+
88
+ }
89
+ .ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon {
90
+ display: block;
91
+ cursor: pointer;
92
+ }
93
+ .ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by:hover a {
94
+ filter: grayscale(0%);
95
+ opacity: 1;
96
+ }
97
+ .ck.ck-balloon-panel.ck-powered-by-balloon[class*="position_inside"] {
98
+ border-color: transparent;
99
+ }
100
+ .ck.ck-balloon-panel.ck-powered-by-balloon[class*="position_border"] {
101
+ border: var(--ck-focus-ring);
102
+ border-color: var(--ck-powered-by-border-color);
103
+ }
104
+
105
+ /*
106
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
107
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
108
+ */
109
+
110
+ /*
111
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
112
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
113
+ */
114
+
115
+ /**
116
+ * Makes element unselectable.
117
+ */
118
+ /*
119
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
120
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
121
+ */
122
+
123
+ .ck.ck-button,
124
+ a.ck.ck-button {
125
+ -moz-user-select: none;
126
+ -webkit-user-select: none;
127
+ -ms-user-select: none;
128
+ user-select: none;
129
+
130
+ position: relative;
131
+ display: inline-flex;
132
+ align-items: center;
133
+ }
134
+
135
+ [dir="ltr"] .ck.ck-button,
136
+ [dir="ltr"] a.ck.ck-button {
137
+ justify-content: left;
138
+ }
139
+
140
+ [dir="rtl"] .ck.ck-button,
141
+ [dir="rtl"] a.ck.ck-button {
142
+ justify-content: right;
143
+ }
144
+
145
+ .ck.ck-button .ck-button__label, a.ck.ck-button .ck-button__label {
146
+ display: none;
147
+ }
148
+
149
+ .ck.ck-button.ck-button_with-text .ck-button__label, a.ck.ck-button.ck-button_with-text .ck-button__label {
150
+ display: inline-block;
151
+ }
152
+
153
+ /* Center the icon horizontally in a button without text. */
154
+
155
+ .ck.ck-button:not(.ck-button_with-text), a.ck.ck-button:not(.ck-button_with-text) {
156
+ justify-content: center;
157
+ }
158
+
159
+ /*
160
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
161
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
162
+ */
163
+
164
+ .ck.ck-button.ck-switchbutton .ck-button__toggle {
165
+ display: block;
166
+ }
167
+
168
+ .ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner {
169
+ display: block;
170
+ }
171
+
172
+ /*
173
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
174
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
175
+ */
176
+
177
+ .ck.ck-collapsible.ck-collapsible_collapsed > .ck-collapsible__children {
178
+ display: none;
179
+ }
180
+
181
+ /*
182
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
183
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
184
+ */
185
+
186
+ .ck.ck-color-grid {
187
+ display: grid;
188
+ }
189
+
190
+ /*
191
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
192
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
193
+ */
194
+
195
+ .color-picker-hex-input {
196
+ width: max-content;
197
+ }
198
+
199
+ .color-picker-hex-input .ck.ck-input {
200
+ min-width: unset;
201
+ }
202
+
203
+ .ck.ck-color-picker__row {
204
+ display: flex;
205
+ flex-direction: row;
206
+ flex-wrap: nowrap;
207
+ justify-content: space-between;
208
+ margin: var(--ck-spacing-large) 0 0;
209
+ width: unset;
210
+ }
211
+
212
+ .ck.ck-color-picker__row .ck.ck-labeled-field-view {
213
+ padding-top: unset;
214
+ }
215
+
216
+ .ck.ck-color-picker__row .ck.ck-input-text {
217
+ width: unset;
218
+ }
219
+
220
+ .ck.ck-color-picker__row .ck-color-picker__hash-view {
221
+ padding-top: var(--ck-spacing-tiny);
222
+ padding-right: var(--ck-spacing-medium);
223
+ }
224
+
225
+ /*
226
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
227
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
228
+ */
229
+
230
+ /*
231
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
232
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
233
+ */
234
+
235
+ /* View fragment with color grids. */
236
+
237
+ .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color,
238
+ .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker {
239
+ display: flex;
240
+ align-items: center;
241
+ }
242
+
243
+ [dir="rtl"] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__remove-color,
244
+ [dir="rtl"] .ck.ck-color-selector .ck-color-grids-fragment .ck-button.ck-color-selector__color-picker {
245
+ justify-content: flex-start;
246
+ }
247
+
248
+ /* View fragment with a color picker. */
249
+
250
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar {
251
+ display: flex;
252
+ flex-direction: row;
253
+ justify-content: space-around;
254
+ }
255
+
256
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-save,
257
+ .ck.ck-color-selector .ck-color-picker-fragment .ck.ck-color-selector_action-bar .ck-button-cancel {
258
+ flex: 1
259
+ }
260
+
261
+ /*
262
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
263
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
264
+ */
265
+
266
+ .ck.ck-dialog .ck.ck-dialog__actions {
267
+ display: flex;
268
+ justify-content: flex-end;
269
+ }
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
+ .ck.ck-dialog-overlay {
277
+ user-select: none;
278
+ overscroll-behavior: none;
279
+
280
+ position: fixed;
281
+ bottom: 0;
282
+ left: 0;
283
+ right: 0;
284
+ top: 0;
285
+ }
286
+
287
+ .ck.ck-dialog-overlay.ck-dialog-overlay__transparent {
288
+ pointer-events: none;
289
+ animation: none;
290
+ background: none;
291
+ }
292
+
293
+ .ck.ck-dialog {
294
+ overscroll-behavior: none;
295
+ width: fit-content;
296
+ position: absolute;
297
+ }
298
+
299
+ .ck.ck-dialog .ck.ck-form__header {
300
+ flex-shrink: 0;
301
+ }
302
+
303
+ .ck.ck-dialog .ck.ck-form__header .ck-form__header__label {
304
+ cursor: grab;
305
+ }
306
+
307
+ .ck.ck-dialog-overlay.ck-dialog-overlay__transparent .ck.ck-dialog {
308
+ pointer-events: all;
309
+ }
310
+
311
+ /*
312
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
313
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
314
+ */
315
+
316
+ :root {
317
+ --ck-dropdown-max-width: 75vw;
318
+ }
319
+
320
+ .ck.ck-dropdown {
321
+ display: inline-block;
322
+ position: relative;
323
+ }
324
+
325
+ .ck.ck-dropdown .ck-dropdown__arrow {
326
+ pointer-events: none;
327
+ z-index: var(--ck-z-default);
328
+ }
329
+
330
+ /* Dropdown button should span horizontally, e.g. in vertical toolbars */
331
+
332
+ .ck.ck-dropdown .ck-button.ck-dropdown__button {
333
+ width: 100%;
334
+ }
335
+
336
+ .ck.ck-dropdown .ck-dropdown__panel {
337
+ display: none;
338
+ z-index: var(--ck-z-panel);
339
+ max-width: var(--ck-dropdown-max-width);
340
+
341
+ position: absolute;
342
+ }
343
+
344
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel-visible {
345
+ display: inline-block;
346
+ }
347
+
348
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,
349
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,
350
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n,
351
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,
352
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme {
353
+ bottom: 100%;
354
+ }
355
+
356
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se,
357
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw,
358
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw,
359
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme,
360
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s {
361
+ /*
362
+ * Using transform: translate3d( 0, 100%, 0 ) causes blurry dropdown on Chrome 67-78+ on non-retina displays.
363
+ * See https://github.com/ckeditor/ckeditor5/issues/1053.
364
+ */
365
+ top: 100%;
366
+ bottom: auto;
367
+ }
368
+
369
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_ne,
370
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_se {
371
+ left: 0px;
372
+ }
373
+
374
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nw,
375
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sw {
376
+ right: 0px;
377
+ }
378
+
379
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_s,
380
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_n {
381
+ /* Positioning panels relative to the center of the button */
382
+ left: 50%;
383
+ transform: translateX(-50%);
384
+ }
385
+
386
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nmw,
387
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_smw {
388
+ /* Positioning panels relative to the middle-west of the button */
389
+ left: 75%;
390
+ transform: translateX(-75%);
391
+ }
392
+
393
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_nme,
394
+ .ck.ck-dropdown .ck-dropdown__panel.ck-dropdown__panel_sme {
395
+ /* Positioning panels relative to the middle-east of the button */
396
+ left: 25%;
397
+ transform: translateX(-25%);
398
+ }
399
+
400
+ /*
401
+ * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.
402
+ * See https://github.com/ckeditor/ckeditor5/issues/7874
403
+ */
404
+ .ck.ck-toolbar .ck-dropdown__panel {
405
+ z-index: calc( var(--ck-z-panel) + 1 );
406
+ }
407
+
408
+ /*
409
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
410
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
411
+ */
412
+
413
+ .ck.ck-splitbutton {
414
+ /* Enable font size inheritance, which allows fluid UI scaling. */
415
+ font-size: inherit;
416
+ }
417
+
418
+ .ck.ck-splitbutton .ck-splitbutton__action:focus {
419
+ z-index: calc(var(--ck-z-default) + 1);
420
+ }
421
+
422
+
423
+ /*
424
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
425
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
426
+ */
427
+
428
+ :root {
429
+ --ck-toolbar-dropdown-max-width: 60vw;
430
+ }
431
+
432
+ .ck.ck-toolbar-dropdown > .ck-dropdown__panel {
433
+ /* https://github.com/ckeditor/ckeditor5/issues/5586 */
434
+ width: max-content;
435
+ max-width: var(--ck-toolbar-dropdown-max-width);
436
+ }
437
+
438
+ .ck.ck-toolbar-dropdown > .ck-dropdown__panel .ck-button:focus {
439
+ z-index: calc(var(--ck-z-default) + 1);
440
+ }
441
+
442
+ /*
443
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
444
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
445
+ */
446
+
447
+ .ck.ck-aria-live-announcer {
448
+ position: absolute;
449
+ left: -10000px;
450
+ top: -10000px;
451
+ }
452
+
453
+ /*
454
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
455
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
456
+ */
457
+
458
+ .ck.ck-form__header {
459
+ display: flex;
460
+ flex-direction: row;
461
+ flex-wrap: nowrap;
462
+ align-items: center;
463
+ justify-content: space-between;
464
+ }
465
+
466
+ .ck.ck-form__header h2.ck-form__header__label {
467
+ flex-grow: 1;
468
+ }
469
+
470
+ /*
471
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
472
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
473
+ */
474
+
475
+ .ck.ck-icon {
476
+ vertical-align: middle;
477
+ }
478
+
479
+ /*
480
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
481
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
482
+ */
483
+
484
+ .ck.ck-label {
485
+ display: block;
486
+ }
487
+
488
+ .ck.ck-voice-label {
489
+ display: none;
490
+ }
491
+
492
+ /*
493
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
494
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
495
+ */
496
+
497
+ .ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper {
498
+ display: flex;
499
+ position: relative;
500
+ }
501
+
502
+ .ck.ck-labeled-field-view .ck.ck-label {
503
+ display: block;
504
+ position: absolute;
505
+ }
506
+
507
+ /*
508
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
509
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
510
+ */
511
+
512
+ /*
513
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
514
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
515
+ */
516
+
517
+ /**
518
+ * Makes element unselectable.
519
+ */
520
+
521
+ .ck.ck-list {
522
+ -moz-user-select: none;
523
+ -webkit-user-select: none;
524
+ -ms-user-select: none;
525
+ user-select: none;
526
+
527
+ display: flex;
528
+ flex-direction: column;
529
+ }
530
+
531
+ .ck.ck-list .ck-list__item,
532
+ .ck.ck-list .ck-list__separator {
533
+ display: block;
534
+ }
535
+
536
+ /* Make sure that whatever child of the list item gets focus, it remains on the
537
+ top. Thanks to that, styles like box-shadow, outline, etc. are not masked by
538
+ adjacent list items. */
539
+
540
+ .ck.ck-list .ck-list__item > *:focus {
541
+ position: relative;
542
+ z-index: var(--ck-z-default);
543
+ }
544
+
545
+ /*
546
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
547
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
548
+ */
549
+
550
+ :root {
551
+ /* Make sure the balloon arrow does not float over its children. */
552
+ --ck-balloon-panel-arrow-z-index: calc(var(--ck-z-default) - 3);
553
+ }
554
+
555
+ .ck.ck-balloon-panel {
556
+ display: none;
557
+ position: absolute;
558
+
559
+ z-index: var(--ck-z-panel);
560
+ }
561
+
562
+ .ck.ck-balloon-panel.ck-balloon-panel_with-arrow::before,
563
+ .ck.ck-balloon-panel.ck-balloon-panel_with-arrow::after {
564
+ content: "";
565
+ position: absolute;
566
+ }
567
+
568
+ .ck.ck-balloon-panel.ck-balloon-panel_with-arrow::before {
569
+ z-index: var(--ck-balloon-panel-arrow-z-index);
570
+ }
571
+
572
+ .ck.ck-balloon-panel.ck-balloon-panel_with-arrow::after {
573
+ z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
574
+ }
575
+
576
+ .ck.ck-balloon-panel[class*="arrow_n"]::before {
577
+ z-index: var(--ck-balloon-panel-arrow-z-index);
578
+ }
579
+
580
+ .ck.ck-balloon-panel[class*="arrow_n"]::after {
581
+ z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
582
+ }
583
+
584
+ .ck.ck-balloon-panel[class*="arrow_s"]::before {
585
+ z-index: var(--ck-balloon-panel-arrow-z-index);
586
+ }
587
+
588
+ .ck.ck-balloon-panel[class*="arrow_s"]::after {
589
+ z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
590
+ }
591
+
592
+ .ck.ck-balloon-panel.ck-balloon-panel_visible {
593
+ display: block;
594
+ }
595
+
596
+ /*
597
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
598
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
599
+ */
600
+
601
+ .ck .ck-balloon-rotator__navigation {
602
+ display: flex;
603
+ align-items: center;
604
+ justify-content: center;
605
+ }
606
+
607
+ /* Buttons inside a toolbar should be centered when rotator bar is wider.
608
+ * See: https://github.com/ckeditor/ckeditor5-ui/issues/495
609
+ */
610
+ .ck .ck-balloon-rotator__content .ck-toolbar {
611
+ justify-content: center;
612
+ }
613
+
614
+ /*
615
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
616
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
617
+ */
618
+
619
+ .ck .ck-fake-panel {
620
+ position: absolute;
621
+
622
+ /* Fake panels should be placed under main balloon content. */
623
+ z-index: calc(var(--ck-z-panel) - 1);
624
+ }
625
+
626
+ .ck .ck-fake-panel div {
627
+ position: absolute;
628
+ }
629
+
630
+ .ck .ck-fake-panel div:nth-child( 1 ) {
631
+ z-index: 2;
632
+ }
633
+
634
+ .ck .ck-fake-panel div:nth-child( 2 ) {
635
+ z-index: 1;
636
+ }
637
+
638
+ /*
639
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
640
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
641
+ */
642
+
643
+ .ck.ck-sticky-panel .ck-sticky-panel__content_sticky {
644
+ z-index: var(--ck-z-panel); /* #315 */
645
+ position: fixed;
646
+ top: 0;
647
+ }
648
+
649
+ .ck.ck-sticky-panel .ck-sticky-panel__content_sticky_bottom-limit {
650
+ top: auto;
651
+ position: absolute;
652
+ }
653
+
654
+ /*
655
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
656
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
657
+ */
658
+
659
+ .ck.ck-autocomplete {
660
+ position: relative;
661
+ }
662
+
663
+ .ck.ck-autocomplete > .ck-search__results {
664
+ position: absolute;
665
+ z-index: var(--ck-z-panel);
666
+ }
667
+
668
+ .ck.ck-autocomplete > .ck-search__results.ck-search__results_n {
669
+ bottom: 100%;
670
+ }
671
+
672
+ .ck.ck-autocomplete > .ck-search__results.ck-search__results_s {
673
+ top: 100%;
674
+ bottom: auto;
675
+ }
676
+
677
+ /*
678
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
679
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
680
+ */
681
+
682
+ /*
683
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
684
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
685
+ */
686
+
687
+ .ck.ck-search > .ck-labeled-field-view > .ck-labeled-field-view__input-wrapper > .ck-icon {
688
+ position: absolute;
689
+ top: 50%;
690
+ transform: translateY(-50%);
691
+ }
692
+
693
+ [dir="ltr"] .ck.ck-search > .ck-labeled-field-view > .ck-labeled-field-view__input-wrapper > .ck-icon {
694
+ left: var(--ck-spacing-medium);
695
+ }
696
+
697
+ [dir="rtl"] .ck.ck-search > .ck-labeled-field-view > .ck-labeled-field-view__input-wrapper > .ck-icon {
698
+ right: var(--ck-spacing-medium);
699
+ }
700
+
701
+ .ck.ck-search > .ck-labeled-field-view .ck-search__reset {
702
+ position: absolute;
703
+ top: 50%;
704
+ transform: translateY(-50%);
705
+ }
706
+
707
+ .ck.ck-search > .ck-search__results > .ck-search__info > span:first-child {
708
+ display: block;
709
+ }
710
+
711
+ /* Hide the filtered view when nothing was found */
712
+
713
+ .ck.ck-search > .ck-search__results > .ck-search__info:not(.ck-hidden) ~ * {
714
+ display: none;
715
+ }
716
+
717
+ /*
718
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
719
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
720
+ */
721
+
722
+ .ck.ck-highlighted-text mark {
723
+ background: var(--ck-color-highlight-background);
724
+ vertical-align: initial;
725
+ font-weight: inherit;
726
+ line-height: inherit;
727
+ font-size: inherit;
728
+ }
729
+
730
+ /*
731
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
732
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
733
+ */
734
+
735
+ .ck.ck-balloon-panel.ck-tooltip {
736
+ /* Keep tooltips transparent for any interactions. */
737
+ pointer-events: none;
738
+
739
+ z-index: calc( var(--ck-z-dialog) + 100 );
740
+ }
741
+
742
+ /*
743
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
744
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
745
+ */
746
+
747
+ :root {
748
+ --ck-toolbar-spinner-size: 18px;
749
+ }
750
+
751
+ .ck.ck-spinner-container {
752
+ display: block;
753
+ position: relative;
754
+ }
755
+
756
+ .ck.ck-spinner {
757
+ position: absolute;
758
+ top: 50%;
759
+ left: 0;
760
+ right: 0;
761
+ margin: 0 auto;
762
+ transform: translateY(-50%);
763
+ z-index: 1;
764
+ }
765
+
766
+ /*
767
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
768
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
769
+ */
770
+
771
+ /*
772
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
773
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
774
+ */
775
+
776
+ /**
777
+ * Makes element unselectable.
778
+ */
779
+
780
+ .ck.ck-toolbar {
781
+ -moz-user-select: none;
782
+ -webkit-user-select: none;
783
+ -ms-user-select: none;
784
+ user-select: none;
785
+
786
+ display: flex;
787
+ flex-flow: row nowrap;
788
+ align-items: center;
789
+ }
790
+
791
+ .ck.ck-toolbar > .ck-toolbar__items {
792
+ display: flex;
793
+ flex-flow: row wrap;
794
+ align-items: center;
795
+ flex-grow: 1;
796
+
797
+ }
798
+
799
+ .ck.ck-toolbar .ck.ck-toolbar__separator {
800
+ display: inline-block;
801
+
802
+ /*
803
+ * A leading or trailing separator makes no sense (separates from nothing on one side).
804
+ * For instance, it can happen when toolbar items (also separators) are getting grouped one by one and
805
+ * moved to another toolbar in the dropdown.
806
+ */
807
+ }
808
+
809
+ .ck.ck-toolbar .ck.ck-toolbar__separator:first-child,
810
+ .ck.ck-toolbar .ck.ck-toolbar__separator:last-child {
811
+ display: none;
812
+ }
813
+
814
+ .ck.ck-toolbar .ck-toolbar__line-break {
815
+ flex-basis: 100%;
816
+ }
817
+
818
+ .ck.ck-toolbar.ck-toolbar_grouping > .ck-toolbar__items {
819
+ flex-wrap: nowrap;
820
+ }
821
+
822
+ .ck.ck-toolbar.ck-toolbar_vertical > .ck-toolbar__items {
823
+ flex-direction: column;
824
+ }
825
+
826
+ .ck.ck-toolbar.ck-toolbar_floating > .ck-toolbar__items {
827
+ flex-wrap: nowrap;
828
+ }
829
+
830
+ .ck.ck-toolbar > .ck.ck-toolbar__grouped-dropdown > .ck-dropdown__button .ck-dropdown__arrow {
831
+ display: none;
832
+ }
833
+
834
+ /*
835
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
836
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
837
+ */
838
+
839
+ .ck.ck-block-toolbar-button {
840
+ position: absolute;
841
+ z-index: var(--ck-z-default);
842
+ }
843
+
844
+ /*# sourceMappingURL=index.css.map */