@ckeditor/ckeditor5-theme-lark 0.0.0-internal-20241017.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 (110) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/LICENSE.md +17 -0
  3. package/README.md +22 -0
  4. package/dist/index-content.css +12 -0
  5. package/dist/index-editor.css +3653 -0
  6. package/dist/index.css +5335 -0
  7. package/dist/index.css.map +1 -0
  8. package/dist/index.js +6 -0
  9. package/dist/index.js.map +1 -0
  10. package/package.json +32 -0
  11. package/theme/ckeditor5-clipboard/clipboard.css +89 -0
  12. package/theme/ckeditor5-code-block/codeblock.css +28 -0
  13. package/theme/ckeditor5-editor-classic/classiceditor.css +48 -0
  14. package/theme/ckeditor5-engine/placeholder.css +39 -0
  15. package/theme/ckeditor5-find-and-replace/findandreplaceform.css +194 -0
  16. package/theme/ckeditor5-heading/heading.css +15 -0
  17. package/theme/ckeditor5-horizontal-line/horizontalline.css +10 -0
  18. package/theme/ckeditor5-html-embed/htmlembed.css +156 -0
  19. package/theme/ckeditor5-image/imageinsert.css +66 -0
  20. package/theme/ckeditor5-image/imageupload.css +4 -0
  21. package/theme/ckeditor5-image/imageuploadicon.css +108 -0
  22. package/theme/ckeditor5-image/imageuploadloader.css +50 -0
  23. package/theme/ckeditor5-image/imageuploadprogress.css +33 -0
  24. package/theme/ckeditor5-link/link.css +30 -0
  25. package/theme/ckeditor5-link/linkactions.css +84 -0
  26. package/theme/ckeditor5-link/linkform.css +61 -0
  27. package/theme/ckeditor5-link/linkimage.css +43 -0
  28. package/theme/ckeditor5-list/listproperties.css +62 -0
  29. package/theme/ckeditor5-list/liststyles.css +40 -0
  30. package/theme/ckeditor5-media-embed/mediaembedediting.css +109 -0
  31. package/theme/ckeditor5-mention/mention.css +14 -0
  32. package/theme/ckeditor5-restricted-editing/restrictedediting.css +69 -0
  33. package/theme/ckeditor5-special-characters/charactergrid.css +51 -0
  34. package/theme/ckeditor5-special-characters/characterinfo.css +26 -0
  35. package/theme/ckeditor5-special-characters/specialcharacters.css +32 -0
  36. package/theme/ckeditor5-style/style.css +8 -0
  37. package/theme/ckeditor5-style/stylegrid.css +98 -0
  38. package/theme/ckeditor5-style/stylegroup.css +16 -0
  39. package/theme/ckeditor5-style/stylepanel.css +14 -0
  40. package/theme/ckeditor5-table/colorinput.css +103 -0
  41. package/theme/ckeditor5-table/form.css +32 -0
  42. package/theme/ckeditor5-table/formrow.css +36 -0
  43. package/theme/ckeditor5-table/inserttable.css +46 -0
  44. package/theme/ckeditor5-table/tablecellproperties.css +25 -0
  45. package/theme/ckeditor5-table/tableediting.css +27 -0
  46. package/theme/ckeditor5-table/tableform.css +90 -0
  47. package/theme/ckeditor5-table/tableproperties.css +26 -0
  48. package/theme/ckeditor5-table/tableselection.css +47 -0
  49. package/theme/ckeditor5-ui/components/autocomplete/autocomplete.css +36 -0
  50. package/theme/ckeditor5-ui/components/button/button.css +167 -0
  51. package/theme/ckeditor5-ui/components/button/listitembutton.css +42 -0
  52. package/theme/ckeditor5-ui/components/button/switchbutton.css +134 -0
  53. package/theme/ckeditor5-ui/components/collapsible/collapsible.css +42 -0
  54. package/theme/ckeditor5-ui/components/colorgrid/colorgrid.css +94 -0
  55. package/theme/ckeditor5-ui/components/colorselector/colorselector.css +70 -0
  56. package/theme/ckeditor5-ui/components/dialog/dialog.css +49 -0
  57. package/theme/ckeditor5-ui/components/dialog/dialogactions.css +14 -0
  58. package/theme/ckeditor5-ui/components/dropdown/dropdown.css +126 -0
  59. package/theme/ckeditor5-ui/components/dropdown/listdropdown.css +33 -0
  60. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenubutton.css +89 -0
  61. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenulistitem.css +12 -0
  62. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenulistitembutton.css +36 -0
  63. package/theme/ckeditor5-ui/components/dropdown/menu/dropdownmenupanel.css +52 -0
  64. package/theme/ckeditor5-ui/components/dropdown/splitbutton.css +112 -0
  65. package/theme/ckeditor5-ui/components/dropdown/toolbardropdown.css +8 -0
  66. package/theme/ckeditor5-ui/components/editorui/accessibilityhelp.css +103 -0
  67. package/theme/ckeditor5-ui/components/editorui/editorui.css +69 -0
  68. package/theme/ckeditor5-ui/components/formheader/formheader.css +32 -0
  69. package/theme/ckeditor5-ui/components/icon/icon.css +42 -0
  70. package/theme/ckeditor5-ui/components/input/input.css +81 -0
  71. package/theme/ckeditor5-ui/components/label/label.css +8 -0
  72. package/theme/ckeditor5-ui/components/labeledfield/labeledfieldview.css +127 -0
  73. package/theme/ckeditor5-ui/components/labeledinput/labeledinput.css +17 -0
  74. package/theme/ckeditor5-ui/components/list/list.css +114 -0
  75. package/theme/ckeditor5-ui/components/menubar/menubar.css +15 -0
  76. package/theme/ckeditor5-ui/components/menubar/menubarmenu.css +13 -0
  77. package/theme/ckeditor5-ui/components/menubar/menubarmenubutton.css +98 -0
  78. package/theme/ckeditor5-ui/components/menubar/menubarmenulistitem.css +12 -0
  79. package/theme/ckeditor5-ui/components/menubar/menubarmenulistitembutton.css +36 -0
  80. package/theme/ckeditor5-ui/components/menubar/menubarmenupanel.css +70 -0
  81. package/theme/ckeditor5-ui/components/panel/balloonpanel.css +207 -0
  82. package/theme/ckeditor5-ui/components/panel/balloonrotator.css +33 -0
  83. package/theme/ckeditor5-ui/components/panel/fakepanel.css +46 -0
  84. package/theme/ckeditor5-ui/components/panel/stickypanel.css +16 -0
  85. package/theme/ckeditor5-ui/components/responsive-form/responsiveform.css +82 -0
  86. package/theme/ckeditor5-ui/components/search/search.css +106 -0
  87. package/theme/ckeditor5-ui/components/spinner/spinner.css +32 -0
  88. package/theme/ckeditor5-ui/components/textarea/textarea.css +12 -0
  89. package/theme/ckeditor5-ui/components/toolbar/blocktoolbar.css +14 -0
  90. package/theme/ckeditor5-ui/components/toolbar/toolbar.css +203 -0
  91. package/theme/ckeditor5-ui/components/tooltip/tooltip.css +38 -0
  92. package/theme/ckeditor5-ui/globals/_colors.css +123 -0
  93. package/theme/ckeditor5-ui/globals/_disabled.css +11 -0
  94. package/theme/ckeditor5-ui/globals/_focus.css +31 -0
  95. package/theme/ckeditor5-ui/globals/_fonts.css +16 -0
  96. package/theme/ckeditor5-ui/globals/_reset.css +97 -0
  97. package/theme/ckeditor5-ui/globals/_rounded.css +11 -0
  98. package/theme/ckeditor5-ui/globals/_shadow.css +21 -0
  99. package/theme/ckeditor5-ui/globals/_spacing.css +14 -0
  100. package/theme/ckeditor5-ui/globals/globals.css +13 -0
  101. package/theme/ckeditor5-ui/mixins/_button.css +29 -0
  102. package/theme/ckeditor5-widget/widget.css +195 -0
  103. package/theme/ckeditor5-widget/widgetresize.css +44 -0
  104. package/theme/ckeditor5-widget/widgettypearound.css +302 -0
  105. package/theme/index.css +97 -0
  106. package/theme/mixins/_disabled.css +11 -0
  107. package/theme/mixins/_focus.css +13 -0
  108. package/theme/mixins/_rounded.css +19 -0
  109. package/theme/mixins/_shadow.css +18 -0
  110. package/theme/theme.css +4 -0
