ckeditor5-premium-features 47.1.0 → 47.2.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/dist/browser/ckeditor5-premium-features-content.css +1 -1
  2. package/dist/browser/ckeditor5-premium-features-editor.css +3 -3
  3. package/dist/browser/ckeditor5-premium-features.css +3 -3
  4. package/dist/browser/ckeditor5-premium-features.js +64 -63
  5. package/dist/browser/ckeditor5-premium-features.umd.js +66 -65
  6. package/dist/ckeditor5-premium-features-content.css +89 -0
  7. package/dist/ckeditor5-premium-features-editor.css +651 -203
  8. package/dist/ckeditor5-premium-features.css +871 -239
  9. package/dist/ckeditor5-premium-features.js +1 -1
  10. package/dist/index.d.ts +1 -0
  11. package/dist/translations/af.js +1 -1
  12. package/dist/translations/af.umd.js +1 -1
  13. package/dist/translations/ar.js +1 -1
  14. package/dist/translations/ar.umd.js +1 -1
  15. package/dist/translations/ast.js +1 -1
  16. package/dist/translations/ast.umd.js +1 -1
  17. package/dist/translations/az.js +1 -1
  18. package/dist/translations/az.umd.js +1 -1
  19. package/dist/translations/be.js +1 -1
  20. package/dist/translations/be.umd.js +1 -1
  21. package/dist/translations/bg.js +1 -1
  22. package/dist/translations/bg.umd.js +1 -1
  23. package/dist/translations/bn.js +1 -1
  24. package/dist/translations/bn.umd.js +1 -1
  25. package/dist/translations/bs.js +1 -1
  26. package/dist/translations/bs.umd.js +1 -1
  27. package/dist/translations/ca.js +1 -1
  28. package/dist/translations/ca.umd.js +1 -1
  29. package/dist/translations/cs.js +1 -1
  30. package/dist/translations/cs.umd.js +1 -1
  31. package/dist/translations/da.js +1 -1
  32. package/dist/translations/da.umd.js +1 -1
  33. package/dist/translations/de-ch.js +1 -1
  34. package/dist/translations/de-ch.umd.js +1 -1
  35. package/dist/translations/de.js +1 -1
  36. package/dist/translations/de.umd.js +1 -1
  37. package/dist/translations/el.js +1 -1
  38. package/dist/translations/el.umd.js +1 -1
  39. package/dist/translations/en-au.js +1 -1
  40. package/dist/translations/en-au.umd.js +1 -1
  41. package/dist/translations/en-gb.js +1 -1
  42. package/dist/translations/en-gb.umd.js +1 -1
  43. package/dist/translations/en.js +1 -1
  44. package/dist/translations/en.umd.js +1 -1
  45. package/dist/translations/eo.js +1 -1
  46. package/dist/translations/eo.umd.js +1 -1
  47. package/dist/translations/es-co.js +1 -1
  48. package/dist/translations/es-co.umd.js +1 -1
  49. package/dist/translations/es.js +1 -1
  50. package/dist/translations/es.umd.js +1 -1
  51. package/dist/translations/et.js +1 -1
  52. package/dist/translations/et.umd.js +1 -1
  53. package/dist/translations/eu.js +1 -1
  54. package/dist/translations/eu.umd.js +1 -1
  55. package/dist/translations/fa.js +1 -1
  56. package/dist/translations/fa.umd.js +1 -1
  57. package/dist/translations/fi.js +1 -1
  58. package/dist/translations/fi.umd.js +1 -1
  59. package/dist/translations/fr.js +1 -1
  60. package/dist/translations/fr.umd.js +1 -1
  61. package/dist/translations/gl.js +1 -1
  62. package/dist/translations/gl.umd.js +1 -1
  63. package/dist/translations/gu.js +1 -1
  64. package/dist/translations/gu.umd.js +1 -1
  65. package/dist/translations/he.js +1 -1
  66. package/dist/translations/he.umd.js +1 -1
  67. package/dist/translations/hi.js +1 -1
  68. package/dist/translations/hi.umd.js +1 -1
  69. package/dist/translations/hr.js +1 -1
  70. package/dist/translations/hr.umd.js +1 -1
  71. package/dist/translations/hu.js +1 -1
  72. package/dist/translations/hu.umd.js +1 -1
  73. package/dist/translations/hy.js +1 -1
  74. package/dist/translations/hy.umd.js +1 -1
  75. package/dist/translations/id.js +1 -1
  76. package/dist/translations/id.umd.js +1 -1
  77. package/dist/translations/it.js +1 -1
  78. package/dist/translations/it.umd.js +1 -1
  79. package/dist/translations/ja.js +1 -1
  80. package/dist/translations/ja.umd.js +1 -1
  81. package/dist/translations/jv.js +1 -1
  82. package/dist/translations/jv.umd.js +1 -1
  83. package/dist/translations/kk.js +1 -1
  84. package/dist/translations/kk.umd.js +1 -1
  85. package/dist/translations/km.js +1 -1
  86. package/dist/translations/km.umd.js +1 -1
  87. package/dist/translations/kn.js +1 -1
  88. package/dist/translations/kn.umd.js +1 -1
  89. package/dist/translations/ko.js +1 -1
  90. package/dist/translations/ko.umd.js +1 -1
  91. package/dist/translations/ku.js +1 -1
  92. package/dist/translations/ku.umd.js +1 -1
  93. package/dist/translations/lt.js +1 -1
  94. package/dist/translations/lt.umd.js +1 -1
  95. package/dist/translations/lv.js +1 -1
  96. package/dist/translations/lv.umd.js +1 -1
  97. package/dist/translations/ms.js +1 -1
  98. package/dist/translations/ms.umd.js +1 -1
  99. package/dist/translations/nb.js +1 -1
  100. package/dist/translations/nb.umd.js +1 -1
  101. package/dist/translations/ne.js +1 -1
  102. package/dist/translations/ne.umd.js +1 -1
  103. package/dist/translations/nl.js +1 -1
  104. package/dist/translations/nl.umd.js +1 -1
  105. package/dist/translations/no.js +1 -1
  106. package/dist/translations/no.umd.js +1 -1
  107. package/dist/translations/oc.js +1 -1
  108. package/dist/translations/oc.umd.js +1 -1
  109. package/dist/translations/pl.js +1 -1
  110. package/dist/translations/pl.umd.js +1 -1
  111. package/dist/translations/pt-br.js +1 -1
  112. package/dist/translations/pt-br.umd.js +1 -1
  113. package/dist/translations/pt.js +1 -1
  114. package/dist/translations/pt.umd.js +1 -1
  115. package/dist/translations/ro.js +1 -1
  116. package/dist/translations/ro.umd.js +1 -1
  117. package/dist/translations/ru.js +1 -1
  118. package/dist/translations/ru.umd.js +1 -1
  119. package/dist/translations/si.js +1 -1
  120. package/dist/translations/si.umd.js +1 -1
  121. package/dist/translations/sk.js +1 -1
  122. package/dist/translations/sk.umd.js +1 -1
  123. package/dist/translations/sl.js +1 -1
  124. package/dist/translations/sl.umd.js +1 -1
  125. package/dist/translations/sq.js +1 -1
  126. package/dist/translations/sq.umd.js +1 -1
  127. package/dist/translations/sr-latn.js +1 -1
  128. package/dist/translations/sr-latn.umd.js +1 -1
  129. package/dist/translations/sr.js +1 -1
  130. package/dist/translations/sr.umd.js +1 -1
  131. package/dist/translations/sv.js +1 -1
  132. package/dist/translations/sv.umd.js +1 -1
  133. package/dist/translations/th.js +1 -1
  134. package/dist/translations/th.umd.js +1 -1
  135. package/dist/translations/ti.js +1 -1
  136. package/dist/translations/ti.umd.js +1 -1
  137. package/dist/translations/tk.js +1 -1
  138. package/dist/translations/tk.umd.js +1 -1
  139. package/dist/translations/tr.js +1 -1
  140. package/dist/translations/tr.umd.js +1 -1
  141. package/dist/translations/tt.js +1 -1
  142. package/dist/translations/tt.umd.js +1 -1
  143. package/dist/translations/ug.js +1 -1
  144. package/dist/translations/ug.umd.js +1 -1
  145. package/dist/translations/uk.js +1 -1
  146. package/dist/translations/uk.umd.js +1 -1
  147. package/dist/translations/ur.js +1 -1
  148. package/dist/translations/ur.umd.js +1 -1
  149. package/dist/translations/uz.js +1 -1
  150. package/dist/translations/uz.umd.js +1 -1
  151. package/dist/translations/vi.js +1 -1
  152. package/dist/translations/vi.umd.js +1 -1
  153. package/dist/translations/zh-cn.js +1 -1
  154. package/dist/translations/zh-cn.umd.js +1 -1
  155. package/dist/translations/zh.js +1 -1
  156. package/dist/translations/zh.umd.js +1 -1
  157. package/package.json +27 -26
@@ -425,6 +425,7 @@
425
425
  .ck.ck-button.ck-tab-button.ck-on {
426
426
  border: 0;
427
427
  background-color: var(--ck-color-tab-button-active-background);
428
+ color: var(--ck-color-tab-button-active-border);
428
429
  }
429
430
 
430
431
  .ck.ck-button.ck-tab-button.ck-on .ck.ck-icon {
@@ -478,6 +479,7 @@
478
479
  --ck-color-tabs-buttons-container-background: hsl(0, 0%, 96%);
479
480
  --ck-color-tab-button-icon: hsl(0, 0%, 44%);
480
481
  --ck-color-tab-button-active-icon: hsl(0, 0%, 44%);
482
+ --ck-color-tab-button-active-border: hsl(0, 0%, 44%);
481
483
  --ck-color-tab-button-active-background: hsl(0, 0%, 91%);
482
484
  }
483
485
 
@@ -572,13 +574,13 @@
572
574
  .ck.ck-tabs.ck-ai-tabs {
573
575
  --ck-tabs-buttons-container-buttons-vertical-spacing: 61.5px;
574
576
  --ck-color-tab-button-active-icon: hsl(263, 59%, 52%);
577
+ --ck-color-tab-button-active-border: hsl(263, 59%, 52%);
575
578
  }
576
579
 
577
580
  .ck.ck-tabs.ck-ai-tabs .ck-tab-panel {
578
581
  height: 100%;
579
582
  display: flex;
580
583
  flex-direction: column;
581
- overflow: hidden;
582
584
  }
583
585
 
