@ckeditor/ckeditor5-theme-lark 0.0.0-nightly-20260129.0 → 0.0.0-nightly-next-20260129.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.
Files changed (116) hide show
  1. package/dist/index-editor.css +80 -216
  2. package/dist/index.css +80 -252
  3. package/dist/index.css.map +1 -1
  4. package/package.json +18 -16
  5. package/theme/ckeditor5-bookmark/bookmark.css +0 -68
  6. package/theme/ckeditor5-bookmark/bookmarkform.css +0 -20
  7. package/theme/ckeditor5-bookmark/bookmarktoolbar.css +0 -27
  8. package/theme/ckeditor5-clipboard/clipboard.css +0 -89
  9. package/theme/ckeditor5-code-block/codeblock.css +0 -28
  10. package/theme/ckeditor5-editor-classic/classiceditor.css +0 -48
  11. package/theme/ckeditor5-engine/placeholder.css +0 -39
  12. package/theme/ckeditor5-find-and-replace/findandreplaceform.css +0 -194
  13. package/theme/ckeditor5-heading/heading.css +0 -15
  14. package/theme/ckeditor5-horizontal-line/horizontalline.css +0 -10
  15. package/theme/ckeditor5-html-embed/htmlembed.css +0 -156
  16. package/theme/ckeditor5-image/imagecustomresizeform.css +0 -22
  17. package/theme/ckeditor5-image/imageinsert.css +0 -66
  18. package/theme/ckeditor5-image/imageupload.css +0 -4
  19. package/theme/ckeditor5-image/imageuploadicon.css +0 -108
  20. package/theme/ckeditor5-image/imageuploadloader.css +0 -50
  21. package/theme/ckeditor5-image/imageuploadprogress.css +0 -33
  22. package/theme/ckeditor5-image/textalternativeform.css +0 -22
  23. package/theme/ckeditor5-link/link.css +0 -30
  24. package/theme/ckeditor5-link/linkform.css +0 -58
  25. package/theme/ckeditor5-link/linkimage.css +0 -43
  26. package/theme/ckeditor5-link/linkproperties.css +0 -20
  27. package/theme/ckeditor5-link/linkprovideritems.css +0 -50
  28. package/theme/ckeditor5-link/linktoolbar.css +0 -66
  29. package/theme/ckeditor5-list/listproperties.css +0 -62
  30. package/theme/ckeditor5-list/liststyles.css +0 -40
  31. package/theme/ckeditor5-media-embed/mediaembedediting.css +0 -109
  32. package/theme/ckeditor5-mention/mention.css +0 -14
  33. package/theme/ckeditor5-restricted-editing/restrictedediting.css +0 -69
  34. package/theme/ckeditor5-special-characters/charactergrid.css +0 -51
  35. package/theme/ckeditor5-special-characters/characterinfo.css +0 -26
  36. package/theme/ckeditor5-special-characters/specialcharacters.css +0 -32
  37. package/theme/ckeditor5-style/style.css +0 -8
  38. package/theme/ckeditor5-style/stylegrid.css +0 -98
  39. package/theme/ckeditor5-style/stylegroup.css +0 -16
  40. package/theme/ckeditor5-style/stylepanel.css +0 -14
  41. package/theme/ckeditor5-table/colorinput.css +0 -103
  42. package/theme/ckeditor5-table/formrow-experimental.css +0 -24
  43. package/theme/ckeditor5-table/formrow.css +0 -28
  44. package/theme/ckeditor5-table/inserttable.css +0 -46
  45. package/theme/ckeditor5-table/tablecellproperties-experimental.css +0 -131
  46. package/theme/ckeditor5-table/tablecellproperties.css +0 -25
  47. package/theme/ckeditor5-table/tableediting.css +0 -73
  48. package/theme/ckeditor5-table/tableform-experimental.css +0 -104
  49. package/theme/ckeditor5-table/tableform.css +0 -90
  50. package/theme/ckeditor5-table/tablelayout.css +0 -157
  51. package/theme/ckeditor5-table/tableproperties-experimental.css +0 -45
  52. package/theme/ckeditor5-table/tableproperties.css +0 -26
  53. package/theme/ckeditor5-table/tableselection.css +0 -46
  54. package/theme/ckeditor5-ui/components/autocomplete/autocomplete.css +0 -36
  55. package/theme/ckeditor5-ui/components/button/button.css +0 -167
  56. package/theme/ckeditor5-ui/components/button/listitembutton.css +0 -42
  57. package/theme/ckeditor5-ui/components/button/switchbutton.css +0 -134
  58. package/theme/ckeditor5-ui/components/collapsible/collapsible.css +0 -42
  59. package/theme/ckeditor5-ui/components/colorgrid/colorgrid.css +0 -94
  60. package/theme/ckeditor5-ui/components/colorselector/colorselector.css +0 -70
  61. package/theme/ckeditor5-ui/components/dialog/dialog.css +0 -54
  62. package/theme/ckeditor5-ui/components/dialog/dialogactions.css +0 -14
  63. package/theme/ckeditor5-ui/components/dropdown/dropdown.css +0 -126
  64. package/theme/ckeditor5-ui/components/dropdown/listdropdown.css +0 -33
  65. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenubutton.css +0 -89
  66. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenulistitem.css +0 -12
  67. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenulistitembutton.css +0 -36
  68. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenupanel.css +0 -52
  69. package/theme/ckeditor5-ui/components/dropdown/splitbutton.css +0 -112
  70. package/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css +0 -8
  71. package/theme/ckeditor5-ui/components/editorui/accessibilityhelp.css +0 -103
  72. package/theme/ckeditor5-ui/components/editorui/editorui.css +0 -69
  73. package/theme/ckeditor5-ui/components/form/form.css +0 -4
  74. package/theme/ckeditor5-ui/components/formheader/formheader.css +0 -47
  75. package/theme/ckeditor5-ui/components/icon/icon.css +0 -39
  76. package/theme/ckeditor5-ui/components/input/input.css +0 -81
  77. package/theme/ckeditor5-ui/components/label/label.css +0 -8
  78. package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +0 -131
  79. package/theme/ckeditor5-ui/components/labeledinput/labeledinput.css +0 -17
  80. package/theme/ckeditor5-ui/components/list/list.css +0 -114
  81. package/theme/ckeditor5-ui/components/menubar/menubar.css +0 -15
  82. package/theme/ckeditor5-ui/components/menubar/menubarmenu.css +0 -13
  83. package/theme/ckeditor5-ui/components/menubar/menubarmenubutton.css +0 -104
  84. package/theme/ckeditor5-ui/components/menubar/menubarmenulistitem.css +0 -12
  85. package/theme/ckeditor5-ui/components/menubar/menubarmenulistitembutton.css +0 -36
  86. package/theme/ckeditor5-ui/components/menubar/menubarmenupanel.css +0 -70
  87. package/theme/ckeditor5-ui/components/panel/balloonpanel.css +0 -207
  88. package/theme/ckeditor5-ui/components/panel/balloonrotator.css +0 -33
  89. package/theme/ckeditor5-ui/components/panel/fakepanel.css +0 -46
  90. package/theme/ckeditor5-ui/components/panel/stickypanel.css +0 -16
  91. package/theme/ckeditor5-ui/components/responsive-form/responsiveform.css +0 -82
  92. package/theme/ckeditor5-ui/components/search/search.css +0 -106
  93. package/theme/ckeditor5-ui/components/spinner/spinner.css +0 -32
  94. package/theme/ckeditor5-ui/components/textarea/textarea.css +0 -12
  95. package/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css +0 -14
  96. package/theme/ckeditor5-ui/components/toolbar/toolbar.css +0 -203
  97. package/theme/ckeditor5-ui/components/tooltip/tooltip.css +0 -38
  98. package/theme/ckeditor5-ui/globals/_colors.css +0 -123
  99. package/theme/ckeditor5-ui/globals/_disabled.css +0 -11
  100. package/theme/ckeditor5-ui/globals/_focus.css +0 -31
  101. package/theme/ckeditor5-ui/globals/_fonts.css +0 -16
  102. package/theme/ckeditor5-ui/globals/_reset.css +0 -97
  103. package/theme/ckeditor5-ui/globals/_rounded.css +0 -11
  104. package/theme/ckeditor5-ui/globals/_shadow.css +0 -21
  105. package/theme/ckeditor5-ui/globals/_spacing.css +0 -16
  106. package/theme/ckeditor5-ui/globals/globals.css +0 -13
  107. package/theme/ckeditor5-ui/mixins/_button.css +0 -29
  108. package/theme/ckeditor5-widget/widget.css +0 -208
  109. package/theme/ckeditor5-widget/widgetresize.css +0 -44
  110. package/theme/ckeditor5-widget/widgettypearound.css +0 -318
  111. package/theme/index.css +0 -109
  112. package/theme/mixins/_disabled.css +0 -11
  113. package/theme/mixins/_focus.css +0 -13
  114. package/theme/mixins/_rounded.css +0 -19
  115. package/theme/mixins/_shadow.css +0 -18
  116. package/theme/theme.css +0 -4
