@ckeditor/ckeditor5-theme-lark 43.0.0 → 43.1.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.
@@ -825,6 +825,116 @@ a.ck.ck-button-bold{
825
825
  .ck.ck-toolbar-dropdown .ck-toolbar{
826
826
  border:0;
827
827
  }
828
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button{
829
+ width:100%;
830
+ padding:var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
831
+ border-radius:0;
832
+ }
833
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus{
834
+ border-color:transparent;
835
+ box-shadow:none;
836
+ }
837
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus:not(.ck-on){
838
+ background:var(--ck-color-button-default-hover-background);
839
+ }
840
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-button__label{
841
+ flex-grow:1;
842
+ overflow:hidden;
843
+ text-overflow:ellipsis;
844
+ }
845
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-button__label{
846
+ opacity:var(--ck-disabled-opacity);
847
+ }
848
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-icon-spacing:not(:has(.ck-button__icon)) > .ck-button__label{
849
+ margin-left:calc(var(--ck-icon-size) - var(--ck-spacing-small));
850
+ }
851
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
852
+ width:var(--ck-dropdown-arrow-size);
853
+ }
854
+ [dir="ltr"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
855
+ transform:rotate(-90deg);
856
+ margin-right:calc(-1 * var(--ck-spacing-small));
857
+ }
858
+ [dir="rtl"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
859
+ transform:rotate(90deg);
860
+ margin-left:calc(-1 * var(--ck-spacing-small));
861
+ }
862
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-dropdown-menu-list__nested-menu__button__arrow{
863
+ opacity:var(--ck-disabled-opacity);
864
+ }
865
+ [dir="ltr"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){
866
+ padding-left:var(--ck-spacing-small);
867
+ }
868
+ [dir="ltr"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
869
+ right:var(--ck-spacing-standard);
870
+ margin-left:var(--ck-spacing-standard);
871
+ }
872
+ [dir="rtl"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text){
873
+ padding-right:var(--ck-spacing-small);
874
+ }
875
+ [dir="rtl"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow{
876
+ left:var(--ck-spacing-standard);
877
+ margin-right:var(--ck-spacing-small);
878
+ }
879
+ :root{
880
+ --ck-dropdown-menu-menu-item-min-width:18em;
881
+ }
882
+ .ck.ck-dropdown-menu-list__nested-menu__item{
883
+ min-width:var(--ck-dropdown-menu-menu-item-min-width);
884
+ }
885
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button{
886
+ border-radius:0;
887
+ }
888
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container,
889
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container .ck-spinner{
890
+ --ck-toolbar-spinner-size:20px;
891
+ }
892
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container{
893
+ margin-left:calc(-1 * var(--ck-spacing-small));
894
+ margin-right:var(--ck-spacing-small);
895
+ }
896
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus{
897
+ border-color:transparent;
898
+ box-shadow:none;
899
+ }
900
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus:not(.ck-on){
901
+ background:var(--ck-color-button-default-hover-background);
902
+ }
903
+ :root{
904
+ --ck-dropdown-menu-menu-panel-max-width:75vw;
905
+ }
906
+ .ck.ck-dropdown-menu__nested-menu__panel{
907
+ box-shadow:var(--ck-drop-shadow), 0 0;
908
+
909
+ background:var(--ck-color-dropdown-panel-background);
910
+ border:1px solid var(--ck-color-dropdown-panel-border);
911
+ bottom:0;
912
+ height:fit-content;
913
+ max-width:var(--ck-dropdown-menu-menu-panel-max-width);
914
+ }
915
+ .ck.ck-dropdown-menu__nested-menu__panel::after,
916
+ .ck.ck-dropdown-menu__nested-menu__panel::before{
917
+ display:none;
918
+ }
919
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_es,
920
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_se{
921
+ border-top-left-radius:0;
922
+ }
923
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ws,
924
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_sw{
925
+ border-top-right-radius:0;
926
+ }
927
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_en,
928
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ne{
929
+ border-bottom-left-radius:0;
930
+ }
931
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_wn,
932
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_nw{
933
+ border-bottom-right-radius:0;
934
+ }
935
+ .ck.ck-dropdown-menu__nested-menu__panel:focus{
936
+ outline:none;
937
+ }
828
938
  :root{
829
939
  --ck-accessibility-help-dialog-max-width:600px;
830
940
  --ck-accessibility-help-dialog-max-height:400px;
package/dist/index.css CHANGED
@@ -1297,6 +1297,196 @@ of the component, floating–point numbers have been used which, for the default
1297
1297
  .ck.ck-toolbar-dropdown .ck-toolbar {
1298
1298
  border: 0;
1299
1299
  }
1300
+ /*
1301
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1302
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1303
+ */
1304
+ /*
1305
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1306
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1307
+ */
1308
+ /**
1309
+ * A class which indicates that an element holding it is disabled.
1310
+ */
1311
+ /*
1312
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1313
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1314
+ */
1315
+ /**
1316
+ * Implements a button of given background color.
1317
+ *
1318
+ * @param {String} $background - Background color of the button.
1319
+ * @param {String} $border - Border color of the button.
1320
+ */
1321
+ /*
1322
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1323
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1324
+ */
1325
+ /*
1326
+ * All menu buttons.
1327
+ */
1328
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button {
1329
+ width: 100%;
1330
+ padding: var(--ck-spacing-tiny) calc(2 * var(--ck-spacing-standard));
1331
+ border-radius: 0;
1332
+ }
1333
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus {
1334
+ border-color: transparent;
1335
+ box-shadow: none;
1336
+ }
1337
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:focus:not(.ck-on) {
1338
+ background: var(--ck-color-button-default-hover-background);
1339
+ }
1340
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-button__label {
1341
+ flex-grow: 1;
1342
+ overflow: hidden;
1343
+ text-overflow: ellipsis;
1344
+ }
1345
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-button__label {
1346
+ opacity: var(--ck-disabled-opacity);
1347
+ }
1348
+ /* Spacing in buttons that miss the icon. */
1349
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-icon-spacing:not(:has(.ck-button__icon)) > .ck-button__label {
1350
+ margin-left: calc(var(--ck-icon-size) - var(--ck-spacing-small));
1351
+ }
1352
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1353
+ width: var(--ck-dropdown-arrow-size);
1354
+ }
1355
+ [dir="ltr"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1356
+ transform: rotate(-90deg);
1357
+
1358
+ /* Nudge the arrow gently to the right because its center of gravity is to the left */
1359
+ margin-right: calc(-1 * var(--ck-spacing-small));
1360
+ }
1361
+ [dir="rtl"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1362
+ transform: rotate(90deg);
1363
+
1364
+ /* Nudge the arrow gently to the left because its center of gravity is to the right (after rotation). */
1365
+ margin-left: calc(-1 * var(--ck-spacing-small));
1366
+ }
1367
+ .ck.ck-button.ck-dropdown-menu-list__nested-menu__button.ck-disabled > .ck-dropdown-menu-list__nested-menu__button__arrow {
1368
+ opacity: var(--ck-disabled-opacity);
1369
+ }
1370
+ [dir="ltr"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text) {
1371
+ padding-left: var(--ck-spacing-small);
1372
+ }
1373
+ [dir="ltr"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1374
+ right: var(--ck-spacing-standard);
1375
+
1376
+ /* A space to accommodate the triangle. */
1377
+ margin-left: var(--ck-spacing-standard);
1378
+ }
1379
+ [dir="rtl"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button:not(.ck-button_with-text) {
1380
+ padding-right: var(--ck-spacing-small);
1381
+ }
1382
+ [dir="rtl"] .ck.ck-button.ck-dropdown-menu-list__nested-menu__button > .ck-dropdown-menu-list__nested-menu__button__arrow {
1383
+ left: var(--ck-spacing-standard);
1384
+
1385
+ /* A space to accommodate the triangle. */
1386
+ margin-right: var(--ck-spacing-small);
1387
+ }
1388
+ /*
1389
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1390
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1391
+ */
1392
+ :root {
1393
+ --ck-dropdown-menu-menu-item-min-width: 18em;
1394
+ }
1395
+ .ck.ck-dropdown-menu-list__nested-menu__item {
1396
+ min-width: var(--ck-dropdown-menu-menu-item-min-width);
1397
+ }
1398
+ /*
1399
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1400
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1401
+ */
1402
+ /*
1403
+ * List item buttons.
1404
+ */
1405
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button {
1406
+ border-radius: 0;
1407
+ }
1408
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container,
1409
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container .ck-spinner {
1410
+ /* These styles correspond to .ck-icon so that the spinner seamlessly replaces the icon. */
1411
+ --ck-toolbar-spinner-size: 20px;
1412
+ }
1413
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button > .ck-spinner-container {
1414
+ /* These margins are the same as for .ck-icon. */
1415
+ margin-left: calc(-1 * var(--ck-spacing-small));
1416
+ margin-right: var(--ck-spacing-small);
1417
+ }
1418
+ /*
1419
+ * Hovered items automatically get focused. Default focus styles look odd
1420
+ * while moving across a huge list of items so let's get rid of them
1421
+ */
1422
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus {
1423
+ border-color: transparent;
1424
+ box-shadow: none;
1425
+ }
1426
+ .ck-button.ck-dropdown-menu-list__nested-menu__item__button:focus:not(.ck-on) {
1427
+ background: var(--ck-color-button-default-hover-background);
1428
+ }
1429
+ /*
1430
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1431
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1432
+ */
1433
+ /*
1434
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1435
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1436
+ */
1437
+ /**
1438
+ * Implements rounded corner interface for .ck-rounded-corners class.
1439
+ *
1440
+ * @see $ck-border-radius
1441
+ */
1442
+ /*
1443
+ * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1444
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
1445
+ */
1446
+ /**
1447
+ * A helper to combine multiple shadows.
1448
+ */
1449
+ /**
1450
+ * Gives an element a drop shadow so it looks like a floating panel.
1451
+ */
1452
+ :root {
1453
+ --ck-dropdown-menu-menu-panel-max-width: 75vw;
1454
+ }
1455
+ .ck.ck-dropdown-menu__nested-menu__panel {
1456
+ box-shadow: var(--ck-drop-shadow), 0 0;
1457
+
1458
+ background: var(--ck-color-dropdown-panel-background);
1459
+ border: 1px solid var(--ck-color-dropdown-panel-border);
1460
+ bottom: 0;
1461
+ height: fit-content;
1462
+ max-width: var(--ck-dropdown-menu-menu-panel-max-width);
1463
+
1464
+ /* Reset balloon styling */
1465
+ }
1466
+ .ck.ck-dropdown-menu__nested-menu__panel::after,
1467
+ .ck.ck-dropdown-menu__nested-menu__panel::before {
1468
+ display: none;
1469
+ }
1470
+ /* Corner border radius consistent with the button. */
1471
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_es,
1472
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_se {
1473
+ border-top-left-radius: 0;
1474
+ }
1475
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ws,
1476
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_sw {
1477
+ border-top-right-radius: 0;
1478
+ }
1479
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_en,
1480
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_ne {
1481
+ border-bottom-left-radius: 0;
1482
+ }
1483
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_wn,
1484
+ .ck.ck-dropdown-menu__nested-menu__panel.ck-balloon-panel_nw {
1485
+ border-bottom-right-radius: 0;
1486
+ }
1487
+ .ck.ck-dropdown-menu__nested-menu__panel:focus {
1488
+ outline: none;
1489
+ }
1300
1490
  /*
1301
1491
  * Copyright (c) 2003-2024, CKSource Holding sp. z o.o. All rights reserved.
1302
1492
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license