584
586
  .ck.ck-tabs.ck-ai-tabs .ck-tab-panel>* {
@@ -718,7 +720,6 @@
718
720
 
719
721
  .ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button > .ck-icon {
720
722
  --ck-icon-size: 16px;
721
- color: var(--ck-ai-chat-color-icon);
722
723
  }
723
724
 
724
725
  .ck.ck-ai-chat-controls .ck-ai-chat__prompt-capabilities .ck-ai-chat-controls-button--commands {
@@ -906,7 +907,7 @@
906
907
  --ck-icon-size: 1em;
907
908
 
908
909
  font-size: 1em;
909
- fill: var(--ck-ai-chat-color-icon);
910
+ color: var(--ck-ai-chat-color-icon);
910
911
  }
911
912
 
912
913
  .ck.ck-balloon-panel .ck-ai-chat-context-chips-wrapper, .ck.ck-ai-chat .ck-ai-chat-context-chips-wrapper {
@@ -992,22 +993,26 @@
992
993
  text-align: center;
993
994
  }
994
995
 
996
+ .ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled) {
997
+ color: var(--ck-ai-button-tertiary-filled-color);
998
+ }
999
+
995
1000
  .ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):hover {
996
- background-color: var(--ck-ai-chat-button-active-background-color);
997
- color: var(--ck-ai-chat-button-hover-color);
1001
+ background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
1002
+ color: var(--ck-ai-button-tertiary-filled-hover-color);
998
1003
  }
999
1004
 
1000
1005
  .ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):hover .ck-button__icon {
1001
- fill: var(--ck-ai-chat-button-hover-color);
1006
+ color: var(--ck-ai-button-tertiary-filled-hover-color);
1002
1007
  }
1003
1008
 
1004
1009
  .ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):active {
1005
- background-color: var(--ck-ai-chat-button-active-background-color);
1006
- color: var(--ck-ai-chat-button-active-color);
1010
+ background-color: var(--ck-ai-button-tertiary-filled-active-background-color);
1011
+ color: var(--ck-ai-button-tertiary-filled-active-color);
1007
1012
  }
1008
1013
 
1009
1014
  .ck.ck-button.ck-ai-chat-controls-button:not(.ck-disabled):active .ck-button__icon {
1010
- fill: var(--ck-ai-chat-button-active-color);
1015
+ color: var(--ck-ai-button-tertiary-filled-active-color);
1011
1016
  }
1012
1017
 
