@ckeditor/ckeditor5-theme-lark 44.3.0 → 45.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -1718,6 +1718,17 @@ of the component, floating–point numbers have been used which, for the default
1718
1718
  --ck-font-size-base: 15px;
1719
1719
  font-weight: bold;
1720
1720
  }
1721
+ /* Padding when back button is hidden */
1722
+ .ck.ck-form__header:has(.ck-button-back.ck-hidden) {
1723
+ padding-inline: var(--ck-spacing-large) var(--ck-spacing-large);
1724
+ }
1725
+ /* Padding when back button is visible */
1726
+ .ck.ck-form__header:has(.ck-button-back:not(.ck-hidden)) {
1727
+ padding-inline: var(--ck-spacing-small) var(--ck-spacing-small);
1728
+ }
1729
+ .ck.ck-form__header > .ck-button-back {
1730
+ margin-inline-end: var(--ck-spacing-small);
1731
+ }
1721
1732
  /*
1722
1733
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
1723
1734
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -1984,6 +1995,9 @@ of the component, floating–point numbers have been used which, for the default
1984
1995
  .ck.ck-labeled-field-view.ck-labeled-field-view_empty:not(.ck-labeled-field-view_focused):not(.ck-labeled-field-view_placeholder) > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown + .ck-label {
1985
1996
  max-width: calc(var(--ck-labeled-field-empty-unfocused-max-width) - var(--ck-dropdown-arrow-size) - var(--ck-spacing-standard));
1986
1997
  }
1998
+ .ck.ck-labeled-field-view.ck-labeled-field-view_full-width {
1999
+ flex-grow: 1;
2000
+ }
1987
2001
  /*
1988
2002
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
1989
2003
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -2652,6 +2666,10 @@ of the component, floating–point numbers have been used which, for the default
2652
2666
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2653
2667
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
2654
2668
  */
2669
+ /*
2670
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
2671
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
2672
+ */
2655
2673
  .ck-vertical-form > .ck-button:nth-last-child(2)::after {
2656
2674
  border-right: 1px solid var(--ck-color-base-border);
2657
2675
  }
@@ -3120,6 +3138,40 @@ of the component, floating–point numbers have been used which, for the default
3120
3138
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3121
3139
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3122
3140
  */
