@ckeditor/ckeditor5-theme-lark 43.0.0-alpha.4 → 43.0.0-alpha.5
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-editor.css +42 -34
- package/dist/index.css +62 -45
- package/dist/index.css.map +1 -1
- package/package.json +2 -2
- package/theme/ckeditor5-image/imageinsert.css +0 -1
- package/theme/ckeditor5-link/linkform.css +1 -1
- package/theme/ckeditor5-ui/components/button/button.css +2 -4
- package/theme/ckeditor5-ui/components/button/listitembutton.css +13 -1
- package/theme/ckeditor5-ui/components/collapsible/collapsible.css +0 -1
- package/theme/ckeditor5-ui/components/icon/icon.css +2 -1
- package/theme/ckeditor5-ui/components/list/list.css +16 -13
- package/theme/ckeditor5-ui/components/menubar/menubarmenubutton.css +13 -18
- package/theme/ckeditor5-ui/components/menubar/menubarmenulistitembutton.css +12 -3
package/dist/index-editor.css
CHANGED
@@ -313,12 +313,10 @@ a.ck.ck-button{
|
|
313
313
|
padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);
|
314
314
|
}
|
315
315
|
[dir="ltr"] .ck.ck-button.ck-button_with-text .ck-button__icon, [dir="ltr"] a.ck.ck-button.ck-button_with-text .ck-button__icon{
|
316
|
-
margin-
|
317
|
-
margin-right:var(--ck-spacing-small);
|
316
|
+
margin-right:var(--ck-spacing-medium);
|
318
317
|
}
|
319
318
|
[dir="rtl"] .ck.ck-button.ck-button_with-text .ck-button__icon, [dir="rtl"] a.ck.ck-button.ck-button_with-text .ck-button__icon{
|
320
|
-
margin-
|
321
|
-
margin-left:var(--ck-spacing-small);
|
319
|
+
margin-left:var(--ck-spacing-medium);
|
322
320
|
}
|
323
321
|
.ck.ck-button.ck-button_with-keystroke .ck-button__label, a.ck.ck-button.ck-button_with-keystroke .ck-button__label{
|
324
322
|
flex-grow:1;
|
@@ -449,18 +447,27 @@ a.ck.ck-button-bold{
|
|
449
447
|
[dir="rtl"] .ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle .ck-button__toggle__inner{
|
450
448
|
transform:translateX( calc( -1 * var(--ck-switch-button-translation)));
|
451
449
|
}
|
452
|
-
.ck.ck-list-item-button
|
453
|
-
|
450
|
+
.ck.ck-button.ck-list-item-button{
|
451
|
+
padding:var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
|
452
|
+
}
|
453
|
+
.ck.ck-button.ck-list-item-button,
|
454
|
+
.ck.ck-button.ck-list-item-button.ck-on{
|
454
455
|
background:var(--ck-color-list-background);
|
455
456
|
color:var(--ck-color-text);
|
456
457
|
}
|
457
|
-
.ck.ck-list-item-button:
|
458
|
-
|
459
|
-
|
460
|
-
|
458
|
+
[dir="ltr"] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder){
|
459
|
+
padding-left:var(--ck-spacing-small);
|
460
|
+
}
|
461
|
+
[dir="rtl"] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder){
|
462
|
+
padding-right:var(--ck-spacing-small);
|
463
|
+
}
|
464
|
+
.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled),
|
465
|
+
.ck.ck-button.ck-list-item-button.ck-button.ck-on:hover,
|
466
|
+
.ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable),
|
467
|
+
.ck.ck-button.ck-list-item-button.ck-on:hover{
|
461
468
|
background:var(--ck-color-list-button-hover-background);
|
462
469
|
}
|
463
|
-
.ck.ck-list-item-button:hover:not(.ck-disabled):not(.ck-disabled), .ck.ck-list-item-button.ck-button.ck-on:hover:not(.ck-disabled), .ck.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable):not(.ck-disabled), .ck.ck-list-item-button.ck-on:hover:not(.ck-disabled){
|
470
|
+
.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled):not(.ck-disabled), .ck.ck-button.ck-list-item-button.ck-button.ck-on:hover:not(.ck-disabled), .ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable):not(.ck-disabled), .ck.ck-button.ck-list-item-button.ck-on:hover:not(.ck-disabled){
|
464
471
|
color:var(--ck-color-text);
|
465
472
|
}
|
466
473
|
:root{
|
@@ -469,7 +476,6 @@ a.ck.ck-button-bold{
|
|
469
476
|
.ck.ck-collapsible > .ck.ck-button{
|
470
477
|
width:100%;
|
471
478
|
font-weight:bold;
|
472
|
-
padding:var(--ck-list-button-padding);
|
473
479
|
border-radius:0;
|
474
480
|
color:inherit;
|
475
481
|
}
|
@@ -959,11 +965,12 @@ a.ck.ck-button-bold{
|
|
959
965
|
}
|
960
966
|
:root{
|
961
967
|
--ck-icon-size:calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
|
968
|
+
--ck-icon-font-size:.8333350694em;
|
962
969
|
}
|
963
970
|
.ck.ck-icon{
|
964
971
|
width:var(--ck-icon-size);
|
965
972
|
height:var(--ck-icon-size);
|
966
|
-
font-size
|
973
|
+
font-size:var(--ck-icon-font-size);
|
967
974
|
cursor:inherit;
|
968
975
|
will-change:transform;
|
969
976
|
}
|
@@ -1147,9 +1154,6 @@ a.ck.ck-button-bold{
|
|
1147
1154
|
.ck.ck-labeled-input .ck-labeled-input__status_error{
|
1148
1155
|
color:var(--ck-color-base-error);
|
1149
1156
|
}
|
1150
|
-
:root{
|
1151
|
-
--ck-list-button-padding:calc(.11 * var(--ck-line-height-base) * var(--ck-font-size-base)) calc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));
|
1152
|
-
}
|
1153
1157
|
.ck.ck-list{
|
1154
1158
|
border-radius:0;
|
1155
1159
|
}
|
@@ -1160,12 +1164,14 @@ a.ck.ck-button-bold{
|
|
1160
1164
|
|
1161
1165
|
list-style-type:none;
|
1162
1166
|
background:var(--ck-color-list-background);
|
1167
|
+
padding:var(--ck-spacing-small) 0;
|
1163
1168
|
}
|
1164
1169
|
.ck.ck-list__item{
|
1165
1170
|
cursor:default;
|
1166
|
-
min-width:
|
1171
|
+
min-width:15em;
|
1167
1172
|
}
|
1168
1173
|
.ck.ck-list__item > .ck-button:not(.ck-list-item-button){
|
1174
|
+
padding:var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
|
1169
1175
|
min-height:unset;
|
1170
1176
|
width:100%;
|
1171
1177
|
border-radius:0;
|
@@ -1176,9 +1182,6 @@ a.ck.ck-button-bold{
|
|
1176
1182
|
[dir="rtl"] .ck.ck-list__item > .ck-button:not(.ck-list-item-button){
|
1177
1183
|
text-align:right;
|
1178
1184
|
}
|
1179
|
-
.ck.ck-list__item > .ck-button:not(.ck-list-item-button){
|
1180
|
-
padding:var(--ck-list-button-padding);
|
1181
|
-
}
|
1182
1185
|
.ck.ck-list__item > .ck-button:not(.ck-list-item-button) .ck-button__label{
|
1183
1186
|
line-height:calc(var(--ck-line-height-base) * var(--ck-font-size-base));
|
1184
1187
|
}
|
@@ -1212,18 +1215,22 @@ a.ck.ck-button-bold{
|
|
1212
1215
|
.ck-list .ck-list__group{
|
1213
1216
|
padding-top:var(--ck-spacing-medium);
|
1214
1217
|
}
|
1218
|
+
.ck-list .ck-list__group:first-child{
|
1219
|
+
padding-top:0;
|
1220
|
+
}
|
1215
1221
|
*:not(.ck-hidden) ~ .ck-list .ck-list__group{
|
1216
1222
|
border-top:1px solid var(--ck-color-base-border);
|
1217
1223
|
}
|
1218
1224
|
.ck-list .ck-list__group > .ck-label{
|
1219
1225
|
font-size:11px;
|
1220
1226
|
font-weight:bold;
|
1221
|
-
padding:var(--ck-spacing-medium) var(--ck-spacing-
|
1227
|
+
padding:var(--ck-spacing-medium) var(--ck-spacing-large) 0;
|
1222
1228
|
}
|
1223
1229
|
.ck.ck-list__separator{
|
1224
1230
|
height:1px;
|
1225
1231
|
width:100%;
|
1226
1232
|
background:var(--ck-color-base-border);
|
1233
|
+
margin:var(--ck-spacing-small) 0;
|
1227
1234
|
}
|
1228
1235
|
.ck.ck-menu-bar{
|
1229
1236
|
display:flex;
|
@@ -1242,7 +1249,6 @@ a.ck.ck-button-bold{
|
|
1242
1249
|
max-width:100%;
|
1243
1250
|
}
|
1244
1251
|
.ck.ck-menu-bar__menu > .ck-menu-bar__menu__button{
|
1245
|
-
padding:var(--ck-list-button-padding);
|
1246
1252
|
width:100%;
|
1247
1253
|
}
|
1248
1254
|
.ck.ck-menu-bar__menu > .ck-menu-bar__menu__button > .ck-button__label{
|
@@ -1282,21 +1288,19 @@ a.ck.ck-button-bold{
|
|
1282
1288
|
}
|
1283
1289
|
[dir="ltr"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow{
|
1284
1290
|
transform:rotate(-90deg);
|
1291
|
+
margin-left:var(--ck-spacing-standard);
|
1292
|
+
margin-right:calc(-1 * var(--ck-spacing-small));
|
1285
1293
|
}
|
1286
1294
|
[dir="rtl"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow{
|
1287
1295
|
transform:rotate(90deg);
|
1296
|
+
|
1297
|
+
left:var(--ck-spacing-standard);
|
1298
|
+
margin-right:var(--ck-spacing-small);
|
1299
|
+
margin-left:calc(-1 * var(--ck-spacing-small));
|
1288
1300
|
}
|
1289
1301
|
.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button.ck-disabled > .ck-menu-bar__menu__button__arrow{
|
1290
1302
|
opacity:var(--ck-disabled-opacity);
|
1291
1303
|
}
|
1292
|
-
[dir="ltr"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow{
|
1293
|
-
right:var(--ck-spacing-standard);
|
1294
|
-
margin-left:var(--ck-spacing-standard);
|
1295
|
-
}
|
1296
|
-
[dir="rtl"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow{
|
1297
|
-
left:var(--ck-spacing-standard);
|
1298
|
-
margin-right:var(--ck-spacing-small);
|
1299
|
-
}
|
1300
1304
|
:root{
|
1301
1305
|
--ck-menu-bar-menu-item-min-width:18em;
|
1302
1306
|
}
|
@@ -1311,8 +1315,13 @@ a.ck.ck-button-bold{
|
|
1311
1315
|
--ck-toolbar-spinner-size:20px;
|
1312
1316
|
}
|
1313
1317
|
.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button > .ck-spinner-container{
|
1314
|
-
|
1315
|
-
|
1318
|
+
font-size:var(--ck-icon-font-size);
|
1319
|
+
}
|
1320
|
+
[dir="ltr"] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button > .ck-spinner-container{
|
1321
|
+
margin-right:var(--ck-spacing-medium);
|
1322
|
+
}
|
1323
|
+
[dir="rtl"] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button > .ck-spinner-container{
|
1324
|
+
margin-left:var(--ck-spacing-medium);
|
1316
1325
|
}
|
1317
1326
|
:root{
|
1318
1327
|
--ck-menu-bar-menu-panel-max-width:75vw;
|
@@ -2290,7 +2299,6 @@ a.ck.ck-button-bold{
|
|
2290
2299
|
.ck.ck-image-insert-form > .ck.ck-button{
|
2291
2300
|
display:block;
|
2292
2301
|
width:100%;
|
2293
|
-
padding:var(--ck-list-button-padding);
|
2294
2302
|
}
|
2295
2303
|
[dir="ltr"] .ck.ck-image-insert-form > .ck.ck-button{
|
2296
2304
|
text-align:left;
|
@@ -2548,7 +2556,7 @@ a.ck.ck-button-bold{
|
|
2548
2556
|
border-right:1px solid var(--ck-color-base-border);
|
2549
2557
|
}
|
2550
2558
|
.ck.ck-link-form_layout-vertical .ck.ck-list{
|
2551
|
-
margin:
|
2559
|
+
margin:0 var(--ck-spacing-large);
|
2552
2560
|
}
|
2553
2561
|
.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton{
|
2554
2562
|
padding:0;
|
package/dist/index.css
CHANGED
@@ -544,12 +544,10 @@ a.ck.ck-button {
|
|
544
544
|
/* stylelint-disable-next-line no-descending-specificity */
|
545
545
|
}
|
546
546
|
[dir="ltr"] .ck.ck-button.ck-button_with-text .ck-button__icon, [dir="ltr"] a.ck.ck-button.ck-button_with-text .ck-button__icon {
|
547
|
-
margin-
|
548
|
-
margin-right: var(--ck-spacing-small);
|
547
|
+
margin-right: var(--ck-spacing-medium);
|
549
548
|
}
|
550
549
|
[dir="rtl"] .ck.ck-button.ck-button_with-text .ck-button__icon, [dir="rtl"] a.ck.ck-button.ck-button_with-text .ck-button__icon {
|
551
|
-
margin-
|
552
|
-
margin-left: var(--ck-spacing-small);
|
550
|
+
margin-left: var(--ck-spacing-medium);
|
553
551
|
}
|
554
552
|
/* stylelint-disable-next-line no-descending-specificity */
|
555
553
|
.ck.ck-button.ck-button_with-keystroke .ck-button__label, a.ck.ck-button.ck-button_with-keystroke .ck-button__label {
|
@@ -741,23 +739,32 @@ of the component, floating–point numbers have been used which, for the default
|
|
741
739
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
742
740
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
743
741
|
*/
|
744
|
-
.ck.ck-list-item-button
|
745
|
-
|
742
|
+
.ck.ck-button.ck-list-item-button {
|
743
|
+
padding: var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
|
744
|
+
}
|
745
|
+
.ck.ck-button.ck-list-item-button,
|
746
|
+
.ck.ck-button.ck-list-item-button.ck-on {
|
746
747
|
background: var(--ck-color-list-background);
|
747
748
|
color: var(--ck-color-text);
|
748
749
|
}
|
750
|
+
[dir="ltr"] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder) {
|
751
|
+
padding-left: var(--ck-spacing-small);
|
752
|
+
}
|
753
|
+
[dir="rtl"] .ck.ck-button.ck-list-item-button:has(.ck-list-item-button__check-holder) {
|
754
|
+
padding-right: var(--ck-spacing-small);
|
755
|
+
}
|
749
756
|
/*
|
750
757
|
* `.ck-on` class and background styling is overridden for `ck-button` in many places.
|
751
758
|
* This is a workaround to make sure that the background is not overridden and uses similar
|
752
759
|
* selector specificity as the other overrides.
|
753
760
|
*/
|
754
|
-
.ck.ck-list-item-button:hover:not(.ck-disabled),
|
755
|
-
.ck.ck-list-item-button.ck-button.ck-on:hover,
|
756
|
-
.ck.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable),
|
757
|
-
.ck.ck-list-item-button.ck-on:hover {
|
761
|
+
.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled),
|
762
|
+
.ck.ck-button.ck-list-item-button.ck-button.ck-on:hover,
|
763
|
+
.ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable),
|
764
|
+
.ck.ck-button.ck-list-item-button.ck-on:hover {
|
758
765
|
background: var(--ck-color-list-button-hover-background);
|
759
766
|
}
|
760
|
-
.ck.ck-list-item-button:hover:not(.ck-disabled):not(.ck-disabled), .ck.ck-list-item-button.ck-button.ck-on:hover:not(.ck-disabled), .ck.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable):not(.ck-disabled), .ck.ck-list-item-button.ck-on:hover:not(.ck-disabled) {
|
767
|
+
.ck.ck-button.ck-list-item-button:hover:not(.ck-disabled):not(.ck-disabled), .ck.ck-button.ck-list-item-button.ck-button.ck-on:hover:not(.ck-disabled), .ck.ck-button.ck-list-item-button.ck-on:not(.ck-list-item-button_toggleable):not(.ck-disabled), .ck.ck-button.ck-list-item-button.ck-on:hover:not(.ck-disabled) {
|
761
768
|
color: var(--ck-color-text);
|
762
769
|
}
|
763
770
|
/*
|
@@ -770,7 +777,6 @@ of the component, floating–point numbers have been used which, for the default
|
|
770
777
|
.ck.ck-collapsible > .ck.ck-button {
|
771
778
|
width: 100%;
|
772
779
|
font-weight: bold;
|
773
|
-
padding: var(--ck-list-button-padding);
|
774
780
|
border-radius: 0;
|
775
781
|
color: inherit;
|
776
782
|
}
|
@@ -1522,13 +1528,14 @@ of the component, floating–point numbers have been used which, for the default
|
|
1522
1528
|
*/
|
1523
1529
|
:root {
|
1524
1530
|
--ck-icon-size: calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
|
1531
|
+
--ck-icon-font-size: .8333350694em;
|
1525
1532
|
}
|
1526
1533
|
.ck.ck-icon {
|
1527
1534
|
width: var(--ck-icon-size);
|
1528
1535
|
height: var(--ck-icon-size);
|
1529
1536
|
|
1530
1537
|
/* Multiplied by the height of the line in "px" should give SVG "viewport" dimensions */
|
1531
|
-
font-size:
|
1538
|
+
font-size: var(--ck-icon-font-size);
|
1532
1539
|
|
1533
1540
|
/* Inherit cursor style (#5). */
|
1534
1541
|
cursor: inherit;
|
@@ -1837,11 +1844,6 @@ of the component, floating–point numbers have been used which, for the default
|
|
1837
1844
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
1838
1845
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
1839
1846
|
*/
|
1840
|
-
:root {
|
1841
|
-
--ck-list-button-padding:
|
1842
|
-
calc(.11 * var(--ck-line-height-base) * var(--ck-font-size-base))
|
1843
|
-
calc(.4 * var(--ck-line-height-base) * var(--ck-font-size-base));
|
1844
|
-
}
|
1845
1847
|
.ck.ck-list {
|
1846
1848
|
border-radius: 0;
|
1847
1849
|
}
|
@@ -1852,12 +1854,18 @@ of the component, floating–point numbers have been used which, for the default
|
|
1852
1854
|
|
1853
1855
|
list-style-type: none;
|
1854
1856
|
background: var(--ck-color-list-background);
|
1857
|
+
|
1858
|
+
/* A spacing at the beginning and end of the list */
|
1859
|
+
padding: var(--ck-spacing-small) 0;
|
1855
1860
|
}
|
1856
1861
|
.ck.ck-list__item {
|
1857
1862
|
cursor: default;
|
1858
|
-
|
1863
|
+
|
1864
|
+
/* Almost as wide as menu bar items. */
|
1865
|
+
min-width: 15em;
|
1859
1866
|
}
|
1860
1867
|
.ck.ck-list__item > .ck-button:not(.ck-list-item-button) {
|
1868
|
+
padding: var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
|
1861
1869
|
min-height: unset;
|
1862
1870
|
width: 100%;
|
1863
1871
|
border-radius: 0;
|
@@ -1868,13 +1876,6 @@ of the component, floating–point numbers have been used which, for the default
|
|
1868
1876
|
[dir="rtl"] .ck.ck-list__item > .ck-button:not(.ck-list-item-button) {
|
1869
1877
|
text-align: right;
|
1870
1878
|
}
|
1871
|
-
.ck.ck-list__item > .ck-button:not(.ck-list-item-button) {
|
1872
|
-
|
1873
|
-
/* List items should have the same height. Use absolute units to make sure it is so
|
1874
|
-
because e.g. different heading styles may have different height
|
1875
|
-
https://github.com/ckeditor/ckeditor5-heading/issues/63 */
|
1876
|
-
padding: var(--ck-list-button-padding);
|
1877
|
-
}
|
1878
1879
|
.ck.ck-list__item > .ck-button:not(.ck-list-item-button) .ck-button__label {
|
1879
1880
|
/* https://github.com/ckeditor/ckeditor5-heading/issues/63 */
|
1880
1881
|
line-height: calc(var(--ck-line-height-base) * var(--ck-font-size-base));
|
@@ -1911,20 +1912,27 @@ of the component, floating–point numbers have been used which, for the default
|
|
1911
1912
|
.ck-list .ck-list__group {
|
1912
1913
|
padding-top: var(--ck-spacing-medium);
|
1913
1914
|
|
1914
|
-
/*
|
1915
|
+
/* Lists come with an inner vertical padding. Don't duplicate it. */
|
1915
1916
|
}
|
1917
|
+
.ck-list .ck-list__group:first-child {
|
1918
|
+
padding-top: 0;
|
1919
|
+
}
|
1920
|
+
/* The group should have a border when it's not the first item. */
|
1916
1921
|
*:not(.ck-hidden) ~ .ck-list .ck-list__group {
|
1917
1922
|
border-top: 1px solid var(--ck-color-base-border);
|
1918
1923
|
}
|
1919
1924
|
.ck-list .ck-list__group > .ck-label {
|
1920
1925
|
font-size: 11px;
|
1921
1926
|
font-weight: bold;
|
1922
|
-
padding: var(--ck-spacing-medium) var(--ck-spacing-
|
1927
|
+
padding: var(--ck-spacing-medium) var(--ck-spacing-large) 0;
|
1923
1928
|
}
|
1924
1929
|
.ck.ck-list__separator {
|
1925
1930
|
height: 1px;
|
1926
1931
|
width: 100%;
|
1927
1932
|
background: var(--ck-color-base-border);
|
1933
|
+
|
1934
|
+
/* Give the separator some air */
|
1935
|
+
margin: var(--ck-spacing-small) 0;
|
1928
1936
|
}
|
1929
1937
|
/*
|
1930
1938
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
@@ -1980,7 +1988,6 @@ of the component, floating–point numbers have been used which, for the default
|
|
1980
1988
|
* All menu buttons.
|
1981
1989
|
*/
|
1982
1990
|
.ck.ck-menu-bar__menu > .ck-menu-bar__menu__button {
|
1983
|
-
padding: var(--ck-list-button-padding);
|
1984
1991
|
width: 100%;
|
1985
1992
|
}
|
1986
1993
|
.ck.ck-menu-bar__menu > .ck-menu-bar__menu__button > .ck-button__label {
|
@@ -2026,25 +2033,27 @@ of the component, floating–point numbers have been used which, for the default
|
|
2026
2033
|
}
|
2027
2034
|
[dir="ltr"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow {
|
2028
2035
|
transform: rotate(-90deg);
|
2029
|
-
}
|
2030
|
-
[dir="rtl"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow {
|
2031
|
-
transform: rotate(90deg);
|
2032
|
-
}
|
2033
|
-
.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button.ck-disabled > .ck-menu-bar__menu__button__arrow {
|
2034
|
-
opacity: var(--ck-disabled-opacity);
|
2035
|
-
}
|
2036
|
-
[dir="ltr"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow {
|
2037
|
-
right: var(--ck-spacing-standard);
|
2038
2036
|
|
2039
2037
|
/* A space to accommodate the triangle. */
|
2040
2038
|
margin-left: var(--ck-spacing-standard);
|
2041
|
-
|
2039
|
+
|
2040
|
+
/* Nudge the arrow gently to the right because its center of gravity is to the left */
|
2041
|
+
margin-right: calc(-1 * var(--ck-spacing-small));
|
2042
|
+
}
|
2042
2043
|
[dir="rtl"] .ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button > .ck-menu-bar__menu__button__arrow {
|
2044
|
+
transform: rotate(90deg);
|
2045
|
+
|
2043
2046
|
left: var(--ck-spacing-standard);
|
2044
2047
|
|
2045
2048
|
/* A space to accommodate the triangle. */
|
2046
2049
|
margin-right: var(--ck-spacing-small);
|
2047
|
-
|
2050
|
+
|
2051
|
+
/* Nudge the arrow gently to the left because its center of gravity is to the right (after rotation). */
|
2052
|
+
margin-left: calc(-1 * var(--ck-spacing-small));
|
2053
|
+
}
|
2054
|
+
.ck.ck-menu-bar__menu:not(.ck-menu-bar__menu_top-level) .ck-menu-bar__menu__button.ck-disabled > .ck-menu-bar__menu__button__arrow {
|
2055
|
+
opacity: var(--ck-disabled-opacity);
|
2056
|
+
}
|
2048
2057
|
/*
|
2049
2058
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2050
2059
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
@@ -2055,6 +2064,10 @@ of the component, floating–point numbers have been used which, for the default
|
|
2055
2064
|
.ck.ck-menu-bar__menu .ck.ck-menu-bar__menu__item {
|
2056
2065
|
min-width: var(--ck-menu-bar-menu-item-min-width);
|
2057
2066
|
}
|
2067
|
+
/*
|
2068
|
+
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2069
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
2070
|
+
*/
|
2058
2071
|
/*
|
2059
2072
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
2060
2073
|
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
@@ -2071,9 +2084,14 @@ of the component, floating–point numbers have been used which, for the default
|
|
2071
2084
|
--ck-toolbar-spinner-size: 20px;
|
2072
2085
|
}
|
2073
2086
|
.ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button > .ck-spinner-container {
|
2074
|
-
/*
|
2075
|
-
|
2076
|
-
|
2087
|
+
/* This ensures margins corresponding to the .ck-icon. */
|
2088
|
+
font-size: var(--ck-icon-font-size);
|
2089
|
+
}
|
2090
|
+
[dir="ltr"] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button > .ck-spinner-container {
|
2091
|
+
margin-right: var(--ck-spacing-medium);
|
2092
|
+
}
|
2093
|
+
[dir="rtl"] .ck.ck-menu-bar__menu .ck-button.ck-menu-bar__menu__item__button > .ck-spinner-container {
|
2094
|
+
margin-left: var(--ck-spacing-medium);
|
2077
2095
|
}
|
2078
2096
|
/*
|
2079
2097
|
* Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
|
@@ -3407,7 +3425,6 @@ of the component, floating–point numbers have been used which, for the default
|
|
3407
3425
|
.ck.ck-image-insert-form > .ck.ck-button {
|
3408
3426
|
display: block;
|
3409
3427
|
width: 100%;
|
3410
|
-
padding: var(--ck-list-button-padding);
|
3411
3428
|
}
|
3412
3429
|
[dir="ltr"] .ck.ck-image-insert-form > .ck.ck-button {
|
3413
3430
|
text-align: left;
|
@@ -3771,7 +3788,7 @@ of the component, floating–point numbers have been used which, for the default
|
|
3771
3788
|
}
|
3772
3789
|
/* Using additional `.ck` class for stronger CSS specificity than `.ck.ck-link-form > :not(:first-child)`. */
|
3773
3790
|
.ck.ck-link-form_layout-vertical .ck.ck-list {
|
3774
|
-
margin:
|
3791
|
+
margin: 0 var(--ck-spacing-large);
|
3775
3792
|
}
|
3776
3793
|
.ck.ck-link-form_layout-vertical .ck.ck-list .ck-button.ck-switchbutton {
|
3777
3794
|
padding: 0;
|