@@ -1,8 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- .ck.ck-toolbar-dropdown .ck-toolbar {
7
- border: 0;
8
- }
@@ -1,103 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- @import "../../../mixins/_focus.css";
7
- @import "../../../mixins/_shadow.css";
8
-
9
- :root {
10
- --ck-accessibility-help-dialog-max-width: 600px;
11
- --ck-accessibility-help-dialog-max-height: 400px;
12
- --ck-accessibility-help-dialog-border-color: hsl(220, 6%, 81%);
13
- --ck-accessibility-help-dialog-code-background-color: hsl(0deg 0% 92.94%);
14
- --ck-accessibility-help-dialog-kbd-shadow-color: hsl(0deg 0% 61%);
15
- }
16
-
17
- .ck.ck-accessibility-help-dialog .ck-accessibility-help-dialog__content {
18
- padding: var(--ck-spacing-large);
19
- max-width: var(--ck-accessibility-help-dialog-max-width);
20
- max-height: var(--ck-accessibility-help-dialog-max-height);
21
- overflow: auto;
22
- user-select: text;
23
-
24
- border: 1px solid transparent;
25
-
26
- &:focus {
27
- @mixin ck-focus-ring;
28
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
29
- }
30
-
31
- * {
32
- white-space: normal;
33
- }
34
-
35
- /* Hide the main label of the content container. */
36
- & .ck-label {
37
- display: none;
38
- }
39
-
40
- & h3 {
41
- font-weight: bold;
42
- font-size: 1.2em;
43
- }
44
-
45
- & h4 {
46
- font-weight: bold;
47
- font-size: 1em;
48
- }
49
-
50
- & p,
51
- & h3,
52
- & h4,
53
- & table {
54
- margin: 1em 0;
55
- }
56
-
57
- & dl {
58
- display: grid;
59
- grid-template-columns: 2fr 1fr;
60
- border-top: 1px solid var(--ck-accessibility-help-dialog-border-color);
61
- border-bottom: none;
62
-
63
- & dt, & dd {
64
- border-bottom: 1px solid var(--ck-accessibility-help-dialog-border-color);
65
- padding: .4em 0;
66
- }
67
-
68
- & dt {
69
- grid-column-start: 1;
70
- }
71
-
72
- & dd {
73
- grid-column-start: 2;
74
- text-align: right;
75
- }
76
- }
77
-
78
- & kbd, & code {
79
- display: inline-block;
80
- background: var(--ck-accessibility-help-dialog-code-background-color);
81
- padding: .4em;
82
- vertical-align: middle;
83
- line-height: 1;
84
- border-radius: 2px;
85
- text-align: center;
86
- font-size: .9em;
87
- }
88
-
89
- & code {
90
- font-family: monospace;
91
- }
92
-
93
- & kbd {
94
- min-width: 1.8em;
95
- box-shadow: 0px 1px 1px var(--ck-accessibility-help-dialog-kbd-shadow-color);
96
- margin: 0 1px;
97
-
98
- & + kbd {
99
- margin-left: 2px;
100
- }
101
- }
102
- }
103
-
@@ -1,69 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- @import "../../../mixins/_rounded.css";
7
- @import "../../../mixins/_disabled.css";
8
- @import "../../../mixins/_shadow.css";
9
- @import "../../../mixins/_focus.css";
10
- @import "../../mixins/_button.css";
11
-
12
- :root {
13
- --ck-color-editable-blur-selection: hsl(0, 0%, 85%);
14
- }
15
-
16
- .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
17
- @mixin ck-rounded-corners;
18
-
19
- &.ck-focused {
20
- @mixin ck-focus-ring;
21
- @mixin ck-box-shadow var(--ck-inner-shadow);
22
- }
23
- }
24
-
25
- .ck.ck-editor__editable_inline {
26
- overflow: auto;
27
- padding: 0 var(--ck-spacing-standard);
28
- border: 1px solid transparent;
29
-
30
- &[dir="ltr"] {
31
- text-align: left;
32
- }
33
-
34
- &[dir="rtl"] {
35
- text-align: right;
36
- }
37
-
38
- /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */
39
- & > *:first-child {
40
- margin-top: var(--ck-spacing-large);
41
- }
42
-
43
- /* https://github.com/ckeditor/ckeditor5/issues/847 */
44
- & > *:last-child {
45
- /*
46
- * This value should match with the default margins of the block elements (like .media or .image)
47
- * to avoid a content jumping when the fake selection container shows up (See https://github.com/ckeditor/ckeditor5/issues/9825).
48
- */
49
- margin-bottom: var(--ck-spacing-large);
50
- }
51
-
52
- /* https://github.com/ckeditor/ckeditor5/issues/6517 */
53
- &.ck-blurred ::selection {
54
- background: var(--ck-color-editable-blur-selection);
55
- }
56
- }
57
-
58
- /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */
59
- .ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {
60
- &::after {
61
- border-bottom-color: var(--ck-color-panel-background);
62
- }
63
- }
64
-
65
- .ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {
66
- &::after {
67
- border-top-color: var(--ck-color-panel-background);
68
- }
69
- }
@@ -1,4 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
@@ -1,47 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- :root {
7
- --ck-form-header-height: 3.384em;
8
- }
9
-
10
- .ck.ck-form__header {
11
- padding: var(--ck-spacing-small) var(--ck-spacing-large);
12
- height: var(--ck-form-header-height);
13
- line-height: var(--ck-form-header-height);
14
- border-bottom: 1px solid var(--ck-color-base-border);
15
- /* To prevent shrinking when placed in flexbox. */
16
- flex-shrink: 0;
17
-
18
- & > .ck-icon {
19
- margin-inline-end: var(--ck-spacing-medium);
20
- flex-shrink: 0;
21
- }
22
-
23
- & .ck-form__header__label {
24
- /* Defaults to 15px. */
25
- --ck-font-size-base: 1.153em;
26
-
27
- font-weight: bold;
28
- }
29
-
30
- /* Padding when back button is hidden */
31
- &:has(.ck-button-back.ck-hidden) {
32
- padding-inline: var(--ck-spacing-large) var(--ck-spacing-large);
33
- }
34
-
35
- /* Padding when back button is visible */
36
- &:has(.ck-button-back:not(.ck-hidden)) {
37
- padding-inline: var(--ck-spacing-small) var(--ck-spacing-small);
38
- }
39
-
40
- & > .ck-button-back {
41
- margin-inline-end: var(--ck-spacing-small);
42
- }
43
-
44
- & > .ck.ck-button {
45
- flex-shrink: 0;
46
- }
47
- }
@@ -1,39 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- :root {
7
- --ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
8
- --ck-icon-font-size: .8333350694em;
9
- }
10
-
11
- .ck.ck-icon {
12
- width: var(--ck-icon-size);
13
- height: var(--ck-icon-size);
14
-
15
- /* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */
16
- font-size: var(--ck-icon-font-size);
17
-
18
- /* Inherit cursor style (#5). */
19
- cursor: inherit;
20
-
21
- & * {
22
- /* Inherit cursor style (#5). */
23
- cursor: inherit;
24
- }
25
-
26
- /* Allows dynamic coloring of an icon by inheriting its color from the parent. */
27
- &.ck-icon_inherit-color {
28
- color: inherit;
29
-
30
- & * {
31
- color: inherit;
32
-
33
- &:not([fill]) {
34
- /* Needed by FF. */
35
- fill: currentColor;
36
- }
37
- }
38
- }
39
- }
@@ -1,81 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- @import "../../../mixins/_rounded.css";
7
- @import "../../../mixins/_focus.css";
8
- @import "../../../mixins/_shadow.css";
9
-
10
- :root {
11
- --ck-input-width: 18em;
12
-
13
- /* Backward compatibility. */
14
- --ck-input-text-width: var(--ck-input-width);
15
- }
16
-
17
- .ck.ck-input {
18
- @mixin ck-rounded-corners;
19
-
20
- background: var(--ck-color-input-background);
21
- border: 1px solid var(--ck-color-input-border);
22
- padding: var(--ck-spacing-extra-tiny) var(--ck-spacing-medium);
23
- min-width: var(--ck-input-width);
24
-
25
- /* This is important to stay of the same height as surrounding buttons */
26
- min-height: var(--ck-ui-component-min-height);
27
-
28
- /* Apply some smooth transition to the box-shadow and border. */
29
- transition: box-shadow .1s ease-in-out, border .1s ease-in-out;
30
-
31
- @media (prefers-reduced-motion: reduce) {
32
- transition: none;
33
- }
34
-
35
- &:focus {
36
- @mixin ck-focus-ring;
37
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
38
- }
39
-
40
- &[readonly] {
41
- border: 1px solid var(--ck-color-input-disabled-border);
42
- background: var(--ck-color-input-disabled-background);
43
- color: var(--ck-color-input-disabled-text);
44
-
45
- &:focus {
46
- /* The read-only input should have a slightly less visible shadow when focused. */
47
- @mixin ck-box-shadow var(--ck-focus-disabled-outer-shadow);
48
- }
49
- }
50
-
51
- &.ck-error {
52
- border-color: var(--ck-color-input-error-border);
53
- animation: ck-input-shake .3s ease both;
54
-
55
- @media (prefers-reduced-motion: reduce) {
56
- animation: none;
57
- }
58
-
59
- &:focus {
60
- @mixin ck-box-shadow var(--ck-focus-error-outer-shadow);
61
- }
62
- }
63
- }
64
-
65
- @keyframes ck-input-shake {
66
- 20% {
67
- transform: translateX(-2px);
68
- }
69
-
70
- 40% {
71
- transform: translateX(2px);
72
- }
73
-
74
- 60% {
75
- transform: translateX(-1px);
76
- }
77
-
78
- 80% {
79
- transform: translateX(1px);
80
- }
81
- }
@@ -1,8 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- .ck.ck-label {
7
- font-weight: bold;
8
- }
@@ -1,131 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
7
- @import "../../../mixins/_rounded.css";
8
-
9
- :root {
10
- --ck-labeled-field-view-transition: .1s cubic-bezier(0, 0, 0.24, 0.95);
11
- --ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-spacing-medium);
12
- --ck-labeled-field-label-default-position-x: var(--ck-spacing-medium);
13
- --ck-labeled-field-label-default-position-y: calc(0.6 * var(--ck-font-size-base));
14
- --ck-color-labeled-field-label-background: var(--ck-color-base-background);
15
- }
16
-
17
- .ck.ck-labeled-field-view {
18
- @mixin ck-rounded-corners;
19
-
20
- & > .ck.ck-labeled-field-view__input-wrapper {
21
- width: 100%;
22
-
23
- & > .ck.ck-label {
24
- top: 0px;
25
-
26
- @mixin ck-dir ltr {
27
- left: 0px;
28
- transform-origin: 0 0;
29
- /* By default, display the label scaled down above the field. */
30
- transform: translate(var(--ck-spacing-medium), -6px) scale(.75);
31
- }
32
-
33
- @mixin ck-dir rtl {
34
- right: 0px;
35
- transform-origin: 100% 0;
36
- transform: translate(calc(-1 * var(--ck-spacing-medium)), -6px) scale(.75);
37
- }
38
-
39
- pointer-events: none;
40
-
41
- background: var(--ck-color-labeled-field-label-background);
42
- padding: 0 calc(.5 * var(--ck-font-size-tiny));
43
- line-height: initial;
44
- font-weight: normal;
45
-
46
- /* Prevent overflow when the label is longer than the input */
47
- text-overflow: ellipsis;
48
- overflow: hidden;
49
-
50
- max-width: 100%;
51
-
52
- transition:
53
- transform var(--ck-labeled-field-view-transition),
54
- padding var(--ck-labeled-field-view-transition),
55
- background var(--ck-labeled-field-view-transition);
56
-
57
- @media (prefers-reduced-motion: reduce) {
58
- transition: none;
59
- }
60
- }
61
- }
62
-
63
- &.ck-error {
64
- & > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
65
- color: var(--ck-color-base-error);
66
- }
67
-
68
- & .ck-input:not([readonly]) + .ck.ck-label {
69
- color: var(--ck-color-base-error);
70
- }
71
- }
72
-
73
- & .ck-labeled-field-view__status {
74
- font-size: var(--ck-font-size-small);
75
- margin-top: var(--ck-spacing-small);
76
-
77
- /* Let the info wrap to the next line to avoid stretching the layout horizontally.
78
- The status could be very long. */
79
- white-space: normal;
80
-
81
- &.ck-labeled-field-view__status_error {
82
- color: var(--ck-color-base-error);
83
- }
84
- }
85
-
86
- /* Disabled fields and fields that have no focus should fade out. */
87
- &.ck-disabled > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
88
- &.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label {
89
- color: var(--ck-color-input-disabled-text);
90
- }
91
-
92
- /* Fields that are disabled or not focused and without a placeholder should have full-sized labels. */
93
- /* stylelint-disable-next-line no-descending-specificity */
94
- &.ck-disabled.ck-labeled-field-view_empty:not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck.ck-label,
95
- &.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 {
96
- @mixin ck-dir ltr {
97
- transform: translate(var(--ck-labeled-field-label-default-position-x), var(--ck-labeled-field-label-default-position-y)) scale(1);
98
- }
99
-
100
- @mixin ck-dir rtl {
101
- transform: translate(calc(-1 * var(--ck-labeled-field-label-default-position-x)), var(--ck-labeled-field-label-default-position-y)) scale(1);
102
- }
103
-
104
- /* Compensate for the default translate position. */
105
- max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width));
106
-
107
- background: transparent;
108
- padding: 0;
109
- }
110
-
111
- /*------ DropdownView integration ----------------------------------------------------------------------------------- */
112
-
113
- /* Make sure dropdown' background color in any of dropdown's state does not collide with labeled field. */
114
- & > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {
115
- background: transparent;
116
- }
117
-
118
- /* When the dropdown is "empty", the labeled field label replaces its label. */
119
- &.ck-labeled-field-view_empty > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck-button > .ck-button__label {
120
- opacity: 0;
121
- }
122
-
123
- /* Make sure the label of the empty, unfocused input does not cover the dropdown arrow. */
124
- &.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 {
125
- max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));
126
- }
127
-
128
- &.ck-labeled-field-view_full-width {
129
- flex-grow: 1;
130
- }
131
- }
@@ -1,17 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- .ck.ck-labeled-input .ck-labeled-input__status {
7
- font-size: var(--ck-font-size-small);
8
- margin-top: var(--ck-spacing-small);
9
-
10
- /* Let the info wrap to the next line to avoid stretching the layout horizontally.
11
- The status could be very long. */
12
- white-space: normal;
13
- }
14
-
15
- .ck.ck-labeled-input .ck-labeled-input__status_error {
16
- color: var(--ck-color-base-error);
17
- }
@@ -1,114 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- @import "../../../mixins/_disabled.css";
7
- @import "../../../mixins/_rounded.css";
8
- @import "../../../mixins/_shadow.css";
9
- @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
10
-
11
- .ck.ck-list {
12
- @mixin ck-rounded-corners;
13
-
14
- list-style-type: none;
15
- background: var(--ck-color-list-background);
16
-
17
- /* A spacing at the beginning and end of the list */
18
- padding: var(--ck-spacing-small) 0;
19
- }
20
-
21
- .ck.ck-list__item {
22
- cursor: default;
23
-
24
- /* Almost as wide as menu bar items. */
25
- min-width: 15em;
26
-
27
- & > .ck-button:not(.ck-list-item-button) {
28
- padding: var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
29
- min-height: unset;
30
- width: 100%;
31
- border-radius: 0;
32
-
33
- @mixin ck-dir ltr {
34
- text-align: left;
35
- }
36
-
37
- @mixin ck-dir rtl {
38
- text-align: right;
39
- }
40
-
41
- & .ck-button__label {
42
- /* https://github.com/ckeditor/ckeditor5-heading/issues/63 */
43
- line-height: calc(var(--ck-line-height-base) * var(--ck-font-size-base));
44
- }
45
-
46
- &:active {
47
- box-shadow: none;
48
- }
49
-
50
- &.ck-on {
51
- background: var(--ck-color-list-button-on-background);
52
- color: var(--ck-color-list-button-on-text);
53
-
54
- &:active {
55
- box-shadow: none;
56
- }
57
-
58
- &:hover:not(.ck-disabled) {
59
- background: var(--ck-color-list-button-on-background-focus);
60
- }
61
-
62
- &:focus:not(.ck-disabled) {
63
- border-color: var(--ck-color-base-background);
64
- }
65
- }
66
-
67
- &:hover:not(.ck-disabled) {
68
- background: var(--ck-color-list-button-hover-background);
69
- }
70
- }
71
-
72
- /* It's unnecessary to change the background/text of a switch toggle; it has different ways
73
- of conveying its state (like the switcher) */
74
- & > .ck-button.ck-switchbutton {
75
- &.ck-on {
76
- background: var(--ck-color-list-background);
77
- color: inherit;
78
-
79
- &:hover:not(.ck-disabled) {
80
- background: var(--ck-color-list-button-hover-background);
81
- color: inherit;
82
- }
83
- }
84
- }
85
- }
86
-
87
- .ck-list .ck-list__group {
88
- padding-top: var(--ck-spacing-medium);
89
-
90
- /* Lists come with an inner vertical padding. Don't duplicate it. */
91
- &:first-child {
92
- padding-top: 0;
93
- }
94
-
95
- /* The group should have a border when it's not the first item. */
96
- *:not(.ck-hidden) ~ & {
97
- border-top: 1px solid var(--ck-color-base-border);
98
- }
99
-
100
- & > .ck-label {
101
- font-size: 11px;
102
- font-weight: bold;
103
- padding: var(--ck-spacing-medium) var(--ck-spacing-large) 0;
104
- }
105
- }
106
-
107
- .ck.ck-list__separator {
108
- height: 1px;
109
- width: 100%;
110
- background: var(--ck-color-base-border);
111
-
112
- /* Give the separator some air */
113
- margin: var(--ck-spacing-small) 0;
114
- }
@@ -1,15 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- .ck.ck-menu-bar {
7
- display: flex;
8
- flex-wrap: wrap;
9
- justify-content: flex-start;
10
- background: var(--ck-color-base-background);
11
- padding: var(--ck-spacing-small);
12
- gap: var(--ck-spacing-small);
13
- border: 1px solid var(--ck-color-toolbar-border);
14
- width: 100%;
15
- }
@@ -1,13 +0,0 @@
1
- /*
2
- * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
3
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
- */
5
-
6
- .ck.ck-menu-bar__menu {
7
- /* Enable font size inheritance, which allows fluid UI scaling. */
8
- font-size: inherit;
9
-
10
- &.ck-menu-bar__menu_top-level {
11
- max-width: 100%;
12
- }
13
- }