3141
+ :root {
3142
+ --ck-bookmark-icon-hover-fill-color: var(--ck-color-widget-hover-border);
3143
+ --ck-bookmark-icon-selected-fill-color: var(--ck-color-focus-border);
3144
+ --ck-bookmark-icon-animation-duration: var(--ck-widget-handler-animation-duration);
3145
+ --ck-bookmark-icon-animation-curve: var(--ck-widget-handler-animation-curve);
3146
+ }
3147
+ .ck .ck-bookmark.ck-widget {
3148
+ display: inline-block;
3149
+ outline: none;
3150
+ }
3151
+ .ck .ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon__fill {
3152
+ transition: fill var(--ck-bookmark-icon-animation-duration) var(--ck-bookmark-icon-animation-curve);
3153
+ }
3154
+ .ck .ck-bookmark.ck-widget:hover .ck-bookmark__icon .ck-icon__fill {
3155
+ fill: var(--ck-bookmark-icon-hover-fill-color);
3156
+ }
3157
+ .ck .ck-bookmark.ck-widget.ck-widget_selected .ck-bookmark__icon .ck-icon__fill {
3158
+ fill: var(--ck-bookmark-icon-selected-fill-color);
3159
+ }
3160
+ .ck .ck-bookmark.ck-widget.ck-widget_selected,
3161
+ .ck .ck-bookmark.ck-widget.ck-widget_selected:hover {
3162
+ outline: none;
3163
+ }
3164
+ .ck .ck-bookmark.ck-widget .ck-bookmark__icon {
3165
+ position: relative;
3166
+ display: block;
3167
+ /* To make it align with text baseline. */
3168
+ top: -0.1em;
3169
+ }
3170
+ .ck .ck-bookmark.ck-widget .ck-bookmark__icon .ck-icon {
3171
+ height: 1.2em;
3172
+ width: auto;
3173
+ vertical-align: middle;
3174
+ }
3123
3175
  /*
3124
3176
  * Classes used by the "fake visual selection" displayed in the content when an input
3125
3177
  * in the bookmark UI has focus (the browser does not render the native selection in this state).
@@ -3134,6 +3186,57 @@ of the component, floating–point numbers have been used which, for the default
3134
3186
  margin-right: -1px;
3135
3187
  outline: solid 1px hsla(0, 0%, 100%, .5);
3136
3188
  }
3189
+ /*
3190
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3191
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3192
+ */
3193
+ /*
3194
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3195
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3196
+ */
3197
+ :root {
3198
+ --ck-bookmark-form-width: 340px;
3199
+ }
3200
+ @media screen and (max-width: 600px) {
3201
+ :root {
3202
+ --ck-bookmark-form-width: 300px;
3203
+ }
3204
+ }
3205
+ .ck.ck-bookmark-form {
3206
+ width: var(--ck-bookmark-form-width);
3207
+ }
3208
+ /*
3209
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3210
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3211
+ */
3212
+ /*
3213
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3214
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3215
+ */
3216
+ /**
3217
+ * Makes element unselectable.
3218
+ */
3219
+ .ck.ck-bookmark-balloon .ck.ck-toolbar > .ck-toolbar__items {
3220
+ flex-wrap: nowrap;
3221
+ }
3222
+ .ck.ck-bookmark-toolbar__preview {
3223
+ padding: 0 var(--ck-spacing-medium);
3224
+ max-width: var(--ck-input-width);
3225
+ min-width: 3em;
3226
+ font-weight: normal;
3227
+ text-overflow: ellipsis;
3228
+ text-align: center;
3229
+ overflow: hidden;
3230
+
3231
+ -moz-user-select: none;
3232
+
3233
+ -webkit-user-select: none;
3234
+
3235
+ -ms-user-select: none;
3236
+
3237
+ user-select: none;
3238
+ cursor: default;
3239
+ }
3137
3240
  /*
3138
3241
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3139
3242
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -3836,6 +3939,44 @@ of the component, floating–point numbers have been used which, for the default
3836
3939
  from { opacity: 0; }
3837
3940
  to { opacity: 1; }
3838
3941
  }
3942
+ /*
3943
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3944
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3945
+ */
3946
+ /*
3947
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3948
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3949
+ */
3950
+ :root {
3951
+ --ck-text-alternative-form-width: 340px;
3952
+ }
3953
+ @media screen and (max-width: 600px) {
3954
+ :root {
3955
+ --ck-text-alternative-form-width: 300px;
3956
+ }
3957
+ }
3958
+ .ck.ck-text-alternative-form.ck-responsive-form {
3959
+ width: var(--ck-text-alternative-form-width);
3960
+ }
3961
+ /*
3962
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3963
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3964
+ */
3965
+ /*
3966
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3967
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3968
+ */
3969
+ :root {
3970
+ --ck-image-custom-resize-form-width: 340px;
3971
+ }
3972
+ @media screen and (max-width: 600px) {
3973
+ :root {
3974
+ --ck-image-custom-resize-form-width: 300px;
3975
+ }
3976
+ }
3977
+ .ck.ck-image-custom-resize-form.ck-responsive-form {
3978
+ width: var(--ck-image-custom-resize-form-width);
3979
+ }
3839
3980
  /*
3840
3981
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3841
3982
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -3871,87 +4012,52 @@ of the component, floating–point numbers have been used which, for the default
3871
4012
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3872
4013
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3873
4014
  */