1013
1018
  .ck.ck-button.ck-ai-chat-controls-button.ck-on:not(.ck-disabled):not(:hover):not(:active):not(.ck-disabled) {
@@ -1043,8 +1048,9 @@
1043
1048
  */
1044
1049
 
1045
1050
  :root {
1046
- --ck-ai-chat-loader-icon-dot-color: hsl(216, 5%, 81%);
1047
- --ck-ai-chat-loader-icon-dot-active-color: hsl(0, 0%, 20%);
1051
+ --ck-ai-chat-controls-loader-icon-dot-color: hsl(216, 5%, 81%);
1052
+ --ck-ai-chat-controls-loader-icon-dot-active-color: hsl(0, 0%, 20%);
1053
+ --ck-ai-chat-controls-loader-color: hsla(0, 0%, 44%, 1);
1048
1054
  --ck-ai-loader-dot-pulse-dot-size: 6px;
1049
1055
  --ck-ai-loader-dot-pulse-width: 40px;
1050
1056
  --ck-ai-loader-dot-pulse-height: 20px;
@@ -1052,65 +1058,46 @@
1052
1058
  --ck-ai-loader-dot-pulse-animation-delay: 0.3s;
1053
1059
  }
1054
1060
 
1055
- .ck-ai-chat-controls-loader {
1056
- display: flex;
1057
- align-items: center;
1058
- color: var(--ck-color-input-disabled-text);
1059
- }
1060
-
1061
- .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon {
1062
- box-sizing: border-box;
1061
+ .ck-ai-chat-controls .ck-ai-chat-controls-loader {
1063
1062
  display: flex;
1064
1063
  align-items: center;
1065
- justify-content: space-between;
1066
- width: var(--ck-ai-loader-dot-pulse-width);
1067
- height: var(--ck-ai-loader-dot-pulse-height);
1068
- margin-inline-end: var(--ck-spacing-standard);
1069
- padding: var(--ck-spacing-small) var(--ck-spacing-medium-small);
1070
- border-radius: var(--ck-ai-loader-dot-pulse-border-radius);
1071
- background-color: var(--ck-ai-chat-loader-icon-color);
1072
- }
1073
-
1074
- .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot {
1075
- width: var(--ck-ai-loader-dot-pulse-dot-size);
1076
- height: var(--ck-ai-loader-dot-pulse-dot-size);
1077
- border-radius: 50%;
1078
- background-color: var(--ck-ai-chat-loader-icon-dot-color);
1079
- flex-shrink: 0;
1080
-
1081
- animation: ck-ai-loader-dot-pulse var(--ck-ai-chat-loader-animation-duration) infinite;
1064
+ color: var(--ck-ai-chat-controls-loader-color);
1082
1065
  }
1083
1066
 
1084
- .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(1) {
1085
- animation-delay: 0s;
1086
- }
1087
-
1088
- .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(2) {
1089
- animation-delay: var(--ck-ai-loader-dot-pulse-animation-delay);
1090
- }
1067
+ .ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon {
1068
+ box-sizing: border-box;
1069
+ display: flex;
1070
+ align-items: center;
1071
+ justify-content: space-between;
1072
+ width: var(--ck-ai-loader-dot-pulse-width);
1073
+ height: var(--ck-ai-loader-dot-pulse-height);
1074
+ margin-inline-end: var(--ck-spacing-standard);
1075
+ padding: var(--ck-spacing-small) var(--ck-spacing-medium-small);
1076
+ border-radius: var(--ck-ai-loader-dot-pulse-border-radius);
1077
+ background-color: var(--ck-ai-chat-controls-loader-icon-color);
1078
+ }
1079
+
1080
+ .ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot {
1081
+ width: var(--ck-ai-loader-dot-pulse-dot-size);
1082
+ height: var(--ck-ai-loader-dot-pulse-dot-size);
1083
+ border-radius: 50%;
1084
+ background-color: var(--ck-ai-chat-controls-loader-icon-dot-color);
1085
+ flex-shrink: 0;
1091
1086
 
1092
- .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(3) {
1093
- animation-delay: calc(var(--ck-ai-loader-dot-pulse-animation-delay) * 2);
1087
+ animation: ck-ai-loader-dot-pulse var(--ck-ai-chat-controls-loader-animation-duration) infinite;
1094
1088
  }
1095
1089
 
1096
- .ck.ck-button.ai-chat-controls-loader__cancel-button {
1097
- min-height: 22px;
1098
- padding: 0 var(--ck-spacing-medium) 0 var(--ck-spacing-small);
1099
- border: var(--ck-ai-chat-border-width) solid var(--ck-ai-border-color-button);
1100
- border-radius: var(--ck-border-radius);
1101
- color: var(--ck-ai-chat-color-text);
1102
- }
1090
+ .ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(1) {
1091
+ animation-delay: 0s;
1092
+ }
1103
1093
 
1104
- .ck.ck-button.ai-chat-controls-loader__cancel-button .ck.ck-icon.ck-button__icon {
1105
- color: var(--ck-ai-chat-color-text);
1106
- height: 14px;
1107
- width: 14px;
1108
- margin-right: 4px;
1109
- }
1094
+ .ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(2) {
1095
+ animation-delay: var(--ck-ai-loader-dot-pulse-animation-delay);
1096
+ }
1110
1097
 
1111
- .ck.ck-button.ai-chat-controls-loader__cancel-button:hover {
1112
- background-color: var(--ck-ai-button-secondary-hover-background-color);
1113
- }
1098
+ .ck-ai-chat-controls .ck-ai-chat-controls-loader .ck-ai-chat-controls-loader-icon-dot:nth-child(3) {
1099
+ animation-delay: calc(var(--ck-ai-loader-dot-pulse-animation-delay) * 2);
1100
+ }
1114
1101
 
1115
1102
  .ck-ai-chat-controls-loader-wrapper {
1116
1103
  display: flex;
@@ -1119,11 +1106,11 @@
1119
1106
 
1120
1107
  @keyframes ck-ai-loader-dot-pulse {
1121
1108
  0%, 80%, 100% {
1122
- background-color: var(--ck-ai-chat-loader-icon-dot-color);
1109
+ background-color: var(--ck-ai-chat-controls-loader-icon-dot-color);
1123
1110
  }
1124
1111
 
1125
1112
  40% {
1126
- background-color: var(--ck-ai-chat-loader-icon-dot-active-color);
1113
+ background-color: var(--ck-ai-chat-controls-loader-icon-dot-active-color);
1127
1114
  }
1128
1115
  }
1129
1116
 
@@ -1233,7 +1220,6 @@
1233
1220
 
1234
1221
  .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel {
1235
1222
  width: var(--ck-ai-chat-context-controls-balloon-width);
1236
- height: 319px;
1237
1223
  z-index: calc(var(--ck-ai-tabs-overlay-z-index) + 1);
1238
1224
  }
1239
1225
 
@@ -1252,61 +1238,70 @@
1252
1238
  padding-bottom: var(--ck-spacing-standard);
1253
1239
  }
1254
1240
 
1255
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list {
1256
- height: 233px;
1257
- overflow-y: auto;
1258
- overflow-x: hidden;
1259
- }
1260
-
1261
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item {
1262
- display: flex;
1263
- align-items: center;
1264
- padding: var(--ck-spacing-tiny) var(--ck-spacing-extra-large);
1265
- border-radius: var(--ck-border-radius);
1266
-
1267
- cursor: pointer;
1268
- transition: background-color 0.2s;
1241
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list {
1242
+ overflow-y: auto;
1243
+ overflow-x: hidden;
1244
+ max-height: 210px;
1269
1245
  }
1270
1246
 
1271
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item:hover {
1272
- background-color: var(--ck-ai-button-secondary-hover-background-color);
1273
- }
1247
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item {
1248
+ display: flex;
1249
+ align-items: center;
1250
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-extra-large);
1251
+ border-radius: var(--ck-border-radius);
1274
1252
 
1275
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context {
1276
- color: hsla(0, 0%, 20%, 0.5);
1277
- pointer-events: none;
1253
+ cursor: pointer;
1254
+ transition: background-color 0.2s;
1278
1255
  }
1279
1256
 
1280
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context * {
1281
- color: inherit;
1257
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item:hover {
1258
+ background-color: var(--ck-ai-button-secondary-hover-background-color);
1282
1259
  }
1283
1260
 
1284
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon {
1285
- display: flex;
1286
- align-items: center;
1287
- justify-content: center;
1288
- height: 1.14em;
1289
- margin-right: 0.35em;
1290
- flex-shrink: 0;
1291
- }
1261
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context {
1262
+ color: hsla(0, 0%, 20%, 0.5);
1263
+ pointer-events: none;
1264
+ }
1265
+
1266
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context * {
1267
+ color: inherit;
1268
+ }
1269
+
1270
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon {
1271
+ display: flex;
1272
+ align-items: center;
1273
+ justify-content: center;
1274
+ height: 1.14em;
1275
+ margin-right: 0.35em;
1276
+ flex-shrink: 0;
1277
+ }
1278
+
1279
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon .ck-icon {
1280
+ height: 1.368em;
1281
+ fill: currentColor;
1282
+ }
1292
1283
 
1293
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item__icon .ck-icon {
1294
- height: 1.368em;
1295
- fill: currentColor;
1284
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context .ck-ai-chat-resources__item__icon {
1285
+ color: hsla(0, 0%, 20%, 0.5);
1296
1286
  }
1297
1287
 
1298
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item.ck-ai-chat-resources__item--in-context .ck-ai-chat-resources__item__icon {
1299
- color: hsla(0, 0%, 20%, 0.5);
1300
- }
1288
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item-title {
1289
+ flex: 1;
1290
+ font-size: 1em;
1291
+ line-height: var(--ck-line-height-base);
1292
+ overflow: hidden;
1293
+ text-overflow: ellipsis;
1294
+ white-space: nowrap;
1295
+ }
1301
1296
 
1302
- .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list .ck-ai-chat-resources__item .ck-ai-chat-resources__item-title {
1303
- flex: 1;
1304
- font-size: 1em;
1305
- line-height: var(--ck-line-height-base);
1306
- overflow: hidden;
1307
- text-overflow: ellipsis;
1308
- white-space: nowrap;
1309
- }
1297
+ /*
1298
+ * Use a fixed height for the resources list when the search input is visible so it acts like a filtered list.
1299
+ * See https://github.com/ckeditor/ckeditor5-commercial/pull/8747.
1300
+ */
1301
+
1302
+ .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources .ck-search ~ .ck-ai-chat-resources__list {
1303
+ height: 210px;
1304
+ }
1310
1305
 
1311
1306
  .ck.ck-balloon-panel.ck-ai-chat-context-controls__source-balloon-panel .ck-ai-chat-resources__list.ck-hidden {
1312
1307
  display: none;
@@ -1345,7 +1340,6 @@
1345
1340
  }
1346
1341
 
1347
1342
  .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne {
1348
- bottom: calc(100% + 10px);
1349
1343
  top: auto;
1350
1344
  padding-top: .5em;
1351
1345
  width: 426px;
@@ -1354,30 +1348,6 @@
1354
1348
  overflow-y: scroll;
1355
1349
  }
1356
1350
 
1357
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne::before,
1358
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne::after {
1359
- content: '';
1360
- position: absolute;
1361
- left: calc(2 * var(--ck-balloon-arrow-half-width));
1362
- bottom: calc(-1 * var(--ck-balloon-arrow-height));
1363
- width: 0;
1364
- height: 0;
1365
- border-style: solid;
1366
- border-width: var(--ck-balloon-arrow-height) var(--ck-balloon-arrow-half-width) 0 var(--ck-balloon-arrow-half-width);
1367
- border-color: var(--ck-color-panel-border) transparent transparent;
1368
- }
1369
-
1370
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne::before {
1371
- z-index: var(--ck-balloon-panel-arrow-z-index);
1372
- margin-bottom: calc(-1 * var(--ck-balloon-border-width));
1373
- filter: drop-shadow(var(--ck-balloon-arrow-drop-shadow));
1374
- }
1375
-
1376
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-dropdown__panel.ck-dropdown__panel_ne::after {
1377
- z-index: calc(var(--ck-balloon-panel-arrow-z-index) + 1);
1378
- margin-bottom: calc(var(--ck-balloon-arrow-offset) - var(--ck-balloon-border-width));
1379
- }
1380
-
1381
1351
  .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button {
1382
1352
  border: 0;
1383
1353
  font-size: .9em;
@@ -1396,13 +1366,21 @@
1396
1366
  width: auto;
1397
1367
  }
1398
1368
 
1399
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button:hover,
1400
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on {
1369
+ .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button:hover {
1370
+ background-color: var(--ck-ai-chat-button-active-background-color);
1371
+ color: var(--ck-ai-chat-button-hover-color);
1372
+ }
1373
+
1374
+ .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button:hover .ck-dropdown__arrow {
1375
+ color: var(--ck-ai-chat-button-hover-color);
1376
+ }
1377
+
1378
+ .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on:not(:hover) {
1401
1379
  background-color: var(--ck-ai-chat-button-active-background-color);
1402
1380
  color: var(--ck-ai-background-color-action-button);
1403
1381
  }
1404
1382
 
1405
- .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button:hover .ck-dropdown__arrow, .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on .ck-dropdown__arrow {
1383
+ .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-button.ck-dropdown__button.ck-on:not(:hover) .ck-dropdown__arrow {
1406
1384
  color: var(--ck-ai-background-color-action-button);
1407
1385
  }
1408
1386
 
@@ -1420,6 +1398,7 @@
1420
1398
 
1421
1399
  .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list > .ck-list__item > .ck-button > .ck-list-item-button__check-holder {
1422
1400
  height: 1.2em;
1401
+ flex-shrink: 0;
1423
1402
  }
1424
1403
 
1425
1404
  .ck.ck-ai-chat-controls .ck-ai-chat-controls__model-selection .ck-list > .ck-list__item > .ck-button > .ck-list-item-button__check-holder > .ck-list-item-button__check-icon {
@@ -1547,31 +1526,10 @@
1547
1526
  transition: none;
1548
1527
  }
1549
1528
  .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle {
1550
- --ck-color-button-default-hover-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background);
1551
- --ck-color-button-on-hover-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-background);
1552
- --ck-color-button-default-active-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);
1553
- --ck-color-button-on-background: var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);
1554
- --ck-color-focus-border: var(--ck-ai-chat-feed-item-color-show-changes-toggle-active-background);
1555
- --ck-focus-ring: 1px solid var(--ck-color-focus-border);
1556
-
1557
1529
  padding: 0 var(--ck-spacing-small);
1558
1530
  min-height: 22px;
1559
1531
  font-size: var(--ck-ai-chat-suggestion-container-header-font-size);
1560
- color: var(--ck-ai-chat-color-icon);
1561
1532
  }
1562
- .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle:hover {
1563
- color: var(--ck-ai-chat-feed-item-color-show-changes-toggle-hover-color);
1564
- }
1565
- .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle:active {
1566
- box-shadow: none;
1567
- color: var(--ck-ai-chat-feed-item-color-show-changes-toggle-on-color);
1568
- }
1569
- .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle.ck-on {
1570
- color: var(--ck-ai-chat-feed-item-color-show-changes-toggle-on-color);
1571
- }
1572
- .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle:focus {
1573
- border: 1px solid transparent;
1574
- }
1575
1533
  .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item .ck-ai-suggestion__header__show-changes-toggle > .ck-icon {
1576
1534
  width: 16px;
1577
1535
  height: 16px;
@@ -1609,7 +1567,7 @@
1609
1567
  .ck.ck-ai-chat__feed .ck.ck-ai-chat__feed__item.ck.ck-ai-chat__feed__user-message p {
1610
1568
  display: inline-block;
1611
1569
  background-color: var(--ck-ai-chat-feed-item-color-background-secondary);
1612
- padding: 8px;
1570
+ padding: var(--ck-spacing-standard);
1613
1571
  border-radius: var(--ck-ai-border-radius);
1614
1572
  }
1615
1573
  /*
@@ -1956,6 +1914,9 @@
1956
1914
  margin: 0;
1957
1915
  color: var(--ck-ai-chat-suggestion-icon-default-color);
1958
1916
  }
1917
+ .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__title .ck-toolbar .ck-button:hover {
1918
+ background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
1919
+ }
1959
1920
  .ck.ck-ai-suggestion__container .ck-ai-suggestion__body .ck-ai-suggestion__body__content-part .ck-ai-suggestion__body__content-part__content :last-child {
1960
1921
  padding-bottom: 0;
1961
1922
  margin-bottom: var(--ck-spacing-medium);
@@ -2017,6 +1978,7 @@
2017
1978
  margin-left: 0;
2018
1979
  margin-right: 0;
2019
1980
  margin-bottom: var(--ck-spacing-large);
1981
+ width: 100%;
2020
1982
  }
2021
1983
  .ck.ck-ai-suggestion__container .ck-ai-suggestion__body,
2022
1984
  .ck.ck-ai-suggestion__container .ck-ai-suggestion__changes {
@@ -2116,6 +2078,11 @@
2116
2078
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2117
2079
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
2118
2080
  */
2081
+ :root {
2082
+ --ck-ai-header-color-icon: hsla(0, 0%, 44%, 1);
2083
+ --ck-ai-header-color-text: hsla(263, 59%, 52%, 1);
2084
+ --ck-ai-header-border-color-button: hsla(262, 51%, 80%, 1);
2085
+ }
2119
2086
  .ck-ai-header {
2120
2087
  /* Custom values unlike the rest of editor UI. */
2121
2088
  --ck-ui-component-min-height: 1.7em;
@@ -2132,17 +2099,17 @@
2132
2099
  /* Custom value unlike the rest of editor UI (defaults to 16px). See how it's used in the icon.css */
2133
2100
  --ck-icon-font-size: .666em;
2134
2101
 
2135
- color: var(--ck-ai-chat-color-icon);
2102
+ color: var(--ck-ai-header-color-icon);
2136
2103
  }
2137
2104
  .ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation {
2138
2105
  /* TODO: Extract this to a separate class to avoid duplication (same component and styling in Chat history - empty viewr) */
2139
2106
  /* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
2140
2107
  font-size: 11.7px;
2141
2108
  min-height: unset;
2142
- border: 1px solid var(--ck-ai-border-color-button);
2109
+ border: 1px solid var(--ck-ai-header-border-color-button);
2143
2110
  border-radius: var(--ck-border-radius);
2144
2111
  gap: var(--ck-spacing-small);
2145
- color: var(--ck-ai-chat-color-text);
2112
+ color: var(--ck-ai-header-color-text);
2146
2113
  }
2147
2114
  .ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation:hover {
2148
2115
  background-color: var(--ck-ai-chat-button-active-background-color);
@@ -2156,7 +2123,7 @@
2156
2123
  --ck-icon-font-size: .632em;
2157
2124
 
2158
2125
  margin-inline-end: 0;
2159
- color: var(--ck-ai-chat-color-text);
2126
+ color: var(--ck-ai-header-color-text);
2160
2127
  }
2161
2128
  .ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation > span.ck-button__label {
2162
2129
  position: relative;
@@ -2166,6 +2133,9 @@
2166
2133
  margin-inline-start: 0;
2167
2134
  margin-inline-end: var(--ck-spacing-small);
2168
2135
  }
2136
+ .ck-ai-header.ck-ai-header_small > .ck.ck-button.ck-button-back:hover {
2137
+ background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
2138
+ }
2169
2139
  .ck-ai-header.ck-ai-header_small > .ck.ck-button.ck-button-back > .ck-button__icon {
2170
2140
  /* Custom value unlike the rest of editor UI (defaults to 16px). See how it's used in the icon.css */
2171
2141
  --ck-icon-font-size: 13px;
@@ -2363,6 +2333,7 @@
2363
2333
  --ck-ai-button-tertiary-disabled-text-color: hsla(263, 59%, 52%, 0.5);
2364
2334
  --ck-ai-button-tertiary-text-background-color: transparent;
2365
2335
  --ck-ai-button-tertiary-text-hover-background-color: hsla(262, 100%, 96%, 1);
2336
+ --ck-ai-button-tertiary-text-hover-color: hsla(0, 0%, 20%, 1);
2366
2337
 
2367
2338
  /* Tertiary filled button */
2368
2339
  --ck-ai-button-tertiary-filled-color: hsla(0, 0%, 44%, 1);
@@ -2424,7 +2395,17 @@
2424
2395
  }
2425
2396
  .ck.ck-button.ck-ai-button-tertiary-text:hover {
2426
2397
  background-color: var(--ck-ai-button-tertiary-text-hover-background-color);
2398
+ color: var(--ck-ai-button-tertiary-text-hover-color);
2427
2399
  }
2400
+ .ck.ck-button.ck-ai-button-tertiary-text:hover > .ck.ck-button__icon {
2401
+ color: var(--ck-ai-button-tertiary-text-hover-color);
2402
+ }
2403
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-on:hover {
2404
+ background-color: var(--ck-ai-button-tertiary-text-hover-background-color);
2405
+ }
2406
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-on:hover > .ck.ck-button__icon {
2407
+ color: var(--ck-ai-button-tertiary-text-hover-color);
2408
+ }
2428
2409
  .ck.ck-button.ck-ai-button-tertiary-text:disabled,
2429
2410
  .ck.ck-button.ck-ai-button-tertiary-text.ck-disabled {
2430
2411
  color: var(--ck-ai-button-tertiary-disabled-text-color);
@@ -2460,6 +2441,15 @@
2460
2441
  .ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck-button__icon {
2461
2442
  opacity: 1;
2462
2443
  }
2444
+ .ck.ck-button.ck-ai-button-stop-generating {
2445
+ min-height: 22px;
2446
+ padding: 0 var(--ck-spacing-medium) 0 var(--ck-spacing-small);
2447
+ }
2448
+ .ck.ck-button.ck-ai-button-stop-generating .ck.ck-icon.ck-button__icon {
2449
+ height: 14px;
2450
+ width: 14px;
2451
+ margin-right: 4px;
2452
+ }
2463
2453
  /*
2464
2454
  * What you're currently looking at is the source code of a legally protected, proprietary software.
2465
2455
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
@@ -2497,6 +2487,13 @@
2497
2487
  :root {
2498
2488
  --ck-ai-suggestion-inactive-color-background: hsla(128, 6%, 93%, 0.35);
2499
2489
  --ck-ai-suggestion-inactive-color-border: hsla(128, 1%, 73%, 0.35);
2490
+
2491
+ --ck-ai-suggestion-marker-insertion-border-color: var(--ck-color-suggestion-marker-insertion-border, hsla(128, 71%, 40%, .35));
2492
+ --ck-ai-suggestion-marker-insertion-background-color: var(--ck-color-suggestion-marker-insertion-background, hsla(128, 71%, 65%, .35));
2493
+
2494
+ --ck-ai-suggestion-marker-deletion-border-color: var(--ck-color-suggestion-marker-deletion-border, hsla(345, 71%, 40%, .35));
2495
+ --ck-ai-suggestion-marker-deletion-background-color: var(--ck-color-suggestion-marker-deletion-background, hsla(345, 71%, 65%, .35));
2496
+ --ck-ai-suggestion-marker-deletion-stroke-color: var(--ck-color-suggestion-marker-deletion-stroke, hsla(345, 71%, 20%, .5));
2500
2497
  }
2501
2498
 
2502
2499
  :root {
@@ -2522,8 +2519,8 @@
2522
2519
  --ck-ai-chat-animation-duration: 0.6s;
2523
2520
  --ck-ai-chat-animation-timing: ease-out;
2524
2521
 
2525
- --ck-ai-chat-loader-animation-duration: 1.5s;
2526
- --ck-ai-chat-loader-icon-color: hsla(0, 0%, 96%, 0.98);
2522
+ --ck-ai-chat-controls-loader-animation-duration: 1.5s;
2523
+ --ck-ai-chat-controls-loader-icon-color: hsla(0, 0%, 96%, 0.98);
2527
2524
 
2528
2525
  --ck-ai-chat-feed-loader-icon-color: hsla(0, 0%, 85%, 1);
2529
2526
 
@@ -2540,7 +2537,6 @@
2540
2537
  width: 100%;
2541
2538
  display: flex;
2542
2539
  flex-direction: column;
2543
- overflow: hidden;
2544
2540
  font-family: var(--ck-ai-chat-font-family) !important;
2545
2541
  }
2546
2542
 
@@ -2715,6 +2711,10 @@
2715
2711
  color: var(--ck-ai-chat-button-active-color);
2716
2712
  }
2717
2713
 
2714
+ .ck .ck-ai-chat-history .ck-ai-chat-history__item-actions .ck-dropdown .ck-dropdown__panel .ck-list__item .ck-button:hover, .ck .ck-ai-chat-history .ck-ai-chat-history__item-actions .ck-dropdown .ck-dropdown__panel .ck-list__item .ck-button:active {
2715
+ background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
2716
+ }
2717
+
2718
2718
  .ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-input,
2719
2719
  .ck .ck-ai-chat-history .ck-ai-chat-history__item--edit .ck-input_focused {
2720
2720
  width: 100%;
@@ -3075,6 +3075,18 @@
3075
3075
  border-radius: var(--ck-border-radius);
3076
3076
  }
3077
3077
 
3078
+ .ck.ck-ai-suggestion__error.ai-balloon-error .ck-ai-suggestion__error-text {
3079
+ --ck-border-radius: 4px;
3080
+
3081
+ margin-bottom: var(--ck-spacing-medium);
3082
+ background-color: hsla(15, 100%, 97%, 1);
3083
+ border: 1px solid hsla(14, 100%, 68%, 1);
3084
+ color: hsla(0, 0%, 20%, 1);
3085
+ padding: var(--ck-spacing-medium);
3086
+ display: block;
3087
+ border-radius: var(--ck-border-radius);
3088
+ }
3089
+
3078
3090
  /*
3079
3091
  * Classes used by the "fake visual selection" displayed in the content
3080
3092
  * when the AI Balloon is open.
@@ -3103,18 +3115,20 @@
3103
3115
  */
3104
3116
 
3105
3117
  :root {
3106
- --ck-ai-check-list-item-hover-border-color: hsla(262, 64%, 78%, 1);
3107
- --ck-ai-check-list-item-active-border-color: hsla(263, 59%, 52%, 1);
3108
- --ck-ai-check-list-item-title-color: var(--ck-color-text);
3109
- --ck-ai-check-list-item-description-color: hsla(0, 0%, 44%, 1);
3110
- --ck-ai-check-list-item-title-icon-color: hsla(0, 0%, 44%, 1);
3111
- --ck-ai-check-list-model-dropdown-width: 426px;
3112
- --ck-ai-check-list-model-dropdown-max-height: 340px;
3113
- --ck-ai-check-list-model-dropdown-arrow-drop-shadow: 0 -2px 0px var(--ck-color-shadow-drop);
3118
+ --ck-ai-review-check-list-item-hover-border-color: hsla(262, 64%, 78%, 1);
3119
+ --ck-ai-review-check-list-item-active-border-color: hsla(263, 59%, 52%, 1);
3120
+ --ck-ai-review-check-list-item-title-color: var(--ck-color-text);
3121
+ --ck-ai-review-check-list-item-description-color: hsla(0, 0%, 44%, 1);
3122
+ --ck-ai-review-check-list-item-title-icon-color: hsla(0, 0%, 44%, 1);
3123
+ --ck-ai-review-check-list-model-dropdown-width: 426px;
3124
+ --ck-ai-review-check-list-model-dropdown-max-height: 340px;
3125
+ --ck-ai-review-check-list-model-dropdown-arrow-drop-shadow: 0 -2px 0px var(--ck-color-shadow-drop);
3126
+ --ck-ai-review-check-list-model-dropdown-hover-background-color: hsla(262, 100%, 96%, 1);
3127
+ --ck-ai-review-check-list-model-dropdown-active-color: hsla(263, 59%, 52%, 1);
3114
3128
  }
3115
3129
 
3116
3130
  .ck.ck-ai-review-mode * {
3117
- font-family: var(--ck-ai-chat-font-family) !important;
3131
+ font-family: var(--ck-ai-review-font-family) !important;
3118
3132
  }
3119
3133
 
3120
3134
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list {
@@ -3141,7 +3155,7 @@
3141
3155
  }
3142
3156
 
3143
3157
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-description {
3144
- color: var(--ck-ai-check-list-item-description-color);
3158
+ color: var(--ck-ai-review-check-list-item-description-color);
3145
3159
  }
3146
3160
 
3147
3161
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title-text,
@@ -3164,8 +3178,8 @@
3164
3178
  visibility: visible;
3165
3179
 
3166
3180
  transition: box-shadow 0.3s ease-in-out,
3167
- opacity 0.1s calc(0.05s * var(--ck-ai-check-list-item-index)),
3168
- visibility 0.1s calc(0.05s * var(--ck-ai-check-list-item-index));
3181
+ opacity 0.1s calc(0.05s * var(--ck-ai-review-check-list-item-index)),
3182
+ visibility 0.1s calc(0.05s * var(--ck-ai-review-check-list-item-index));
3169
3183
  }
3170
3184
 
3171
3185
  @media (prefers-reduced-motion: reduce) {
@@ -3177,7 +3191,7 @@
3177
3191
  }
3178
3192
 
3179
3193
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item.ck-ai-review-mode__check-list-item_selected {
3180
- box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-active-border-color) inset;
3194
+ box-shadow: 3px 0px 0px 0px var(--ck-ai-review-check-list-item-active-border-color) inset;
3181
3195
  }
3182
3196
 
3183
3197
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title {
@@ -3188,7 +3202,7 @@
3188
3202
 
3189
3203
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-title > .ck-ai-review-mode__check-list-item-title-text {
3190
3204
  flex-grow: 1;
3191
- color: var(--ck-ai-check-list-item-title-color);
3205
+ color: var(--ck-ai-review-check-list-item-title-color);
3192
3206
  font-weight: 700;
3193
3207
  }
3194
3208
 
@@ -3197,7 +3211,7 @@
3197
3211
 
3198
3212
  flex-shrink: 0;
3199
3213
  margin-inline-start: var(--ck-spacing-small);
3200
- color: var(--ck-ai-check-list-item-title-icon-color);
3214
+ color: var(--ck-ai-review-check-list-item-title-icon-color);
3201
3215
 
3202
3216
  opacity: 0;
3203
3217
  visibility: hidden;
@@ -3213,7 +3227,7 @@
3213
3227
  }
3214
3228
 
3215
3229
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item:not(.ck-ai-review-mode__check-list-item_selected):hover {
3216
- box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-hover-border-color) inset;
3230
+ box-shadow: 3px 0px 0px 0px var(--ck-ai-review-check-list-item-hover-border-color) inset;
3217
3231
  }
3218
3232
 
3219
3233
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item:not(.ck-ai-review-mode__check-list-item_selected):hover .ck-ai-review-mode__check-list-item-title > .ck.ck-icon.ck-ai-review-mode__check-list-item-title-icon {
@@ -3275,12 +3289,12 @@
3275
3289
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown > .ck.ck-button.ck-dropdown__button.ck-on,
3276
3290
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown > .ck.ck-button.ck-dropdown__button:active {
3277
3291
  background-color: var(--ck-ai-button-secondary-active-background-color);
3278
- color: var(--ck-ai-background-color-action-button);
3292
+ color: var(--ck-ai-review-check-list-model-dropdown-active-color);
3279
3293
  }
3280
3294
 
3281
3295
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown > .ck.ck-button.ck-dropdown__button:hover:not(.ck-disabled) {
3282
- background-color: var(--ck-ai-chat-button-active-background-color);
3283
- color: var(--ck-ai-background-color-action-button);
3296
+ background-color: var(--ck-ai-review-check-list-model-dropdown-hover-background-color);
3297
+ color: var(--ck-ai-review-check-list-model-dropdown-active-color);
3284
3298
  }
3285
3299
 
3286
3300
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown > .ck.ck-button.ck-dropdown__button > .ck.ck-button__label {
@@ -3288,7 +3302,7 @@
3288
3302
  }
3289
3303
 
3290
3304
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown .ck-dropdown__panel {
3291
- width: var(--ck-ai-check-list-model-dropdown-width);
3305
+ width: var(--ck-ai-review-check-list-model-dropdown-width);
3292
3306
  padding-top: var(--ck-spacing-standard);
3293
3307
  top: calc(100% + var(--ck-balloon-arrow-height));
3294
3308
  bottom: auto;
@@ -3310,7 +3324,7 @@
3310
3324
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se::before {
3311
3325
  z-index: var(--ck-balloon-panel-arrow-z-index);
3312
3326
  margin-bottom: calc(-1 * var(--ck-balloon-border-width));
3313
- filter: drop-shadow(var(--ck-ai-check-list-model-dropdown-arrow-drop-shadow));
3327
+ filter: drop-shadow(var(--ck-ai-review-check-list-model-dropdown-arrow-drop-shadow));
3314
3328
  }
3315
3329
 
3316
3330
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se::after {
@@ -3319,7 +3333,7 @@
3319
3333
  }
3320
3334
 
3321
3335
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown .ck-dropdown__panel.ck-dropdown__panel_se > .ck-list {
3322
- max-height: var(--ck-ai-check-list-model-dropdown-max-height);
3336
+ max-height: var(--ck-ai-review-check-list-model-dropdown-max-height);
3323
3337
  overflow-y: scroll;
3324
3338
  }
3325
3339
 
@@ -3350,7 +3364,7 @@
3350
3364
  }
3351
3365
 
3352
3366
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-list > .ck-ai-review-mode__check-list-item .ck-ai-review-mode__check-list-item-model-dropdown .ck-dropdown__panel > .ck.ck-list > .ck.ck-list__item > .ck.ck-button.ck-list-item-button .ck-ai-review-mode__check-list-item-model-dropdown-description > span {
3353
- color: var(--ck-ai-chat-color-icon);
3367
+ color: var(--ck-ai-review-color-icon);
3354
3368
  line-height: 1;
3355
3369
  white-space: normal;
3356
3370
  }
@@ -3364,6 +3378,11 @@
3364
3378
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3365
3379
  */
3366
3380
 
3381
+ :root {
3382
+ --ck-ai-review-color-text: hsla(263, 59%, 52%, 1);
3383
+ --ck-ai-review-border-color-button: hsla(262, 51%, 80%, 1);
3384
+ }
3385
+
3367
3386
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run {
3368
3387
  position: relative;
3369
3388
  height: 100%;
@@ -3403,7 +3422,19 @@
3403
3422
  }
3404
3423
 
3405
3424
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result:last-child {
3406
- border-bottom: 1px solid var(--ck-color-base-border);
3425
+ position: relative;
3426
+ contain: layout;
3427
+ }
3428
+
3429
+ .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result:last-child::after {
3430
+ display: block;
3431
+ content: "";
3432
+ height: 1px;
3433
+ background: var(--ck-color-base-border);
3434
+ position: absolute;
3435
+ left: 0;
3436
+ right: 0;
3437
+ bottom: -1px;
3407
3438
  }
3408
3439
 
3409
3440
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result .ck-suggestion-marker {
@@ -3411,11 +3442,11 @@
3411
3442
  }
3412
3443
 
3413
3444
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result:hover {
3414
- box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-hover-border-color) inset;
3445
+ box-shadow: 3px 0px 0px 0px var(--ck-ai-review-check-list-item-hover-border-color) inset;
3415
3446
  }
3416
3447
 
3417
3448
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_active {
3418
- box-shadow: 3px 0px 0px 0px var(--ck-ai-check-list-item-active-border-color) inset;
3449
+ box-shadow: 3px 0px 0px 0px var(--ck-ai-review-check-list-item-active-border-color) inset;
3419
3450
  }
3420
3451
 
3421
3452
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_removing {
@@ -3522,12 +3553,16 @@
3522
3553
  .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-error-container .ck-ai-review-mode__check-run-error-retry-button {
3523
3554
  font-size: 11.7px;
3524
3555
  min-height: unset;
3525
- border: 1px solid var(--ck-ai-border-color-button);
3556
+ border: 1px solid var(--ck-ai-review-border-color-button);
3526
3557
  border-radius: var(--ck-border-radius);
3527
3558
  gap: var(--ck-spacing-small);
3528
- color: var(--ck-ai-chat-color-text);
3559
+ color: var(--ck-ai-review-color-text);
3529
3560
  }
3530
3561
 
3562
+ .ck.ck-ai-review-mode .ck-ai-review-mode__check-run .ck-ai-review-mode__check-run-error-container:not(.ck-hidden) + .ck-ai-review-mode__check-run-results-container:not(.ck-hidden) > .ck-ai-review-mode__check-run-result:first-child {
3563
+ border-top: 1px solid var(--ck-color-base-border);
3564
+ }
3565
+
3531
3566
  @keyframes ck-ai-check-run-list-item-show {
3532
3567
  0% {
3533
3568
  opacity: 0;
@@ -3632,6 +3667,17 @@
3632
3667
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3633
3668
  */
3634
3669
 
3670
+ :root {
3671
+ --ck-ai-review-mode-inactive-check-background: hsla(0, 0%, 98%, 1);
3672
+
3673
+ --ck-color-suggestion-marker-deletion-border-inactive: hsla(345, 1%, 74%, 0.35);
3674
+ --ck-color-suggestion-marker-deletion-background-inactive: hsla(345, 11%, 95%, 0.35);
3675
+ --ck-color-suggestion-marker-deletion-stroke-inactive: hsla(0, 1%, 62%, 0.35);
3676
+
3677
+ --ck-color-suggestion-marker-insertion-border-inactive: hsla(128, 1%, 73%, 0.35);
3678
+ --ck-color-suggestion-marker-insertion-background-inactive: hsla(128, 6%, 93%, 0.35);
3679
+ }
3680
+
3635
3681
  .ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-footer {
3636
3682
  margin-top: var(--ck-spacing-standard);
3637
3683
  display: flex;
@@ -3654,6 +3700,16 @@
3654
3700
  margin-left: auto;
3655
3701
  }
3656
3702
 
3703
+ .ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-footer .ck.ck-button.ck-ai-review-mode__check-run-result-status-button {
3704
+ background-color: hsla(0, 0%, 93%, 1);
3705
+ color: hsla(0, 0%, 44%, 1);
3706
+ border: none;
3707
+ }
3708
+
3709
+ .ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-footer .ck.ck-button.ck-ai-review-mode__check-run-result-status-button > .ck.ck-icon {
3710
+ --ck-icon-size: 16px;
3711
+ }
3712
+
3657
3713
  .ck-ai-review-mode__check-run-result > .ck-ai-review-mode__check-run-result-response {
3658
3714
  overflow: hidden;
3659
3715
  }
@@ -3677,6 +3733,26 @@
3677
3733
  max-height: 125px;
3678
3734
  }
3679
3735
 
3736
+ .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_grayout {
3737
+ pointer-events: none;
3738
+ background-color: var(--ck-ai-review-mode-inactive-check-background);
3739
+ }
3740
+
3741
+ .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_grayout .ck-suggestion-marker.ck-suggestion-marker-deletion {
3742
+ --ck-color-suggestion-marker-deletion-border: var(--ck-color-suggestion-marker-deletion-border-inactive);
3743
+ --ck-color-suggestion-marker-deletion-background: var(--ck-color-suggestion-marker-deletion-background-inactive);
3744
+ --ck-color-suggestion-marker-deletion-stroke: var(--ck-color-suggestion-marker-deletion-stroke-inactive);
3745
+ }
3746
+
3747
+ .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_grayout .ck-suggestion-marker.ck-suggestion-marker-insertion {
3748
+ --ck-color-suggestion-marker-insertion-border: var(--ck-color-suggestion-marker-insertion-border-inactive);
3749
+ --ck-color-suggestion-marker-insertion-background: var(--ck-color-suggestion-marker-insertion-background-inactive);
3750
+ }
3751
+
3752
+ .ck-ai-review-mode__check-run-result.ck-ai-review-mode__check-run-result_grayout > .ck-ai-review-mode__check-run-result-response > * {
3753
+ filter: grayscale(1);
3754
+ }
3755
+
3680
3756
  /*
3681
3757
  * What you're currently looking at is the source code of a legally protected, proprietary software.
3682
3758
  * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
@@ -3695,6 +3771,12 @@
3695
3771
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3696
3772
  */
3697
3773
 
3774
+ :root {
3775
+ --ck-ai-header-color-icon: hsla(0, 0%, 44%, 1);
3776
+ --ck-ai-header-color-text: hsla(263, 59%, 52%, 1);
3777
+ --ck-ai-header-border-color-button: hsla(262, 51%, 80%, 1);
3778
+ }
3779
+
3698
3780
  .ck-ai-header {
3699
3781
  /* Custom values unlike the rest of editor UI. */
3700
3782
  --ck-ui-component-min-height: 1.7em;
@@ -3713,7 +3795,7 @@
3713
3795
  /* Custom value unlike the rest of editor UI (defaults to 16px). See how it's used in the icon.css */
3714
3796
  --ck-icon-font-size: .666em;
3715
3797
 
3716
- color: var(--ck-ai-chat-color-icon);
3798
+ color: var(--ck-ai-header-color-icon);
3717
3799
  }
3718
3800
 
3719
3801
  .ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation {
@@ -3721,10 +3803,10 @@
3721
3803
  /* Custom value unlike the rest of editor UI (derived from --ck-font-size-base, defaults to 13px). */
3722
3804
  font-size: 11.7px;
3723
3805
  min-height: unset;
3724
- border: 1px solid var(--ck-ai-border-color-button);
3806
+ border: 1px solid var(--ck-ai-header-border-color-button);
3725
3807
  border-radius: var(--ck-border-radius);
3726
3808
  gap: var(--ck-spacing-small);
3727
- color: var(--ck-ai-chat-color-text);
3809
+ color: var(--ck-ai-header-color-text);
3728
3810
  }
3729
3811
 
3730
3812
  .ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation:hover {
@@ -3741,7 +3823,7 @@
3741
3823
  --ck-icon-font-size: .632em;
3742
3824
 
3743
3825
  margin-inline-end: 0;
3744
- color: var(--ck-ai-chat-color-text);
3826
+ color: var(--ck-ai-header-color-text);
3745
3827
  }
3746
3828
 
3747
3829
  .ck-ai-header > .ck.ck-button.ck-ai-chat__start-conversation > span.ck-button__label {
@@ -3754,6 +3836,10 @@
3754
3836
  margin-inline-end: var(--ck-spacing-small);
3755
3837
  }
3756
3838
 
3839
+ .ck-ai-header.ck-ai-header_small > .ck.ck-button.ck-button-back:hover {
3840
+ background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
3841
+ }
3842
+
3757
3843
  .ck-ai-header.ck-ai-header_small > .ck.ck-button.ck-button-back > .ck-button__icon {
3758
3844
  /* Custom value unlike the rest of editor UI (defaults to 16px). See how it's used in the icon.css */
3759
3845
  --ck-icon-font-size: 13px;
@@ -3780,61 +3866,398 @@
3780
3866
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3781
3867
  */
3782
3868
  :root {
3783
- --ck-ai-suggestion-inactive-color-background: hsla(128, 6%, 93%, 0.35);
3784
- --ck-ai-suggestion-inactive-color-border: hsla(128, 1%, 73%, 0.35);
3785
- }
3786
-
3787
- .ck {
3788
- --ck-color-ai-review-mode-suggestion: hsla(263, 59%, 52%, 0.5);
3789
- }
3869
+ /* Primary button */
3870
+ --ck-ai-button-primary-color: hsla(0, 0%, 100%, 1);
3871
+ --ck-ai-button-primary-disabled-color: hsla(0, 0%, 100%, 1);
3872
+ --ck-ai-button-primary-background-color: hsla(263, 59%, 52%, 1);
3873
+ --ck-ai-button-primary-disabled-background-color: hsla(263, 59%, 52%, 0.5);
3874
+ --ck-ai-button-primary-hover-background-color: hsla(263, 59%, 40%, 1);
3790
3875
 
3791
- .ck .ck-ai-review-mode {
3792
- max-height: 100%;
3793
- height: 100%;
3794
- display: flex;
3795
- flex-direction: column;
3796
- }
3876
+ /* Secondary button */
3877
+ --ck-ai-button-secondary-color: hsla(263, 59%, 52%, 1);
3878
+ --ck-ai-button-secondary-disabled-color: hsla(263, 59%, 52%, 0.5);
3879
+ --ck-ai-button-secondary-background-color: hsla(0, 0%, 100%, 1);
3880
+ --ck-ai-button-secondary-disabled-background-color: hsla(0, 0%, 100%, 0.5);
3881
+ --ck-ai-button-secondary-border-color: hsla(262, 51%, 80%, 1);
3882
+ --ck-ai-button-secondary-disabled-border-color: hsla(262, 51%, 80%, 0.5);
3883
+ --ck-ai-button-secondary-hover-background-color: hsla(262, 100%, 96%, 1);
3884
+ --ck-ai-button-secondary-active-background-color: hsla(262, 100%, 96%, 1);
3797
3885
 
3798
- .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_add {
3799
- border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
3800
- }
3886
+ /* Tertiary text button */
3887
+ --ck-ai-button-tertiary-text-color: hsla(263, 59%, 52%, 1);
3888
+ --ck-ai-button-tertiary-disabled-text-color: hsla(263, 59%, 52%, 0.5);
3889
+ --ck-ai-button-tertiary-text-background-color: transparent;
3890
+ --ck-ai-button-tertiary-text-hover-background-color: hsla(262, 100%, 96%, 1);
3891
+ --ck-ai-button-tertiary-text-hover-color: hsla(0, 0%, 20%, 1);
3801
3892
 
3802
- .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_hide {
3803
- display: none;
3893
+ /* Tertiary filled button */
3894
+ --ck-ai-button-tertiary-filled-color: hsla(0, 0%, 44%, 1);
3895
+ --ck-ai-button-tertiary-filled-disabled-color: hsla(0, 0%, 44%, 0.5);
3896
+ --ck-ai-button-tertiary-filled-hover-color: hsla(0, 0%, 20%, 1);
3897
+ --ck-ai-button-tertiary-filled-active-color: hsla(263, 59%, 52%, 1);
3898
+ --ck-ai-button-tertiary-filled-background-color: transparent;
3899
+ --ck-ai-button-tertiary-filled-disabled-background-color: hsla(0, 0%, 93%, 1);
3900
+ --ck-ai-button-tertiary-filled-hover-background-color: hsla(262, 100%, 96%, 1);
3901
+ --ck-ai-button-tertiary-filled-active-background-color: hsla(262, 100%, 96%, 1);
3902
+ }
3903
+ .ck.ck-button.ck-ai-button-primary {
3904
+ color: var(--ck-ai-button-primary-color);
3905
+ background-color: var(--ck-ai-button-primary-background-color);
3906
+ border: 1px solid transparent;
3907
+ }
3908
+ .ck.ck-button.ck-ai-button-primary:hover {
3909
+ background-color: var(--ck-ai-button-primary-hover-background-color);
3804
3910
  }
3805
-
3806
- .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_strikethrough {
3807
- position: relative;
3911
+ .ck.ck-button.ck-ai-button-primary:disabled,
3912
+ .ck.ck-button.ck-ai-button-primary.ck-disabled {
3913
+ color: var(--ck-ai-button-primary-disabled-color);
3914
+ background-color: var(--ck-ai-button-primary-disabled-background-color);
3808
3915
  }
3809
-
3810
- .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_strikethrough:before {
3811
- border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
3812
- position: absolute;
3813
- content: "";
3814
- width: 100%;
3815
- height: 60%;
3916
+ .ck.ck-button.ck-ai-button-primary:disabled > .ck.ck-button__label,
3917
+ .ck.ck-button.ck-ai-button-primary.ck-disabled > .ck.ck-button__label,
3918
+ .ck.ck-button.ck-ai-button-primary:disabled > .ck-button__icon,
3919
+ .ck.ck-button.ck-ai-button-primary.ck-disabled > .ck-button__icon {
3920
+ opacity: 1;
3816
3921
  }
3817
-
3818
- .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_underline {
3819
- border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
3820
- }
3821
-
3822
- .ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_add {
3823
- white-space: break-spaces;
3824
- border-top: 3px solid var(--ck-color-suggestion-marker-insertion-border);
3825
- border-bottom: 3px solid var(--ck-color-suggestion-marker-insertion-border);
3826
- background: var(--ck-color-suggestion-marker-insertion-background);
3922
+ .ck.ck-button.ck-ai-button-secondary {
3923
+ color: var(--ck-ai-button-secondary-color);
3924
+ background-color: var(--ck-ai-button-secondary-background-color);
3925
+ border: 1px solid var(--ck-ai-button-secondary-border-color);
3926
+ }
3927
+ .ck.ck-button.ck-ai-button-secondary:hover {
3928
+ background-color: var(--ck-ai-button-secondary-hover-background-color);
3929
+ }
3930
+ .ck.ck-button.ck-ai-button-secondary:active,
3931
+ .ck.ck-button.ck-ai-button-secondary.ck-on {
3932
+ background-color: var(--ck-ai-button-secondary-active-background-color);
3933
+ }
3934
+ .ck.ck-button.ck-ai-button-secondary:disabled,
3935
+ .ck.ck-button.ck-ai-button-secondary.ck-disabled {
3936
+ color: var(--ck-ai-button-secondary-disabled-color);
3937
+ background-color: var(--ck-ai-button-secondary-disabled-background-color);
3938
+ border: 1px solid var(--ck-ai-button-secondary-disabled-border-color);
3939
+ }
3940
+ .ck.ck-button.ck-ai-button-secondary:disabled > .ck.ck-button__label,
3941
+ .ck.ck-button.ck-ai-button-secondary.ck-disabled > .ck.ck-button__label,
3942
+ .ck.ck-button.ck-ai-button-secondary:disabled > .ck-button__icon,
3943
+ .ck.ck-button.ck-ai-button-secondary.ck-disabled > .ck-button__icon {
3944
+ opacity: 1;
3945
+ }
3946
+ .ck.ck-button.ck-ai-button-tertiary-text {
3947
+ color: var(--ck-ai-button-tertiary-text-color);
3948
+ background-color: var(--ck-ai-button-tertiary-text-background-color);
3949
+ border: none;
3950
+ }
3951
+ .ck.ck-button.ck-ai-button-tertiary-text:hover {
3952
+ background-color: var(--ck-ai-button-tertiary-text-hover-background-color);
3953
+ color: var(--ck-ai-button-tertiary-text-hover-color);
3954
+ }
3955
+ .ck.ck-button.ck-ai-button-tertiary-text:hover > .ck.ck-button__icon {
3956
+ color: var(--ck-ai-button-tertiary-text-hover-color);
3957
+ }
3958
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-on:hover {
3959
+ background-color: var(--ck-ai-button-tertiary-text-hover-background-color);
3960
+ }
3961
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-on:hover > .ck.ck-button__icon {
3962
+ color: var(--ck-ai-button-tertiary-text-hover-color);
3963
+ }
3964
+ .ck.ck-button.ck-ai-button-tertiary-text:disabled,
3965
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-disabled {
3966
+ color: var(--ck-ai-button-tertiary-disabled-text-color);
3967
+ }
3968
+ .ck.ck-button.ck-ai-button-tertiary-text:disabled > .ck.ck-button__label,
3969
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-disabled > .ck.ck-button__label,
3970
+ .ck.ck-button.ck-ai-button-tertiary-text:disabled > .ck-button__icon,
3971
+ .ck.ck-button.ck-ai-button-tertiary-text.ck-disabled > .ck-button__icon {
3972
+ opacity: 1;
3973
+ }
3974
+ .ck.ck-button.ck-ai-button-tertiary-filled {
3975
+ color: var(--ck-ai-button-tertiary-filled-color);
3976
+ background-color: var(--ck-ai-button-tertiary-filled-background-color);
3977
+ border: none;
3978
+ }
3979
+ .ck.ck-button.ck-ai-button-tertiary-filled:hover {
3980
+ color: var(--ck-ai-button-tertiary-filled-hover-color);
3981
+ background-color: var(--ck-ai-button-tertiary-filled-hover-background-color);
3982
+ }
3983
+ .ck.ck-button.ck-ai-button-tertiary-filled:active,
3984
+ .ck.ck-button.ck-ai-button-tertiary-filled.ck-on {
3985
+ color: var(--ck-ai-button-tertiary-filled-active-color);
3986
+ background-color: var(--ck-ai-button-tertiary-filled-active-background-color);
3987
+ }
3988
+ .ck.ck-button.ck-ai-button-tertiary-filled:disabled,
3989
+ .ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled {
3990
+ color: var(--ck-ai-button-tertiary-filled-disabled-color);
3991
+ background-color: var(--ck-ai-button-tertiary-filled-disabled-background-color);
3992
+ }
3993
+ .ck.ck-button.ck-ai-button-tertiary-filled:disabled > .ck.ck-button__label,
3994
+ .ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck.ck-button__label,
3995
+ .ck.ck-button.ck-ai-button-tertiary-filled:disabled > .ck-button__icon,
3996
+ .ck.ck-button.ck-ai-button-tertiary-filled.ck-disabled > .ck-button__icon {
3997
+ opacity: 1;
3998
+ }
3999
+ .ck.ck-button.ck-ai-button-stop-generating {
4000
+ min-height: 22px;
4001
+ padding: 0 var(--ck-spacing-medium) 0 var(--ck-spacing-small);
4002
+ }
4003
+ .ck.ck-button.ck-ai-button-stop-generating .ck.ck-icon.ck-button__icon {
4004
+ height: 14px;
4005
+ width: 14px;
4006
+ margin-right: 4px;
4007
+ }
4008
+ /*
4009
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
4010
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4011
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
4012
+ *
4013
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4014
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4015
+ */
4016
+ :root {
4017
+ --ck-ai-chat-color-background-error: hsla(15, 100%, 97%, 1);
4018
+ --ck-ai-chat-color-background-warning: hsla(36, 100%, 65.10%, 0.10);
4019
+
4020
+ --ck-ai-chat-color-border-error: hsla(14, 100%, 68%, 1);
4021
+ --ck-ai-chat-color-border-warning: hsla(36, 100%, 65%, 1);
4022
+ }
4023
+ /* TODO: rename the class to make it more generic and function as a modifier. */
4024
+ .ck.ck-ai-chat-error {
4025
+ display: flex;
4026
+ align-items: flex-start;
4027
+ justify-content: space-between;
4028
+ gap: var(--ck-spacing-medium);
4029
+ width: fit-content;
4030
+
4031
+ background-color: var(--ck-ai-chat-color-background-error);
4032
+ border: 1px solid var(--ck-ai-chat-color-border-error);
4033
+ padding: var(--ck-spacing-standard);
4034
+ border-radius: var(--ck-ai-border-radius);
4035
+ }
4036
+ .ck.ck-ai-chat-error.ck-ai-chat-error_warning {
4037
+ background-color: var(--ck-ai-chat-color-background-warning);
4038
+ border-color: var(--ck-ai-chat-color-border-warning);
4039
+ }
4040
+ .ck.ck-ai-chat-error > p {
4041
+ flex: 1;
4042
+ max-width: calc(100% - (16px + var(--ck-spacing-medium)));
4043
+ white-space: normal;
4044
+ color: var(--ck-color-base-text);
4045
+ line-height: var(--ck-line-height-base);
4046
+ }
4047
+ .ck.ck-ai-chat-error > .ck-button {
4048
+ --ck-icon-font-size: 0.666em;
4049
+ }
4050
+ .ck.ck-ai-chat-error > .ck-button.ck-ai-chat-error__dismiss-button {
4051
+ --ck-icon-font-size: 0.666em;
4052
+ --ck-ui-component-min-height: 16px;
4053
+
4054
+ padding: 0;
4055
+ flex-shrink: 0;
4056
+ }
4057
+ .ck.ck-ai-chat-error.ck-ai-chat-error_full-width > p {
4058
+ max-width: 100%;
4059
+ }
4060
+ /*
4061
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
4062
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4063
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
4064
+ *
4065
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4066
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4067
+ */
4068
+ :root {
4069
+ --ck-ai-disclaimer-background-color: hsla(0, 0%, 96%, 1);
4070
+ --ck-ai-disclaimer-border-color: hsla(220, 6%, 82%, 1);
4071
+ --ck-ai-disclaimer-text-color: hsla(0, 0%, 44%, 1);
4072
+ }
4073
+ .ck.ck-ai-disclaimer {
4074
+ background-color: var(--ck-ai-disclaimer-background-color);
4075
+ border-top: 1px solid var(--ck-ai-disclaimer-border-color);
4076
+ padding: var(--ck-spacing-standard) 1em;
4077
+ }
4078
+ .ck.ck-ai-disclaimer > .ck.ck-ai-disclaimer__content {
4079
+ color: var(--ck-ai-disclaimer-text-color);
4080
+ font-size: 0.75em;
4081
+ line-height: 1.025em;
4082
+ text-align: center;
4083
+ word-break: normal;
4084
+ text-wrap: auto;
4085
+ }
4086
+ /*
4087
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
4088
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4089
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
4090
+ *
4091
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4092
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4093
+ */
4094
+ :root {
4095
+ --ai-skeleton-z-index: calc( var(--ck-z-default) + 1 );
4096
+ --ck-ai-skeleton-item-background: linear-gradient(90deg, hsl(0, 0.00%, 98.00%) 0%, hsl(0, 0.00%, 94.10%) 50%, hsl(0, 0.00%, 98.00%) 100%);
4097
+ --ck-ai-skeleton-animation-duration: 1s;
4098
+ --ck-ai-skeleton-gap: var(--ck-spacing-extra-large);
4099
+ }
4100
+ .ck.ck-ai-skeleton {
4101
+ position: absolute;
4102
+ inset: 0;
4103
+ z-index: var(--ai-skeleton-z-index);
4104
+ display: flex;
4105
+ flex-direction: column;
4106
+ align-items: flex-end;
4107
+ gap: var(--ck-ai-skeleton-gap) 0;
4108
+ padding: var(--ck-spacing-extra-large) var(--ck-spacing-large) var(--ck-spacing-large);
4109
+ width: 100%;
4110
+ height: 100%;
4111
+ background-color: var(--ck-color-base-background);
4112
+ opacity: 1;
4113
+ transition: opacity .4s, display .4s allow-discrete;
4114
+ transition-delay: 350ms;
4115
+ }
4116
+ .ck.ck-ai-skeleton.ck-hidden {
4117
+ transition-delay: 0ms;
4118
+ opacity: 0;
4119
+ }
4120
+ @starting-style {
4121
+ .ck.ck-ai-skeleton {
4122
+ opacity: 0;
4123
+ }
4124
+ }
4125
+ .ck.ck-ai-skeleton > .ck.ck-ai-skeleton__item {
4126
+ background: var(--ck-ai-skeleton-item-background);
4127
+ background-size: 200% 100%;
4128
+ animation: var(--ck-ai-skeleton-animation-duration) ck-ai-skeleton-shine linear infinite;
4129
+ width: 100%;
4130
+ }
4131
+ @keyframes ck-ai-skeleton-shine {
4132
+ to {
4133
+ background-position-x: -200%;
4134
+ }
4135
+ }
4136
+ /*
4137
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
4138
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4139
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
4140
+ *
4141
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4142
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4143
+ */
4144
+ :root {
4145
+ --ck-ai-spinner-size: var(--ck-toolbar-spinner-size);
4146
+ --ck-ai-spinner-background: linear-gradient(to right, hsl(0, 0%, 100%), hsl(0, 0%, 58%));
4147
+ --ck-ai-spinner-mask: radial-gradient(farthest-side, transparent 66%, hsl(0, 0%, 0%) 61%);
4148
+ --ck-ai-spinner-animation-duration: 1s;
4149
+ }
4150
+ .ck.ck-spinner-container.ck-ai-spinner {
4151
+ display: inline-block;
4152
+ width: var(--ck-ai-spinner-size);
4153
+ height: var(--ck-ai-spinner-size);
4154
+ margin: 0;
4155
+ flex-shrink: 0;
4156
+ animation-duration: var(--ck-ai-spinner-animation-duration);
4157
+ }
4158
+ .ck.ck-spinner-container.ck-ai-spinner .ck-spinner {
4159
+ width: var(--ck-ai-spinner-size);
4160
+ height: var(--ck-ai-spinner-size);
4161
+
4162
+ border: none;
4163
+
4164
+ background: var(--ck-ai-spinner-background);
4165
+ -webkit-mask: var(--ck-ai-spinner-mask);
4166
+ mask: var(--ck-ai-spinner-mask);
4167
+
4168
+ box-sizing: border-box;
4169
+ }
4170
+ .ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_small {
4171
+ --ck-ai-spinner-size: 1em;
4172
+ }
4173
+ .ck.ck-spinner-container.ck-ai-spinner.ck-ai-spinner_tiny {
4174
+ --ck-ai-spinner-size: 12px;
4175
+ }
4176
+ .ck.ck-spinner-container.ck-hidden {
4177
+ display: none;
4178
+ animation: none;
4179
+ }
4180
+ @keyframes ck-spin {
4181
+ to {
4182
+ transform: rotate(360deg);
4183
+ }
4184
+ }
4185
+ /*
4186
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
4187
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
4188
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
4189
+ *
4190
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4191
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4192
+ */
4193
+ :root {
4194
+ --ck-ai-suggestion-inactive-color-background: hsla(128, 6%, 93%, 0.35);
4195
+ --ck-ai-suggestion-inactive-color-border: hsla(128, 1%, 73%, 0.35);
4196
+
4197
+ --ck-ai-suggestion-marker-insertion-border-color: var(--ck-color-suggestion-marker-insertion-border, hsla(128, 71%, 40%, .35));
4198
+ --ck-ai-suggestion-marker-insertion-background-color: var(--ck-color-suggestion-marker-insertion-background, hsla(128, 71%, 65%, .35));
4199
+
4200
+ --ck-ai-suggestion-marker-deletion-border-color: var(--ck-color-suggestion-marker-deletion-border, hsla(345, 71%, 40%, .35));
4201
+ --ck-ai-suggestion-marker-deletion-background-color: var(--ck-color-suggestion-marker-deletion-background, hsla(345, 71%, 65%, .35));
4202
+ --ck-ai-suggestion-marker-deletion-stroke-color: var(--ck-color-suggestion-marker-deletion-stroke, hsla(345, 71%, 20%, .5));
4203
+ }
4204
+
4205
+ :root {
4206
+ --ck-ai-review-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
4207
+ --ck-ai-review-color-icon: hsla(0, 0%, 44%, 1);
4208
+ }
4209
+
4210
+ .ck {
4211
+ --ck-color-ai-review-mode-suggestion: hsla(263, 59%, 52%, 0.5);
4212
+ }
4213
+
4214
+ .ck .ck-ai-review-mode {
4215
+ max-height: 100%;
4216
+ height: 100%;
4217
+ display: flex;
4218
+ flex-direction: column;
4219
+ }
4220
+
4221
+ .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_add {
4222
+ border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
4223
+ }
4224
+
4225
+ .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_hide {
4226
+ display: none;
4227
+ }
4228
+
4229
+ .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_strikethrough {
4230
+ position: relative;
4231
+ }
4232
+
4233
+ .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_strikethrough:before {
4234
+ border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
4235
+ position: absolute;
4236
+ content: "";
4237
+ width: 100%;
4238
+ height: 60%;
4239
+ }
4240
+
4241
+ .ck.ck-ai-review-mode-highlights span.ck-ai_review-mode-marker_underline {
4242
+ border-bottom: 3px solid var(--ck-color-ai-review-mode-suggestion);
4243
+ }
4244
+
4245
+ .ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_add {
4246
+ white-space: break-spaces;
4247
+ border-top: 3px solid var(--ck-ai-suggestion-marker-insertion-border-color);
4248
+ border-bottom: 3px solid var(--ck-ai-suggestion-marker-insertion-border-color);
4249
+ background: var(--ck-ai-suggestion-marker-insertion-background-color);
3827
4250
  }
3828
4251
 
3829
4252
  .ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_hide,
3830
4253
  .ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_strikethrough {
3831
4254
  white-space: break-spaces;
3832
- border-top: 3px solid var(--ck-color-suggestion-marker-deletion-border);
3833
- border-bottom: 3px solid var(--ck-color-suggestion-marker-deletion-border);
4255
+ border-top: 3px solid var(--ck-ai-suggestion-marker-deletion-border-color);
4256
+ border-bottom: 3px solid var(--ck-ai-suggestion-marker-deletion-border-color);
3834
4257
  text-decoration: line-through;
3835
- text-decoration-color: var(--ck-color-suggestion-marker-deletion-stroke);
4258
+ text-decoration-color: var(--ck-ai-suggestion-marker-deletion-stroke-color);
3836
4259
  text-decoration-thickness: 3px;
3837
- background: var(--ck-color-suggestion-marker-deletion-background);
4260
+ background: var(--ck-ai-suggestion-marker-deletion-background-color);
3838
4261
  }
3839
4262
 
3840
4263
  .ck.ck-ai-review-mode-diff span.ck-ai_review-mode-marker_underline {
@@ -5005,6 +5428,31 @@ With track-changes feature enabled, we need to distinguish various types of anno
5005
5428
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
5006
5429
  */
5007
5430
 
5431
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.footnotes-wrapper {
5432
+ background-color: var(--ck-color-suggestion-widget-deletion-background);
5433
+ }
5434
+
5435
+ .ck-content .ck-suggestion-marker-deletion.ck-widget.footnotes-wrapper.ck-suggestion-marker--active {
5436
+ background-color: var(--ck-color-suggestion-widget-deletion-background-active);
5437
+ }
5438
+
5439
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.footnotes-wrapper {
5440
+ background-color: var(--ck-color-suggestion-widget-insertion-background);
5441
+ }
5442
+
5443
+ .ck-content .ck-suggestion-marker-insertion.ck-widget.footnotes-wrapper.ck-suggestion-marker--active {
5444
+ background-color: var(--ck-color-suggestion-widget-insertion-background-active);
5445
+ }
5446
+
5447
+ /*
5448
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
5449
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
5450
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
5451
+ *
5452
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
5453
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
5454
+ */
5455
+
5008
5456
  /*
5009
5457
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
5010
5458
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -6253,6 +6701,190 @@ See: ckeditor5-theme-lark/theme/ckeditor5-ui/components/editorui/editorui.css. *
6253
6701
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
6254
6702
  */
6255
6703
 
6704
+ /*
6705
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6706
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
6707
+ */
6708
+
6709
+ :root {
6710
+ --ck-content-footnotes-list-background-color: none;
6711
+ --ck-content-footnotes-list-separator-color: hsl(0, 0%, 0%);
6712
+ --ck-content-footnote-font-size: var(--ck-content-font-size-small);
6713
+ --ck-footnotes-widget-label-background-color: hsl(0, 0%, 46%);
6714
+ }
6715
+
6716
+ /* Content styles */
6717
+ .ck-content .footnote {
6718
+ margin-inline-end: 0.2em;
6719
+ }
6720
+ .ck-content .footnotes {
6721
+ position: relative;
6722
+ margin: 0.9em 0 1.5em;
6723
+ font-size: var(--ck-content-footnote-font-size);
6724
+ background-color: var(--ck-content-footnotes-list-background-color);
6725
+ }
6726
+ .ck-content .footnotes-divider {
6727
+ border: none;
6728
+ border-top: 1px solid var(--ck-content-footnotes-list-separator-color);
6729
+ width: min(30%, 350px);
6730
+ margin: 0 0 1em 0;
6731
+ height: 1px;
6732
+ background: none;
6733
+ }
6734
+ [dir="rtl"] .ck-content .footnotes-divider {
6735
+ margin-left: auto;
6736
+ margin-right: 0;
6737
+ }
6738
+ .ck-content .footnotes-list {
6739
+ padding-inline-start: 3em;
6740
+ margin: 0;
6741
+ }
6742
+ .ck-content .footnote-backlink {
6743
+ display: inline-block;
6744
+ margin-inline-end: 1ch;
6745
+ user-select: none;
6746
+ vertical-align: top;
6747
+ width: auto;
6748
+ }
6749
+ .ck-content .footnote-content {
6750
+ display: inline-block;
6751
+ width: calc(100% - 2em);
6752
+ padding: 0 4px;
6753
+ vertical-align: top;
6754
+ }
6755
+ .ck-content .footnote-content > p:first-of-type {
6756
+ margin-top: 0;
6757
+ }
6758
+ .ck-content .footnote-content > p:last-of-type {
6759
+ margin-bottom: 0;
6760
+ }
6761
+ .ck-content .footnote-content ol {
6762
+ list-style-type: decimal;
6763
+ }
6764
+ .ck-content .footnote-content ol ol {
6765
+ list-style-type: lower-latin;
6766
+ }
6767
+ .ck-content .footnote-content ol ol ol {
6768
+ list-style-type: lower-roman;
6769
+ }
6770
+ .ck-content .footnote-content ol ol ol ol {
6771
+ list-style-type: upper-latin;
6772
+ }
6773
+ .ck-content .footnote-content ol ol ol ol ol {
6774
+ list-style-type: upper-roman;
6775
+ }
6776
+ .ck-content .footnote-content ul {
6777
+ list-style-type: disc;
6778
+ }
6779
+ .ck-content .footnote-content ul ul {
6780
+ list-style-type: circle;
6781
+ }
6782
+ .ck-content .footnote-content ul ul ul {
6783
+ list-style-type: square;
6784
+ }
6785
+ .ck-content .footnote-content ul ul ul ul {
6786
+ list-style-type: square;
6787
+ }
6788
+
6789
+ /* Editing styles */
6790
+ .ck.ck-editor__editable .footnotes.ck-widget {
6791
+ /* Necessary to render properly next to floated objects, e.g. side image case. */
6792
+ display: flow-root;
6793
+ position: relative;
6794
+ margin: 0.9em 0 0.85em;
6795
+ }
6796
+ .ck.ck-editor__editable .footnotes.ck-widget:not(:hover):not(.ck-widget_selected) {
6797
+ outline: 1px solid var(--ck-color-base-border);
6798
+ }
6799
+ .ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]::after {
6800
+ content: attr(data-footnotes-list-label);
6801
+
6802
+ position: absolute;
6803
+ top: -1px;
6804
+ right: 10px;
6805
+ padding: var(--ck-spacing-tiny) var(--ck-spacing-medium);
6806
+ background-color: var(--ck-footnotes-widget-label-background-color);
6807
+
6808
+ font-size: 10px;
6809
+ font-family: var(--ck-font-face);
6810
+ line-height: 16px;
6811
+ color: hsl(0, 0%, 100%);
6812
+ white-space: nowrap;
6813
+ }
6814
+ [dir="rtl"] .ck.ck-editor__editable .footnotes.ck-widget[data-footnotes-list-label]::after {
6815
+ left: 10px;
6816
+ right: auto;
6817
+ }
6818
+ .ck.ck-editor__editable .footnotes-divider {
6819
+ margin-top: 0;
6820
+ }
6821
+ .ck.ck-editor__editable .footnotes-list {
6822
+ margin-top: 0;
6823
+ margin-bottom: 0.65em;
6824
+ }
6825
+
6826
+ /*
6827
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
6828
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
6829
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6830
+ *
6831
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6832
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
6833
+ */
6834
+
6835
+ :root {
6836
+ --ck-footnotes-styles-list-style-button-size: 44px;
6837
+ }
6838
+
6839
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list {
6840
+ display: grid;
6841
+ row-gap: var(--ck-spacing-medium);
6842
+ column-gap: var(--ck-spacing-medium);
6843
+ padding: var(--ck-spacing-large);
6844
+ grid-template-columns: repeat( 4, auto );
6845
+ }
6846
+
6847
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button {
6848
+ width: var(--ck-footnotes-styles-list-style-button-size);
6849
+ height: var(--ck-footnotes-styles-list-style-button-size);
6850
+ padding: 0;
6851
+
6852
+ /*
6853
+ * Buttons are aligned by the grid so disable default button margins to not collide with the
6854
+ * gaps in the grid.
6855
+ */
6856
+ margin: 0;
6857
+
6858
+ /*
6859
+ * Make sure the button border (which is displayed on focus, BTW) does not steal pixels
6860
+ * from the button dimensions and, as a result, decrease the size of the icon
6861
+ * (which becomes blurry as it scales down).
6862
+ */
6863
+ box-sizing: content-box;
6864
+ }
6865
+
6866
+ .ck.ck-footnotes-definitions-properties > .ck-footnotes-definitions-styles-list .ck-button .ck-icon {
6867
+ width: var(--ck-footnotes-styles-list-style-button-size);
6868
+ height: var(--ck-footnotes-styles-list-style-button-size);
6869
+ }
6870
+
6871
+ .ck.ck-footnotes-definitions-properties > .ck-collapsible {
6872
+ border-top: 1px solid var(--ck-color-base-border);
6873
+ }
6874
+
6875
+ .ck.ck-footnotes-definitions-properties > .ck-collapsible .ck-footnotes-definitions-properties__start-index .ck-input {
6876
+ min-width: 100%;
6877
+ }
6878
+
6879
+ /*
6880
+ * What you're currently looking at is the source code of a legally protected, proprietary software.
6881
+ * CKEditor 5 Collaboration is licensed under a commercial license and protected by copyright law. Where not otherwise indicated,
6882
+ * all CKEditor 5 Collaboration content is authored by CKSource engineers and consists of CKSource-owned intellectual property.
6883
+ *
6884
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
6885
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
6886
+ */
6887
+
6256
6888
  /* Cursor while painting the formatting over an object */
6257
6889
 
6258
6890
  /* & a .ck-widget,