@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,94 +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 "@ckeditor/ckeditor5-ui/theme/mixins/_mediacolors.css";
8
-
9
- :root {
10
- --ck-color-grid-tile-size: 24px;
11
-
12
- /* Not using global colors here because these may change but some colors in a pallette
13
- * require special treatment. For instance, this ensures no matter what the UI text color is,
14
- * the check icon will look good on the black color tile. */
15
- --ck-color-color-grid-check-icon: hsl(212, 81%, 46%);
16
- }
17
-
18
- .ck.ck-color-grid {
19
- grid-gap: 5px;
20
- padding: 8px;
21
- }
22
-
23
- .ck.ck-color-grid__tile {
24
- transition: .2s ease box-shadow;
25
-
26
- @mixin ck-media-default-colors {
27
- width: var(--ck-color-grid-tile-size);
28
- height: var(--ck-color-grid-tile-size);
29
- min-width: var(--ck-color-grid-tile-size);
30
- min-height: var(--ck-color-grid-tile-size);
31
- padding: 0;
32
- border: 0;
33
-
34
- &.ck-on,
35
- &:focus:not( .ck-disabled ),
36
- &:hover:not( .ck-disabled ) {
37
- /* Disable the default .ck-button's border ring. */
38
- border: 0;
39
- }
40
-
41
- &.ck-color-selector__color-tile_bordered {
42
- box-shadow: 0 0 0 1px var(--ck-color-base-border);
43
- }
44
-
45
- &.ck-on {
46
- box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-base-text);
47
- }
48
-
49
- &:focus:not( .ck-disabled ),
50
- &:hover:not( .ck-disabled ) {
51
- box-shadow: inset 0 0 0 1px var(--ck-color-base-background), 0 0 0 2px var(--ck-color-focus-border);
52
- }
53
- }
54
-
55
- /*
56
- * In high contrast mode, the colors are replaced with text labels.
57
- * See https://github.com/ckeditor/ckeditor5/issues/14907.
58
- */
59
- @mixin ck-media-forced-colors {
60
- width: unset;
61
- height: unset;
62
- min-width: unset;
63
- min-height: unset;
64
- padding: 0 var(--ck-spacing-small);
65
-
66
- & .ck-button__label {
67
- display: inline-block;
68
- }
69
- }
70
-
71
- @media (prefers-reduced-motion: reduce) {
72
- transition: none;
73
- }
74
-
75
- &.ck-disabled {
76
- cursor: unset;
77
- transition: unset;
78
- }
79
-
80
- & .ck.ck-icon {
81
- display: none;
82
- color: var(--ck-color-color-grid-check-icon);
83
- }
84
-
85
- &.ck-on {
86
- & .ck.ck-icon {
87
- display: block;
88
- }
89
- }
90
- }
91
-
92
- .ck.ck-color-grid__label {
93
- padding: 0 var(--ck-spacing-standard);
94
- }
@@ -1,70 +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
-
8
- .ck.ck-color-selector {
9
- /* View fragment with color grids. */
10
- & .ck-color-grids-fragment {
11
- & .ck-button.ck-color-selector__remove-color,
12
- & .ck-button.ck-color-selector__color-picker {
13
- width: 100%;
14
- }
15
-
16
- & .ck-button.ck-color-selector__color-picker {
17
- padding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);
18
- border-bottom-left-radius: 0;
19
- border-bottom-right-radius: 0;
20
-
21
- &:not(:focus) {
22
- border-top: 1px solid var(--ck-color-base-border);
23
- }
24
-
25
- & .ck.ck-icon {
26
- @mixin ck-dir ltr {
27
- margin-right: var(--ck-spacing-standard);
28
- }
29
-
30
- @mixin ck-dir rtl {
31
- margin-left: var(--ck-spacing-standard);
32
- }
33
- }
34
- }
35
-
36
- & label.ck.ck-color-grid__label {
37
- font-weight: unset;
38
- }
39
- }
40
-
41
- /* View fragment with a color picker. */
42
- & .ck-color-picker-fragment {
43
- & .ck.ck-color-picker {
44
- padding: 8px;
45
-
46
- & .hex-color-picker {
47
- height: 100px;
48
- min-width: 180px;
49
-
50
- &::part(saturation) {
51
- border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
52
- }
53
-
54
- &::part(hue) {
55
- border-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);
56
- }
57
-
58
- &::part(saturation-pointer),
59
- &::part(hue-pointer) {
60
- width: 15px;
61
- height: 15px;
62
- }
63
- }
64
- }
65
-
66
- & .ck.ck-color-selector_action-bar {
67
- padding: 0 8px 8px;
68
- }
69
- }
70
- }
@@ -1,54 +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/_shadow.css";
8
- @import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
9
-
10
- :root {
11
- --ck-dialog-overlay-background-color: hsla( 0, 0%, 0%, .5 );
12
- --ck-dialog-drop-shadow: 0px 0px 6px 2px hsl(0deg 0% 0% / 15%);
13
- --ck-dialog-max-width: 100vw;
14
- --ck-dialog-max-height: 90vh;
15
- --ck-color-dialog-background: var(--ck-color-base-background);
16
- --ck-color-dialog-form-header-border: var(--ck-color-base-border);
17
- }
18
-
19
- .ck.ck-dialog-overlay {
20
- animation: ck-dialog-fade-in .3s;
21
- background: var(--ck-dialog-overlay-background-color);
22
- z-index: var(--ck-z-dialog);
23
- }
24
-
25
- .ck.ck-dialog {
26
- @mixin ck-rounded-corners;
27
- @mixin ck-drop-shadow;
28
-
29
- --ck-drop-shadow: var(--ck-dialog-drop-shadow);
30
-
31
- background: var(--ck-color-dialog-background);
32
- max-height: var(--ck-dialog-max-height);
33
- max-width: var(--ck-dialog-max-width);
34
- border: 1px solid var(--ck-color-base-border);
35
- overscroll-behavior: contain;
36
-
37
- & .ck.ck-form__header {
38
- border-bottom: 1px solid var(--ck-color-dialog-form-header-border);
39
- }
40
- }
41
-
42
- .ck-dialog-scroll-locked {
43
- overflow: hidden;
44
- }
45
-
46
- @keyframes ck-dialog-fade-in {
47
- 0% {
48
- background: hsla( 0, 0%, 0%, 0 );
49
- }
50
-
51
- 100% {
52
- background: var(--ck-dialog-overlay-background-color);
53
- }
54
- }
@@ -1,14 +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-dialog {
7
- & .ck.ck-dialog__actions {
8
- padding: var(--ck-spacing-large);
9
-
10
- & > * + * {
11
- margin-left: var(--ck-spacing-large);
12
- }
13
- }
14
- }
@@ -1,126 +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 "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
10
-
11
- :root {
12
- --ck-dropdown-arrow-size: calc(0.5 * var(--ck-icon-size));
13
- }
14
-
15
- .ck.ck-dropdown {
16
- /* Enable font size inheritance, which allows fluid UI scaling. */
17
- font-size: inherit;
18
-
19
- & .ck-dropdown__arrow {
20
- width: var(--ck-dropdown-arrow-size);
21
- }
22
-
23
- @mixin ck-dir ltr {
24
- & .ck-dropdown__arrow {
25
- right: var(--ck-spacing-standard);
26
-
27
- /* A space to accommodate the triangle. */
28
- margin-left: var(--ck-spacing-standard);
29
- }
30
- }
31
-
32
- @mixin ck-dir rtl {
33
- & .ck-dropdown__arrow {
34
- left: var(--ck-spacing-standard);
35
-
36
- /* A space to accommodate the triangle. */
37
- margin-right: var(--ck-spacing-small);
38
- }
39
- }
40
-
41
- &.ck-disabled .ck-dropdown__arrow {
42
- @mixin ck-disabled;
43
- }
44
-
45
- & .ck-button.ck-dropdown__button {
46
- @mixin ck-dir ltr {
47
- &:not(.ck-button_with-text) {
48
- /* Make sure dropdowns with just an icon have the right inner spacing */
49
- padding-left: var(--ck-spacing-small);
50
- }
51
- }
52
-
53
- @mixin ck-dir rtl {
54
- &:not(.ck-button_with-text) {
55
- /* Make sure dropdowns with just an icon have the right inner spacing */
56
- padding-right: var(--ck-spacing-small);
57
- }
58
- }
59
-
60
- /* #23 */
61
- & .ck-button__label {
62
- width: 7em;
63
- overflow: hidden;
64
- text-overflow: ellipsis;
65
- }
66
-
67
- /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/70 */
68
- &.ck-disabled .ck-button__label {
69
- @mixin ck-disabled;
70
- }
71
-
72
- /* https://github.com/ckeditor/ckeditor5/issues/816 */
73
- &.ck-on {
74
- border-bottom-left-radius: 0;
75
- border-bottom-right-radius: 0;
76
- }
77
-
78
- &.ck-dropdown__button_label-width_auto .ck-button__label {
79
- width: auto;
80
- }
81
-
82
- /* https://github.com/ckeditor/ckeditor5/issues/8699 */
83
- &.ck-off:active,
84
- &.ck-on:active {
85
- box-shadow: none;
86
-
87
- &:focus {
88
- @mixin ck-box-shadow var(--ck-focus-outer-shadow);
89
- }
90
- }
91
- }
92
- }
93
-
94
- .ck.ck-dropdown__panel {
95
- @mixin ck-rounded-corners;
96
- @mixin ck-drop-shadow;
97
-
98
- background: var(--ck-color-dropdown-panel-background);
99
- border: 1px solid var(--ck-color-dropdown-panel-border);
100
- bottom: 0;
101
-
102
- /* Make sure the panel is at least as wide as the drop-down's button. */
103
- min-width: 100%;
104
-
105
- /* Disabled corner border radius to be consistent with the .dropdown__button
106
- https://github.com/ckeditor/ckeditor5/issues/816 */
107
- &.ck-dropdown__panel_se {
108
- border-top-left-radius: 0;
109
- }
110
-
111
- &.ck-dropdown__panel_sw {
112
- border-top-right-radius: 0;
113
- }
114
-
115
- &.ck-dropdown__panel_ne {
116
- border-bottom-left-radius: 0;
117
- }
118
-
119
- &.ck-dropdown__panel_nw {
120
- border-bottom-right-radius: 0;
121
- }
122
-
123
- &:focus {
124
- outline: none;
125
- }
126
- }
@@ -1,33 +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
-
8
- .ck.ck-dropdown > .ck-dropdown__panel > .ck-list {
9
- /* Disabled radius of top-left border to be consistent with .dropdown__button
10
- https://github.com/ckeditor/ckeditor5/issues/816 */
11
- @mixin ck-rounded-corners {
12
- border-top-left-radius: 0;
13
- }
14
-
15
- /* Make sure the button belonging to the first/last child of the list goes well with the
16
- border radius of the entire panel. */
17
- & .ck-list__item {
18
- &:first-child > .ck-button {
19
- @mixin ck-rounded-corners {
20
- border-top-left-radius: 0;
21
- border-bottom-left-radius: 0;
22
- border-bottom-right-radius: 0;
23
- }
24
- }
25
-
26
- &:last-child > .ck-button {
27
- @mixin ck-rounded-corners {
28
- border-top-left-radius: 0;
29
- border-top-right-radius: 0;
30
- }
31
- }
32
- }
33
- }
@@ -1,89 +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/_button.css";
8
- @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
9
-
10
- /*
11
- * All menu buttons.
12
- */
13
- .ck.ck-button.ck-dropdown-menu-list__nested-menu__button {
14
- width: 100%;
15
- padding: var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
16
- border-radius: 0;
17
-
18
- &:focus {
19
- border-color: transparent;
20
- box-shadow: none;
21
-
22
- &:not(.ck-on) {
23
- background: var(--ck-color-button-default-hover-background);
24
- }
25
- }
26
-
27
- & > .ck-button__label {
28
- flex-grow: 1;
29
- overflow: hidden;
30
- text-overflow: ellipsis;
31
- }
32
-
33
- &.ck-disabled > .ck-button__label {
34
- @mixin ck-disabled;
35
- }
36
-
37
- /* Spacing in buttons that miss the icon. */
38
- &.ck-icon-spacing:not(:has(.ck-button__icon)) > .ck-button__label {
39
- margin-left: calc(var(--ck-icon-size) - var(--ck-spacing-small));
40
- }
41
-
42
- & > .ck-dropdown-menu-list__nested-menu__button__arrow {
43
- width: var(--ck-dropdown-arrow-size);
44
-
45
- @mixin ck-dir ltr {
46
- transform: rotate(-90deg);
47
-
48
- /* Nudge the arrow gently to the right because its center of gravity is to the left */
49
- margin-right: calc(-1 * var(--ck-spacing-small));
50
- }
51
-
52
- @mixin ck-dir rtl {
53
- transform: rotate(90deg);
54
-
55
- /* Nudge the arrow gently to the left because its center of gravity is to the right (after rotation). */
56
- margin-left: calc(-1 * var(--ck-spacing-small));
57
- }
58
- }
59
-
60
- &.ck-disabled > .ck-dropdown-menu-list__nested-menu__button__arrow {
61
- @mixin ck-disabled;
62
- }
63
-
64
- @mixin ck-dir ltr {
65
- &:not(.ck-button_with-text) {
66
- padding-left: var(--ck-spacing-small);
67
- }
68
-
69
- & > .ck-dropdown-menu-list__nested-menu__button__arrow {
70
- right: var(--ck-spacing-standard);
71
-
72
- /* A space to accommodate the triangle. */
73
- margin-left: var(--ck-spacing-standard);
74
- }
75
- }
76
-
77
- @mixin ck-dir rtl {
78
- &:not(.ck-button_with-text) {
79
- padding-right: var(--ck-spacing-small);
80
- }
81
-
82
- & > .ck-dropdown-menu-list__nested-menu__button__arrow {
83
- left: var(--ck-spacing-standard);
84
-
85
- /* A space to accommodate the triangle. */
86
- margin-right: var(--ck-spacing-small);
87
- }
88
- }
89
- }
@@ -1,12 +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-dropdown-menu-menu-item-min-width: 18em;
8
- }
9
-
10
- .ck.ck-dropdown-menu-list__nested-menu__item {
11
- min-width: var(--ck-dropdown-menu-menu-item-min-width);
12
- }
@@ -1,36 +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
- /*
7
- * List item buttons.
8
- */
9
- .ck-button.ck-dropdown-menu-list__nested-menu__item__button {
10
- border-radius: 0;
11
-
12
- & > .ck-spinner-container,
13
- & > .ck-spinner-container .ck-spinner {
14
- /* These styles correspond to .ck-icon so that the spinner seamlessly replaces the icon. */
15
- --ck-toolbar-spinner-size: 20px;
16
- }
17
-
18
- & > .ck-spinner-container {
19
- /* These margins are the same as for .ck-icon. */
20
- margin-left: calc(-1 * var(--ck-spacing-small));
21
- margin-right: var(--ck-spacing-small);
22
- }
23
-
24
- /*
25
- * Hovered items automatically get focused. Default focus styles look odd
26
- * while moving across a huge list of items so let's get rid of them
27
- */
28
- &:focus {
29
- border-color: transparent;
30
- box-shadow: none;
31
-
32
- &:not(.ck-on) {
33
- background: var(--ck-color-button-default-hover-background);
34
- }
35
- }
36
- }
@@ -1,52 +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/_shadow.css";
8
-
9
- :root {
10
- --ck-dropdown-menu-menu-panel-max-width: 75vw;
11
- }
12
-
13
- .ck.ck-balloon-panel.ck-dropdown-menu__nested-menu__panel {
14
- @mixin ck-drop-shadow;
15
-
16
- background: var(--ck-color-dropdown-panel-background);
17
- border: 1px solid var(--ck-color-dropdown-panel-border);
18
- bottom: 0;
19
- height: fit-content;
20
- max-width: var(--ck-dropdown-menu-menu-panel-max-width);
21
-
22
- /* Reset balloon styling */
23
- &::after,
24
- &::before {
25
- display: none;
26
- }
27
-
28
- /* Corner border radius consistent with the button. */
29
- &.ck-balloon-panel_es,
30
- &.ck-balloon-panel_se {
31
- border-top-left-radius: 0;
32
- }
33
-
34
- &.ck-balloon-panel_ws,
35
- &.ck-balloon-panel_sw {
36
- border-top-right-radius: 0;
37
- }
38
-
39
- &.ck-balloon-panel_en,
40
- &.ck-balloon-panel_ne {
41
- border-bottom-left-radius: 0;
42
- }
43
-
44
- &.ck-balloon-panel_wn,
45
- &.ck-balloon-panel_nw {
46
- border-bottom-right-radius: 0;
47
- }
48
-
49
- &:focus {
50
- outline: none;
51
- }
52
- }
@@ -1,112 +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
-
8
- :root {
9
- --ck-color-split-button-hover-background: hsl(0, 0%, 92%);
10
- --ck-color-split-button-hover-border: hsl(0, 0%, 70%);
11
- }
12
-
13
- .ck.ck-splitbutton {
14
- /*
15
- * Note: ck-rounded and ck-dir mixins don't go together (because they both use @nest).
16
- */
17
- &:hover > .ck-splitbutton__action,
18
- &.ck-splitbutton_open > .ck-splitbutton__action {
19
- [dir="ltr"] & {
20
- /* Don't round the action button on the right side */
21
- border-top-right-radius: unset;
22
- border-bottom-right-radius: unset;
23
- }
24
-
25
- [dir="rtl"] & {
26
- /* Don't round the action button on the left side */
27
- border-top-left-radius: unset;
28
- border-bottom-left-radius: unset;
29
- }
30
- }
31
-
32
- & > .ck-splitbutton__arrow {
33
- /* It's a text-less button and since the icon is positioned absolutely in such situation,
34
- it must get some arbitrary min-width. */
35
- min-width: unset;
36
-
37
- [dir="ltr"] & {
38
- /* Don't round the arrow button on the left side */
39
- border-top-left-radius: unset;
40
- border-bottom-left-radius: unset;
41
- }
42
-
43
- [dir="rtl"] & {
44
- /* Don't round the arrow button on the right side */
45
- border-top-right-radius: unset;
46
- border-bottom-right-radius: unset;
47
- }
48
-
49
- & svg {
50
- width: var(--ck-dropdown-arrow-size);
51
- }
52
- }
53
-
54
- /* Make sure the divider stretches 100% height of the button
55
- https://github.com/ckeditor/ckeditor5/issues/10936 */
56
- & > .ck-splitbutton__arrow:not(:focus) {
57
- border-top-width: 0px;
58
- border-bottom-width: 0px;
59
- }
60
-
61
- /* Don't round the bottom left and right corners of the buttons when "open"
62
- https://github.com/ckeditor/ckeditor5/issues/816 */
63
- &.ck-splitbutton_open {
64
- @mixin ck-rounded-corners {
65
- & > .ck-splitbutton__action {
66
- border-bottom-left-radius: 0;
67
- }
68
-
69
- & > .ck-splitbutton__arrow {
70
- border-bottom-right-radius: 0;
71
- }
72
- }
73
- }
74
-
75
- /* When the split button is "open" (the arrow is on) or being hovered, it should get some styling
76
- as a whole. The background of both buttons should stand out and there should be a visual
77
- separation between both buttons. */
78
- &.ck-splitbutton_open,
79
- &:hover {
80
- /* When the split button hovered as a whole, not as individual buttons. */
81
- & > .ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {
82
- background: var(--ck-color-split-button-hover-background);
83
- }
84
-
85
- /* Splitbutton separator needs to be set with the ::after pseudoselector
86
- to display properly the borders on focus */
87
- & > .ck-splitbutton__arrow:not(.ck-disabled)::after {
88
- content: '';
89
- position: absolute;
90
- width: 1px;
91
- height: 100%;
92
- background-color: var(--ck-color-split-button-hover-border);
93
- }
94
-
95
- /* Make sure the divider between the buttons looks fine when the button is focused */
96
- & > .ck-splitbutton__arrow:focus::after {
97
- --ck-color-split-button-hover-border: var(--ck-color-focus-border);
98
- }
99
-
100
- [dir="ltr"] & {
101
- & > .ck-splitbutton__arrow:not(.ck-disabled)::after {
102
- left: -1px;
103
- }
104
- }
105
-
106
- [dir="rtl"] & {
107
- & > .ck-splitbutton__arrow:not(.ck-disabled)::after {
108
- right: -1px;
109
- }
110
- }
111
- }
112
- }