3874
- /**
3875
- * Makes element unselectable.
3876
- */
3877
- /*
3878
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3879
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3880
- */
3881
- /*
3882
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3883
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3884
- */
3885
- /**
3886
- * A visual style of focused element's border.
3887
- */
3888
- /*
3889
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3890
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3891
- */
3892
- /**
3893
- * A helper to combine multiple shadows.
3894
- */
3895
- /**
3896
- * Gives an element a drop shadow so it looks like a floating panel.
3897
- */
3898
- /*
3899
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3900
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3901
- */
3902
- .ck.ck-link-actions .ck-button.ck-link-actions__preview {
3903
- padding-left: 0;
3904
- padding-right: 0;
4015
+ :root {
4016
+ --ck-link-bookmark-icon-size: calc( var(--ck-icon-size) * 0.7); /* 0.7 = 14/20 cause default the icon size is 20px */
4017
+ }
4018
+ .ck.ck-toolbar.ck-link-toolbar > .ck-toolbar__items {
4019
+ flex-wrap: nowrap;
3905
4020
  }
3906
- .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label {
3907
- padding: 0 var(--ck-spacing-medium);
3908
- color: var(--ck-color-link-default);
3909
- text-overflow: ellipsis;
3910
- cursor: pointer;
3911
-
3912
- /* Match the box model of the link editor form's input so the balloon
3913
- does not change width when moving between actions and the form. */
3914
- max-width: var(--ck-input-width);
3915
- min-width: 3em;
3916
- text-align: center;
3917
- }
3918
- .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label:hover {
3919
- text-decoration: underline;
3920
- }
3921
- .ck.ck-link-actions .ck-button.ck-link-actions__preview,
3922
- .ck.ck-link-actions .ck-button.ck-link-actions__preview:hover,
3923
- .ck.ck-link-actions .ck-button.ck-link-actions__preview:focus,
3924
- .ck.ck-link-actions .ck-button.ck-link-actions__preview:active {
3925
- background: none;
3926
- }
3927
- .ck.ck-link-actions .ck-button.ck-link-actions__preview:active {
3928
- box-shadow: none;
3929
- }
3930
- .ck.ck-link-actions .ck-button.ck-link-actions__preview:focus .ck-button__label {
3931
- text-decoration: underline;
3932
- }
3933
- [dir="ltr"] .ck.ck-link-actions .ck-button:not(:first-child) {
3934
- margin-left: var(--ck-spacing-standard);
3935
- }
3936
- [dir="rtl"] .ck.ck-link-actions .ck-button:not(:last-child) {
3937
- margin-left: var(--ck-spacing-standard);
3938
- }
3939
- @media screen and (max-width: 600px) {
3940
- .ck.ck-link-actions .ck-button.ck-link-actions__preview {
3941
- margin: var(--ck-spacing-standard) var(--ck-spacing-standard) 0;
3942
- }
4021
+ a.ck.ck-button.ck-link-toolbar__preview {
4022
+ padding: 0 var(--ck-spacing-medium);
4023
+ color: var(--ck-color-link-default);
4024
+ cursor: pointer;
4025
+ justify-content: center;
4026
+ }
4027
+ a.ck.ck-button.ck-link-toolbar__preview .ck.ck-button__label {
4028
+ text-overflow: ellipsis;
3943
4029
 
3944
- .ck.ck-link-actions .ck-button.ck-link-actions__preview .ck-button__label {
3945
- min-width: 0;
3946
- max-width: 100%;
3947
- }
3948
- [dir="ltr"] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview) {
3949
- margin-left: 0;
4030
+ /* Match the box model of the link editor form's input so the balloon
4031
+ does not change width when moving between actions and the form. */
4032
+ max-width: var(--ck-input-width);
3950
4033
  }
3951
-
3952
- [dir="rtl"] .ck.ck-link-actions .ck-button:not(.ck-link-actions__preview) {
3953
- margin-left: 0;
4034
+ a.ck.ck-button.ck-link-toolbar__preview,
4035
+ a.ck.ck-button.ck-link-toolbar__preview:hover,
4036
+ a.ck.ck-button.ck-link-toolbar__preview:focus,
4037
+ a.ck.ck-button.ck-link-toolbar__preview:active {
4038
+ background: none;
4039
+ }
4040
+ a.ck.ck-button.ck-link-toolbar__preview:active {
4041
+ box-shadow: none;
4042
+ }
4043
+ a.ck.ck-button.ck-link-toolbar__preview:hover,
4044
+ a.ck.ck-button.ck-link-toolbar__preview:focus {
4045
+ text-decoration: underline;
4046
+ }
4047
+ a.ck.ck-button.ck-link-toolbar__preview.ck-button_with-text .ck.ck-icon.ck-button__icon {
4048
+ width: var(--ck-link-bookmark-icon-size);
4049
+ height: var(--ck-link-bookmark-icon-size);
4050
+ }
4051
+ [dir="ltr"] a.ck.ck-button.ck-link-toolbar__preview.ck-button_with-text .ck.ck-icon.ck-button__icon {
4052
+ margin-right: var(--ck-spacing-tiny);
4053
+ margin-left: var(--ck-spacing-small);
4054
+ }
4055
+ [dir="rtl"] a.ck.ck-button.ck-link-toolbar__preview.ck-button_with-text .ck.ck-icon.ck-button__icon {
4056
+ margin-left: var(--ck-spacing-tiny);
4057
+ margin-right: var(--ck-spacing-small);
3954
4058
  }
4059
+ a.ck.ck-button.ck-link-toolbar__preview:has( .ck-icon ) {
4060
+ padding-left: var(--ck-spacing-extra-tiny );
3955
4061
  }
3956
4062
  /*
3957
4063
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
@@ -3962,48 +4068,50 @@ of the component, floating–point numbers have been used which, for the default
3962
4068
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3963
4069
  */
3964
4070
  /*
3965
- * Style link form differently when manual decorators are available.
3966
- * See: https://github.com/ckeditor/ckeditor5-link/issues/186.
4071
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4072
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
3967
4073
  */
3968
- .ck.ck-link-form_layout-vertical {
3969
- padding: 0;
3970
- min-width: var(--ck-input-width);
4074
+ :root {
4075
+ --ck-link-panel-width: 340px;
4076
+ /* The height of the text inside the link providers list button. */
4077
+ --ck-link-provider-list-item-text-height: calc(var(--ck-line-height-base) * var(--ck-font-size-base));
4078
+ /* The height of the link providers list item contained paddings. */
4079
+ --ck-link-provider-list-item-height: calc(var(--ck-link-provider-list-item-text-height) + var(--ck-spacing-small) + var(--ck-spacing-small));
3971
4080
  }
3972
- .ck.ck-link-form_layout-vertical .ck-labeled-field-view {
3973
- margin: var(--ck-spacing-large) var(--ck-spacing-large) var(--ck-spacing-small);
4081
+ @media screen and (max-width: 600px) {
4082
+ :root {
4083
+ --ck-link-panel-width: 300px;
3974
4084
  }
3975
- .ck.ck-link-form_layout-vertical .ck-labeled-field-view .ck-input-text {
3976
- min-width: 0;
3977
- width: 100%;
3978
- }
3979
- .ck.ck-link-form_layout-vertical > .ck-button {
3980
- padding: var(--ck-spacing-standard);
3981
- margin: 0;
3982
- width: 50%;
3983
- border-radius: 0;
3984
4085
  }
3985
- .ck.ck-link-form_layout-vertical > .ck-button:not(:focus) {
3986
- border-top: 1px solid var(--ck-color-base-border);
4086
+ /* Generic class that wraps each link balloon view. */
4087
+ .ck.ck-form.ck-link-form {
4088
+ width: var(--ck-link-panel-width);
4089
+ padding-bottom: 0;
4090
+ }
4091
+ @media screen and (max-width: 600px) {
4092
+ .ck.ck-form.ck-link-form.ck-responsive-form .ck-labeled-field-view {
4093
+ margin: 0;
3987
4094
  }
3988
- [dir="ltr"] .ck.ck-link-form_layout-vertical > .ck-button {
3989
- margin-left: 0;
3990
- }
3991
- [dir="rtl"] .ck.ck-link-form_layout-vertical > .ck-button {
3992
- margin-left: 0;
3993
4095
  }
3994
- [dir="rtl"] .ck.ck-link-form_layout-vertical > .ck-button:last-of-type {
3995
- border-right: 1px solid var(--ck-color-base-border);
3996
- }
3997
- /* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */
3998
- .ck.ck-link-form_layout-vertical .ck.ck-list {
3999
- margin: 0 var(--ck-spacing-large);
4096
+ .ck.ck-form.ck-link-form .ck-link-form__providers-list {
4097
+ border-top: 1px solid var(--ck-color-base-border);
4098
+
4099
+ /* The list should be scrollable when there are more than 4 items. */
4000
4100
  }
4001
- .ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton {
4002
- padding: 0;
4003
- width: 100%;
4101
+ .ck.ck-form.ck-link-form .ck-link-form__providers-list:has(.ck-list__item:nth-child(n + 5)) {
4102
+ overflow: auto;
4103
+ /* Scroll should appear when there are more than 5 item on the list.
4104
+ * var(--ck-spacing-large) - is a form padding.
4105
+ * 1px - is a border width. */
4106
+ max-height: calc(var(--ck-link-provider-list-item-height) * 4 + var(--ck-spacing-large) + 1px);
4004
4107
  }
4005
- .ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton:hover {
4006
- background: none;
4108
+ .ck.ck-form.ck-link-form .ck-link-form__providers-list .ck-link__button {
4109
+ padding: var(--ck-spacing-small) var(--ck-spacing-large);
4110
+ border-radius: 0;
4111
+ }
4112
+ .ck.ck-form.ck-link-form .ck-link-form__providers-list .ck-link__button > .ck-button__label {
4113
+ overflow: hidden;
4114
+ text-overflow: ellipsis;
4007
4115
  }
4008
4116
  /*
4009
4117
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
@@ -4044,6 +4152,67 @@ of the component, floating–point numbers have been used which, for the default
4044
4152
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4045
4153
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4046
4154
  */
4155
+ /*
4156
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4157
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4158
+ */
4159
+ :root {
4160
+ --ck-link-properties-width: 340px;
4161
+ }
4162
+ @media screen and (max-width: 600px) {
4163
+ :root {
4164
+ --ck-link-properties-width: 300px;
4165
+ }
4166
+ }
4167
+ .ck.ck-link-properties {
4168
+ width: var(--ck-link-properties-width);
4169
+ }
4170
+ /*
4171
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4172
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4173
+ */
4174
+ /*
4175
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4176
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4177
+ */
4178
+ :root {
4179
+ --ck-link-providers-width: 340px;
4180
+ --ck-link-list-view-max-height: 240px;
4181
+ --ck-link-list-view-icon-size: calc( var(--ck-icon-size) * 0.8); /* 0.8 = 16/20 cause default the icon size is 20px */
4182
+ }
4183
+ @media screen and (max-width: 600px) {
4184
+ :root {
4185
+ --ck-link-providers-width: 300px;
4186
+ }
4187
+ }
4188
+ .ck.ck-link-providers {
4189
+ width: var(--ck-link-providers-width);
4190
+ }
4191
+ .ck.ck-link-providers .ck-form__header__label {
4192
+ overflow: hidden;
4193
+ text-overflow: ellipsis;
4194
+ }
4195
+ .ck.ck-link-providers > .ck-link-providers__list {
4196
+ max-height: min( var(--ck-link-list-view-max-height), 40vh );
4197
+ }
4198
+ .ck.ck-link-providers > .ck-link-providers__list .ck-button > .ck-icon {
4199
+ width: var(--ck-link-list-view-icon-size);
4200
+ height: var(--ck-link-list-view-icon-size);
4201
+ }
4202
+ .ck.ck-link-providers > .ck-link-providers__list .ck-button > .ck-button__label {
4203
+ overflow: hidden;
4204
+ text-overflow: ellipsis;
4205
+ white-space: nowrap;
4206
+ }
4207
+ .ck.ck-link-providers .ck-link__empty-list-info {
4208
+ padding: calc( 2 * var(--ck-spacing-large) ) var(--ck-spacing-medium);
4209
+ text-align: center;
4210
+ font-style: italic;
4211
+ }
4212
+ /*
4213
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4214
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4215
+ */
4047
4216
  /* When there are no list styles and there is no collapsible. */
4048
4217
  .ck.ck-list-properties.ck-list-properties_without-styles {
4049
4218
  padding: var(--ck-spacing-large);
@@ -4606,45 +4775,14 @@ of the component, floating–point numbers have been used which, for the default
4606
4775
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4607
4776
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4608
4777
  */
4609
- .ck.ck-form {
4610
- padding: 0 0 var(--ck-spacing-large);
4611
- }
4612
- .ck.ck-form:focus {
4613
- /* See: https://github.com/ckeditor/ckeditor5/issues/4773 */
4614
- outline: none;
4615
- }
4616
- .ck.ck-form .ck.ck-input-text {
4617
- min-width: 100%;
4618
- width: 0;
4619
- }
4620
- .ck.ck-form .ck.ck-dropdown {
4621
- min-width: 100%;
4622
- }
4623
- .ck.ck-form .ck.ck-dropdown .ck-dropdown__button:not(:focus) {
4624
- border: 1px solid var(--ck-color-base-border);
4625
- }
4626
- .ck.ck-form .ck.ck-dropdown .ck-dropdown__button .ck-button__label {
4627
- width: 100%;
4628
- }
4629
- /*
4630
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4631
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4632
- */
4633
4778
  /*
4634
4779
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4635
4780
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4636
4781
  */
4637
- .ck.ck-form__row {
4638
- padding: var(--ck-spacing-standard) var(--ck-spacing-large) 0;
4639
-
4640
- /* Ignore labels that work as fieldset legends */
4641
- }
4642
- [dir="ltr"] .ck.ck-form__row > *:not(.ck-label) + * {
4643
- margin-left: var(--ck-spacing-large);
4644
- }
4645
- [dir="rtl"] .ck.ck-form__row > *:not(.ck-label) + * {
4646
- margin-right: var(--ck-spacing-large);
4647
- }
4782
+ /* Ignore labels that work as fieldset legends */
4783
+ .ck.ck-form__row > *:not(.ck-label) + * {
4784
+ margin-inline-start: var(--ck-spacing-large);
4785
+ }
4648
4786
  .ck.ck-form__row > .ck-label {
4649
4787
  width: 100%;
4650
4788
  min-width: 100%;
@@ -4884,6 +5022,134 @@ of the component, floating–point numbers have been used which, for the default
4884
5022
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4885
5023
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4886
5024
  */
5025
+ :root {
5026
+ --ck-table-layout-widget-type-around-button-size: 16px;
5027
+ --ck-table-layout-widget-type-around-icon-width: 10px;
5028
+ --ck-table-layout-widget-type-around-icon-height: 8px;
5029
+ --ck-table-layout-widget-handler-icon-size: 10px;
5030
+ --ck-table-layout-default-border-color: hsl(0, 0%, 83%);
5031
+
5032
+ }
5033
+ .ck-editor__editable .table.layout-table > table {
5034
+ width: 100%;
5035
+ height: 100%;
5036
+
5037
+ /* Styles to make the layout table outline visible when the layout table is inside another layout table inside edge cells.
5038
+ Currently, this solution works on every browser except Safari. */
5039
+ overflow: clip;
5040
+ overflow-clip-margin: var(--ck-widget-outline-thickness);
5041
+
5042
+ /* The default table layout style in the editing view when the border is unset. */
5043
+ }
5044
+ .ck-editor__editable .table.layout-table > table:not(
5045
+ [style*="border:"],
5046
+ [style*="border-top"],
5047
+ [style*="border-bottom"],
5048
+ [style*="border-left"],
5049
+ [style*="border-right"],
5050
+ [style*="border-width"],
5051
+ [style*="border-style"],
5052
+ [style*="border-color"]) {
5053
+ border-color: transparent;
5054
+ border-width: 0;
5055
+ outline: none;
5056
+ }
5057
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td {
5058
+ box-shadow: revert;
5059
+ padding: revert;
5060
+ min-width: 2em;
5061
+ /* To make the caret visible. */
5062
+ text-indent: 1px;
5063
+
5064
+ /* Resets the `min-width` style attribute that was added by the content table style. */
5065
+ }
5066
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td[style^="width:"],
5067
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td[style*=" width:"],
5068
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td[style*=";width:"],
5069
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td[style*="'width:"] {
5070
+ min-width: auto;
5071
+ }
5072
+ /* Remove the default background color from the focused table cell. */
5073
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td:focus {
5074
+ background-color: transparent;
5075
+ }
5076
+ /* The default table layout cell style in the editing view when the border is unset.
5077
+ But it need to be more strict cause of style attributes like `border-collapse`, `border-spacing`, etc. */
5078
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td:not(
5079
+ [style*="border:"],
5080
+ [style*="border-top"],
5081
+ [style*="border-bottom"],
5082
+ [style*="border-left"],
5083
+ [style*="border-right"],
5084
+ [style*="border-width"],
5085
+ [style*="border-style"],
5086
+ [style*="border-color"]) {
5087
+ border-color: transparent;
5088
+ /* Resetting `border-width` property to the user agent styles. */
5089
+ border-width: 0;
5090
+ outline: var(--ck-table-layout-default-border-color) 1px dashed;
5091
+ outline-offset: -1px;
5092
+ }
5093
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td:not(
5094
+ [style*="border:"],
5095
+ [style*="border-top"],
5096
+ [style*="border-bottom"],
5097
+ [style*="border-left"],
5098
+ [style*="border-right"],
5099
+ [style*="border-width"],
5100
+ [style*="border-style"],
5101
+ [style*="border-color"]):focus {
5102
+ outline: var(--ck-color-focus-border) 1px solid;
5103
+ }
5104
+ /* Reset the `width` and `text-indent` of the bogus paragraph because <td> has 1px text indent. */
5105
+ .ck-editor__editable .table.layout-table > table > tbody > tr > td > .ck-table-bogus-paragraph {
5106
+ width: calc(100% - 1px);
5107
+ text-indent: 0;
5108
+ }
5109
+ /* Widget type around overrides. */
5110
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around {
5111
+ --ck-widget-type-around-button-size: var(--ck-table-layout-widget-type-around-button-size);
5112
+ }
5113
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_before,
5114
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_after {
5115
+ transform: translateY(0);
5116
+ }
5117
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_before {
5118
+ margin-left: var(--ck-table-layout-widget-type-around-button-size);
5119
+ left: min(10%, 30px);
5120
+ border-radius: 0 0 100px 100px;
5121
+ }
5122
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_before::after {
5123
+ border-radius: 0 0 100px 100px;
5124
+ }
5125
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_after {
5126
+ border-radius: 100px 100px 0 0;
5127
+ }
5128
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button.ck-widget__type-around__button_after::after {
5129
+ border-radius: 100px 100px 0 0;
5130
+ }
5131
+ .ck-editor__editable .table.layout-table.ck-widget > .ck-widget__type-around > .ck-widget__type-around__button svg {
5132
+ width: var(--ck-table-layout-widget-type-around-icon-width);
5133
+ height: var(--ck-table-layout-widget-type-around-icon-height);
5134
+ }
5135
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_with-selection-handle > .ck-widget__selection-handle {
5136
+ --ck-widget-handler-icon-size: var(--ck-table-layout-widget-handler-icon-size);
5137
+
5138
+ transform: translateY(calc(0px - var(--ck-widget-outline-thickness)));
5139
+ z-index: var(--ck-z-default);
5140
+ }
5141
+ /* Show fake caret on border not above. */
5142
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_type-around_show-fake-caret_before > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
5143
+ top: 0;
5144
+ }
5145
+ /* Show fake caret on border not below. */
5146
+ .ck-editor__editable .table.layout-table.ck-widget.ck-widget_type-around_show-fake-caret_after > .ck-widget__type-around > .ck-widget__type-around__fake-caret {
5147
+ bottom: 0;
5148
+ }
5149
+ /*
5150
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
5151
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
5152
+ */
4887
5153
  /*
4888
5154
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4889
5155
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
@@ -4934,6 +5200,12 @@ of the component, floating–point numbers have been used which, for the default
4934
5200
  .ck .ck-widget:hover {
4935
5201
  outline-color: var(--ck-color-widget-hover-border);
4936
5202
  }
5203
+ /*
5204
+ * Hide the outline of all widget parents when the widget is being hovered.
5205
+ */
5206
+ .ck .ck-widget:has( .ck-widget:hover ) {
5207
+ outline-color: transparent;
5208
+ }
4937
5209
  .ck .ck-editor__nested-editable {
4938
5210
  border: 1px solid transparent;
4939
5211
 
@@ -5027,6 +5299,11 @@ of the component, floating–point numbers have been used which, for the default
5027
5299
  .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected > .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator, .ck .ck-widget.ck-widget_with-selection-handle.ck-widget_selected:hover > .ck-widget__selection-handle .ck-icon .ck-icon__selected-indicator {
5028
5300
  opacity: 1;
5029
5301
  }
5302
+ /* Hide the selection handle on mouse hover over the widget of all the widget parents. */
5303
+ .ck .ck-widget.ck-widget_with-selection-handle:has( .ck-widget:hover ) > .ck-widget__selection-handle {
5304
+ opacity: 0;
5305
+ visibility: hidden;
5306
+ }
5030
5307
  /* In a RTL environment, align the selection handler to the right side of the widget */
5031
5308
  /* stylelint-disable-next-line no-descending-specificity */
5032
5309
  .ck[dir="rtl"] .ck-widget.ck-widget_with-selection-handle .ck-widget__selection-handle {
@@ -5195,9 +5472,9 @@ of the component, floating–point numbers have been used which, for the default
5195
5472
  }
5196
5473
  }
5197
5474
  /*
5198
- * Show type around buttons when the widget gets selected or being hovered.
5475
+ * Show type around buttons when the widget is being hovered.
5199
5476
  */
5200
- .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button, .ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__button {
5477
+ .ck .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__button {
5201
5478
  opacity: 1;
5202
5479
  pointer-events: auto;
5203
5480
  }
@@ -5223,6 +5500,21 @@ of the component, floating–point numbers have been used which, for the default
5223
5500
  border-radius: 100px;
5224
5501
  background: linear-gradient(135deg, hsla(0,0%,100%,0) 0%, hsla(0,0%,100%,.3) 100%);
5225
5502
  }
5503
+ /*
5504
+ * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).
5505
+ * Despite the widget being physically selected in the model, its outline should disappear.
5506
+ */
5507
+ .ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before,
5508
+ .ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after {
5509
+ outline-color: transparent;
5510
+ }
5511
+ /*
5512
+ * Show type around buttons when the widget gets selected.
5513
+ */
5514
+ .ck .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button {
5515
+ opacity: 1;
5516
+ pointer-events: auto;
5517
+ }
5226
5518
  /*
5227
5519
  * Styles for the "before" button when the widget has a selection handle. Because some space
5228
5520
  * is consumed by the handle, the button must be moved slightly to the right to let it breathe.
@@ -5245,14 +5537,6 @@ of the component, floating–point numbers have been used which, for the default
5245
5537
  outline: solid 1px hsla(0, 0%, 100%, .5);
5246
5538
  background: var(--ck-color-base-text);
5247
5539
  }
5248
- /*
5249
- * Styles of the widget when the "fake caret" is blinking (e.g. upon keyboard navigation).
5250
- * Despite the widget being physically selected in the model, its outline should disappear.
5251
- */
5252
- .ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_before,
5253
- .ck .ck-widget.ck-widget_selected.ck-widget_type-around_show-fake-caret_after {
5254
- outline-color: transparent;
5255
- }
5256
5540
  /*
5257
5541
  * When the "fake caret" is visible we simulate that the widget is not selected
5258
5542
  * (despite being physically selected), so the outline color should be for the
@@ -5284,6 +5568,13 @@ of the component, floating–point numbers have been used which, for the default
5284
5568
  .ck .ck-widget.ck-widget_type-around_show-fake-caret_before.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer, .ck .ck-widget.ck-widget_type-around_show-fake-caret_after.ck-widget_selected.ck-widget_with-resizer > .ck-widget__resizer {
5285
5569
  opacity: 0
5286
5570
  }
5571
+ /*
5572
+ * Hide type around buttons of all widget parents when the widget is being hovered.
5573
+ */
5574
+ .ck .ck-widget:has( .ck-widget:hover ) > .ck-widget__type-around > .ck-widget__type-around__button {
5575
+ opacity: 0;
5576
+ pointer-events: none;
5577
+ }
5287
5578
  /*
5288
5579
  * Styles for the "before" button when the widget has a selection handle in an RTL environment.
5289
5580
  * The selection handler is aligned to the right side of the widget so there is no need to create
@@ -5299,6 +5590,7 @@ of the component, floating–point numbers have been used which, for the default
5299
5590
  *
5300
5591
  * See https://github.com/ckeditor/ckeditor5/issues/7263.
5301
5592
  */
5593
+ /* stylelint-disable-next-line no-descending-specificity */
5302
5594
  .ck-editor__nested-editable.ck-editor__editable_selected .ck-widget.ck-widget_selected > .ck-widget__type-around > .ck-widget__type-around__button, .ck-editor__nested-editable.ck-editor__editable_selected .ck-widget:hover > .ck-widget__type-around > .ck-widget__type-around__button {
5303
5595
  opacity: 0;
5304
5596
  pointer-events: none;