@@ -0,0 +1,70 @@
1
+ /*
2
+ * 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
+ @import "../../../mixins/_rounded.css";
7
+ @import "../../../mixins/_shadow.css";
8
+ @import "../../../mixins/_focus.css";
9
+
10
+ :root {
11
+ --ck-menu-bar-menu-panel-max-width: 75vw;
12
+ }
13
+
14
+ .ck.ck-menu-bar__menu > .ck.ck-menu-bar__menu__panel {
15
+ @mixin ck-rounded-corners;
16
+ @mixin ck-drop-shadow;
17
+
18
+ background: var(--ck-color-dropdown-panel-background);
19
+ border: 1px solid var(--ck-color-dropdown-panel-border);
20
+ bottom: 0;
21
+ height: fit-content;
22
+ max-width: var(--ck-menu-bar-menu-panel-max-width);
23
+
24
+ /* Corner border radius consistent with the button. */
25
+ &.ck-menu-bar__menu__panel_position_es,
26
+ &.ck-menu-bar__menu__panel_position_se {
27
+ border-top-left-radius: 0;
28
+ }
29
+
30
+ &.ck-menu-bar__menu__panel_position_ws,
31
+ &.ck-menu-bar__menu__panel_position_sw {
32
+ border-top-right-radius: 0;
33
+ }
34
+
35
+ &.ck-menu-bar__menu__panel_position_en,
36
+ &.ck-menu-bar__menu__panel_position_ne {
37
+ border-bottom-left-radius: 0;
38
+ }
39
+
40
+ &.ck-menu-bar__menu__panel_position_wn,
41
+ &.ck-menu-bar__menu__panel_position_nw {
42
+ border-bottom-right-radius: 0;
43
+ }
44
+
45
+ &:focus {
46
+ outline: none;
47
+ }
48
+ }
49
+
50
+ .ck.ck-menu-bar {
51
+ & .ck-list-item-button {
52
+ &:focus,
53
+ &:active {
54
+ border-color: transparent;
55
+ box-shadow: none;
56
+ }
57
+ }
58
+
59
+ &.ck-menu-bar_focus-border-enabled .ck-list-item-button {
60
+ &:focus,
61
+ &:active {
62
+ /* Fix truncated shadows due to rendering order. */
63
+ position: relative;
64
+ z-index: 2;
65
+
66
+ @mixin ck-focus-ring;
67
+ @mixin ck-box-shadow var(--ck-focus-outer-shadow);
68
+ }
69
+ }
70
+ }
@@ -0,0 +1,207 @@
1
+ /*
2
+ * 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
+ @import "../../../mixins/_rounded.css";
7
+ @import "../../../mixins/_shadow.css";
8
+
9
+ :root {
10
+ --ck-balloon-border-width: 1px;
11
+ --ck-balloon-arrow-offset: 2px;
12
+ --ck-balloon-arrow-height: 10px;
13
+ --ck-balloon-arrow-half-width: 8px;
14
+ --ck-balloon-arrow-drop-shadow: 0 2px 2px var(--ck-color-shadow-drop);
15
+ }
16
+
17
+ .ck.ck-balloon-panel {
18
+ @mixin ck-rounded-corners;
19
+ @mixin ck-drop-shadow;
20
+
21
+ min-height: 15px;
22
+
23
+ background: var(--ck-color-panel-background);
24
+ border: var(--ck-balloon-border-width) solid var(--ck-color-panel-border);
25
+
26
+ &.ck-balloon-panel_with-arrow {
27
+ &::before,
28
+ &::after {
29
+ width: 0;
30
+ height: 0;
31
+ border-style: solid;
32
+ }
33
+ }
34
+
35
+ &[class*="arrow_n"] {
36
+ &::before,
37
+ &::after {
38
+ border-width: 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width);
39
+ }
40
+
41
+ &::before {
42
+ border-color: transparent transparent var(--ck-color-panel-border) transparent;
43
+ margin-top: calc( -1 * var(--ck-balloon-border-width) );
44
+ }
45
+
46
+ &::after {
47
+ border-color: transparent transparent var(--ck-color-panel-background) transparent;
48
+ margin-top: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
49
+ }
50
+ }
51
+
52
+ &[class*="arrow_s"] {
53
+ &::before,
54
+ &::after {
55
+ border-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);
56
+ }
57
+
58
+ &::before {
59
+ border-color: var(--ck-color-panel-border) transparent transparent;
60
+ filter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));
61
+ margin-bottom: calc( -1 * var(--ck-balloon-border-width) );
62
+ }
63
+
64
+ &::after {
65
+ border-color: var(--ck-color-panel-background) transparent transparent transparent;
66
+ margin-bottom: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
67
+ }
68
+ }
69
+
70
+ &[class*="arrow_e"] {
71
+ &::before,
72
+ &::after {
73
+ border-width: var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height);
74
+ }
75
+
76
+ &::before {
77
+ border-color: transparent transparent transparent var(--ck-color-panel-border);
78
+ margin-right: calc( -1 * var(--ck-balloon-border-width) );
79
+ }
80
+
81
+ &::after {
82
+ border-color: transparent transparent transparent var(--ck-color-panel-background);
83
+ margin-right: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
84
+ }
85
+ }
86
+
87
+ &[class*="arrow_w"] {
88
+ &::before,
89
+ &::after {
90
+ border-width: var(--ck-balloon-arrow-half-width) var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0;
91
+ }
92
+
93
+ &::before {
94
+ border-color: transparent var(--ck-color-panel-border) transparent transparent;
95
+ margin-left: calc( -1 * var(--ck-balloon-border-width) );
96
+ }
97
+
98
+ &::after {
99
+ border-color: transparent var(--ck-color-panel-background) transparent transparent;
100
+ margin-left: calc( var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width) );
101
+ }
102
+ }
103
+
104
+ &.ck-balloon-panel_arrow_n {
105
+ &::before,
106
+ &::after {
107
+ left: 50%;
108
+ margin-left: calc(-1 * var(--ck-balloon-arrow-half-width));
109
+ top: calc(-1 * var(--ck-balloon-arrow-height));
110
+ }
111
+ }
112
+
113
+ &.ck-balloon-panel_arrow_nw {
114
+ &::before,
115
+ &::after {
116
+ left: calc(2 * var(--ck-balloon-arrow-half-width));
117
+ top: calc(-1 * var(--ck-balloon-arrow-height));
118
+ }
119
+ }
120
+
121
+ &.ck-balloon-panel_arrow_ne {
122
+ &::before,
123
+ &::after {
124
+ right: calc(2 * var(--ck-balloon-arrow-half-width));
125
+ top: calc(-1 * var(--ck-balloon-arrow-height));
126
+ }
127
+ }
128
+
129
+ &.ck-balloon-panel_arrow_s {
130
+ &::before,
131
+ &::after {
132
+ left: 50%;
133
+ margin-left: calc(-1 * var(--ck-balloon-arrow-half-width));
134
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
135
+ }
136
+ }
137
+
138
+ &.ck-balloon-panel_arrow_sw {
139
+ &::before,
140
+ &::after {
141
+ left: calc(2 * var(--ck-balloon-arrow-half-width));
142
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
143
+ }
144
+ }
145
+
146
+ &.ck-balloon-panel_arrow_se {
147
+ &::before,
148
+ &::after {
149
+ right: calc(2 * var(--ck-balloon-arrow-half-width));
150
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
151
+ }
152
+ }
153
+
154
+ &.ck-balloon-panel_arrow_sme {
155
+ &::before,
156
+ &::after {
157
+ right: 25%;
158
+ margin-right: calc(2 * var(--ck-balloon-arrow-half-width));
159
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
160
+ }
161
+ }
162
+
163
+ &.ck-balloon-panel_arrow_smw {
164
+ &::before,
165
+ &::after {
166
+ left: 25%;
167
+ margin-left: calc(2 * var(--ck-balloon-arrow-half-width));
168
+ bottom: calc(-1 * var(--ck-balloon-arrow-height));
169
+ }
170
+ }
171
+
172
+ &.ck-balloon-panel_arrow_nme {
173
+ &::before,
174
+ &::after {
175
+ right: 25%;
176
+ margin-right: calc(2 * var(--ck-balloon-arrow-half-width));
177
+ top: calc(-1 * var(--ck-balloon-arrow-height));
178
+ }
179
+ }
180
+
181
+ &.ck-balloon-panel_arrow_nmw {
182
+ &::before,
183
+ &::after {
184
+ left: 25%;
185
+ margin-left: calc(2 * var(--ck-balloon-arrow-half-width));
186
+ top: calc(-1 * var(--ck-balloon-arrow-height));
187
+ }
188
+ }
189
+
190
+ &.ck-balloon-panel_arrow_e {
191
+ &::before,
192
+ &::after {
193
+ right: calc(-1 * var(--ck-balloon-arrow-height));
194
+ margin-top: calc(-1 * var(--ck-balloon-arrow-half-width));
195
+ top: 50%;
196
+ }
197
+ }
198
+
199
+ &.ck-balloon-panel_arrow_w {
200
+ &::before,
201
+ &::after {
202
+ left: calc(-1 * var(--ck-balloon-arrow-height));
203
+ margin-top: calc(-1 * var(--ck-balloon-arrow-half-width));
204
+ top: 50%;
205
+ }
206
+ }
207
+ }
@@ -0,0 +1,33 @@
1
+ /*
2
+ * 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
+ .ck .ck-balloon-rotator__navigation {
7
+ background: var(--ck-color-toolbar-background);
8
+ border-bottom: 1px solid var(--ck-color-toolbar-border);
9
+ padding: 0 var(--ck-spacing-small);
10
+
11
+ /* Let's keep similar appearance to `ck-toolbar`. */
12
+ & > * {
13
+ margin-right: var(--ck-spacing-small);
14
+ margin-top: var(--ck-spacing-small);
15
+ margin-bottom: var(--ck-spacing-small);
16
+ }
17
+
18
+ /* Gives counter more breath than buttons. */
19
+ & .ck-balloon-rotator__counter {
20
+ margin-right: var(--ck-spacing-standard);
21
+
22
+ /* We need to use smaller margin because of previous button's right margin. */
23
+ margin-left: var(--ck-spacing-small);
24
+ }
25
+ }
26
+
27
+ .ck .ck-balloon-rotator__content {
28
+
29
+ /* Disable default annotation shadow inside rotator with fake panels. */
30
+ & .ck.ck-annotation-wrapper {
31
+ box-shadow: none;
32
+ }
33
+ }
@@ -0,0 +1,46 @@
1
+ /*
2
+ * 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
+ @import "../../../mixins/_shadow.css";
7
+
8
+ :root {
9
+ --ck-balloon-fake-panel-offset-horizontal: 6px;
10
+ --ck-balloon-fake-panel-offset-vertical: 6px;
11
+ }
12
+
13
+ /* Let's use `.ck-balloon-panel` appearance. See: balloonpanel.css. */
14
+ .ck .ck-fake-panel div {
15
+ @mixin ck-drop-shadow;
16
+
17
+ min-height: 15px;
18
+
19
+ background: var(--ck-color-panel-background);
20
+ border: 1px solid var(--ck-color-panel-border);
21
+ border-radius: var(--ck-border-radius);
22
+
23
+ width: 100%;
24
+ height: 100%;
25
+ }
26
+
27
+ .ck .ck-fake-panel div:nth-child( 1 ) {
28
+ margin-left: var(--ck-balloon-fake-panel-offset-horizontal);
29
+ margin-top: var(--ck-balloon-fake-panel-offset-vertical);
30
+ }
31
+
32
+ .ck .ck-fake-panel div:nth-child( 2 ) {
33
+ margin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 2);
34
+ margin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 2);
35
+ }
36
+ .ck .ck-fake-panel div:nth-child( 3 ) {
37
+ margin-left: calc(var(--ck-balloon-fake-panel-offset-horizontal) * 3);
38
+ margin-top: calc(var(--ck-balloon-fake-panel-offset-vertical) * 3);
39
+ }
40
+
41
+ /* If balloon is positioned above element, we need to move fake panel to the top. */
42
+ .ck .ck-balloon-panel_arrow_s + .ck-fake-panel,
43
+ .ck .ck-balloon-panel_arrow_se + .ck-fake-panel,
44
+ .ck .ck-balloon-panel_arrow_sw + .ck-fake-panel {
45
+ --ck-balloon-fake-panel-offset-vertical: -6px;
46
+ }
@@ -0,0 +1,16 @@
1
+ /*
2
+ * 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
+ @import "../../../mixins/_shadow.css";
7
+
8
+ .ck.ck-sticky-panel {
9
+ & .ck-sticky-panel__content_sticky {
10
+ @mixin ck-drop-shadow;
11
+
12
+ border-width: 0 1px 1px;
13
+ border-top-left-radius: 0;
14
+ border-top-right-radius: 0;
15
+ }
16
+ }
@@ -0,0 +1,82 @@
1
+ /*
2
+ * 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
+ @import "@ckeditor/ckeditor5-ui/theme/mixins/_rwd.css";
7
+ @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
8
+
9
+ .ck-vertical-form > .ck-button:nth-last-child(2)::after {
10
+ border-right: 1px solid var(--ck-color-base-border);
11
+ }
12
+
13
+ .ck.ck-responsive-form {
14
+ padding: var(--ck-spacing-large);
15
+
16
+ &:focus {
17
+ /* See: https://github.com/ckeditor/ckeditor5/issues/4773 */
18
+ outline: none;
19
+ }
20
+
21
+ @mixin ck-dir ltr {
22
+ & > :not(:first-child) {
23
+ margin-left: var(--ck-spacing-standard);
24
+ }
25
+ }
26
+
27
+ @mixin ck-dir rtl {
28
+ & > :not(:last-child) {
29
+ margin-left: var(--ck-spacing-standard);
30
+ }
31
+ }
32
+
33
+ @mixin ck-media-phone {
34
+ padding: 0;
35
+ width: calc(.8 * var(--ck-input-width));
36
+
37
+ & .ck-labeled-field-view {
38
+ margin: var(--ck-spacing-large) var(--ck-spacing-large) 0;
39
+
40
+ & .ck-input-text,
41
+ & .ck-input-number {
42
+ min-width: 0;
43
+ width: 100%;
44
+ }
45
+
46
+ /* Let the long error messages wrap in the narrow form. */
47
+ & .ck-labeled-field-view__error {
48
+ white-space: normal;
49
+ }
50
+ }
51
+
52
+ /* Styles for two last buttons in the form (save&cancel, edit&unlink, etc.). */
53
+ & > .ck-button:nth-last-child(2) {
54
+ &::after {
55
+ border-right: 1px solid var(--ck-color-base-border);
56
+ }
57
+ }
58
+
59
+ & > .ck-button:nth-last-child(1),
60
+ & > .ck-button:nth-last-child(2) {
61
+ padding: var(--ck-spacing-standard);
62
+ margin-top: var(--ck-spacing-large);
63
+ border-radius: 0;
64
+
65
+ &:not(:focus) {
66
+ border-top: 1px solid var(--ck-color-base-border);
67
+ }
68
+
69
+ @mixin ck-dir ltr {
70
+ margin-left: 0;
71
+ }
72
+
73
+ @mixin ck-dir rtl {
74
+ margin-left: 0;
75
+
76
+ &:last-of-type {
77
+ border-right: 1px solid var(--ck-color-base-border);
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
@@ -0,0 +1,106 @@
1
+ /*
2
+ * 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
+ @import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
7
+
8
+ :root {
9
+ --ck-search-field-view-horizontal-spacing: calc(var(--ck-icon-size) + var(--ck-spacing-medium));
10
+ }
11
+
12
+ .ck.ck-search {
13
+ & > .ck-labeled-field-view {
14
+ & .ck-input {
15
+ width: 100%;
16
+ }
17
+
18
+ &.ck-search__query_with-icon {
19
+ --ck-labeled-field-label-default-position-x: var(--ck-search-field-view-horizontal-spacing);
20
+
21
+ & > .ck-labeled-field-view__input-wrapper > .ck-icon {
22
+ opacity: .5;
23
+ pointer-events: none;
24
+ }
25
+
26
+ & .ck-input {
27
+ width: 100%;
28
+
29
+ @mixin ck-dir ltr {
30
+ padding-left: var(--ck-search-field-view-horizontal-spacing);
31
+ }
32
+
33
+ @mixin ck-dir rtl {
34
+ &:not(.ck-input-text_empty) {
35
+ padding-left: var(--ck-search-field-view-horizontal-spacing);
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ &.ck-search__query_with-reset {
42
+ --ck-labeled-field-empty-unfocused-max-width: 100% - 2 * var(--ck-search-field-view-horizontal-spacing);
43
+
44
+ &.ck-labeled-field-view_empty {
45
+ --ck-labeled-field-empty-unfocused-max-width: 100% - var(--ck-search-field-view-horizontal-spacing) - var(--ck-spacing-medium);
46
+ }
47
+
48
+ & .ck-search__reset {
49
+ min-width: auto;
50
+ min-height: auto;
51
+
52
+ background: none;
53
+ opacity: .5;
54
+ padding: 0;
55
+
56
+ @mixin ck-dir ltr {
57
+ right: var(--ck-spacing-medium);
58
+ }
59
+
60
+ @mixin ck-dir rtl {
61
+ left: var(--ck-spacing-medium);
62
+ }
63
+
64
+ &:hover {
65
+ opacity: 1;
66
+ }
67
+ }
68
+
69
+ & .ck-input {
70
+ width: 100%;
71
+
72
+ @mixin ck-dir ltr {
73
+ &:not(.ck-input-text_empty) {
74
+ padding-right: var(--ck-search-field-view-horizontal-spacing);
75
+ }
76
+ }
77
+
78
+ @mixin ck-dir rtl {
79
+ padding-right: var(--ck-search-field-view-horizontal-spacing);
80
+ }
81
+ }
82
+ }
83
+ }
84
+
85
+ & > .ck-search__results {
86
+ min-width: 100%;
87
+
88
+ & > .ck-search__info {
89
+ width: 100%;
90
+ padding: var(--ck-spacing-medium) var(--ck-spacing-large);
91
+
92
+ & * {
93
+ white-space: normal;
94
+ }
95
+
96
+ & > span:first-child {
97
+ font-weight: bold;
98
+ }
99
+
100
+ & > span:last-child {
101
+ margin-top: var(--ck-spacing-medium);
102
+ }
103
+ }
104
+ }
105
+ }
106
+
@@ -0,0 +1,32 @@
1
+ /*
2
+ * 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
+ :root {
7
+ --ck-toolbar-spinner-size: 18px;
8
+ }
9
+
10
+ .ck.ck-spinner-container {
11
+ width: var(--ck-toolbar-spinner-size);
12
+ height: var(--ck-toolbar-spinner-size);
13
+ animation: 1.5s infinite ck-spinner-rotate linear;
14
+
15
+ @media (prefers-reduced-motion: reduce) {
16
+ animation-duration: 3s;
17
+ }
18
+ }
19
+
20
+ .ck.ck-spinner {
21
+ width: var(--ck-toolbar-spinner-size);
22
+ height: var(--ck-toolbar-spinner-size);
23
+ border-radius: 50%;
24
+ border: 2px solid var(--ck-color-text);
25
+ border-top-color: transparent;
26
+ }
27
+
28
+ @keyframes ck-spinner-rotate {
29
+ to {
30
+ transform: rotate(360deg)
31
+ }
32
+ }
@@ -0,0 +1,12 @@
1
+ /*
2
+ * 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
+ /*
7
+ * This fixes a problem in Firefox when the initial height of the complement does not match the number of rows.
8
+ * This bug is especially visible when rows=1.
9
+ */
10
+ .ck-textarea {
11
+ overflow-x: hidden
12
+ }
@@ -0,0 +1,14 @@
1
+ /*
2
+ * 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
+ :root {
7
+ --ck-color-block-toolbar-button: var(--ck-color-text);
8
+ --ck-block-toolbar-button-size: var(--ck-font-size-normal);
9
+ }
10
+
11
+ .ck.ck-block-toolbar-button {
12
+ color: var(--ck-color-block-toolbar-button);
13
+ font-size: var(--ck-block-toolbar-size);
14
+ }